2 # From configure.in Id: configure.in 49200 2007-10-17 17:55:25Z 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
709 LIBGNOMEPRINTUI_CFLAGS
757 SAMPLES_RPATH_POSTLINK
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
836 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
838 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
839 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
840 COND_MONOLITHIC_0_SHARED_1
841 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
847 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
848 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
849 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
850 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
851 COND_MONOLITHIC_0_USE_AUI_1
852 COND_MONOLITHIC_0_USE_GUI_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
855 COND_MONOLITHIC_0_USE_HTML_1
856 COND_MONOLITHIC_0_USE_MEDIA_1
857 COND_MONOLITHIC_0_USE_ODBC_1
858 COND_MONOLITHIC_0_USE_QA_1
859 COND_MONOLITHIC_0_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_USE_STC_1
861 COND_MONOLITHIC_0_USE_XRC_1
863 COND_MONOLITHIC_1_SHARED_0
864 COND_MONOLITHIC_1_SHARED_1
865 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
866 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
869 COND_PLATFORM_MACOSX_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_
871 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
872 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
875 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
876 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
877 COND_PLATFORM_MACOSX_1_USE_GUI_1
878 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
879 COND_PLATFORM_MACOS_1
881 COND_PLATFORM_MSDOS_0
882 COND_PLATFORM_MSDOS_1
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
887 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_GUI_1
889 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
890 COND_PLATFORM_WIN32_0
891 COND_PLATFORM_WIN32_1
893 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
895 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
896 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
899 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
900 COND_SHARED_0_USE_STC_1
901 COND_SHARED_0_USE_XRC_1
902 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
903 COND_SHARED_0_WXUSE_ODBC_BUILTIN
904 COND_SHARED_0_WXUSE_REGEX_BUILTIN
905 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
907 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
908 COND_SHARED_1_USE_XRC_1
911 COND_TOOLKIT_COCOA_USE_GUI_1
912 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_DFB_USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_GTK_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1
925 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MGL_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1
930 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_MSW_USE_GUI_1
933 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_MSW_WXUNIV_0
936 COND_TOOLKIT_PM_USE_GUI_1
937 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_WINCE_USE_GUI_1
940 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_WINCE_WXUNIV_0
943 COND_TOOLKIT_X11_USE_GUI_1
945 COND_USE_EXCEPTIONS_0
946 COND_USE_EXCEPTIONS_1
949 COND_USE_GUI_1_USE_OPENGL_1
950 COND_USE_GUI_1_WXUNIV_0
951 COND_USE_GUI_1_WXUNIV_1
952 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
954 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
961 COND_USE_SOSYMLINKS_1
962 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
963 COND_USE_SOVERLINUX_1
965 COND_USE_SOVERSOLARIS_1
970 COND_WINDOWS_IMPLIB_1
971 COND_WITH_PLUGIN_SDL_1
974 COND_WXUSE_EXPAT_BUILTIN
975 COND_WXUSE_LIBJPEG_BUILTIN
976 COND_WXUSE_LIBPNG_BUILTIN
977 COND_WXUSE_LIBTIFF_BUILTIN
978 COND_WXUSE_ODBC_BUILTIN
979 COND_WXUSE_REGEX_BUILTIN
980 COND_WXUSE_ZLIB_BUILTIN
983 WX_LIBRARY_BASENAME_NOGUI
984 WX_LIBRARY_BASENAME_GUI
1004 WXCONFIG_LDFLAGS_GUI
1016 WX_RESOURCES_MACOSX_ASCII
1017 WX_RESOURCES_MACOSX_DATA
1027 ac_precious_vars='build_alias
1051 LIBGNOMEPRINTUI_CFLAGS
1052 LIBGNOMEPRINTUI_LIBS
1061 ac_subdirs_all='src/tiff
1064 # Initialize some variables set by options.
1066 ac_init_version=false
1067 # The variables have the same names as the options, with
1068 # dashes changed to underlines.
1069 cache_file=/dev/null
1076 program_transform_name=s,x,x,
1084 # Installation directory options.
1085 # These are left unexpanded so users can "make install exec_prefix=/foo"
1086 # and all the variables that are supposed to be based on exec_prefix
1087 # by default will actually change.
1088 # Use braces instead of parens because sh, perl, etc. also accept them.
1089 # (The list follows the same order as the GNU Coding Standards.)
1090 bindir='${exec_prefix}/bin'
1091 sbindir='${exec_prefix}/sbin'
1092 libexecdir='${exec_prefix}/libexec'
1093 datarootdir='${prefix}/share'
1094 datadir='${datarootdir}'
1095 sysconfdir='${prefix}/etc'
1096 sharedstatedir='${prefix}/com'
1097 localstatedir='${prefix}/var'
1098 includedir='${prefix}/include'
1099 oldincludedir='/usr/include'
1100 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1101 infodir='${datarootdir}/info'
1106 libdir='${exec_prefix}/lib'
1107 localedir='${datarootdir}/locale'
1108 mandir='${datarootdir}/man'
1114 # If the previous option needs an argument, assign it.
1115 if test -n "$ac_prev"; then
1116 eval $ac_prev=\$ac_option
1122 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1126 # Accept the important Cygnus configure options, so we can diagnose typos.
1128 case $ac_dashdash$ac_option in
1132 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1134 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1135 bindir=$ac_optarg ;;
1137 -build | --build | --buil | --bui | --bu)
1138 ac_prev=build_alias ;;
1139 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1140 build_alias=$ac_optarg ;;
1142 -cache-file | --cache-file | --cache-fil | --cache-fi \
1143 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1144 ac_prev=cache_file ;;
1145 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1146 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1147 cache_file=$ac_optarg ;;
1149 --config-cache | -C)
1150 cache_file=config.cache ;;
1152 -datadir | --datadir | --datadi | --datad)
1154 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1155 datadir=$ac_optarg ;;
1157 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1158 | --dataroo | --dataro | --datar)
1159 ac_prev=datarootdir ;;
1160 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1161 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1162 datarootdir=$ac_optarg ;;
1164 -disable-* | --disable-*)
1165 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1168 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1169 { (exit 1); exit 1; }; }
1170 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1171 eval enable_$ac_feature=no ;;
1173 -docdir | --docdir | --docdi | --doc | --do)
1175 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1176 docdir=$ac_optarg ;;
1178 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1180 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1181 dvidir=$ac_optarg ;;
1183 -enable-* | --enable-*)
1184 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1190 eval enable_$ac_feature=\$ac_optarg ;;
1192 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1193 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1194 | --exec | --exe | --ex)
1195 ac_prev=exec_prefix ;;
1196 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1197 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1198 | --exec=* | --exe=* | --ex=*)
1199 exec_prefix=$ac_optarg ;;
1201 -gas | --gas | --ga | --g)
1202 # Obsolete; use --with-gas.
1205 -help | --help | --hel | --he | -h)
1206 ac_init_help=long ;;
1207 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1208 ac_init_help=recursive ;;
1209 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1210 ac_init_help=short ;;
1212 -host | --host | --hos | --ho)
1213 ac_prev=host_alias ;;
1214 -host=* | --host=* | --hos=* | --ho=*)
1215 host_alias=$ac_optarg ;;
1217 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1219 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1221 htmldir=$ac_optarg ;;
1223 -includedir | --includedir | --includedi | --included | --include \
1224 | --includ | --inclu | --incl | --inc)
1225 ac_prev=includedir ;;
1226 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1227 | --includ=* | --inclu=* | --incl=* | --inc=*)
1228 includedir=$ac_optarg ;;
1230 -infodir | --infodir | --infodi | --infod | --info | --inf)
1232 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1233 infodir=$ac_optarg ;;
1235 -libdir | --libdir | --libdi | --libd)
1237 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1238 libdir=$ac_optarg ;;
1240 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1241 | --libexe | --libex | --libe)
1242 ac_prev=libexecdir ;;
1243 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1244 | --libexe=* | --libex=* | --libe=*)
1245 libexecdir=$ac_optarg ;;
1247 -localedir | --localedir | --localedi | --localed | --locale)
1248 ac_prev=localedir ;;
1249 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1250 localedir=$ac_optarg ;;
1252 -localstatedir | --localstatedir | --localstatedi | --localstated \
1253 | --localstate | --localstat | --localsta | --localst | --locals)
1254 ac_prev=localstatedir ;;
1255 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1256 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1257 localstatedir=$ac_optarg ;;
1259 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1261 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1262 mandir=$ac_optarg ;;
1264 -nfp | --nfp | --nf)
1265 # Obsolete; use --without-fp.
1268 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1269 | --no-cr | --no-c | -n)
1272 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1273 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1276 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1277 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1278 | --oldin | --oldi | --old | --ol | --o)
1279 ac_prev=oldincludedir ;;
1280 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1281 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1282 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1283 oldincludedir=$ac_optarg ;;
1285 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1287 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1288 prefix=$ac_optarg ;;
1290 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1291 | --program-pre | --program-pr | --program-p)
1292 ac_prev=program_prefix ;;
1293 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1294 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1295 program_prefix=$ac_optarg ;;
1297 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1298 | --program-suf | --program-su | --program-s)
1299 ac_prev=program_suffix ;;
1300 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1301 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1302 program_suffix=$ac_optarg ;;
1304 -program-transform-name | --program-transform-name \
1305 | --program-transform-nam | --program-transform-na \
1306 | --program-transform-n | --program-transform- \
1307 | --program-transform | --program-transfor \
1308 | --program-transfo | --program-transf \
1309 | --program-trans | --program-tran \
1310 | --progr-tra | --program-tr | --program-t)
1311 ac_prev=program_transform_name ;;
1312 -program-transform-name=* | --program-transform-name=* \
1313 | --program-transform-nam=* | --program-transform-na=* \
1314 | --program-transform-n=* | --program-transform-=* \
1315 | --program-transform=* | --program-transfor=* \
1316 | --program-transfo=* | --program-transf=* \
1317 | --program-trans=* | --program-tran=* \
1318 | --progr-tra=* | --program-tr=* | --program-t=*)
1319 program_transform_name=$ac_optarg ;;
1321 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1323 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1324 pdfdir=$ac_optarg ;;
1326 -psdir | --psdir | --psdi | --psd | --ps)
1328 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1331 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1332 | -silent | --silent | --silen | --sile | --sil)
1335 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1337 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1339 sbindir=$ac_optarg ;;
1341 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1342 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1343 | --sharedst | --shareds | --shared | --share | --shar \
1345 ac_prev=sharedstatedir ;;
1346 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1347 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1348 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1350 sharedstatedir=$ac_optarg ;;
1352 -site | --site | --sit)
1354 -site=* | --site=* | --sit=*)
1357 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1359 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1360 srcdir=$ac_optarg ;;
1362 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1363 | --syscon | --sysco | --sysc | --sys | --sy)
1364 ac_prev=sysconfdir ;;
1365 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1366 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1367 sysconfdir=$ac_optarg ;;
1369 -target | --target | --targe | --targ | --tar | --ta | --t)
1370 ac_prev=target_alias ;;
1371 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1372 target_alias=$ac_optarg ;;
1374 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1377 -version | --version | --versio | --versi | --vers | -V)
1378 ac_init_version=: ;;
1381 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_$ac_package=\$ac_optarg ;;
1389 -without-* | --without-*)
1390 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1391 # Reject names that are not valid shell variable names.
1392 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1393 { echo "$as_me: error: invalid package name: $ac_package" >&2
1394 { (exit 1); exit 1; }; }
1395 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1396 eval with_$ac_package=no ;;
1399 # Obsolete; use --with-x.
1402 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1403 | --x-incl | --x-inc | --x-in | --x-i)
1404 ac_prev=x_includes ;;
1405 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1406 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1407 x_includes=$ac_optarg ;;
1409 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1410 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1411 ac_prev=x_libraries ;;
1412 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1413 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1414 x_libraries=$ac_optarg ;;
1416 -*) { echo "$as_me: error: unrecognized option: $ac_option
1417 Try \`$0 --help' for more information." >&2
1418 { (exit 1); exit 1; }; }
1422 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1423 # Reject names that are not valid shell variable names.
1424 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1425 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1426 { (exit 1); exit 1; }; }
1427 eval $ac_envvar=\$ac_optarg
1428 export $ac_envvar ;;
1431 # FIXME: should be removed in autoconf 3.0.
1432 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1433 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1434 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1435 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1441 if test -n "$ac_prev"; then
1442 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1443 { echo "$as_me: error: missing argument to $ac_option" >&2
1444 { (exit 1); exit 1; }; }
1447 # Be sure to have absolute directory names.
1448 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1449 datadir sysconfdir sharedstatedir localstatedir includedir \
1450 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1451 libdir localedir mandir
1453 eval ac_val=\$$ac_var
1455 [\\/$]* | ?:[\\/]* ) continue;;
1456 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1458 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1459 { (exit 1); exit 1; }; }
1462 # There might be people who depend on the old broken behavior: `$host'
1463 # used to hold the argument of --host etc.
1464 # FIXME: To remove some day.
1467 target=$target_alias
1469 # FIXME: To remove some day.
1470 if test "x$host_alias" != x; then
1471 if test "x$build_alias" = x; then
1472 cross_compiling=maybe
1473 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1474 If a cross compiler is detected then cross compile mode will be used." >&2
1475 elif test "x$build_alias" != "x$host_alias"; then
1481 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1483 test "$silent" = yes && exec 6>/dev/null
1486 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1487 ac_ls_di=`ls -di .` &&
1488 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1489 { echo "$as_me: error: Working directory cannot be determined" >&2
1490 { (exit 1); exit 1; }; }
1491 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1492 { echo "$as_me: error: pwd does not report name of working directory" >&2
1493 { (exit 1); exit 1; }; }
1496 # Find the source files, if location was not specified.
1497 if test -z "$srcdir"; then
1498 ac_srcdir_defaulted=yes
1499 # Try the directory containing this script, then the parent directory.
1500 ac_confdir=`$as_dirname -- "$0" ||
1501 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1502 X"$0" : 'X\(//\)[^/]' \| \
1503 X"$0" : 'X\(//\)$' \| \
1504 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1524 if test ! -r "$srcdir/$ac_unique_file"; then
1528 ac_srcdir_defaulted=no
1530 if test ! -r "$srcdir/$ac_unique_file"; then
1531 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1532 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1533 { (exit 1); exit 1; }; }
1535 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1537 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1538 { (exit 1); exit 1; }; }
1540 # When building in place, set srcdir=.
1541 if test "$ac_abs_confdir" = "$ac_pwd"; then
1544 # Remove unnecessary trailing slashes from srcdir.
1545 # Double slashes in file names in object file debugging info
1546 # mess up M-x gdb in Emacs.
1548 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1550 for ac_var in $ac_precious_vars; do
1551 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1552 eval ac_env_${ac_var}_value=\$${ac_var}
1553 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1554 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1558 # Report the --help message.
1560 if test "$ac_init_help" = "long"; then
1561 # Omit some internal or obsolete options to make the list less imposing.
1562 # This message is too long to be a string in the A/UX 3.1 sh.
1564 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1566 Usage: $0 [OPTION]... [VAR=VALUE]...
1568 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1569 VAR=VALUE. See below for descriptions of some of the useful variables.
1571 Defaults for the options are specified in brackets.
1574 -h, --help display this help and exit
1575 --help=short display options specific to this package
1576 --help=recursive display the short help of all the included packages
1577 -V, --version display version information and exit
1578 -q, --quiet, --silent do not print \`checking...' messages
1579 --cache-file=FILE cache test results in FILE [disabled]
1580 -C, --config-cache alias for \`--cache-file=config.cache'
1581 -n, --no-create do not create output files
1582 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1584 Installation directories:
1585 --prefix=PREFIX install architecture-independent files in PREFIX
1586 [$ac_default_prefix]
1587 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1590 By default, \`make install' will install all the files in
1591 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1592 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1593 for instance \`--prefix=\$HOME'.
1595 For better control, use the options below.
1597 Fine tuning of the installation directories:
1598 --bindir=DIR user executables [EPREFIX/bin]
1599 --sbindir=DIR system admin executables [EPREFIX/sbin]
1600 --libexecdir=DIR program executables [EPREFIX/libexec]
1601 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1602 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1603 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1604 --libdir=DIR object code libraries [EPREFIX/lib]
1605 --includedir=DIR C header files [PREFIX/include]
1606 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1607 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1608 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1609 --infodir=DIR info documentation [DATAROOTDIR/info]
1610 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1611 --mandir=DIR man documentation [DATAROOTDIR/man]
1612 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1613 --htmldir=DIR html documentation [DOCDIR]
1614 --dvidir=DIR dvi documentation [DOCDIR]
1615 --pdfdir=DIR pdf documentation [DOCDIR]
1616 --psdir=DIR ps documentation [DOCDIR]
1622 --x-includes=DIR X include files are in DIR
1623 --x-libraries=DIR X library files are in DIR
1626 --build=BUILD configure for building on BUILD [guessed]
1627 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1628 --target=TARGET configure for building compilers for TARGET [HOST]
1632 if test -n "$ac_init_help"; then
1633 case $ac_init_help in
1634 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1639 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1640 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1641 --disable-gui don't build GUI parts of the library
1642 --enable-monolithic build wxWidgets as single library
1643 --enable-plugins build parts of wxWidgets as loadable components
1644 --enable-official_build official build of wxWidgets (win32 DLL only)
1645 --enable-vendor=VENDOR vendor name (win32 DLL only)
1646 --disable-all-features disable all optional features to build minimal library
1647 --enable-universal use wxWidgets GUI controls instead of native ones
1648 --enable-nanox use NanoX
1649 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1650 --enable-gpe use GNOME PDA Environment features if possible
1651 --disable-shared create static library instead of shared
1652 --disable-optimise create optimised code
1653 --enable-debug same as debug_flag and debug_info
1654 --enable-stl use STL for containers
1655 --enable-std_iostreams use standard C++ stream classes
1656 --enable-std_string use standard C++ string classes
1657 --disable-unicode compile without Unicode support
1658 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1659 --enable-utf8 use UTF-8 representation for strings (Unix only)
1660 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1661 --enable-extended_rtti use extended RTTI (XTI)
1662 --enable-omf use OMF object format
1663 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1664 --enable-debug_info create code with debugging information
1665 --enable-debug_gdb create code with extra GDB debugging information
1666 --enable-debug_cntxt use wxDebugContext
1667 --enable-mem_tracing create code with memory tracing
1668 --enable-profile create code with profiling information
1669 --enable-no_rtti create code without RTTI information
1670 --enable-no_exceptions create code without C++ exceptions handling
1671 --enable-permissive compile code disregarding strict ANSI
1672 --enable-no_deps create code without dependency information
1673 --disable-vararg_macros don't use vararg macros, even if they are supported
1674 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1675 --enable-compat26 enable wxWidgets 2.6 compatibility
1676 --disable-compat28 disable wxWidgets 2.8 compatibility
1677 --disable-rpath disable use of rpath for uninstalled builds
1678 --enable-objc_uniquifying enable Objective-C class name uniquifying
1679 --disable-visibility disable use of ELF symbols visibility even if supported
1680 --enable-intl use internationalization system
1681 --enable-config use wxConfig (and derived) classes
1682 --enable-protocols use wxProtocol and derived classes
1683 --enable-ftp use wxFTP (requires wxProtocol
1684 --enable-http use wxHTTP (requires wxProtocol
1685 --enable-fileproto use wxFileProto class (requires wxProtocol
1686 --enable-sockets use socket/network classes
1687 --enable-ole use OLE classes (Win32 only)
1688 --enable-dataobj use data object classes
1689 --enable-ipc use interprocess communication (wxSocket etc.)
1690 --enable-baseevtloop use event loop in console programs too
1691 --enable-epollloop use wxEpollDispatcher class (Linux only)
1692 --enable-selectloop use wxSelectDispatcher class
1693 --enable-apple_ieee use the Apple IEEE codec
1694 --enable-arcstream use wxArchive streams
1695 --enable-base64 use base64 encoding/decoding functions
1696 --enable-backtrace use wxStackWalker class for getting backtraces
1697 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1698 --enable-cmdline use wxCmdLineParser class
1699 --enable-datetime use wxDateTime class
1700 --enable-debugreport use wxDebugReport class
1701 --enable-dialupman use dialup network classes
1702 --enable-dynlib use wxLibrary class for DLL loading
1703 --enable-dynamicloader use (new) wxDynamicLibrary class
1704 --enable-exceptions build exception-safe library
1705 --enable-ffile use wxFFile class
1706 --enable-file use wxFile class
1707 --enable-filesystem use virtual file systems classes
1708 --enable-fontenum use wxFontEnumerator class
1709 --enable-fontmap use font encodings conversion classes
1710 --enable-fs_archive use virtual archive filesystems
1711 --enable-fs_inet use virtual HTTP/FTP filesystems
1712 --enable-fs_zip now replaced by fs_archive
1713 --enable-geometry use geometry class
1714 --enable-log use logging system
1715 --enable-longlong use wxLongLong class
1716 --enable-mimetype use wxMimeTypesManager
1717 --enable-snglinst use wxSingleInstanceChecker class
1718 --enable-stdpaths use wxStandardPaths class
1719 --enable-stopwatch use wxStopWatch class
1720 --enable-streams use wxStream etc classes
1721 --enable-sysoptions use wxSystemOptions
1722 --enable-tarstream use wxTar streams
1723 --enable-textbuf use wxTextBuffer class
1724 --enable-textfile use wxTextFile class
1725 --enable-timer use wxTimer class
1726 --enable-sound use wxSound class
1727 --enable-mediactrl use wxMediaCtrl class
1728 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1729 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1730 --enable-zipstream use wxZip streams
1731 --enable-url use wxURL class
1732 --enable-variant use wxVariant class
1733 --enable-protocol use wxProtocol class
1734 --enable-protocol-http HTTP support in wxProtocol
1735 --enable-protocol-ftp FTP support in wxProtocol
1736 --enable-protocol-file FILE support in wxProtocol
1737 --enable-threads use threads
1738 --enable-iniconf use wxIniConfig (Win32 only)
1739 --enable-regkey use wxRegKey class (Win32 only)
1740 --enable-docview use document view architecture
1741 --enable-help use help subsystem
1742 --enable-mshtmlhelp use MS HTML Help (win32)
1743 --enable-html use wxHTML sub-library
1744 --enable-htmlhelp use wxHTML-based help
1745 --enable-xrc use XRC resources sub-library
1746 --enable-aui use AUI docking library
1747 --enable-stc use wxStyledTextCtrl library
1748 --enable-constraints use layout-constraints system
1749 --enable-printarch use printing architecture
1750 --enable-mdi use multiple document interface architecture
1751 --enable-mdidoc use docview architecture with MDI
1752 --enable-loggui use standard GUI logger
1753 --enable-logwin use wxLogWindow
1754 --enable-logdialog use wxLogDialog
1755 --enable-webkit use wxWebKitCtrl (Mac)
1756 --enable-richtext use wxRichTextCtrl
1757 --enable-graphics_ctx use graphics context 2D drawing API
1758 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1759 --enable-svg use wxSVGFileDC device context
1760 --enable-clipboard use wxClipboard class
1761 --enable-dnd use Drag'n'Drop classes
1762 --enable-metafile use win32 metafiles
1763 --disable-controls disable compilation of all standard controls
1764 --enable-accel use accelerators
1765 --enable-animatectrl use wxAnimationCtrl class
1766 --enable-button use wxButton class
1767 --enable-bmpbutton use wxBitmapButton class
1768 --enable-bmpcombobox use wxBitmapComboBox class
1769 --enable-calendar use wxCalendarCtrl class
1770 --enable-caret use wxCaret class
1771 --enable-checkbox use wxCheckBox class
1772 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1773 --enable-choice use wxChoice class
1774 --enable-choicebook use wxChoicebook class
1775 --enable-collpane use wxCollapsiblePane class
1776 --enable-colourpicker use wxColourPickerCtrl class
1777 --enable-combobox use wxComboBox class
1778 --enable-comboctrl use wxComboCtrl class
1779 --enable-datepick use wxDatePickerCtrl class
1780 --enable-dirpicker use wxDirPickerCtrl class
1781 --enable-display use wxDisplay class
1782 --enable-detect_sm use code to detect X11 session manager
1783 --enable-editablebox use wxEditableListBox class
1784 --enable-filepicker use wxFilePickerCtrl class
1785 --enable-filectrl use wxFileCtrl class
1786 --enable-fontpicker use wxFontPickerCtrl class
1787 --enable-gauge use wxGauge class
1788 --enable-grid use wxGrid class
1789 --enable-dataviewctrl use wxDataViewCtrl class
1790 --enable-hyperlink use wxHyperlinkCtrl class
1791 --enable-imaglist use wxImageList class
1792 --enable-listbook use wxListbook class
1793 --enable-listbox use wxListBox class
1794 --enable-listctrl use wxListCtrl class
1795 --enable-notebook use wxNotebook class
1796 --enable-odcombobox use wxOwnerDrawnComboBox class
1797 --enable-radiobox use wxRadioBox class
1798 --enable-radiobtn use wxRadioButton class
1799 --enable-sash use wxSashWindow class
1800 --enable-scrollbar use wxScrollBar class and scrollable windows
1801 --enable-searchctrl use wxSearchCtrl class
1802 --enable-slider use wxSlider class
1803 --enable-spinbtn use wxSpinButton class
1804 --enable-spinctrl use wxSpinCtrl class
1805 --enable-splitter use wxSplitterWindow class
1806 --enable-statbmp use wxStaticBitmap class
1807 --enable-statbox use wxStaticBox class
1808 --enable-statline use wxStaticLine class
1809 --enable-stattext use wxStaticText class
1810 --enable-statusbar use wxStatusBar class
1811 --enable-tabdialog use wxTabControl class
1812 --enable-taskbaricon use wxTaskBarIcon class
1813 --enable-textctrl use wxTextCtrl class
1814 --enable-togglebtn use wxToggleButton class
1815 --enable-toolbar use wxToolBar class
1816 --enable-tbarnative use native wxToolBar class
1817 --enable-treebook use wxTreebook class
1818 --enable-toolbook use wxToolbook class
1819 --enable-treectrl use wxTreeCtrl class
1820 --enable-tipwindow use wxTipWindow class
1821 --enable-popupwin use wxPopUpWindow class
1822 --enable-commondlg use all common dialogs
1823 --enable-aboutdlg use wxAboutBox
1824 --enable-choicedlg use wxChoiceDialog
1825 --enable-coldlg use wxColourDialog
1826 --enable-filedlg use wxFileDialog
1827 --enable-finddlg use wxFindReplaceDialog
1828 --enable-fontdlg use wxFontDialog
1829 --enable-dirdlg use wxDirDialog
1830 --enable-msgdlg use wxMessageDialog
1831 --enable-numberdlg use wxNumberEntryDialog
1832 --enable-splash use wxSplashScreen
1833 --enable-textdlg use wxTextDialog
1834 --enable-tipdlg use startup tips
1835 --enable-progressdlg use wxProgressDialog
1836 --enable-wizarddlg use wxWizard
1837 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1838 --enable-miniframe use wxMiniFrame class
1839 --enable-tooltips use wxToolTip class
1840 --enable-splines use spline drawing code
1841 --enable-mousewheel use mousewheel
1842 --enable-validators use wxValidator and derived classes
1843 --enable-busyinfo use wxBusyInfo
1844 --enable-joystick use wxJoystick
1845 --enable-metafiles use wxMetaFile (Win32 only)
1846 --enable-dragimage use wxDragImage
1847 --enable-accessibility enable accessibility support
1848 --enable-palette use wxPalette class
1849 --enable-image use wxImage class
1850 --enable-gif use gif images (GIF file format)
1851 --enable-pcx use pcx images (PCX file format)
1852 --enable-tga use tga images (TGA file format)
1853 --enable-iff use iff images (IFF file format)
1854 --enable-pnm use pnm images (PNM file format)
1855 --enable-xpm use xpm images (XPM file format)
1856 --enable-icocur use Windows ICO and CUR formats
1857 --enable-dccache cache temporary wxDC objects (Win32 only)
1858 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1859 --enable-ownerdrawn use owner drawn controls (Win32 only)
1860 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1861 --enable-wxdib use wxDIB class (Win32 only)
1862 --disable-largefile omit support for large files
1863 --disable-gtktest do not try to compile and run a test GTK+ program
1864 --disable-gtktest Do not try to compile and run a test GTK program
1865 --disable-sdltest Do not try to compile and run a test SDL program
1866 --enable-omf use OMF object format (OS/2)
1867 --disable-dependency-tracking
1868 don't use dependency tracking even if the compiler
1870 --disable-precomp-headers
1871 don't use precompiled headers even if compiler can
1874 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1875 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1876 --without-subdirs don't generate makefiles for samples/demos/...
1877 --with-flavour=NAME specify a name to identify this build
1878 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1879 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1880 --with-motif use Motif/Lesstif
1881 --with-mac use Mac OS X
1882 --with-cocoa use Cocoa
1883 --with-wine use Wine
1884 --with-msw use MS-Windows
1885 --with-pm use OS/2 Presentation Manager
1886 --with-mgl use SciTech MGL
1887 --with-directfb use DirectFB
1888 --with-microwin use MicroWindows
1890 --with-libpng use libpng (PNG image format)
1891 --with-libjpeg use libjpeg (JPEG file format)
1892 --with-libtiff use libtiff (TIFF file format)
1893 --with-libxpm use libxpm (XPM file format)
1894 --with-libmspack use libmspack (CHM help files loading)
1895 --without-gtkprint don't use GTK printing support
1896 --without-gnomeprint don't use GNOME printing libraries
1897 --with-gnomevfs use GNOME VFS for associating MIME types
1898 --with-hildon use Hildon framework for Nokia 770
1899 --with-opengl use OpenGL (or Mesa)
1900 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1901 --with-sdl use SDL for audio on Unix
1902 --with-regex enable support for wxRegEx class
1903 --with-zlib use zlib for LZW compression
1904 --with-odbc use the IODBC and wxODBC classes
1905 --with-expat enable XML support using expat parser
1906 --with-macosx-sdk=PATH use an OS X SDK at PATH
1907 --with-macosx-version-min=VER build binaries which require at least this OS X version
1908 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1909 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1910 --with-x use the X Window System
1911 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1912 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1913 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1914 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1915 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1917 Some influential environment variables:
1918 CC C compiler command
1919 CFLAGS C compiler flags
1920 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1921 nonstandard directory <lib dir>
1922 LIBS libraries to pass to the linker, e.g. -l<library>
1923 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1924 you have headers in a nonstandard directory <include dir>
1926 CXX C++ compiler command
1927 CXXFLAGS C++ compiler flags
1928 PKG_CONFIG path to pkg-config utility
1930 C compiler flags for DIRECTFB, overriding pkg-config
1932 linker flags for DIRECTFB, overriding pkg-config
1933 XMKMF Path to xmkmf, Makefile generator for X Window System
1935 C compiler flags for PANGOX, overriding pkg-config
1936 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1938 C compiler flags for PANGOFT2, overriding pkg-config
1940 linker flags for PANGOFT2, overriding pkg-config
1942 C compiler flags for PANGOXFT, overriding pkg-config
1944 linker flags for PANGOXFT, overriding pkg-config
1946 C compiler flags for GTKPRINT, overriding pkg-config
1948 linker flags for GTKPRINT, overriding pkg-config
1949 LIBGNOMEPRINTUI_CFLAGS
1950 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1951 LIBGNOMEPRINTUI_LIBS
1952 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1954 C compiler flags for GNOMEVFS, overriding pkg-config
1956 linker flags for GNOMEVFS, overriding pkg-config
1958 C compiler flags for HILDON, overriding pkg-config
1959 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1961 C compiler flags for CAIRO, overriding pkg-config
1962 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1963 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1964 GST_LIBS linker flags for GST, overriding pkg-config
1966 Use these variables to override the choices made by `configure' or to help
1967 it to find libraries and programs with nonstandard names/locations.
1969 Report bugs to <wx-dev@lists.wxwidgets.org>.
1974 if test "$ac_init_help" = "recursive"; then
1975 # If there are subdirs, report their specific --help.
1976 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1977 test -d "$ac_dir" || continue
1981 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1983 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1984 # A ".." for each directory in $ac_dir_suffix.
1985 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1986 case $ac_top_builddir_sub in
1987 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1988 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1991 ac_abs_top_builddir=$ac_pwd
1992 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1993 # for backward compatibility:
1994 ac_top_builddir=$ac_top_build_prefix
1997 .) # We are building in place.
1999 ac_top_srcdir=$ac_top_builddir_sub
2000 ac_abs_top_srcdir=$ac_pwd ;;
2001 [\\/]* | ?:[\\/]* ) # Absolute name.
2002 ac_srcdir=$srcdir$ac_dir_suffix;
2003 ac_top_srcdir=$srcdir
2004 ac_abs_top_srcdir=$srcdir ;;
2006 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2007 ac_top_srcdir=$ac_top_build_prefix$srcdir
2008 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2010 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2012 cd "$ac_dir" || { ac_status=$?; continue; }
2013 # Check for guested configure.
2014 if test -f "$ac_srcdir/configure.gnu"; then
2016 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2017 elif test -f "$ac_srcdir/configure"; then
2019 $SHELL "$ac_srcdir/configure" --help=recursive
2021 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2023 cd "$ac_pwd" || { ac_status=$?; break; }
2027 test -n "$ac_init_help" && exit $ac_status
2028 if $ac_init_version; then
2030 wxWidgets configure 2.9.0
2031 generated by GNU Autoconf 2.61
2033 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2034 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2035 This configure script is free software; the Free Software Foundation
2036 gives unlimited permission to copy, distribute and modify it.
2040 cat >config.log <<_ACEOF
2041 This file contains any messages produced by compilers while
2042 running configure, to aid debugging if configure makes a mistake.
2044 It was created by wxWidgets $as_me 2.9.0, which was
2045 generated by GNU Autoconf 2.61. Invocation command line was
2057 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2058 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2059 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2060 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2061 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2063 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2064 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2066 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2067 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2068 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2069 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2070 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2071 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2072 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir=.
2081 echo "PATH: $as_dir"
2097 # Keep a trace of the command line.
2098 # Strip out --no-create and --no-recursion so they do not pile up.
2099 # Strip out --silent because we don't want to record it for future runs.
2100 # Also quote any args containing shell meta-characters.
2101 # Make two passes to allow for proper duplicate-argument suppression.
2105 ac_must_keep_next=false
2111 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2112 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2113 | -silent | --silent | --silen | --sile | --sil)
2116 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2119 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2121 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2122 if test $ac_must_keep_next = true; then
2123 ac_must_keep_next=false # Got value, back to normal.
2126 *=* | --config-cache | -C | -disable-* | --disable-* \
2127 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2128 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2129 | -with-* | --with-* | -without-* | --without-* | --x)
2130 case "$ac_configure_args0 " in
2131 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2134 -* ) ac_must_keep_next=true ;;
2137 ac_configure_args="$ac_configure_args '$ac_arg'"
2142 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2143 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2145 # When interrupted or exit'd, cleanup temporary files, and complete
2146 # config.log. We remove comments because anyway the quotes in there
2147 # would cause problems or look ugly.
2148 # WARNING: Use '\'' to represent an apostrophe within the trap.
2149 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2150 trap 'exit_status=$?
2151 # Save into config.log some information that might help in debugging.
2156 ## ---------------- ##
2157 ## Cache variables. ##
2158 ## ---------------- ##
2161 # The following way of writing the cache mishandles newlines in values,
2163 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2164 eval ac_val=\$$ac_var
2168 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2169 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2172 _ | IFS | as_nl) ;; #(
2173 *) $as_unset $ac_var ;;
2178 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2179 *${as_nl}ac_space=\ *)
2181 "s/'\''/'\''\\\\'\'''\''/g;
2182 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2185 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2193 ## ----------------- ##
2194 ## Output variables. ##
2195 ## ----------------- ##
2198 for ac_var in $ac_subst_vars
2200 eval ac_val=\$$ac_var
2202 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2204 echo "$ac_var='\''$ac_val'\''"
2208 if test -n "$ac_subst_files"; then
2210 ## ------------------- ##
2211 ## File substitutions. ##
2212 ## ------------------- ##
2215 for ac_var in $ac_subst_files
2217 eval ac_val=\$$ac_var
2219 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2221 echo "$ac_var='\''$ac_val'\''"
2226 if test -s confdefs.h; then
2236 test "$ac_signal" != 0 &&
2237 echo "$as_me: caught signal $ac_signal"
2238 echo "$as_me: exit $exit_status"
2240 rm -f core *.core core.conftest.* &&
2241 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2244 for ac_signal in 1 2 13 15; do
2245 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2249 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2250 rm -f -r conftest* confdefs.h
2252 # Predefined preprocessor variables.
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_NAME "$PACKAGE_NAME"
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2264 cat >>confdefs.h <<_ACEOF
2265 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2269 cat >>confdefs.h <<_ACEOF
2270 #define PACKAGE_STRING "$PACKAGE_STRING"
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2279 # Let the site file select an alternate cache file if it wants to.
2280 # Prefer explicitly selected file to automatically selected ones.
2281 if test -n "$CONFIG_SITE"; then
2282 set x "$CONFIG_SITE"
2283 elif test "x$prefix" != xNONE; then
2284 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2286 set x "$ac_default_prefix/share/config.site" \
2287 "$ac_default_prefix/etc/config.site"
2292 if test -r "$ac_site_file"; then
2293 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2294 echo "$as_me: loading site script $ac_site_file" >&6;}
2295 sed 's/^/| /' "$ac_site_file" >&5
2300 if test -r "$cache_file"; then
2301 # Some versions of bash will fail to source /dev/null (special
2302 # files actually), so we avoid doing that.
2303 if test -f "$cache_file"; then
2304 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2305 echo "$as_me: loading cache $cache_file" >&6;}
2307 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2308 *) . "./$cache_file";;
2312 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2313 echo "$as_me: creating cache $cache_file" >&6;}
2317 # Check that the precious variables saved in the cache have kept the same
2319 ac_cache_corrupted=false
2320 for ac_var in $ac_precious_vars; do
2321 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2322 eval ac_new_set=\$ac_env_${ac_var}_set
2323 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2324 eval ac_new_val=\$ac_env_${ac_var}_value
2325 case $ac_old_set,$ac_new_set in
2327 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2328 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2329 ac_cache_corrupted=: ;;
2331 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2332 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2333 ac_cache_corrupted=: ;;
2336 if test "x$ac_old_val" != "x$ac_new_val"; then
2337 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2338 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2339 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2340 echo "$as_me: former value: $ac_old_val" >&2;}
2341 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2342 echo "$as_me: current value: $ac_new_val" >&2;}
2343 ac_cache_corrupted=:
2346 # Pass precious variables to config.status.
2347 if test "$ac_new_set" = set; then
2349 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2350 *) ac_arg=$ac_var=$ac_new_val ;;
2352 case " $ac_configure_args " in
2353 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2354 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2358 if $ac_cache_corrupted; then
2359 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2360 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2361 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2362 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2363 { (exit 1); exit 1; }; }
2391 ac_cpp='$CPP $CPPFLAGS'
2392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2401 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2402 if test -f "$ac_dir/install-sh"; then
2404 ac_install_sh="$ac_aux_dir/install-sh -c"
2406 elif test -f "$ac_dir/install.sh"; then
2408 ac_install_sh="$ac_aux_dir/install.sh -c"
2410 elif test -f "$ac_dir/shtool"; then
2412 ac_install_sh="$ac_aux_dir/shtool install -c"
2416 if test -z "$ac_aux_dir"; then
2417 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2418 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2419 { (exit 1); exit 1; }; }
2422 # These three variables are undocumented and unsupported,
2423 # and are intended to be withdrawn in a future Autoconf release.
2424 # They can cause serious problems if a builder's source tree is in a directory
2425 # whose full name contains unusual characters.
2426 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2427 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2428 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2431 # Make sure we can run config.sub.
2432 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2433 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2434 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2435 { (exit 1); exit 1; }; }
2437 { echo "$as_me:$LINENO: checking build system type" >&5
2438 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2439 if test "${ac_cv_build+set}" = set; then
2440 echo $ECHO_N "(cached) $ECHO_C" >&6
2442 ac_build_alias=$build_alias
2443 test "x$ac_build_alias" = x &&
2444 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2445 test "x$ac_build_alias" = x &&
2446 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2447 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2448 { (exit 1); exit 1; }; }
2449 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2450 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2451 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2452 { (exit 1); exit 1; }; }
2455 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2456 echo "${ECHO_T}$ac_cv_build" >&6; }
2457 case $ac_cv_build in
2459 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2460 echo "$as_me: error: invalid value of canonical build" >&2;}
2461 { (exit 1); exit 1; }; };;
2464 ac_save_IFS=$IFS; IFS='-'
2470 # Remember, the first character of IFS is used to create $*,
2471 # except with old shells:
2474 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2477 { echo "$as_me:$LINENO: checking host system type" >&5
2478 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2479 if test "${ac_cv_host+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 if test "x$host_alias" = x; then
2483 ac_cv_host=$ac_cv_build
2485 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2486 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2487 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2488 { (exit 1); exit 1; }; }
2492 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2493 echo "${ECHO_T}$ac_cv_host" >&6; }
2496 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2497 echo "$as_me: error: invalid value of canonical host" >&2;}
2498 { (exit 1); exit 1; }; };;
2501 ac_save_IFS=$IFS; IFS='-'
2507 # Remember, the first character of IFS is used to create $*,
2508 # except with old shells:
2511 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2514 { echo "$as_me:$LINENO: checking target system type" >&5
2515 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2516 if test "${ac_cv_target+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 if test "x$target_alias" = x; then
2520 ac_cv_target=$ac_cv_host
2522 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2523 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2524 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2525 { (exit 1); exit 1; }; }
2529 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2530 echo "${ECHO_T}$ac_cv_target" >&6; }
2531 case $ac_cv_target in
2533 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2534 echo "$as_me: error: invalid value of canonical target" >&2;}
2535 { (exit 1); exit 1; }; };;
2537 target=$ac_cv_target
2538 ac_save_IFS=$IFS; IFS='-'
2544 # Remember, the first character of IFS is used to create $*,
2545 # except with old shells:
2548 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2551 # The aliases save the names the user supplied, while $host etc.
2552 # will get canonicalized.
2553 test -n "$target_alias" &&
2554 test "$program_prefix$program_suffix$program_transform_name" = \
2556 program_prefix=${target_alias}-
2560 wx_major_version_number=2
2561 wx_minor_version_number=9
2563 wx_subrelease_number=0
2565 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2566 WX_VERSION=$WX_RELEASE.$wx_release_number
2567 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2569 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2572 wx_top_builddir="`pwd`"
2585 USE_BSD= USE_DARWIN= USE_FREEBSD=
2591 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2597 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2599 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2601 DEFAULT_wxUSE_COCOA=0
2605 DEFAULT_wxUSE_MICROWIN=0
2606 DEFAULT_wxUSE_MOTIF=0
2612 DEFAULT_DEFAULT_wxUSE_COCOA=0
2613 DEFAULT_DEFAULT_wxUSE_GTK=0
2614 DEFAULT_DEFAULT_wxUSE_MAC=0
2615 DEFAULT_DEFAULT_wxUSE_MGL=0
2616 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2617 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2618 DEFAULT_DEFAULT_wxUSE_MSW=0
2619 DEFAULT_DEFAULT_wxUSE_PM=0
2620 DEFAULT_DEFAULT_wxUSE_X11=0
2621 DEFAULT_DEFAULT_wxUSE_DFB=0
2626 SAMPLES_RPATH_POSTLINK=
2628 DEFAULT_STD_FLAG=yes
2633 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2634 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2636 cat >>confdefs.h <<\_ACEOF
2641 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2645 cat >>confdefs.h <<\_ACEOF
2650 if test "x$TMP" = "xalpha"; then
2652 cat >>confdefs.h <<\_ACEOF
2657 DEFAULT_DEFAULT_wxUSE_GTK=1
2659 *-*-gnu* | *-*-k*bsd*-gnu )
2662 if test "x$TMP" = "xalpha"; then
2664 cat >>confdefs.h <<\_ACEOF
2669 DEFAULT_DEFAULT_wxUSE_GTK=1
2671 *-*-irix5* | *-*-irix6* )
2674 cat >>confdefs.h <<\_ACEOF
2678 cat >>confdefs.h <<\_ACEOF
2682 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2688 cat >>confdefs.h <<\_ACEOF
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __SOLARIS__ 1
2696 cat >>confdefs.h <<\_ACEOF
2700 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2701 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2707 cat >>confdefs.h <<\_ACEOF
2711 cat >>confdefs.h <<\_ACEOF
2715 cat >>confdefs.h <<\_ACEOF
2719 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __FREEBSD__ 1
2728 cat >>confdefs.h <<\_ACEOF
2732 DEFAULT_DEFAULT_wxUSE_GTK=1
2734 *-*-openbsd*|*-*-mirbsd*)
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __OPENBSD__ 1
2741 cat >>confdefs.h <<\_ACEOF
2745 DEFAULT_DEFAULT_wxUSE_GTK=1
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __NETBSD__ 1
2754 cat >>confdefs.h <<\_ACEOF
2758 DEFAULT_DEFAULT_wxUSE_GTK=1
2759 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2761 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2766 cat >>confdefs.h <<\_ACEOF
2770 cat >>confdefs.h <<\_ACEOF
2774 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2775 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2780 cat >>confdefs.h <<\_ACEOF
2784 cat >>confdefs.h <<\_ACEOF
2788 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2793 cat >>confdefs.h <<\_ACEOF
2797 cat >>confdefs.h <<\_ACEOF
2801 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2808 cat >>confdefs.h <<\_ACEOF
2812 cat >>confdefs.h <<\_ACEOF
2816 cat >>confdefs.h <<\_ACEOF
2820 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2827 cat >>confdefs.h <<\_ACEOF
2828 #define __UNIXWARE__ 1
2833 *-*-cygwin* | *-*-mingw32* )
2836 DEFAULT_DEFAULT_wxUSE_MSW=1
2842 cat >>confdefs.h <<\_ACEOF
2847 DEFAULT_DEFAULT_wxUSE_MGL=1
2850 *-pc-os2_emx | *-pc-os2-emx )
2851 cat >>confdefs.h <<\_ACEOF
2856 cat >>confdefs.h <<\_ACEOF
2861 DEFAULT_DEFAULT_wxUSE_PM=1
2863 LDFLAGS="$LDFLAGS -Zcrtdll"
2864 ac_executable_extensions=".exe"
2865 export ac_executable_extensions
2869 for ac_dir in $PATH; do
2871 if test -z "$ac_TEMP_PATH"; then
2872 ac_TEMP_PATH="$ac_dir"
2874 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2877 export PATH="$ac_TEMP_PATH"
2886 cat >>confdefs.h <<\_ACEOF
2890 cat >>confdefs.h <<\_ACEOF
2891 #define __DARWIN__ 1
2894 cat >>confdefs.h <<\_ACEOF
2895 #define TARGET_CARBON 1
2898 DEFAULT_DEFAULT_wxUSE_MAC=1
2901 powerpc-apple-macos* )
2903 ac_cv_c_bigendian=yes
2905 DEFAULT_DEFAULT_wxUSE_MAC=1
2911 cat >>confdefs.h <<\_ACEOF
2918 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2919 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2920 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2921 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2923 DEFAULT_DEFAULT_wxUSE_X11=1
2924 DEFAULT_wxUSE_SHARED=no
2930 wx_arg_cache_file="configarg.cache"
2931 echo "loading argument cache $wx_arg_cache_file"
2932 rm -f ${wx_arg_cache_file}.tmp
2933 touch ${wx_arg_cache_file}.tmp
2934 touch ${wx_arg_cache_file}
2937 DEFAULT_wxUSE_ALL_FEATURES=yes
2939 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2940 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2942 DEFAULT_wxUSE_DMALLOC=no
2943 DEFAULT_wxUSE_LIBGNOMEVFS=no
2944 DEFAULT_wxUSE_LIBHILDON=no
2945 DEFAULT_wxUSE_LIBMSPACK=no
2946 DEFAULT_wxUSE_LIBSDL=no
2947 DEFAULT_wxUSE_ODBC=no
2948 DEFAULT_wxUSE_OPENGL=no
2950 DEFAULT_wxUSE_ACCESSIBILITY=no
2951 DEFAULT_wxUSE_DATAVIEWCTRL=no
2952 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2953 DEFAULT_wxUSE_MEDIACTRL=no
2954 DEFAULT_wxUSE_TAB_DIALOG=no
2956 DEFAULT_wxUSE_UNICODE_UTF8=auto
2957 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2959 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2961 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2963 DEFAULT_wxUSE_GTK2=yes
2965 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2968 for toolkit in `echo $ALL_TOOLKITS`; do
2969 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2970 if test "x$LINE" != "x" ; then
2971 has_toolkit_in_cache=1
2972 eval "DEFAULT_$LINE"
2973 eval "CACHE_$toolkit=1"
2975 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2976 if test "x$LINE" != "x" ; then
2977 eval "DEFAULT_$LINE"
2986 enablestring=disable
2988 if test -z "$defaultval"; then
2989 if test x"$enablestring" = xdisable; then
2996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2997 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2998 # Check whether --enable-gui was given.
2999 if test "${enable_gui+set}" = set; then
3000 enableval=$enable_gui;
3001 if test "$enableval" = yes; then
3002 wx_cv_use_gui='wxUSE_GUI=yes'
3004 wx_cv_use_gui='wxUSE_GUI=no'
3010 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x ; then
3012 eval "DEFAULT_$LINE"
3018 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3023 eval "$wx_cv_use_gui"
3024 if test "x$cache" = xyes; then
3025 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3028 if test x"$enablestring" = xdisable; then
3029 if test $wxUSE_GUI = yes; then
3038 { echo "$as_me:$LINENO: result: $result" >&5
3039 echo "${ECHO_T}$result" >&6; }
3044 if test -z "$defaultval"; then
3045 if test x"$enablestring" = xdisable; then
3052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3053 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3054 # Check whether --enable-monolithic was given.
3055 if test "${enable_monolithic+set}" = set; then
3056 enableval=$enable_monolithic;
3057 if test "$enableval" = yes; then
3058 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3060 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3066 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3067 if test "x$LINE" != x ; then
3068 eval "DEFAULT_$LINE"
3074 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3079 eval "$wx_cv_use_monolithic"
3080 if test "x$cache" = xyes; then
3081 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3084 if test x"$enablestring" = xdisable; then
3085 if test $wxUSE_MONOLITHIC = yes; then
3091 result=$wxUSE_MONOLITHIC
3094 { echo "$as_me:$LINENO: result: $result" >&5
3095 echo "${ECHO_T}$result" >&6; }
3100 if test -z "$defaultval"; then
3101 if test x"$enablestring" = xdisable; then
3108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3109 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3110 # Check whether --enable-plugins was given.
3111 if test "${enable_plugins+set}" = set; then
3112 enableval=$enable_plugins;
3113 if test "$enableval" = yes; then
3114 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3116 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3122 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3123 if test "x$LINE" != x ; then
3124 eval "DEFAULT_$LINE"
3130 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3135 eval "$wx_cv_use_plugins"
3136 if test "x$cache" = xyes; then
3137 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3140 if test x"$enablestring" = xdisable; then
3141 if test $wxUSE_PLUGINS = yes; then
3147 result=$wxUSE_PLUGINS
3150 { echo "$as_me:$LINENO: result: $result" >&5
3151 echo "${ECHO_T}$result" >&6; }
3155 defaultval=$wxUSE_ALL_FEATURES
3156 if test -z "$defaultval"; then
3157 if test x"$withstring" = xwithout; then
3163 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3164 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3166 # Check whether --with-subdirs was given.
3167 if test "${with_subdirs+set}" = set; then
3168 withval=$with_subdirs;
3169 if test "$withval" = yes; then
3170 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3172 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3178 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3179 if test "x$LINE" != x ; then
3180 eval "DEFAULT_$LINE"
3186 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3191 eval "$wx_cv_use_subdirs"
3192 if test "x$cache" = xyes; then
3193 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3196 if test x"$withstring" = xwithout; then
3197 if test $wxWITH_SUBDIRS = yes; then
3203 result=$wxWITH_SUBDIRS
3206 { echo "$as_me:$LINENO: result: $result" >&5
3207 echo "${ECHO_T}$result" >&6; }
3210 # Check whether --with-flavour was given.
3211 if test "${with_flavour+set}" = set; then
3212 withval=$with_flavour; WX_FLAVOUR="$withval"
3218 if test -z "$defaultval"; then
3219 if test x"$enablestring" = xdisable; then
3226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3227 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3228 # Check whether --enable-official_build was given.
3229 if test "${enable_official_build+set}" = set; then
3230 enableval=$enable_official_build;
3231 if test "$enableval" = yes; then
3232 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3234 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3240 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3241 if test "x$LINE" != x ; then
3242 eval "DEFAULT_$LINE"
3248 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3253 eval "$wx_cv_use_official_build"
3254 if test "x$cache" = xyes; then
3255 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3258 if test x"$enablestring" = xdisable; then
3259 if test $wxUSE_OFFICIAL_BUILD = yes; then
3265 result=$wxUSE_OFFICIAL_BUILD
3268 { echo "$as_me:$LINENO: result: $result" >&5
3269 echo "${ECHO_T}$result" >&6; }
3271 # Check whether --enable-vendor was given.
3272 if test "${enable_vendor+set}" = set; then
3273 enableval=$enable_vendor; VENDOR="$enableval"
3276 if test "x$VENDOR" = "x"; then
3281 enablestring=disable
3283 if test -z "$defaultval"; then
3284 if test x"$enablestring" = xdisable; then
3291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3292 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3293 # Check whether --enable-all-features was given.
3294 if test "${enable_all_features+set}" = set; then
3295 enableval=$enable_all_features;
3296 if test "$enableval" = yes; then
3297 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3299 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3305 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3306 if test "x$LINE" != x ; then
3307 eval "DEFAULT_$LINE"
3313 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3318 eval "$wx_cv_use_all_features"
3319 if test "x$cache" = xyes; then
3320 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3323 if test x"$enablestring" = xdisable; then
3324 if test $wxUSE_ALL_FEATURES = yes; then
3330 result=$wxUSE_ALL_FEATURES
3333 { echo "$as_me:$LINENO: result: $result" >&5
3334 echo "${ECHO_T}$result" >&6; }
3338 if test "$wxUSE_GUI" = "yes"; then
3343 if test -z "$defaultval"; then
3344 if test x"$enablestring" = xdisable; then
3351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3352 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3353 # Check whether --enable-universal was given.
3354 if test "${enable_universal+set}" = set; then
3355 enableval=$enable_universal;
3356 if test "$enableval" = yes; then
3357 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3359 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3365 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x ; then
3367 eval "DEFAULT_$LINE"
3373 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3378 eval "$wx_cv_use_universal"
3379 if test "x$cache" = xyes; then
3380 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3383 if test x"$enablestring" = xdisable; then
3384 if test $wxUSE_UNIVERSAL = yes; then
3390 result=$wxUSE_UNIVERSAL
3393 { echo "$as_me:$LINENO: result: $result" >&5
3394 echo "${ECHO_T}$result" >&6; }
3396 if test "$wxUSE_UNIVERSAL" = "yes"; then
3398 # Check whether --with-themes was given.
3399 if test "${with_themes+set}" = set; then
3400 withval=$with_themes; wxUNIV_THEMES="$withval"
3406 # Check whether --with-gtk was given.
3407 if test "${with_gtk+set}" = set; then
3408 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3412 # Check whether --with-motif was given.
3413 if test "${with_motif+set}" = set; then
3414 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3418 # Check whether --with-mac was given.
3419 if test "${with_mac+set}" = set; then
3420 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3424 # Check whether --with-cocoa was given.
3425 if test "${with_cocoa+set}" = set; then
3426 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3430 # Check whether --with-wine was given.
3431 if test "${with_wine+set}" = set; then
3432 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3436 # Check whether --with-msw was given.
3437 if test "${with_msw+set}" = set; then
3438 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3442 # Check whether --with-pm was given.
3443 if test "${with_pm+set}" = set; then
3444 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3448 # Check whether --with-mgl was given.
3449 if test "${with_mgl+set}" = set; then
3450 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3454 # Check whether --with-directfb was given.
3455 if test "${with_directfb+set}" = set; then
3456 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3460 # Check whether --with-microwin was given.
3461 if test "${with_microwin+set}" = set; then
3462 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3466 # Check whether --with-x11 was given.
3467 if test "${with_x11+set}" = set; then
3468 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3474 if test -z "$defaultval"; then
3475 if test x"$enablestring" = xdisable; then
3482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3483 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3484 # Check whether --enable-nanox was given.
3485 if test "${enable_nanox+set}" = set; then
3486 enableval=$enable_nanox;
3487 if test "$enableval" = yes; then
3488 wx_cv_use_nanox='wxUSE_NANOX=yes'
3490 wx_cv_use_nanox='wxUSE_NANOX=no'
3496 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3497 if test "x$LINE" != x ; then
3498 eval "DEFAULT_$LINE"
3504 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3509 eval "$wx_cv_use_nanox"
3510 if test "x$cache" = xyes; then
3511 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3514 if test x"$enablestring" = xdisable; then
3515 if test $wxUSE_NANOX = yes; then
3524 { echo "$as_me:$LINENO: result: $result" >&5
3525 echo "${ECHO_T}$result" >&6; }
3528 # Check whether --enable-gtk2 was given.
3529 if test "${enable_gtk2+set}" = set; then
3530 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3536 if test -z "$defaultval"; then
3537 if test x"$enablestring" = xdisable; then
3544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3545 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3546 # Check whether --enable-gpe was given.
3547 if test "${enable_gpe+set}" = set; then
3548 enableval=$enable_gpe;
3549 if test "$enableval" = yes; then
3550 wx_cv_use_gpe='wxUSE_GPE=yes'
3552 wx_cv_use_gpe='wxUSE_GPE=no'
3558 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3559 if test "x$LINE" != x ; then
3560 eval "DEFAULT_$LINE"
3566 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3571 eval "$wx_cv_use_gpe"
3572 if test "x$cache" = xyes; then
3573 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3576 if test x"$enablestring" = xdisable; then
3577 if test $wxUSE_GPE = yes; then
3586 { echo "$as_me:$LINENO: result: $result" >&5
3587 echo "${ECHO_T}$result" >&6; }
3592 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3593 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3595 # Check whether --with-libpng was given.
3596 if test "${with_libpng+set}" = set; then
3597 withval=$with_libpng;
3598 if test "$withval" = yes; then
3599 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3600 elif test "$withval" = no; then
3601 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3602 elif test "$withval" = sys; then
3603 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3604 elif test "$withval" = builtin; then
3605 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3615 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3616 if test "x$LINE" != x ; then
3617 eval "DEFAULT_$LINE"
3623 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3628 eval "$wx_cv_use_libpng"
3629 if test "x$cache" = xyes; then
3630 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3633 if test "$wxUSE_LIBPNG" = yes; then
3634 { echo "$as_me:$LINENO: result: yes" >&5
3635 echo "${ECHO_T}yes" >&6; }
3636 elif test "$wxUSE_LIBPNG" = no; then
3637 { echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6; }
3639 elif test "$wxUSE_LIBPNG" = sys; then
3640 { echo "$as_me:$LINENO: result: system version" >&5
3641 echo "${ECHO_T}system version" >&6; }
3642 elif test "$wxUSE_LIBPNG" = builtin; then
3643 { echo "$as_me:$LINENO: result: builtin version" >&5
3644 echo "${ECHO_T}builtin version" >&6; }
3646 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3647 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3648 { (exit 1); exit 1; }; }
3652 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3653 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3655 # Check whether --with-libjpeg was given.
3656 if test "${with_libjpeg+set}" = set; then
3657 withval=$with_libjpeg;
3658 if test "$withval" = yes; then
3659 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3660 elif test "$withval" = no; then
3661 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3662 elif test "$withval" = sys; then
3663 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3664 elif test "$withval" = builtin; then
3665 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3667 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3668 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3669 { (exit 1); exit 1; }; }
3675 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3676 if test "x$LINE" != x ; then
3677 eval "DEFAULT_$LINE"
3683 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3688 eval "$wx_cv_use_libjpeg"
3689 if test "x$cache" = xyes; then
3690 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3693 if test "$wxUSE_LIBJPEG" = yes; then
3694 { echo "$as_me:$LINENO: result: yes" >&5
3695 echo "${ECHO_T}yes" >&6; }
3696 elif test "$wxUSE_LIBJPEG" = no; then
3697 { echo "$as_me:$LINENO: result: no" >&5
3698 echo "${ECHO_T}no" >&6; }
3699 elif test "$wxUSE_LIBJPEG" = sys; then
3700 { echo "$as_me:$LINENO: result: system version" >&5
3701 echo "${ECHO_T}system version" >&6; }
3702 elif test "$wxUSE_LIBJPEG" = builtin; then
3703 { echo "$as_me:$LINENO: result: builtin version" >&5
3704 echo "${ECHO_T}builtin version" >&6; }
3706 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3707 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3708 { (exit 1); exit 1; }; }
3712 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3713 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3715 # Check whether --with-libtiff was given.
3716 if test "${with_libtiff+set}" = set; then
3717 withval=$with_libtiff;
3718 if test "$withval" = yes; then
3719 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3720 elif test "$withval" = no; then
3721 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3722 elif test "$withval" = sys; then
3723 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3724 elif test "$withval" = builtin; then
3725 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3727 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3728 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3729 { (exit 1); exit 1; }; }
3735 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3736 if test "x$LINE" != x ; then
3737 eval "DEFAULT_$LINE"
3743 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3748 eval "$wx_cv_use_libtiff"
3749 if test "x$cache" = xyes; then
3750 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3753 if test "$wxUSE_LIBTIFF" = yes; then
3754 { echo "$as_me:$LINENO: result: yes" >&5
3755 echo "${ECHO_T}yes" >&6; }
3756 elif test "$wxUSE_LIBTIFF" = no; then
3757 { echo "$as_me:$LINENO: result: no" >&5
3758 echo "${ECHO_T}no" >&6; }
3759 elif test "$wxUSE_LIBTIFF" = sys; then
3760 { echo "$as_me:$LINENO: result: system version" >&5
3761 echo "${ECHO_T}system version" >&6; }
3762 elif test "$wxUSE_LIBTIFF" = builtin; then
3763 { echo "$as_me:$LINENO: result: builtin version" >&5
3764 echo "${ECHO_T}builtin version" >&6; }
3766 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3767 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3768 { (exit 1); exit 1; }; }
3772 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3773 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3775 # Check whether --with-libxpm was given.
3776 if test "${with_libxpm+set}" = set; then
3777 withval=$with_libxpm;
3778 if test "$withval" = yes; then
3779 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3780 elif test "$withval" = no; then
3781 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3782 elif test "$withval" = sys; then
3783 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3784 elif test "$withval" = builtin; then
3785 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3787 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3788 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3789 { (exit 1); exit 1; }; }
3795 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x ; then
3797 eval "DEFAULT_$LINE"
3803 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3808 eval "$wx_cv_use_libxpm"
3809 if test "x$cache" = xyes; then
3810 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3813 if test "$wxUSE_LIBXPM" = yes; then
3814 { echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6; }
3816 elif test "$wxUSE_LIBXPM" = no; then
3817 { echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6; }
3819 elif test "$wxUSE_LIBXPM" = sys; then
3820 { echo "$as_me:$LINENO: result: system version" >&5
3821 echo "${ECHO_T}system version" >&6; }
3822 elif test "$wxUSE_LIBXPM" = builtin; then
3823 { echo "$as_me:$LINENO: result: builtin version" >&5
3824 echo "${ECHO_T}builtin version" >&6; }
3826 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3827 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3828 { (exit 1); exit 1; }; }
3833 defaultval=$wxUSE_ALL_FEATURES
3834 if test -z "$defaultval"; then
3835 if test x"$withstring" = xwithout; then
3841 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3842 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3844 # Check whether --with-libmspack was given.
3845 if test "${with_libmspack+set}" = set; then
3846 withval=$with_libmspack;
3847 if test "$withval" = yes; then
3848 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3850 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3856 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3857 if test "x$LINE" != x ; then
3858 eval "DEFAULT_$LINE"
3864 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3869 eval "$wx_cv_use_libmspack"
3870 if test "x$cache" = xyes; then
3871 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3874 if test x"$withstring" = xwithout; then
3875 if test $wxUSE_LIBMSPACK = yes; then
3881 result=$wxUSE_LIBMSPACK
3884 { echo "$as_me:$LINENO: result: $result" >&5
3885 echo "${ECHO_T}$result" >&6; }
3889 defaultval=$wxUSE_ALL_FEATURES
3890 if test -z "$defaultval"; then
3891 if test x"$withstring" = xwithout; then
3897 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3898 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3900 # Check whether --with-gtkprint was given.
3901 if test "${with_gtkprint+set}" = set; then
3902 withval=$with_gtkprint;
3903 if test "$withval" = yes; then
3904 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3906 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3912 LINE=`grep "^wxUSE_GTKPRINT=" ${wx_arg_cache_file}`
3913 if test "x$LINE" != x ; then
3914 eval "DEFAULT_$LINE"
3920 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3925 eval "$wx_cv_use_gtkprint"
3926 if test "x$cache" = xyes; then
3927 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3930 if test x"$withstring" = xwithout; then
3931 if test $wxUSE_GTKPRINT = yes; then
3937 result=$wxUSE_GTKPRINT
3940 { echo "$as_me:$LINENO: result: $result" >&5
3941 echo "${ECHO_T}$result" >&6; }
3945 defaultval=$wxUSE_ALL_FEATURES
3946 if test -z "$defaultval"; then
3947 if test x"$withstring" = xwithout; then
3953 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3954 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3956 # Check whether --with-gnomeprint was given.
3957 if test "${with_gnomeprint+set}" = set; then
3958 withval=$with_gnomeprint;
3959 if test "$withval" = yes; then
3960 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3962 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3968 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3969 if test "x$LINE" != x ; then
3970 eval "DEFAULT_$LINE"
3976 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3981 eval "$wx_cv_use_gnomeprint"
3982 if test "x$cache" = xyes; then
3983 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3986 if test x"$withstring" = xwithout; then
3987 if test $wxUSE_LIBGNOMEPRINT = yes; then
3993 result=$wxUSE_LIBGNOMEPRINT
3996 { echo "$as_me:$LINENO: result: $result" >&5
3997 echo "${ECHO_T}$result" >&6; }
4001 defaultval=$wxUSE_ALL_FEATURES
4002 if test -z "$defaultval"; then
4003 if test x"$withstring" = xwithout; then
4009 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4010 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4012 # Check whether --with-gnomevfs was given.
4013 if test "${with_gnomevfs+set}" = set; then
4014 withval=$with_gnomevfs;
4015 if test "$withval" = yes; then
4016 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4018 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4024 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x ; then
4026 eval "DEFAULT_$LINE"
4032 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4037 eval "$wx_cv_use_gnomevfs"
4038 if test "x$cache" = xyes; then
4039 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4042 if test x"$withstring" = xwithout; then
4043 if test $wxUSE_LIBGNOMEVFS = yes; then
4049 result=$wxUSE_LIBGNOMEVFS
4052 { echo "$as_me:$LINENO: result: $result" >&5
4053 echo "${ECHO_T}$result" >&6; }
4057 defaultval=$wxUSE_ALL_FEATURES
4058 if test -z "$defaultval"; then
4059 if test x"$withstring" = xwithout; then
4065 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4066 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4068 # Check whether --with-hildon was given.
4069 if test "${with_hildon+set}" = set; then
4070 withval=$with_hildon;
4071 if test "$withval" = yes; then
4072 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4074 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4080 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x ; then
4082 eval "DEFAULT_$LINE"
4088 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4093 eval "$wx_cv_use_hildon"
4094 if test "x$cache" = xyes; then
4095 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4098 if test x"$withstring" = xwithout; then
4099 if test $wxUSE_LIBHILDON = yes; then
4105 result=$wxUSE_LIBHILDON
4108 { echo "$as_me:$LINENO: result: $result" >&5
4109 echo "${ECHO_T}$result" >&6; }
4113 defaultval=$wxUSE_ALL_FEATURES
4114 if test -z "$defaultval"; then
4115 if test x"$withstring" = xwithout; then
4121 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4122 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4124 # Check whether --with-opengl was given.
4125 if test "${with_opengl+set}" = set; then
4126 withval=$with_opengl;
4127 if test "$withval" = yes; then
4128 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4130 wx_cv_use_opengl='wxUSE_OPENGL=no'
4136 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4137 if test "x$LINE" != x ; then
4138 eval "DEFAULT_$LINE"
4144 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4149 eval "$wx_cv_use_opengl"
4150 if test "x$cache" = xyes; then
4151 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4154 if test x"$withstring" = xwithout; then
4155 if test $wxUSE_OPENGL = yes; then
4161 result=$wxUSE_OPENGL
4164 { echo "$as_me:$LINENO: result: $result" >&5
4165 echo "${ECHO_T}$result" >&6; }
4172 defaultval=$wxUSE_ALL_FEATURES
4173 if test -z "$defaultval"; then
4174 if test x"$withstring" = xwithout; then
4180 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4181 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4183 # Check whether --with-dmalloc was given.
4184 if test "${with_dmalloc+set}" = set; then
4185 withval=$with_dmalloc;
4186 if test "$withval" = yes; then
4187 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4189 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4195 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4196 if test "x$LINE" != x ; then
4197 eval "DEFAULT_$LINE"
4203 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4208 eval "$wx_cv_use_dmalloc"
4209 if test "x$cache" = xyes; then
4210 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4213 if test x"$withstring" = xwithout; then
4214 if test $wxUSE_DMALLOC = yes; then
4220 result=$wxUSE_DMALLOC
4223 { echo "$as_me:$LINENO: result: $result" >&5
4224 echo "${ECHO_T}$result" >&6; }
4228 defaultval=$wxUSE_ALL_FEATURES
4229 if test -z "$defaultval"; then
4230 if test x"$withstring" = xwithout; then
4236 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4237 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4239 # Check whether --with-sdl was given.
4240 if test "${with_sdl+set}" = set; then
4242 if test "$withval" = yes; then
4243 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4245 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4251 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4252 if test "x$LINE" != x ; then
4253 eval "DEFAULT_$LINE"
4259 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4264 eval "$wx_cv_use_sdl"
4265 if test "x$cache" = xyes; then
4266 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4269 if test x"$withstring" = xwithout; then
4270 if test $wxUSE_LIBSDL = yes; then
4276 result=$wxUSE_LIBSDL
4279 { echo "$as_me:$LINENO: result: $result" >&5
4280 echo "${ECHO_T}$result" >&6; }
4283 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4284 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4286 # Check whether --with-regex was given.
4287 if test "${with_regex+set}" = set; then
4288 withval=$with_regex;
4289 if test "$withval" = yes; then
4290 wx_cv_use_regex='wxUSE_REGEX=yes'
4291 elif test "$withval" = no; then
4292 wx_cv_use_regex='wxUSE_REGEX=no'
4293 elif test "$withval" = sys; then
4294 wx_cv_use_regex='wxUSE_REGEX=sys'
4295 elif test "$withval" = builtin; then
4296 wx_cv_use_regex='wxUSE_REGEX=builtin'
4298 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4299 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4300 { (exit 1); exit 1; }; }
4306 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x ; then
4308 eval "DEFAULT_$LINE"
4314 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4319 eval "$wx_cv_use_regex"
4320 if test "x$cache" = xyes; then
4321 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4324 if test "$wxUSE_REGEX" = yes; then
4325 { echo "$as_me:$LINENO: result: yes" >&5
4326 echo "${ECHO_T}yes" >&6; }
4327 elif test "$wxUSE_REGEX" = no; then
4328 { echo "$as_me:$LINENO: result: no" >&5
4329 echo "${ECHO_T}no" >&6; }
4330 elif test "$wxUSE_REGEX" = sys; then
4331 { echo "$as_me:$LINENO: result: system version" >&5
4332 echo "${ECHO_T}system version" >&6; }
4333 elif test "$wxUSE_REGEX" = builtin; then
4334 { echo "$as_me:$LINENO: result: builtin version" >&5
4335 echo "${ECHO_T}builtin version" >&6; }
4337 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4338 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4339 { (exit 1); exit 1; }; }
4343 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4344 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4346 # Check whether --with-zlib was given.
4347 if test "${with_zlib+set}" = set; then
4349 if test "$withval" = yes; then
4350 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4351 elif test "$withval" = no; then
4352 wx_cv_use_zlib='wxUSE_ZLIB=no'
4353 elif test "$withval" = sys; then
4354 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4355 elif test "$withval" = builtin; then
4356 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4358 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4359 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4360 { (exit 1); exit 1; }; }
4366 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x ; then
4368 eval "DEFAULT_$LINE"
4374 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4379 eval "$wx_cv_use_zlib"
4380 if test "x$cache" = xyes; then
4381 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4384 if test "$wxUSE_ZLIB" = yes; then
4385 { echo "$as_me:$LINENO: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6; }
4387 elif test "$wxUSE_ZLIB" = no; then
4388 { echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6; }
4390 elif test "$wxUSE_ZLIB" = sys; then
4391 { echo "$as_me:$LINENO: result: system version" >&5
4392 echo "${ECHO_T}system version" >&6; }
4393 elif test "$wxUSE_ZLIB" = builtin; then
4394 { echo "$as_me:$LINENO: result: builtin version" >&5
4395 echo "${ECHO_T}builtin version" >&6; }
4397 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4398 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4399 { (exit 1); exit 1; }; }
4403 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4404 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4406 # Check whether --with-odbc was given.
4407 if test "${with_odbc+set}" = set; then
4409 if test "$withval" = yes; then
4410 wx_cv_use_odbc='wxUSE_ODBC=yes'
4411 elif test "$withval" = no; then
4412 wx_cv_use_odbc='wxUSE_ODBC=no'
4413 elif test "$withval" = sys; then
4414 wx_cv_use_odbc='wxUSE_ODBC=sys'
4415 elif test "$withval" = builtin; then
4416 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4418 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4419 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4420 { (exit 1); exit 1; }; }
4426 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4427 if test "x$LINE" != x ; then
4428 eval "DEFAULT_$LINE"
4434 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4439 eval "$wx_cv_use_odbc"
4440 if test "x$cache" = xyes; then
4441 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4444 if test "$wxUSE_ODBC" = yes; then
4445 { echo "$as_me:$LINENO: result: yes" >&5
4446 echo "${ECHO_T}yes" >&6; }
4447 elif test "$wxUSE_ODBC" = no; then
4448 { echo "$as_me:$LINENO: result: no" >&5
4449 echo "${ECHO_T}no" >&6; }
4450 elif test "$wxUSE_ODBC" = sys; then
4451 { echo "$as_me:$LINENO: result: system version" >&5
4452 echo "${ECHO_T}system version" >&6; }
4453 elif test "$wxUSE_ODBC" = builtin; then
4454 { echo "$as_me:$LINENO: result: builtin version" >&5
4455 echo "${ECHO_T}builtin version" >&6; }
4457 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4458 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4459 { (exit 1); exit 1; }; }
4463 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4464 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4466 # Check whether --with-expat was given.
4467 if test "${with_expat+set}" = set; then
4468 withval=$with_expat;
4469 if test "$withval" = yes; then
4470 wx_cv_use_expat='wxUSE_EXPAT=yes'
4471 elif test "$withval" = no; then
4472 wx_cv_use_expat='wxUSE_EXPAT=no'
4473 elif test "$withval" = sys; then
4474 wx_cv_use_expat='wxUSE_EXPAT=sys'
4475 elif test "$withval" = builtin; then
4476 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4478 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4479 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4480 { (exit 1); exit 1; }; }
4486 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x ; then
4488 eval "DEFAULT_$LINE"
4494 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4499 eval "$wx_cv_use_expat"
4500 if test "x$cache" = xyes; then
4501 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4504 if test "$wxUSE_EXPAT" = yes; then
4505 { echo "$as_me:$LINENO: result: yes" >&5
4506 echo "${ECHO_T}yes" >&6; }
4507 elif test "$wxUSE_EXPAT" = no; then
4508 { echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6; }
4510 elif test "$wxUSE_EXPAT" = sys; then
4511 { echo "$as_me:$LINENO: result: system version" >&5
4512 echo "${ECHO_T}system version" >&6; }
4513 elif test "$wxUSE_EXPAT" = builtin; then
4514 { echo "$as_me:$LINENO: result: builtin version" >&5
4515 echo "${ECHO_T}builtin version" >&6; }
4517 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4518 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4519 { (exit 1); exit 1; }; }
4523 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4524 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4526 # Check whether --with-macosx-sdk was given.
4527 if test "${with_macosx_sdk+set}" = set; then
4528 withval=$with_macosx_sdk;
4529 wxUSE_MACOSX_SDK=$withval
4530 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4531 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4535 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4536 # will override --enable-universal_binary's automatic SDK usage.
4538 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4539 if test "x$LINE" != x ; then
4541 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4546 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4547 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4549 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4550 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4552 # Check whether --with-macosx-version-min was given.
4553 if test "${with_macosx_version_min+set}" = set; then
4554 withval=$with_macosx_version_min;
4555 wxUSE_MACOSX_VERSION_MIN=$withval
4556 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4557 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4561 # default "yes" because when not using an SDK it means the same as no
4562 # but when using an SDK it means to use the SDK version
4563 wxUSE_MACOSX_VERSION_MIN=yes
4564 # See if there is a value in the cache
4565 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4566 if test "x$LINE" != x ; then
4568 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4573 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4574 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4578 enablestring=disable
4580 if test -z "$defaultval"; then
4581 if test x"$enablestring" = xdisable; then
4588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4589 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4590 # Check whether --enable-shared was given.
4591 if test "${enable_shared+set}" = set; then
4592 enableval=$enable_shared;
4593 if test "$enableval" = yes; then
4594 wx_cv_use_shared='wxUSE_SHARED=yes'
4596 wx_cv_use_shared='wxUSE_SHARED=no'
4602 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x ; then
4604 eval "DEFAULT_$LINE"
4610 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4615 eval "$wx_cv_use_shared"
4616 if test "x$cache" = xyes; then
4617 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4620 if test x"$enablestring" = xdisable; then
4621 if test $wxUSE_SHARED = yes; then
4627 result=$wxUSE_SHARED
4630 { echo "$as_me:$LINENO: result: $result" >&5
4631 echo "${ECHO_T}$result" >&6; }
4634 enablestring=disable
4636 if test -z "$defaultval"; then
4637 if test x"$enablestring" = xdisable; then
4644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4646 # Check whether --enable-optimise was given.
4647 if test "${enable_optimise+set}" = set; then
4648 enableval=$enable_optimise;
4649 if test "$enableval" = yes; then
4650 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4652 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4658 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4659 if test "x$LINE" != x ; then
4660 eval "DEFAULT_$LINE"
4666 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4671 eval "$wx_cv_use_optimise"
4672 if test "x$cache" = xyes; then
4673 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4676 if test x"$enablestring" = xdisable; then
4677 if test $wxUSE_OPTIMISE = yes; then
4683 result=$wxUSE_OPTIMISE
4686 { echo "$as_me:$LINENO: result: $result" >&5
4687 echo "${ECHO_T}$result" >&6; }
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4702 # Check whether --enable-debug was given.
4703 if test "${enable_debug+set}" = set; then
4704 enableval=$enable_debug;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_debug='wxUSE_DEBUG=yes'
4708 wx_cv_use_debug='wxUSE_DEBUG=no'
4714 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x ; then
4716 eval "DEFAULT_$LINE"
4722 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4727 eval "$wx_cv_use_debug"
4728 if test "x$cache" = xyes; then
4729 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4732 if test x"$enablestring" = xdisable; then
4733 if test $wxUSE_DEBUG = yes; then
4742 { echo "$as_me:$LINENO: result: $result" >&5
4743 echo "${ECHO_T}$result" >&6; }
4748 if test -z "$defaultval"; then
4749 if test x"$enablestring" = xdisable; then
4756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4757 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4758 # Check whether --enable-stl was given.
4759 if test "${enable_stl+set}" = set; then
4760 enableval=$enable_stl;
4761 if test "$enableval" = yes; then
4762 wx_cv_use_stl='wxUSE_STL=yes'
4764 wx_cv_use_stl='wxUSE_STL=no'
4770 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4771 if test "x$LINE" != x ; then
4772 eval "DEFAULT_$LINE"
4778 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4783 eval "$wx_cv_use_stl"
4784 if test "x$cache" = xyes; then
4785 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4788 if test x"$enablestring" = xdisable; then
4789 if test $wxUSE_STL = yes; then
4798 { echo "$as_me:$LINENO: result: $result" >&5
4799 echo "${ECHO_T}$result" >&6; }
4804 if test -z "$defaultval"; then
4805 if test x"$enablestring" = xdisable; then
4812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4813 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4814 # Check whether --enable-std_iostreams was given.
4815 if test "${enable_std_iostreams+set}" = set; then
4816 enableval=$enable_std_iostreams;
4817 if test "$enableval" = yes; then
4818 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4820 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4826 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4827 if test "x$LINE" != x ; then
4828 eval "DEFAULT_$LINE"
4834 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4839 eval "$wx_cv_use_std_iostreams"
4840 if test "x$cache" = xyes; then
4841 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4844 if test x"$enablestring" = xdisable; then
4845 if test $wxUSE_STD_IOSTREAM = yes; then
4851 result=$wxUSE_STD_IOSTREAM
4854 { echo "$as_me:$LINENO: result: $result" >&5
4855 echo "${ECHO_T}$result" >&6; }
4860 if test -z "$defaultval"; then
4861 if test x"$enablestring" = xdisable; then
4868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4869 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4870 # Check whether --enable-std_string was given.
4871 if test "${enable_std_string+set}" = set; then
4872 enableval=$enable_std_string;
4873 if test "$enableval" = yes; then
4874 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4876 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4882 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x ; then
4884 eval "DEFAULT_$LINE"
4890 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4895 eval "$wx_cv_use_std_string"
4896 if test "x$cache" = xyes; then
4897 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4900 if test x"$enablestring" = xdisable; then
4901 if test $wxUSE_STD_STRING = yes; then
4907 result=$wxUSE_STD_STRING
4910 { echo "$as_me:$LINENO: result: $result" >&5
4911 echo "${ECHO_T}$result" >&6; }
4914 enablestring=disable
4916 if test -z "$defaultval"; then
4917 if test x"$enablestring" = xdisable; then
4924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4926 # Check whether --enable-unicode was given.
4927 if test "${enable_unicode+set}" = set; then
4928 enableval=$enable_unicode;
4929 if test "$enableval" = yes; then
4930 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4932 wx_cv_use_unicode='wxUSE_UNICODE=no'
4938 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x ; then
4940 eval "DEFAULT_$LINE"
4946 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4951 eval "$wx_cv_use_unicode"
4952 if test "x$cache" = xyes; then
4953 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4956 if test x"$enablestring" = xdisable; then
4957 if test $wxUSE_UNICODE = yes; then
4963 result=$wxUSE_UNICODE
4966 { echo "$as_me:$LINENO: result: $result" >&5
4967 echo "${ECHO_T}$result" >&6; }
4972 if test -z "$defaultval"; then
4973 if test x"$enablestring" = xdisable; then
4980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4981 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4982 # Check whether --enable-mslu was given.
4983 if test "${enable_mslu+set}" = set; then
4984 enableval=$enable_mslu;
4985 if test "$enableval" = yes; then
4986 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4988 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4994 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x ; then
4996 eval "DEFAULT_$LINE"
5002 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5007 eval "$wx_cv_use_mslu"
5008 if test "x$cache" = xyes; then
5009 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
5012 if test x"$enablestring" = xdisable; then
5013 if test $wxUSE_UNICODE_MSLU = yes; then
5019 result=$wxUSE_UNICODE_MSLU
5022 { echo "$as_me:$LINENO: result: $result" >&5
5023 echo "${ECHO_T}$result" >&6; }
5027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5029 # Check whether --enable-utf8 was given.
5030 if test "${enable_utf8+set}" = set; then
5031 enableval=$enable_utf8;
5032 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5037 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x ; then
5039 eval "DEFAULT_$LINE"
5045 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5050 eval "$wx_cv_use_utf8"
5051 if test "x$cache" = xyes; then
5052 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
5055 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5056 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5061 if test -z "$defaultval"; then
5062 if test x"$enablestring" = xdisable; then
5069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5070 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5071 # Check whether --enable-utf8only was given.
5072 if test "${enable_utf8only+set}" = set; then
5073 enableval=$enable_utf8only;
5074 if test "$enableval" = yes; then
5075 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5077 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5083 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x ; then
5085 eval "DEFAULT_$LINE"
5091 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5096 eval "$wx_cv_use_utf8only"
5097 if test "x$cache" = xyes; then
5098 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5101 if test x"$enablestring" = xdisable; then
5102 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5108 result=$wxUSE_UNICODE_UTF8_LOCALE
5111 { echo "$as_me:$LINENO: result: $result" >&5
5112 echo "${ECHO_T}$result" >&6; }
5117 if test -z "$defaultval"; then
5118 if test x"$enablestring" = xdisable; then
5125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5126 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5127 # Check whether --enable-extended_rtti was given.
5128 if test "${enable_extended_rtti+set}" = set; then
5129 enableval=$enable_extended_rtti;
5130 if test "$enableval" = yes; then
5131 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5133 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5139 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5140 if test "x$LINE" != x ; then
5141 eval "DEFAULT_$LINE"
5147 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5152 eval "$wx_cv_use_extended_rtti"
5153 if test "x$cache" = xyes; then
5154 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5157 if test x"$enablestring" = xdisable; then
5158 if test $wxUSE_EXTENDED_RTTI = yes; then
5164 result=$wxUSE_EXTENDED_RTTI
5167 { echo "$as_me:$LINENO: result: $result" >&5
5168 echo "${ECHO_T}$result" >&6; }
5170 if test "$USE_OS2" = "1"; then
5171 DEFAULT_wxUSE_OMF=no
5175 if test -z "$defaultval"; then
5176 if test x"$enablestring" = xdisable; then
5183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5184 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5185 # Check whether --enable-omf was given.
5186 if test "${enable_omf+set}" = set; then
5187 enableval=$enable_omf;
5188 if test "$enableval" = yes; then
5189 wx_cv_use_omf='wxUSE_OMF=yes'
5191 wx_cv_use_omf='wxUSE_OMF=no'
5197 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5198 if test "x$LINE" != x ; then
5199 eval "DEFAULT_$LINE"
5205 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5210 eval "$wx_cv_use_omf"
5211 if test "x$cache" = xyes; then
5212 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5215 if test x"$enablestring" = xdisable; then
5216 if test $wxUSE_OMF = yes; then
5225 { echo "$as_me:$LINENO: result: $result" >&5
5226 echo "${ECHO_T}$result" >&6; }
5230 if test "$wxUSE_DEBUG" = "yes"; then
5231 DEFAULT_wxUSE_DEBUG_FLAG=yes
5232 DEFAULT_wxUSE_DEBUG_INFO=yes
5234 elif test "$wxUSE_DEBUG" = "no"; then
5235 DEFAULT_wxUSE_DEBUG_FLAG=no
5236 DEFAULT_wxUSE_DEBUG_INFO=no
5243 if test -z "$defaultval"; then
5244 if test x"$enablestring" = xdisable; then
5251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5252 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5253 # Check whether --enable-debug_flag was given.
5254 if test "${enable_debug_flag+set}" = set; then
5255 enableval=$enable_debug_flag;
5256 if test "$enableval" = yes; then
5257 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5259 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5265 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x ; then
5267 eval "DEFAULT_$LINE"
5273 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5278 eval "$wx_cv_use_debug_flag"
5279 if test "x$cache" = xyes; then
5280 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5283 if test x"$enablestring" = xdisable; then
5284 if test $wxUSE_DEBUG_FLAG = yes; then
5290 result=$wxUSE_DEBUG_FLAG
5293 { echo "$as_me:$LINENO: result: $result" >&5
5294 echo "${ECHO_T}$result" >&6; }
5299 if test -z "$defaultval"; then
5300 if test x"$enablestring" = xdisable; then
5307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5309 # Check whether --enable-debug_info was given.
5310 if test "${enable_debug_info+set}" = set; then
5311 enableval=$enable_debug_info;
5312 if test "$enableval" = yes; then
5313 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5315 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5321 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5322 if test "x$LINE" != x ; then
5323 eval "DEFAULT_$LINE"
5329 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5334 eval "$wx_cv_use_debug_info"
5335 if test "x$cache" = xyes; then
5336 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5339 if test x"$enablestring" = xdisable; then
5340 if test $wxUSE_DEBUG_INFO = yes; then
5346 result=$wxUSE_DEBUG_INFO
5349 { echo "$as_me:$LINENO: result: $result" >&5
5350 echo "${ECHO_T}$result" >&6; }
5355 if test -z "$defaultval"; then
5356 if test x"$enablestring" = xdisable; then
5363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5364 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5365 # Check whether --enable-debug_gdb was given.
5366 if test "${enable_debug_gdb+set}" = set; then
5367 enableval=$enable_debug_gdb;
5368 if test "$enableval" = yes; then
5369 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5371 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5377 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5378 if test "x$LINE" != x ; then
5379 eval "DEFAULT_$LINE"
5385 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5390 eval "$wx_cv_use_debug_gdb"
5391 if test "x$cache" = xyes; then
5392 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5395 if test x"$enablestring" = xdisable; then
5396 if test $wxUSE_DEBUG_GDB = yes; then
5402 result=$wxUSE_DEBUG_GDB
5405 { echo "$as_me:$LINENO: result: $result" >&5
5406 echo "${ECHO_T}$result" >&6; }
5411 if test -z "$defaultval"; then
5412 if test x"$enablestring" = xdisable; then
5419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5420 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5421 # Check whether --enable-debug_cntxt was given.
5422 if test "${enable_debug_cntxt+set}" = set; then
5423 enableval=$enable_debug_cntxt;
5424 if test "$enableval" = yes; then
5425 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5427 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5433 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5434 if test "x$LINE" != x ; then
5435 eval "DEFAULT_$LINE"
5441 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5446 eval "$wx_cv_use_debug_cntxt"
5447 if test "x$cache" = xyes; then
5448 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5451 if test x"$enablestring" = xdisable; then
5452 if test $wxUSE_DEBUG_CONTEXT = yes; then
5458 result=$wxUSE_DEBUG_CONTEXT
5461 { echo "$as_me:$LINENO: result: $result" >&5
5462 echo "${ECHO_T}$result" >&6; }
5467 if test -z "$defaultval"; then
5468 if test x"$enablestring" = xdisable; then
5475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5477 # Check whether --enable-mem_tracing was given.
5478 if test "${enable_mem_tracing+set}" = set; then
5479 enableval=$enable_mem_tracing;
5480 if test "$enableval" = yes; then
5481 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5483 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5489 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5490 if test "x$LINE" != x ; then
5491 eval "DEFAULT_$LINE"
5497 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5502 eval "$wx_cv_use_mem_tracing"
5503 if test "x$cache" = xyes; then
5504 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5507 if test x"$enablestring" = xdisable; then
5508 if test $wxUSE_MEM_TRACING = yes; then
5514 result=$wxUSE_MEM_TRACING
5517 { echo "$as_me:$LINENO: result: $result" >&5
5518 echo "${ECHO_T}$result" >&6; }
5523 if test -z "$defaultval"; then
5524 if test x"$enablestring" = xdisable; then
5531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5533 # Check whether --enable-profile was given.
5534 if test "${enable_profile+set}" = set; then
5535 enableval=$enable_profile;
5536 if test "$enableval" = yes; then
5537 wx_cv_use_profile='wxUSE_PROFILE=yes'
5539 wx_cv_use_profile='wxUSE_PROFILE=no'
5545 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5546 if test "x$LINE" != x ; then
5547 eval "DEFAULT_$LINE"
5553 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5558 eval "$wx_cv_use_profile"
5559 if test "x$cache" = xyes; then
5560 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5563 if test x"$enablestring" = xdisable; then
5564 if test $wxUSE_PROFILE = yes; then
5570 result=$wxUSE_PROFILE
5573 { echo "$as_me:$LINENO: result: $result" >&5
5574 echo "${ECHO_T}$result" >&6; }
5579 if test -z "$defaultval"; then
5580 if test x"$enablestring" = xdisable; then
5587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5588 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5589 # Check whether --enable-no_rtti was given.
5590 if test "${enable_no_rtti+set}" = set; then
5591 enableval=$enable_no_rtti;
5592 if test "$enableval" = yes; then
5593 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5595 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5601 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5602 if test "x$LINE" != x ; then
5603 eval "DEFAULT_$LINE"
5609 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5614 eval "$wx_cv_use_no_rtti"
5615 if test "x$cache" = xyes; then
5616 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5619 if test x"$enablestring" = xdisable; then
5620 if test $wxUSE_NO_RTTI = yes; then
5626 result=$wxUSE_NO_RTTI
5629 { echo "$as_me:$LINENO: result: $result" >&5
5630 echo "${ECHO_T}$result" >&6; }
5635 if test -z "$defaultval"; then
5636 if test x"$enablestring" = xdisable; then
5643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5644 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5645 # Check whether --enable-no_exceptions was given.
5646 if test "${enable_no_exceptions+set}" = set; then
5647 enableval=$enable_no_exceptions;
5648 if test "$enableval" = yes; then
5649 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5651 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5657 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5658 if test "x$LINE" != x ; then
5659 eval "DEFAULT_$LINE"
5665 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5670 eval "$wx_cv_use_no_exceptions"
5671 if test "x$cache" = xyes; then
5672 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5675 if test x"$enablestring" = xdisable; then
5676 if test $wxUSE_NO_EXCEPTIONS = yes; then
5682 result=$wxUSE_NO_EXCEPTIONS
5685 { echo "$as_me:$LINENO: result: $result" >&5
5686 echo "${ECHO_T}$result" >&6; }
5691 if test -z "$defaultval"; then
5692 if test x"$enablestring" = xdisable; then
5699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5700 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5701 # Check whether --enable-permissive was given.
5702 if test "${enable_permissive+set}" = set; then
5703 enableval=$enable_permissive;
5704 if test "$enableval" = yes; then
5705 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5707 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5713 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5714 if test "x$LINE" != x ; then
5715 eval "DEFAULT_$LINE"
5721 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5726 eval "$wx_cv_use_permissive"
5727 if test "x$cache" = xyes; then
5728 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5731 if test x"$enablestring" = xdisable; then
5732 if test $wxUSE_PERMISSIVE = yes; then
5738 result=$wxUSE_PERMISSIVE
5741 { echo "$as_me:$LINENO: result: $result" >&5
5742 echo "${ECHO_T}$result" >&6; }
5747 if test -z "$defaultval"; then
5748 if test x"$enablestring" = xdisable; then
5755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5756 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5757 # Check whether --enable-no_deps was given.
5758 if test "${enable_no_deps+set}" = set; then
5759 enableval=$enable_no_deps;
5760 if test "$enableval" = yes; then
5761 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5763 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5769 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5770 if test "x$LINE" != x ; then
5771 eval "DEFAULT_$LINE"
5777 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5782 eval "$wx_cv_use_no_deps"
5783 if test "x$cache" = xyes; then
5784 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5787 if test x"$enablestring" = xdisable; then
5788 if test $wxUSE_NO_DEPS = yes; then
5794 result=$wxUSE_NO_DEPS
5797 { echo "$as_me:$LINENO: result: $result" >&5
5798 echo "${ECHO_T}$result" >&6; }
5801 enablestring=disable
5803 if test -z "$defaultval"; then
5804 if test x"$enablestring" = xdisable; then
5811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5812 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5813 # Check whether --enable-vararg_macros was given.
5814 if test "${enable_vararg_macros+set}" = set; then
5815 enableval=$enable_vararg_macros;
5816 if test "$enableval" = yes; then
5817 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5819 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5825 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x ; then
5827 eval "DEFAULT_$LINE"
5833 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5838 eval "$wx_cv_use_vararg_macros"
5839 if test "x$cache" = xyes; then
5840 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5843 if test x"$enablestring" = xdisable; then
5844 if test $wxUSE_VARARG_MACROS = yes; then
5850 result=$wxUSE_VARARG_MACROS
5853 { echo "$as_me:$LINENO: result: $result" >&5
5854 echo "${ECHO_T}$result" >&6; }
5858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5859 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5860 # Check whether --enable-universal_binary was given.
5861 if test "${enable_universal_binary+set}" = set; then
5862 enableval=$enable_universal_binary;
5863 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5868 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5876 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5881 eval "$wx_cv_use_universal_binary"
5882 if test "x$cache" = xyes; then
5883 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5886 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5887 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5893 if test -z "$defaultval"; then
5894 if test x"$enablestring" = xdisable; then
5901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5902 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5903 # Check whether --enable-compat26 was given.
5904 if test "${enable_compat26+set}" = set; then
5905 enableval=$enable_compat26;
5906 if test "$enableval" = yes; then
5907 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5909 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5915 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x ; then
5917 eval "DEFAULT_$LINE"
5923 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5928 eval "$wx_cv_use_compat26"
5929 if test "x$cache" = xyes; then
5930 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5933 if test x"$enablestring" = xdisable; then
5934 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5940 result=$WXWIN_COMPATIBILITY_2_6
5943 { echo "$as_me:$LINENO: result: $result" >&5
5944 echo "${ECHO_T}$result" >&6; }
5947 enablestring=disable
5949 if test -z "$defaultval"; then
5950 if test x"$enablestring" = xdisable; then
5957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5958 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5959 # Check whether --enable-compat28 was given.
5960 if test "${enable_compat28+set}" = set; then
5961 enableval=$enable_compat28;
5962 if test "$enableval" = yes; then
5963 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5965 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5971 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5972 if test "x$LINE" != x ; then
5973 eval "DEFAULT_$LINE"
5979 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5984 eval "$wx_cv_use_compat28"
5985 if test "x$cache" = xyes; then
5986 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5989 if test x"$enablestring" = xdisable; then
5990 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5996 result=$WXWIN_COMPATIBILITY_2_8
5999 { echo "$as_me:$LINENO: result: $result" >&5
6000 echo "${ECHO_T}$result" >&6; }
6004 enablestring=disable
6006 if test -z "$defaultval"; then
6007 if test x"$enablestring" = xdisable; then
6014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
6015 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
6016 # Check whether --enable-rpath was given.
6017 if test "${enable_rpath+set}" = set; then
6018 enableval=$enable_rpath;
6019 if test "$enableval" = yes; then
6020 wx_cv_use_rpath='wxUSE_RPATH=yes'
6022 wx_cv_use_rpath='wxUSE_RPATH=no'
6028 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
6029 if test "x$LINE" != x ; then
6030 eval "DEFAULT_$LINE"
6036 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6041 eval "$wx_cv_use_rpath"
6042 if test "x$cache" = xyes; then
6043 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
6046 if test x"$enablestring" = xdisable; then
6047 if test $wxUSE_RPATH = yes; then
6056 { echo "$as_me:$LINENO: result: $result" >&5
6057 echo "${ECHO_T}$result" >&6; }
6063 if test -z "$defaultval"; then
6064 if test x"$enablestring" = xdisable; then
6071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6072 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6073 # Check whether --enable-objc_uniquifying was given.
6074 if test "${enable_objc_uniquifying+set}" = set; then
6075 enableval=$enable_objc_uniquifying;
6076 if test "$enableval" = yes; then
6077 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6079 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6085 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6086 if test "x$LINE" != x ; then
6087 eval "DEFAULT_$LINE"
6093 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6098 eval "$wx_cv_use_objc_uniquifying"
6099 if test "x$cache" = xyes; then
6100 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6103 if test x"$enablestring" = xdisable; then
6104 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6110 result=$wxUSE_OBJC_UNIQUIFYING
6113 { echo "$as_me:$LINENO: result: $result" >&5
6114 echo "${ECHO_T}$result" >&6; }
6118 enablestring=disable
6120 if test -z "$defaultval"; then
6121 if test x"$enablestring" = xdisable; then
6128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6129 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6130 # Check whether --enable-visibility was given.
6131 if test "${enable_visibility+set}" = set; then
6132 enableval=$enable_visibility;
6133 if test "$enableval" = yes; then
6134 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6136 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6142 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x ; then
6144 eval "DEFAULT_$LINE"
6150 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6155 eval "$wx_cv_use_visibility"
6156 if test "x$cache" = xyes; then
6157 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6160 if test x"$enablestring" = xdisable; then
6161 if test $wxUSE_VISIBILITY = yes; then
6167 result=$wxUSE_VISIBILITY
6170 { echo "$as_me:$LINENO: result: $result" >&5
6171 echo "${ECHO_T}$result" >&6; }
6177 defaultval=$wxUSE_ALL_FEATURES
6178 if test -z "$defaultval"; then
6179 if test x"$enablestring" = xdisable; then
6186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6187 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6188 # Check whether --enable-intl was given.
6189 if test "${enable_intl+set}" = set; then
6190 enableval=$enable_intl;
6191 if test "$enableval" = yes; then
6192 wx_cv_use_intl='wxUSE_INTL=yes'
6194 wx_cv_use_intl='wxUSE_INTL=no'
6200 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x ; then
6202 eval "DEFAULT_$LINE"
6208 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6213 eval "$wx_cv_use_intl"
6214 if test "x$cache" = xyes; then
6215 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6218 if test x"$enablestring" = xdisable; then
6219 if test $wxUSE_INTL = yes; then
6228 { echo "$as_me:$LINENO: result: $result" >&5
6229 echo "${ECHO_T}$result" >&6; }
6233 defaultval=$wxUSE_ALL_FEATURES
6234 if test -z "$defaultval"; then
6235 if test x"$enablestring" = xdisable; then
6242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6243 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6244 # Check whether --enable-config was given.
6245 if test "${enable_config+set}" = set; then
6246 enableval=$enable_config;
6247 if test "$enableval" = yes; then
6248 wx_cv_use_config='wxUSE_CONFIG=yes'
6250 wx_cv_use_config='wxUSE_CONFIG=no'
6256 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x ; then
6258 eval "DEFAULT_$LINE"
6264 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6269 eval "$wx_cv_use_config"
6270 if test "x$cache" = xyes; then
6271 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6274 if test x"$enablestring" = xdisable; then
6275 if test $wxUSE_CONFIG = yes; then
6281 result=$wxUSE_CONFIG
6284 { echo "$as_me:$LINENO: result: $result" >&5
6285 echo "${ECHO_T}$result" >&6; }
6290 defaultval=$wxUSE_ALL_FEATURES
6291 if test -z "$defaultval"; then
6292 if test x"$enablestring" = xdisable; then
6299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6301 # Check whether --enable-protocols was given.
6302 if test "${enable_protocols+set}" = set; then
6303 enableval=$enable_protocols;
6304 if test "$enableval" = yes; then
6305 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6307 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6313 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6314 if test "x$LINE" != x ; then
6315 eval "DEFAULT_$LINE"
6321 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6326 eval "$wx_cv_use_protocols"
6327 if test "x$cache" = xyes; then
6328 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6331 if test x"$enablestring" = xdisable; then
6332 if test $wxUSE_PROTOCOL = yes; then
6338 result=$wxUSE_PROTOCOL
6341 { echo "$as_me:$LINENO: result: $result" >&5
6342 echo "${ECHO_T}$result" >&6; }
6346 defaultval=$wxUSE_ALL_FEATURES
6347 if test -z "$defaultval"; then
6348 if test x"$enablestring" = xdisable; then
6355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6356 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6357 # Check whether --enable-ftp was given.
6358 if test "${enable_ftp+set}" = set; then
6359 enableval=$enable_ftp;
6360 if test "$enableval" = yes; then
6361 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6363 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6369 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6370 if test "x$LINE" != x ; then
6371 eval "DEFAULT_$LINE"
6377 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6382 eval "$wx_cv_use_ftp"
6383 if test "x$cache" = xyes; then
6384 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6387 if test x"$enablestring" = xdisable; then
6388 if test $wxUSE_PROTOCOL_FTP = yes; then
6394 result=$wxUSE_PROTOCOL_FTP
6397 { echo "$as_me:$LINENO: result: $result" >&5
6398 echo "${ECHO_T}$result" >&6; }
6402 defaultval=$wxUSE_ALL_FEATURES
6403 if test -z "$defaultval"; then
6404 if test x"$enablestring" = xdisable; then
6411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6412 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6413 # Check whether --enable-http was given.
6414 if test "${enable_http+set}" = set; then
6415 enableval=$enable_http;
6416 if test "$enableval" = yes; then
6417 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6419 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6425 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6426 if test "x$LINE" != x ; then
6427 eval "DEFAULT_$LINE"
6433 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6438 eval "$wx_cv_use_http"
6439 if test "x$cache" = xyes; then
6440 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6443 if test x"$enablestring" = xdisable; then
6444 if test $wxUSE_PROTOCOL_HTTP = yes; then
6450 result=$wxUSE_PROTOCOL_HTTP
6453 { echo "$as_me:$LINENO: result: $result" >&5
6454 echo "${ECHO_T}$result" >&6; }
6458 defaultval=$wxUSE_ALL_FEATURES
6459 if test -z "$defaultval"; then
6460 if test x"$enablestring" = xdisable; then
6467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6468 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6469 # Check whether --enable-fileproto was given.
6470 if test "${enable_fileproto+set}" = set; then
6471 enableval=$enable_fileproto;
6472 if test "$enableval" = yes; then
6473 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6475 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6481 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6482 if test "x$LINE" != x ; then
6483 eval "DEFAULT_$LINE"
6489 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6494 eval "$wx_cv_use_fileproto"
6495 if test "x$cache" = xyes; then
6496 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6499 if test x"$enablestring" = xdisable; then
6500 if test $wxUSE_PROTOCOL_FILE = yes; then
6506 result=$wxUSE_PROTOCOL_FILE
6509 { echo "$as_me:$LINENO: result: $result" >&5
6510 echo "${ECHO_T}$result" >&6; }
6514 defaultval=$wxUSE_ALL_FEATURES
6515 if test -z "$defaultval"; then
6516 if test x"$enablestring" = xdisable; then
6523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6524 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6525 # Check whether --enable-sockets was given.
6526 if test "${enable_sockets+set}" = set; then
6527 enableval=$enable_sockets;
6528 if test "$enableval" = yes; then
6529 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6531 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6537 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6538 if test "x$LINE" != x ; then
6539 eval "DEFAULT_$LINE"
6545 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6550 eval "$wx_cv_use_sockets"
6551 if test "x$cache" = xyes; then
6552 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6555 if test x"$enablestring" = xdisable; then
6556 if test $wxUSE_SOCKETS = yes; then
6562 result=$wxUSE_SOCKETS
6565 { echo "$as_me:$LINENO: result: $result" >&5
6566 echo "${ECHO_T}$result" >&6; }
6570 defaultval=$wxUSE_ALL_FEATURES
6571 if test -z "$defaultval"; then
6572 if test x"$enablestring" = xdisable; then
6579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6580 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6581 # Check whether --enable-ole was given.
6582 if test "${enable_ole+set}" = set; then
6583 enableval=$enable_ole;
6584 if test "$enableval" = yes; then
6585 wx_cv_use_ole='wxUSE_OLE=yes'
6587 wx_cv_use_ole='wxUSE_OLE=no'
6593 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6594 if test "x$LINE" != x ; then
6595 eval "DEFAULT_$LINE"
6601 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6606 eval "$wx_cv_use_ole"
6607 if test "x$cache" = xyes; then
6608 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6611 if test x"$enablestring" = xdisable; then
6612 if test $wxUSE_OLE = yes; then
6621 { echo "$as_me:$LINENO: result: $result" >&5
6622 echo "${ECHO_T}$result" >&6; }
6626 defaultval=$wxUSE_ALL_FEATURES
6627 if test -z "$defaultval"; then
6628 if test x"$enablestring" = xdisable; then
6635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6636 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6637 # Check whether --enable-dataobj was given.
6638 if test "${enable_dataobj+set}" = set; then
6639 enableval=$enable_dataobj;
6640 if test "$enableval" = yes; then
6641 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6643 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6649 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6650 if test "x$LINE" != x ; then
6651 eval "DEFAULT_$LINE"
6657 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6662 eval "$wx_cv_use_dataobj"
6663 if test "x$cache" = xyes; then
6664 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6667 if test x"$enablestring" = xdisable; then
6668 if test $wxUSE_DATAOBJ = yes; then
6674 result=$wxUSE_DATAOBJ
6677 { echo "$as_me:$LINENO: result: $result" >&5
6678 echo "${ECHO_T}$result" >&6; }
6683 defaultval=$wxUSE_ALL_FEATURES
6684 if test -z "$defaultval"; then
6685 if test x"$enablestring" = xdisable; then
6692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6693 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6694 # Check whether --enable-ipc was given.
6695 if test "${enable_ipc+set}" = set; then
6696 enableval=$enable_ipc;
6697 if test "$enableval" = yes; then
6698 wx_cv_use_ipc='wxUSE_IPC=yes'
6700 wx_cv_use_ipc='wxUSE_IPC=no'
6706 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6707 if test "x$LINE" != x ; then
6708 eval "DEFAULT_$LINE"
6714 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6719 eval "$wx_cv_use_ipc"
6720 if test "x$cache" = xyes; then
6721 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6724 if test x"$enablestring" = xdisable; then
6725 if test $wxUSE_IPC = yes; then
6734 { echo "$as_me:$LINENO: result: $result" >&5
6735 echo "${ECHO_T}$result" >&6; }
6740 defaultval=$wxUSE_ALL_FEATURES
6741 if test -z "$defaultval"; then
6742 if test x"$enablestring" = xdisable; then
6749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6750 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6751 # Check whether --enable-baseevtloop was given.
6752 if test "${enable_baseevtloop+set}" = set; then
6753 enableval=$enable_baseevtloop;
6754 if test "$enableval" = yes; then
6755 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6757 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6763 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6764 if test "x$LINE" != x ; then
6765 eval "DEFAULT_$LINE"
6771 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6776 eval "$wx_cv_use_baseevtloop"
6777 if test "x$cache" = xyes; then
6778 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6781 if test x"$enablestring" = xdisable; then
6782 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6788 result=$wxUSE_CONSOLE_EVENTLOOP
6791 { echo "$as_me:$LINENO: result: $result" >&5
6792 echo "${ECHO_T}$result" >&6; }
6796 defaultval=$wxUSE_ALL_FEATURES
6797 if test -z "$defaultval"; then
6798 if test x"$enablestring" = xdisable; then
6805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6806 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6807 # Check whether --enable-epollloop was given.
6808 if test "${enable_epollloop+set}" = set; then
6809 enableval=$enable_epollloop;
6810 if test "$enableval" = yes; then
6811 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6813 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6819 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6820 if test "x$LINE" != x ; then
6821 eval "DEFAULT_$LINE"
6827 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6832 eval "$wx_cv_use_epollloop"
6833 if test "x$cache" = xyes; then
6834 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6837 if test x"$enablestring" = xdisable; then
6838 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6844 result=$wxUSE_EPOLL_DISPATCHER
6847 { echo "$as_me:$LINENO: result: $result" >&5
6848 echo "${ECHO_T}$result" >&6; }
6852 defaultval=$wxUSE_ALL_FEATURES
6853 if test -z "$defaultval"; then
6854 if test x"$enablestring" = xdisable; then
6861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6862 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6863 # Check whether --enable-selectloop was given.
6864 if test "${enable_selectloop+set}" = set; then
6865 enableval=$enable_selectloop;
6866 if test "$enableval" = yes; then
6867 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6869 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6875 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6876 if test "x$LINE" != x ; then
6877 eval "DEFAULT_$LINE"
6883 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6888 eval "$wx_cv_use_selectloop"
6889 if test "x$cache" = xyes; then
6890 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6893 if test x"$enablestring" = xdisable; then
6894 if test $wxUSE_SELECT_DISPATCHER = yes; then
6900 result=$wxUSE_SELECT_DISPATCHER
6903 { echo "$as_me:$LINENO: result: $result" >&5
6904 echo "${ECHO_T}$result" >&6; }
6909 defaultval=$wxUSE_ALL_FEATURES
6910 if test -z "$defaultval"; then
6911 if test x"$enablestring" = xdisable; then
6918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6920 # Check whether --enable-apple_ieee was given.
6921 if test "${enable_apple_ieee+set}" = set; then
6922 enableval=$enable_apple_ieee;
6923 if test "$enableval" = yes; then
6924 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6926 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6932 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6933 if test "x$LINE" != x ; then
6934 eval "DEFAULT_$LINE"
6940 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6945 eval "$wx_cv_use_apple_ieee"
6946 if test "x$cache" = xyes; then
6947 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6950 if test x"$enablestring" = xdisable; then
6951 if test $wxUSE_APPLE_IEEE = yes; then
6957 result=$wxUSE_APPLE_IEEE
6960 { echo "$as_me:$LINENO: result: $result" >&5
6961 echo "${ECHO_T}$result" >&6; }
6965 defaultval=$wxUSE_ALL_FEATURES
6966 if test -z "$defaultval"; then
6967 if test x"$enablestring" = xdisable; then
6974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6976 # Check whether --enable-arcstream was given.
6977 if test "${enable_arcstream+set}" = set; then
6978 enableval=$enable_arcstream;
6979 if test "$enableval" = yes; then
6980 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6982 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6988 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6989 if test "x$LINE" != x ; then
6990 eval "DEFAULT_$LINE"
6996 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7001 eval "$wx_cv_use_arcstream"
7002 if test "x$cache" = xyes; then
7003 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
7006 if test x"$enablestring" = xdisable; then
7007 if test $wxUSE_ARCHIVE_STREAMS = yes; then
7013 result=$wxUSE_ARCHIVE_STREAMS
7016 { echo "$as_me:$LINENO: result: $result" >&5
7017 echo "${ECHO_T}$result" >&6; }
7021 defaultval=$wxUSE_ALL_FEATURES
7022 if test -z "$defaultval"; then
7023 if test x"$enablestring" = xdisable; then
7030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
7031 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
7032 # Check whether --enable-base64 was given.
7033 if test "${enable_base64+set}" = set; then
7034 enableval=$enable_base64;
7035 if test "$enableval" = yes; then
7036 wx_cv_use_base64='wxUSE_BASE64=yes'
7038 wx_cv_use_base64='wxUSE_BASE64=no'
7044 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
7045 if test "x$LINE" != x ; then
7046 eval "DEFAULT_$LINE"
7052 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7057 eval "$wx_cv_use_base64"
7058 if test "x$cache" = xyes; then
7059 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
7062 if test x"$enablestring" = xdisable; then
7063 if test $wxUSE_BASE64 = yes; then
7069 result=$wxUSE_BASE64
7072 { echo "$as_me:$LINENO: result: $result" >&5
7073 echo "${ECHO_T}$result" >&6; }
7077 defaultval=$wxUSE_ALL_FEATURES
7078 if test -z "$defaultval"; then
7079 if test x"$enablestring" = xdisable; then
7086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7088 # Check whether --enable-backtrace was given.
7089 if test "${enable_backtrace+set}" = set; then
7090 enableval=$enable_backtrace;
7091 if test "$enableval" = yes; then
7092 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7094 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7100 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x ; then
7102 eval "DEFAULT_$LINE"
7108 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7113 eval "$wx_cv_use_backtrace"
7114 if test "x$cache" = xyes; then
7115 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7118 if test x"$enablestring" = xdisable; then
7119 if test $wxUSE_STACKWALKER = yes; then
7125 result=$wxUSE_STACKWALKER
7128 { echo "$as_me:$LINENO: result: $result" >&5
7129 echo "${ECHO_T}$result" >&6; }
7133 defaultval=$wxUSE_ALL_FEATURES
7134 if test -z "$defaultval"; then
7135 if test x"$enablestring" = xdisable; then
7142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7143 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7144 # Check whether --enable-catch_segvs was given.
7145 if test "${enable_catch_segvs+set}" = set; then
7146 enableval=$enable_catch_segvs;
7147 if test "$enableval" = yes; then
7148 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7150 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7156 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7157 if test "x$LINE" != x ; then
7158 eval "DEFAULT_$LINE"
7164 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7169 eval "$wx_cv_use_catch_segvs"
7170 if test "x$cache" = xyes; then
7171 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7174 if test x"$enablestring" = xdisable; then
7175 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7181 result=$wxUSE_ON_FATAL_EXCEPTION
7184 { echo "$as_me:$LINENO: result: $result" >&5
7185 echo "${ECHO_T}$result" >&6; }
7189 defaultval=$wxUSE_ALL_FEATURES
7190 if test -z "$defaultval"; then
7191 if test x"$enablestring" = xdisable; then
7198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7199 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7200 # Check whether --enable-cmdline was given.
7201 if test "${enable_cmdline+set}" = set; then
7202 enableval=$enable_cmdline;
7203 if test "$enableval" = yes; then
7204 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7206 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7212 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x ; then
7214 eval "DEFAULT_$LINE"
7220 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7225 eval "$wx_cv_use_cmdline"
7226 if test "x$cache" = xyes; then
7227 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7230 if test x"$enablestring" = xdisable; then
7231 if test $wxUSE_CMDLINE_PARSER = yes; then
7237 result=$wxUSE_CMDLINE_PARSER
7240 { echo "$as_me:$LINENO: result: $result" >&5
7241 echo "${ECHO_T}$result" >&6; }
7245 defaultval=$wxUSE_ALL_FEATURES
7246 if test -z "$defaultval"; then
7247 if test x"$enablestring" = xdisable; then
7254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7255 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7256 # Check whether --enable-datetime was given.
7257 if test "${enable_datetime+set}" = set; then
7258 enableval=$enable_datetime;
7259 if test "$enableval" = yes; then
7260 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7262 wx_cv_use_datetime='wxUSE_DATETIME=no'
7268 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x ; then
7270 eval "DEFAULT_$LINE"
7276 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7281 eval "$wx_cv_use_datetime"
7282 if test "x$cache" = xyes; then
7283 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7286 if test x"$enablestring" = xdisable; then
7287 if test $wxUSE_DATETIME = yes; then
7293 result=$wxUSE_DATETIME
7296 { echo "$as_me:$LINENO: result: $result" >&5
7297 echo "${ECHO_T}$result" >&6; }
7301 defaultval=$wxUSE_ALL_FEATURES
7302 if test -z "$defaultval"; then
7303 if test x"$enablestring" = xdisable; then
7310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7312 # Check whether --enable-debugreport was given.
7313 if test "${enable_debugreport+set}" = set; then
7314 enableval=$enable_debugreport;
7315 if test "$enableval" = yes; then
7316 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7318 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7324 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7325 if test "x$LINE" != x ; then
7326 eval "DEFAULT_$LINE"
7332 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7337 eval "$wx_cv_use_debugreport"
7338 if test "x$cache" = xyes; then
7339 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7342 if test x"$enablestring" = xdisable; then
7343 if test $wxUSE_DEBUGREPORT = yes; then
7349 result=$wxUSE_DEBUGREPORT
7352 { echo "$as_me:$LINENO: result: $result" >&5
7353 echo "${ECHO_T}$result" >&6; }
7357 defaultval=$wxUSE_ALL_FEATURES
7358 if test -z "$defaultval"; then
7359 if test x"$enablestring" = xdisable; then
7366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7367 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7368 # Check whether --enable-dialupman was given.
7369 if test "${enable_dialupman+set}" = set; then
7370 enableval=$enable_dialupman;
7371 if test "$enableval" = yes; then
7372 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7374 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7380 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7381 if test "x$LINE" != x ; then
7382 eval "DEFAULT_$LINE"
7388 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7393 eval "$wx_cv_use_dialupman"
7394 if test "x$cache" = xyes; then
7395 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7398 if test x"$enablestring" = xdisable; then
7399 if test $wxUSE_DIALUP_MANAGER = yes; then
7405 result=$wxUSE_DIALUP_MANAGER
7408 { echo "$as_me:$LINENO: result: $result" >&5
7409 echo "${ECHO_T}$result" >&6; }
7413 defaultval=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x"$enablestring" = xdisable; then
7422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7424 # Check whether --enable-dynlib was given.
7425 if test "${enable_dynlib+set}" = set; then
7426 enableval=$enable_dynlib;
7427 if test "$enableval" = yes; then
7428 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7430 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7436 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7437 if test "x$LINE" != x ; then
7438 eval "DEFAULT_$LINE"
7444 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7449 eval "$wx_cv_use_dynlib"
7450 if test "x$cache" = xyes; then
7451 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7454 if test x"$enablestring" = xdisable; then
7455 if test $wxUSE_DYNLIB_CLASS = yes; then
7461 result=$wxUSE_DYNLIB_CLASS
7464 { echo "$as_me:$LINENO: result: $result" >&5
7465 echo "${ECHO_T}$result" >&6; }
7469 defaultval=$wxUSE_ALL_FEATURES
7470 if test -z "$defaultval"; then
7471 if test x"$enablestring" = xdisable; then
7478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7480 # Check whether --enable-dynamicloader was given.
7481 if test "${enable_dynamicloader+set}" = set; then
7482 enableval=$enable_dynamicloader;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7486 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7492 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7493 if test "x$LINE" != x ; then
7494 eval "DEFAULT_$LINE"
7500 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7505 eval "$wx_cv_use_dynamicloader"
7506 if test "x$cache" = xyes; then
7507 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7510 if test x"$enablestring" = xdisable; then
7511 if test $wxUSE_DYNAMIC_LOADER = yes; then
7517 result=$wxUSE_DYNAMIC_LOADER
7520 { echo "$as_me:$LINENO: result: $result" >&5
7521 echo "${ECHO_T}$result" >&6; }
7525 defaultval=$wxUSE_ALL_FEATURES
7526 if test -z "$defaultval"; then
7527 if test x"$enablestring" = xdisable; then
7534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7535 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7536 # Check whether --enable-exceptions was given.
7537 if test "${enable_exceptions+set}" = set; then
7538 enableval=$enable_exceptions;
7539 if test "$enableval" = yes; then
7540 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7542 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7548 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7549 if test "x$LINE" != x ; then
7550 eval "DEFAULT_$LINE"
7556 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7561 eval "$wx_cv_use_exceptions"
7562 if test "x$cache" = xyes; then
7563 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7566 if test x"$enablestring" = xdisable; then
7567 if test $wxUSE_EXCEPTIONS = yes; then
7573 result=$wxUSE_EXCEPTIONS
7576 { echo "$as_me:$LINENO: result: $result" >&5
7577 echo "${ECHO_T}$result" >&6; }
7581 defaultval=$wxUSE_ALL_FEATURES
7582 if test -z "$defaultval"; then
7583 if test x"$enablestring" = xdisable; then
7590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7591 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7592 # Check whether --enable-ffile was given.
7593 if test "${enable_ffile+set}" = set; then
7594 enableval=$enable_ffile;
7595 if test "$enableval" = yes; then
7596 wx_cv_use_ffile='wxUSE_FFILE=yes'
7598 wx_cv_use_ffile='wxUSE_FFILE=no'
7604 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7612 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7617 eval "$wx_cv_use_ffile"
7618 if test "x$cache" = xyes; then
7619 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7622 if test x"$enablestring" = xdisable; then
7623 if test $wxUSE_FFILE = yes; then
7632 { echo "$as_me:$LINENO: result: $result" >&5
7633 echo "${ECHO_T}$result" >&6; }
7637 defaultval=$wxUSE_ALL_FEATURES
7638 if test -z "$defaultval"; then
7639 if test x"$enablestring" = xdisable; then
7646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7647 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7648 # Check whether --enable-file was given.
7649 if test "${enable_file+set}" = set; then
7650 enableval=$enable_file;
7651 if test "$enableval" = yes; then
7652 wx_cv_use_file='wxUSE_FILE=yes'
7654 wx_cv_use_file='wxUSE_FILE=no'
7660 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7661 if test "x$LINE" != x ; then
7662 eval "DEFAULT_$LINE"
7668 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7673 eval "$wx_cv_use_file"
7674 if test "x$cache" = xyes; then
7675 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7678 if test x"$enablestring" = xdisable; then
7679 if test $wxUSE_FILE = yes; then
7688 { echo "$as_me:$LINENO: result: $result" >&5
7689 echo "${ECHO_T}$result" >&6; }
7693 defaultval=$wxUSE_ALL_FEATURES
7694 if test -z "$defaultval"; then
7695 if test x"$enablestring" = xdisable; then
7702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7703 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7704 # Check whether --enable-filesystem was given.
7705 if test "${enable_filesystem+set}" = set; then
7706 enableval=$enable_filesystem;
7707 if test "$enableval" = yes; then
7708 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7710 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7716 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7717 if test "x$LINE" != x ; then
7718 eval "DEFAULT_$LINE"
7724 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7729 eval "$wx_cv_use_filesystem"
7730 if test "x$cache" = xyes; then
7731 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7734 if test x"$enablestring" = xdisable; then
7735 if test $wxUSE_FILESYSTEM = yes; then
7741 result=$wxUSE_FILESYSTEM
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}-fontenum" >&5
7759 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7760 # Check whether --enable-fontenum was given.
7761 if test "${enable_fontenum+set}" = set; then
7762 enableval=$enable_fontenum;
7763 if test "$enableval" = yes; then
7764 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7766 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7772 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7773 if test "x$LINE" != x ; then
7774 eval "DEFAULT_$LINE"
7780 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7785 eval "$wx_cv_use_fontenum"
7786 if test "x$cache" = xyes; then
7787 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7790 if test x"$enablestring" = xdisable; then
7791 if test $wxUSE_FONTENUM = yes; then
7797 result=$wxUSE_FONTENUM
7800 { echo "$as_me:$LINENO: result: $result" >&5
7801 echo "${ECHO_T}$result" >&6; }
7805 defaultval=$wxUSE_ALL_FEATURES
7806 if test -z "$defaultval"; then
7807 if test x"$enablestring" = xdisable; then
7814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7815 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7816 # Check whether --enable-fontmap was given.
7817 if test "${enable_fontmap+set}" = set; then
7818 enableval=$enable_fontmap;
7819 if test "$enableval" = yes; then
7820 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7822 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7828 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7829 if test "x$LINE" != x ; then
7830 eval "DEFAULT_$LINE"
7836 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7841 eval "$wx_cv_use_fontmap"
7842 if test "x$cache" = xyes; then
7843 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7846 if test x"$enablestring" = xdisable; then
7847 if test $wxUSE_FONTMAP = yes; then
7853 result=$wxUSE_FONTMAP
7856 { echo "$as_me:$LINENO: result: $result" >&5
7857 echo "${ECHO_T}$result" >&6; }
7861 defaultval=$wxUSE_ALL_FEATURES
7862 if test -z "$defaultval"; then
7863 if test x"$enablestring" = xdisable; then
7870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7871 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7872 # Check whether --enable-fs_archive was given.
7873 if test "${enable_fs_archive+set}" = set; then
7874 enableval=$enable_fs_archive;
7875 if test "$enableval" = yes; then
7876 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7878 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7884 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7885 if test "x$LINE" != x ; then
7886 eval "DEFAULT_$LINE"
7892 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7897 eval "$wx_cv_use_fs_archive"
7898 if test "x$cache" = xyes; then
7899 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7902 if test x"$enablestring" = xdisable; then
7903 if test $wxUSE_FS_ARCHIVE = yes; then
7909 result=$wxUSE_FS_ARCHIVE
7912 { echo "$as_me:$LINENO: result: $result" >&5
7913 echo "${ECHO_T}$result" >&6; }
7917 defaultval=$wxUSE_ALL_FEATURES
7918 if test -z "$defaultval"; then
7919 if test x"$enablestring" = xdisable; then
7926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7927 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7928 # Check whether --enable-fs_inet was given.
7929 if test "${enable_fs_inet+set}" = set; then
7930 enableval=$enable_fs_inet;
7931 if test "$enableval" = yes; then
7932 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7934 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7940 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7941 if test "x$LINE" != x ; then
7942 eval "DEFAULT_$LINE"
7948 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7953 eval "$wx_cv_use_fs_inet"
7954 if test "x$cache" = xyes; then
7955 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7958 if test x"$enablestring" = xdisable; then
7959 if test $wxUSE_FS_INET = yes; then
7965 result=$wxUSE_FS_INET
7968 { echo "$as_me:$LINENO: result: $result" >&5
7969 echo "${ECHO_T}$result" >&6; }
7973 defaultval=$wxUSE_ALL_FEATURES
7974 if test -z "$defaultval"; then
7975 if test x"$enablestring" = xdisable; then
7982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7983 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7984 # Check whether --enable-fs_zip was given.
7985 if test "${enable_fs_zip+set}" = set; then
7986 enableval=$enable_fs_zip;
7987 if test "$enableval" = yes; then
7988 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7990 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7996 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7997 if test "x$LINE" != x ; then
7998 eval "DEFAULT_$LINE"
8004 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8009 eval "$wx_cv_use_fs_zip"
8010 if test "x$cache" = xyes; then
8011 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
8014 if test x"$enablestring" = xdisable; then
8015 if test $wxUSE_FS_ZIP = yes; then
8021 result=$wxUSE_FS_ZIP
8024 { echo "$as_me:$LINENO: result: $result" >&5
8025 echo "${ECHO_T}$result" >&6; }
8029 defaultval=$wxUSE_ALL_FEATURES
8030 if test -z "$defaultval"; then
8031 if test x"$enablestring" = xdisable; then
8038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
8040 # Check whether --enable-geometry was given.
8041 if test "${enable_geometry+set}" = set; then
8042 enableval=$enable_geometry;
8043 if test "$enableval" = yes; then
8044 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8046 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8052 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
8053 if test "x$LINE" != x ; then
8054 eval "DEFAULT_$LINE"
8060 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8065 eval "$wx_cv_use_geometry"
8066 if test "x$cache" = xyes; then
8067 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8070 if test x"$enablestring" = xdisable; then
8071 if test $wxUSE_GEOMETRY = yes; then
8077 result=$wxUSE_GEOMETRY
8080 { echo "$as_me:$LINENO: result: $result" >&5
8081 echo "${ECHO_T}$result" >&6; }
8085 defaultval=$wxUSE_ALL_FEATURES
8086 if test -z "$defaultval"; then
8087 if test x"$enablestring" = xdisable; then
8094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8096 # Check whether --enable-log was given.
8097 if test "${enable_log+set}" = set; then
8098 enableval=$enable_log;
8099 if test "$enableval" = yes; then
8100 wx_cv_use_log='wxUSE_LOG=yes'
8102 wx_cv_use_log='wxUSE_LOG=no'
8108 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x ; then
8110 eval "DEFAULT_$LINE"
8116 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8121 eval "$wx_cv_use_log"
8122 if test "x$cache" = xyes; then
8123 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8126 if test x"$enablestring" = xdisable; then
8127 if test $wxUSE_LOG = yes; then
8136 { echo "$as_me:$LINENO: result: $result" >&5
8137 echo "${ECHO_T}$result" >&6; }
8141 defaultval=$wxUSE_ALL_FEATURES
8142 if test -z "$defaultval"; then
8143 if test x"$enablestring" = xdisable; then
8150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8151 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8152 # Check whether --enable-longlong was given.
8153 if test "${enable_longlong+set}" = set; then
8154 enableval=$enable_longlong;
8155 if test "$enableval" = yes; then
8156 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8158 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8164 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8165 if test "x$LINE" != x ; then
8166 eval "DEFAULT_$LINE"
8172 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8177 eval "$wx_cv_use_longlong"
8178 if test "x$cache" = xyes; then
8179 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8182 if test x"$enablestring" = xdisable; then
8183 if test $wxUSE_LONGLONG = yes; then
8189 result=$wxUSE_LONGLONG
8192 { echo "$as_me:$LINENO: result: $result" >&5
8193 echo "${ECHO_T}$result" >&6; }
8197 defaultval=$wxUSE_ALL_FEATURES
8198 if test -z "$defaultval"; then
8199 if test x"$enablestring" = xdisable; then
8206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8208 # Check whether --enable-mimetype was given.
8209 if test "${enable_mimetype+set}" = set; then
8210 enableval=$enable_mimetype;
8211 if test "$enableval" = yes; then
8212 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8214 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8220 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x ; then
8222 eval "DEFAULT_$LINE"
8228 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8233 eval "$wx_cv_use_mimetype"
8234 if test "x$cache" = xyes; then
8235 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8238 if test x"$enablestring" = xdisable; then
8239 if test $wxUSE_MIMETYPE = yes; then
8245 result=$wxUSE_MIMETYPE
8248 { echo "$as_me:$LINENO: result: $result" >&5
8249 echo "${ECHO_T}$result" >&6; }
8253 defaultval=$wxUSE_ALL_FEATURES
8254 if test -z "$defaultval"; then
8255 if test x"$enablestring" = xdisable; then
8262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8263 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8264 # Check whether --enable-snglinst was given.
8265 if test "${enable_snglinst+set}" = set; then
8266 enableval=$enable_snglinst;
8267 if test "$enableval" = yes; then
8268 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8270 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8276 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8277 if test "x$LINE" != x ; then
8278 eval "DEFAULT_$LINE"
8284 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8289 eval "$wx_cv_use_snglinst"
8290 if test "x$cache" = xyes; then
8291 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8294 if test x"$enablestring" = xdisable; then
8295 if test $wxUSE_SNGLINST_CHECKER = yes; then
8301 result=$wxUSE_SNGLINST_CHECKER
8304 { echo "$as_me:$LINENO: result: $result" >&5
8305 echo "${ECHO_T}$result" >&6; }
8309 defaultval=$wxUSE_ALL_FEATURES
8310 if test -z "$defaultval"; then
8311 if test x"$enablestring" = xdisable; then
8318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8320 # Check whether --enable-stdpaths was given.
8321 if test "${enable_stdpaths+set}" = set; then
8322 enableval=$enable_stdpaths;
8323 if test "$enableval" = yes; then
8324 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8326 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8332 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8340 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8345 eval "$wx_cv_use_stdpaths"
8346 if test "x$cache" = xyes; then
8347 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8350 if test x"$enablestring" = xdisable; then
8351 if test $wxUSE_STDPATHS = yes; then
8357 result=$wxUSE_STDPATHS
8360 { echo "$as_me:$LINENO: result: $result" >&5
8361 echo "${ECHO_T}$result" >&6; }
8365 defaultval=$wxUSE_ALL_FEATURES
8366 if test -z "$defaultval"; then
8367 if test x"$enablestring" = xdisable; then
8374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8375 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8376 # Check whether --enable-stopwatch was given.
8377 if test "${enable_stopwatch+set}" = set; then
8378 enableval=$enable_stopwatch;
8379 if test "$enableval" = yes; then
8380 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8382 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8388 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x ; then
8390 eval "DEFAULT_$LINE"
8396 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8401 eval "$wx_cv_use_stopwatch"
8402 if test "x$cache" = xyes; then
8403 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8406 if test x"$enablestring" = xdisable; then
8407 if test $wxUSE_STOPWATCH = yes; then
8413 result=$wxUSE_STOPWATCH
8416 { echo "$as_me:$LINENO: result: $result" >&5
8417 echo "${ECHO_T}$result" >&6; }
8421 defaultval=$wxUSE_ALL_FEATURES
8422 if test -z "$defaultval"; then
8423 if test x"$enablestring" = xdisable; then
8430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8431 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8432 # Check whether --enable-streams was given.
8433 if test "${enable_streams+set}" = set; then
8434 enableval=$enable_streams;
8435 if test "$enableval" = yes; then
8436 wx_cv_use_streams='wxUSE_STREAMS=yes'
8438 wx_cv_use_streams='wxUSE_STREAMS=no'
8444 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8445 if test "x$LINE" != x ; then
8446 eval "DEFAULT_$LINE"
8452 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8457 eval "$wx_cv_use_streams"
8458 if test "x$cache" = xyes; then
8459 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8462 if test x"$enablestring" = xdisable; then
8463 if test $wxUSE_STREAMS = yes; then
8469 result=$wxUSE_STREAMS
8472 { echo "$as_me:$LINENO: result: $result" >&5
8473 echo "${ECHO_T}$result" >&6; }
8477 defaultval=$wxUSE_ALL_FEATURES
8478 if test -z "$defaultval"; then
8479 if test x"$enablestring" = xdisable; then
8486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8488 # Check whether --enable-system_options was given.
8489 if test "${enable_system_options+set}" = set; then
8490 enableval=$enable_system_options;
8491 if test "$enableval" = yes; then
8492 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8494 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8500 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8501 if test "x$LINE" != x ; then
8502 eval "DEFAULT_$LINE"
8508 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8513 eval "$wx_cv_use_system_options"
8514 if test "x$cache" = xyes; then
8515 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8518 if test x"$enablestring" = xdisable; then
8519 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8525 result=$wxUSE_SYSTEM_OPTIONS
8528 { echo "$as_me:$LINENO: result: $result" >&5
8529 echo "${ECHO_T}$result" >&6; }
8533 defaultval=$wxUSE_ALL_FEATURES
8534 if test -z "$defaultval"; then
8535 if test x"$enablestring" = xdisable; then
8542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8543 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8544 # Check whether --enable-tarstream was given.
8545 if test "${enable_tarstream+set}" = set; then
8546 enableval=$enable_tarstream;
8547 if test "$enableval" = yes; then
8548 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8550 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8556 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8557 if test "x$LINE" != x ; then
8558 eval "DEFAULT_$LINE"
8564 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8569 eval "$wx_cv_use_tarstream"
8570 if test "x$cache" = xyes; then
8571 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8574 if test x"$enablestring" = xdisable; then
8575 if test $wxUSE_TARSTREAM = yes; then
8581 result=$wxUSE_TARSTREAM
8584 { echo "$as_me:$LINENO: result: $result" >&5
8585 echo "${ECHO_T}$result" >&6; }
8589 defaultval=$wxUSE_ALL_FEATURES
8590 if test -z "$defaultval"; then
8591 if test x"$enablestring" = xdisable; then
8598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8599 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8600 # Check whether --enable-textbuf was given.
8601 if test "${enable_textbuf+set}" = set; then
8602 enableval=$enable_textbuf;
8603 if test "$enableval" = yes; then
8604 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8606 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8612 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8613 if test "x$LINE" != x ; then
8614 eval "DEFAULT_$LINE"
8620 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8625 eval "$wx_cv_use_textbuf"
8626 if test "x$cache" = xyes; then
8627 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8630 if test x"$enablestring" = xdisable; then
8631 if test $wxUSE_TEXTBUFFER = yes; then
8637 result=$wxUSE_TEXTBUFFER
8640 { echo "$as_me:$LINENO: result: $result" >&5
8641 echo "${ECHO_T}$result" >&6; }
8645 defaultval=$wxUSE_ALL_FEATURES
8646 if test -z "$defaultval"; then
8647 if test x"$enablestring" = xdisable; then
8654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8656 # Check whether --enable-textfile was given.
8657 if test "${enable_textfile+set}" = set; then
8658 enableval=$enable_textfile;
8659 if test "$enableval" = yes; then
8660 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8662 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8668 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x ; then
8670 eval "DEFAULT_$LINE"
8676 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8681 eval "$wx_cv_use_textfile"
8682 if test "x$cache" = xyes; then
8683 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8686 if test x"$enablestring" = xdisable; then
8687 if test $wxUSE_TEXTFILE = yes; then
8693 result=$wxUSE_TEXTFILE
8696 { echo "$as_me:$LINENO: result: $result" >&5
8697 echo "${ECHO_T}$result" >&6; }
8701 defaultval=$wxUSE_ALL_FEATURES
8702 if test -z "$defaultval"; then
8703 if test x"$enablestring" = xdisable; then
8710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8711 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8712 # Check whether --enable-timer was given.
8713 if test "${enable_timer+set}" = set; then
8714 enableval=$enable_timer;
8715 if test "$enableval" = yes; then
8716 wx_cv_use_timer='wxUSE_TIMER=yes'
8718 wx_cv_use_timer='wxUSE_TIMER=no'
8724 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8725 if test "x$LINE" != x ; then
8726 eval "DEFAULT_$LINE"
8732 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8737 eval "$wx_cv_use_timer"
8738 if test "x$cache" = xyes; then
8739 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8742 if test x"$enablestring" = xdisable; then
8743 if test $wxUSE_TIMER = yes; then
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}-sound" >&5
8767 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8768 # Check whether --enable-sound was given.
8769 if test "${enable_sound+set}" = set; then
8770 enableval=$enable_sound;
8771 if test "$enableval" = yes; then
8772 wx_cv_use_sound='wxUSE_SOUND=yes'
8774 wx_cv_use_sound='wxUSE_SOUND=no'
8780 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8781 if test "x$LINE" != x ; then
8782 eval "DEFAULT_$LINE"
8788 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8793 eval "$wx_cv_use_sound"
8794 if test "x$cache" = xyes; then
8795 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8798 if test x"$enablestring" = xdisable; then
8799 if test $wxUSE_SOUND = yes; then
8808 { echo "$as_me:$LINENO: result: $result" >&5
8809 echo "${ECHO_T}$result" >&6; }
8813 defaultval=$wxUSE_ALL_FEATURES
8814 if test -z "$defaultval"; then
8815 if test x"$enablestring" = xdisable; then
8822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8823 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8824 # Check whether --enable-mediactrl was given.
8825 if test "${enable_mediactrl+set}" = set; then
8826 enableval=$enable_mediactrl;
8827 if test "$enableval" = yes; then
8828 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8830 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8836 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8844 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8849 eval "$wx_cv_use_mediactrl"
8850 if test "x$cache" = xyes; then
8851 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8854 if test x"$enablestring" = xdisable; then
8855 if test $wxUSE_MEDIACTRL = yes; then
8861 result=$wxUSE_MEDIACTRL
8864 { echo "$as_me:$LINENO: result: $result" >&5
8865 echo "${ECHO_T}$result" >&6; }
8869 defaultval=$wxUSE_ALL_FEATURES
8870 if test -z "$defaultval"; then
8871 if test x"$enablestring" = xdisable; then
8878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8880 # Check whether --enable-gstreamer8 was given.
8881 if test "${enable_gstreamer8+set}" = set; then
8882 enableval=$enable_gstreamer8;
8883 if test "$enableval" = yes; then
8884 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8886 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8892 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8893 if test "x$LINE" != x ; then
8894 eval "DEFAULT_$LINE"
8900 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8905 eval "$wx_cv_use_gstreamer8"
8906 if test "x$cache" = xyes; then
8907 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8910 if test x"$enablestring" = xdisable; then
8911 if test $wxUSE_GSTREAMER8 = yes; then
8917 result=$wxUSE_GSTREAMER8
8920 { echo "$as_me:$LINENO: result: $result" >&5
8921 echo "${ECHO_T}$result" >&6; }
8925 defaultval=$wxUSE_ALL_FEATURES
8926 if test -z "$defaultval"; then
8927 if test x"$enablestring" = xdisable; then
8934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8936 # Check whether --enable-printfposparam was given.
8937 if test "${enable_printfposparam+set}" = set; then
8938 enableval=$enable_printfposparam;
8939 if test "$enableval" = yes; then
8940 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8942 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8948 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x ; then
8950 eval "DEFAULT_$LINE"
8956 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8961 eval "$wx_cv_use_printfposparam"
8962 if test "x$cache" = xyes; then
8963 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8966 if test x"$enablestring" = xdisable; then
8967 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8973 result=$wxUSE_PRINTF_POS_PARAMS
8976 { echo "$as_me:$LINENO: result: $result" >&5
8977 echo "${ECHO_T}$result" >&6; }
8981 defaultval=$wxUSE_ALL_FEATURES
8982 if test -z "$defaultval"; then
8983 if test x"$enablestring" = xdisable; then
8990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8991 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8992 # Check whether --enable-zipstream was given.
8993 if test "${enable_zipstream+set}" = set; then
8994 enableval=$enable_zipstream;
8995 if test "$enableval" = yes; then
8996 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8998 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9004 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
9005 if test "x$LINE" != x ; then
9006 eval "DEFAULT_$LINE"
9012 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9017 eval "$wx_cv_use_zipstream"
9018 if test "x$cache" = xyes; then
9019 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
9022 if test x"$enablestring" = xdisable; then
9023 if test $wxUSE_ZIPSTREAM = yes; then
9029 result=$wxUSE_ZIPSTREAM
9032 { echo "$as_me:$LINENO: result: $result" >&5
9033 echo "${ECHO_T}$result" >&6; }
9038 defaultval=$wxUSE_ALL_FEATURES
9039 if test -z "$defaultval"; then
9040 if test x"$enablestring" = xdisable; then
9047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
9048 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
9049 # Check whether --enable-url was given.
9050 if test "${enable_url+set}" = set; then
9051 enableval=$enable_url;
9052 if test "$enableval" = yes; then
9053 wx_cv_use_url='wxUSE_URL=yes'
9055 wx_cv_use_url='wxUSE_URL=no'
9061 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
9062 if test "x$LINE" != x ; then
9063 eval "DEFAULT_$LINE"
9069 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9074 eval "$wx_cv_use_url"
9075 if test "x$cache" = xyes; then
9076 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9079 if test x"$enablestring" = xdisable; then
9080 if test $wxUSE_URL = yes; then
9089 { echo "$as_me:$LINENO: result: $result" >&5
9090 echo "${ECHO_T}$result" >&6; }
9094 defaultval=$wxUSE_ALL_FEATURES
9095 if test -z "$defaultval"; then
9096 if test x"$enablestring" = xdisable; then
9103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9105 # Check whether --enable-variant was given.
9106 if test "${enable_variant+set}" = set; then
9107 enableval=$enable_variant;
9108 if test "$enableval" = yes; then
9109 wx_cv_use_variant='wxUSE_VARIANT=yes'
9111 wx_cv_use_variant='wxUSE_VARIANT=no'
9117 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9118 if test "x$LINE" != x ; then
9119 eval "DEFAULT_$LINE"
9125 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9130 eval "$wx_cv_use_variant"
9131 if test "x$cache" = xyes; then
9132 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9135 if test x"$enablestring" = xdisable; then
9136 if test $wxUSE_VARIANT = yes; then
9142 result=$wxUSE_VARIANT
9145 { echo "$as_me:$LINENO: result: $result" >&5
9146 echo "${ECHO_T}$result" >&6; }
9150 defaultval=$wxUSE_ALL_FEATURES
9151 if test -z "$defaultval"; then
9152 if test x"$enablestring" = xdisable; then
9159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9160 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9161 # Check whether --enable-protocol was given.
9162 if test "${enable_protocol+set}" = set; then
9163 enableval=$enable_protocol;
9164 if test "$enableval" = yes; then
9165 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9167 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9173 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9174 if test "x$LINE" != x ; then
9175 eval "DEFAULT_$LINE"
9181 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9186 eval "$wx_cv_use_protocol"
9187 if test "x$cache" = xyes; then
9188 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9191 if test x"$enablestring" = xdisable; then
9192 if test $wxUSE_PROTOCOL = yes; then
9198 result=$wxUSE_PROTOCOL
9201 { echo "$as_me:$LINENO: result: $result" >&5
9202 echo "${ECHO_T}$result" >&6; }
9206 defaultval=$wxUSE_ALL_FEATURES
9207 if test -z "$defaultval"; then
9208 if test x"$enablestring" = xdisable; then
9215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9216 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9217 # Check whether --enable-protocol_http was given.
9218 if test "${enable_protocol_http+set}" = set; then
9219 enableval=$enable_protocol_http;
9220 if test "$enableval" = yes; then
9221 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9223 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9229 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9230 if test "x$LINE" != x ; then
9231 eval "DEFAULT_$LINE"
9237 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9242 eval "$wx_cv_use_protocol_http"
9243 if test "x$cache" = xyes; then
9244 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9247 if test x"$enablestring" = xdisable; then
9248 if test $wxUSE_PROTOCOL_HTTP = yes; then
9254 result=$wxUSE_PROTOCOL_HTTP
9257 { echo "$as_me:$LINENO: result: $result" >&5
9258 echo "${ECHO_T}$result" >&6; }
9262 defaultval=$wxUSE_ALL_FEATURES
9263 if test -z "$defaultval"; then
9264 if test x"$enablestring" = xdisable; then
9271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9272 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9273 # Check whether --enable-protocol_ftp was given.
9274 if test "${enable_protocol_ftp+set}" = set; then
9275 enableval=$enable_protocol_ftp;
9276 if test "$enableval" = yes; then
9277 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9279 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9285 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x ; then
9287 eval "DEFAULT_$LINE"
9293 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9298 eval "$wx_cv_use_protocol_ftp"
9299 if test "x$cache" = xyes; then
9300 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9303 if test x"$enablestring" = xdisable; then
9304 if test $wxUSE_PROTOCOL_FTP = yes; then
9310 result=$wxUSE_PROTOCOL_FTP
9313 { echo "$as_me:$LINENO: result: $result" >&5
9314 echo "${ECHO_T}$result" >&6; }
9318 defaultval=$wxUSE_ALL_FEATURES
9319 if test -z "$defaultval"; then
9320 if test x"$enablestring" = xdisable; then
9327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9328 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9329 # Check whether --enable-protocol_file was given.
9330 if test "${enable_protocol_file+set}" = set; then
9331 enableval=$enable_protocol_file;
9332 if test "$enableval" = yes; then
9333 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9335 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9341 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9342 if test "x$LINE" != x ; then
9343 eval "DEFAULT_$LINE"
9349 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9354 eval "$wx_cv_use_protocol_file"
9355 if test "x$cache" = xyes; then
9356 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9359 if test x"$enablestring" = xdisable; then
9360 if test $wxUSE_PROTOCOL_FILE = yes; then
9366 result=$wxUSE_PROTOCOL_FILE
9369 { echo "$as_me:$LINENO: result: $result" >&5
9370 echo "${ECHO_T}$result" >&6; }
9375 defaultval=$wxUSE_ALL_FEATURES
9376 if test -z "$defaultval"; then
9377 if test x"$enablestring" = xdisable; then
9384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9385 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9386 # Check whether --enable-threads was given.
9387 if test "${enable_threads+set}" = set; then
9388 enableval=$enable_threads;
9389 if test "$enableval" = yes; then
9390 wx_cv_use_threads='wxUSE_THREADS=yes'
9392 wx_cv_use_threads='wxUSE_THREADS=no'
9398 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9399 if test "x$LINE" != x ; then
9400 eval "DEFAULT_$LINE"
9406 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9411 eval "$wx_cv_use_threads"
9412 if test "x$cache" = xyes; then
9413 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9416 if test x"$enablestring" = xdisable; then
9417 if test $wxUSE_THREADS = yes; then
9423 result=$wxUSE_THREADS
9426 { echo "$as_me:$LINENO: result: $result" >&5
9427 echo "${ECHO_T}$result" >&6; }
9433 if test -z "$defaultval"; then
9434 if test x"$enablestring" = xdisable; then
9441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9442 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9443 # Check whether --enable-iniconf was given.
9444 if test "${enable_iniconf+set}" = set; then
9445 enableval=$enable_iniconf;
9446 if test "$enableval" = yes; then
9447 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9449 wx_cv_use_iniconf='wxUSE_INICONF=no'
9455 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9456 if test "x$LINE" != x ; then
9457 eval "DEFAULT_$LINE"
9463 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9468 eval "$wx_cv_use_iniconf"
9469 if test "x$cache" = xyes; then
9470 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9473 if test x"$enablestring" = xdisable; then
9474 if test $wxUSE_INICONF = yes; then
9480 result=$wxUSE_INICONF
9483 { echo "$as_me:$LINENO: result: $result" >&5
9484 echo "${ECHO_T}$result" >&6; }
9488 defaultval=$wxUSE_ALL_FEATURES
9489 if test -z "$defaultval"; then
9490 if test x"$enablestring" = xdisable; then
9497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9498 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9499 # Check whether --enable-regkey was given.
9500 if test "${enable_regkey+set}" = set; then
9501 enableval=$enable_regkey;
9502 if test "$enableval" = yes; then
9503 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9505 wx_cv_use_regkey='wxUSE_REGKEY=no'
9511 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9512 if test "x$LINE" != x ; then
9513 eval "DEFAULT_$LINE"
9519 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9524 eval "$wx_cv_use_regkey"
9525 if test "x$cache" = xyes; then
9526 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9529 if test x"$enablestring" = xdisable; then
9530 if test $wxUSE_REGKEY = yes; then
9536 result=$wxUSE_REGKEY
9539 { echo "$as_me:$LINENO: result: $result" >&5
9540 echo "${ECHO_T}$result" >&6; }
9543 if test "$wxUSE_GUI" = "yes"; then
9548 defaultval=$wxUSE_ALL_FEATURES
9549 if test -z "$defaultval"; then
9550 if test x"$enablestring" = xdisable; then
9557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9559 # Check whether --enable-docview was given.
9560 if test "${enable_docview+set}" = set; then
9561 enableval=$enable_docview;
9562 if test "$enableval" = yes; then
9563 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9565 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9571 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9572 if test "x$LINE" != x ; then
9573 eval "DEFAULT_$LINE"
9579 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9584 eval "$wx_cv_use_docview"
9585 if test "x$cache" = xyes; then
9586 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9589 if test x"$enablestring" = xdisable; then
9590 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9596 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9599 { echo "$as_me:$LINENO: result: $result" >&5
9600 echo "${ECHO_T}$result" >&6; }
9604 defaultval=$wxUSE_ALL_FEATURES
9605 if test -z "$defaultval"; then
9606 if test x"$enablestring" = xdisable; then
9613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9614 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9615 # Check whether --enable-help was given.
9616 if test "${enable_help+set}" = set; then
9617 enableval=$enable_help;
9618 if test "$enableval" = yes; then
9619 wx_cv_use_help='wxUSE_HELP=yes'
9621 wx_cv_use_help='wxUSE_HELP=no'
9627 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9628 if test "x$LINE" != x ; then
9629 eval "DEFAULT_$LINE"
9635 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9640 eval "$wx_cv_use_help"
9641 if test "x$cache" = xyes; then
9642 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9645 if test x"$enablestring" = xdisable; then
9646 if test $wxUSE_HELP = yes; then
9655 { echo "$as_me:$LINENO: result: $result" >&5
9656 echo "${ECHO_T}$result" >&6; }
9660 defaultval=$wxUSE_ALL_FEATURES
9661 if test -z "$defaultval"; then
9662 if test x"$enablestring" = xdisable; then
9669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9670 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9671 # Check whether --enable-mshtmlhelp was given.
9672 if test "${enable_mshtmlhelp+set}" = set; then
9673 enableval=$enable_mshtmlhelp;
9674 if test "$enableval" = yes; then
9675 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9677 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9683 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9684 if test "x$LINE" != x ; then
9685 eval "DEFAULT_$LINE"
9691 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9696 eval "$wx_cv_use_mshtmlhelp"
9697 if test "x$cache" = xyes; then
9698 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9701 if test x"$enablestring" = xdisable; then
9702 if test $wxUSE_MS_HTML_HELP = yes; then
9708 result=$wxUSE_MS_HTML_HELP
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}-html" >&5
9726 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9727 # Check whether --enable-html was given.
9728 if test "${enable_html+set}" = set; then
9729 enableval=$enable_html;
9730 if test "$enableval" = yes; then
9731 wx_cv_use_html='wxUSE_HTML=yes'
9733 wx_cv_use_html='wxUSE_HTML=no'
9739 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9740 if test "x$LINE" != x ; then
9741 eval "DEFAULT_$LINE"
9747 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9752 eval "$wx_cv_use_html"
9753 if test "x$cache" = xyes; then
9754 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9757 if test x"$enablestring" = xdisable; then
9758 if test $wxUSE_HTML = yes; then
9767 { echo "$as_me:$LINENO: result: $result" >&5
9768 echo "${ECHO_T}$result" >&6; }
9772 defaultval=$wxUSE_ALL_FEATURES
9773 if test -z "$defaultval"; then
9774 if test x"$enablestring" = xdisable; then
9781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9782 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9783 # Check whether --enable-htmlhelp was given.
9784 if test "${enable_htmlhelp+set}" = set; then
9785 enableval=$enable_htmlhelp;
9786 if test "$enableval" = yes; then
9787 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9789 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9795 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9796 if test "x$LINE" != x ; then
9797 eval "DEFAULT_$LINE"
9803 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9808 eval "$wx_cv_use_htmlhelp"
9809 if test "x$cache" = xyes; then
9810 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9813 if test x"$enablestring" = xdisable; then
9814 if test $wxUSE_WXHTML_HELP = yes; then
9820 result=$wxUSE_WXHTML_HELP
9823 { echo "$as_me:$LINENO: result: $result" >&5
9824 echo "${ECHO_T}$result" >&6; }
9828 defaultval=$wxUSE_ALL_FEATURES
9829 if test -z "$defaultval"; then
9830 if test x"$enablestring" = xdisable; then
9837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9838 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9839 # Check whether --enable-xrc was given.
9840 if test "${enable_xrc+set}" = set; then
9841 enableval=$enable_xrc;
9842 if test "$enableval" = yes; then
9843 wx_cv_use_xrc='wxUSE_XRC=yes'
9845 wx_cv_use_xrc='wxUSE_XRC=no'
9851 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9852 if test "x$LINE" != x ; then
9853 eval "DEFAULT_$LINE"
9859 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9864 eval "$wx_cv_use_xrc"
9865 if test "x$cache" = xyes; then
9866 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9869 if test x"$enablestring" = xdisable; then
9870 if test $wxUSE_XRC = yes; then
9879 { echo "$as_me:$LINENO: result: $result" >&5
9880 echo "${ECHO_T}$result" >&6; }
9884 defaultval=$wxUSE_ALL_FEATURES
9885 if test -z "$defaultval"; then
9886 if test x"$enablestring" = xdisable; then
9893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9894 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9895 # Check whether --enable-aui was given.
9896 if test "${enable_aui+set}" = set; then
9897 enableval=$enable_aui;
9898 if test "$enableval" = yes; then
9899 wx_cv_use_aui='wxUSE_AUI=yes'
9901 wx_cv_use_aui='wxUSE_AUI=no'
9907 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9908 if test "x$LINE" != x ; then
9909 eval "DEFAULT_$LINE"
9915 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9920 eval "$wx_cv_use_aui"
9921 if test "x$cache" = xyes; then
9922 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9925 if test x"$enablestring" = xdisable; then
9926 if test $wxUSE_AUI = yes; then
9935 { echo "$as_me:$LINENO: result: $result" >&5
9936 echo "${ECHO_T}$result" >&6; }
9940 defaultval=$wxUSE_ALL_FEATURES
9941 if test -z "$defaultval"; then
9942 if test x"$enablestring" = xdisable; then
9949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9950 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9951 # Check whether --enable-stc was given.
9952 if test "${enable_stc+set}" = set; then
9953 enableval=$enable_stc;
9954 if test "$enableval" = yes; then
9955 wx_cv_use_stc='wxUSE_STC=yes'
9957 wx_cv_use_stc='wxUSE_STC=no'
9963 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x ; then
9965 eval "DEFAULT_$LINE"
9971 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9976 eval "$wx_cv_use_stc"
9977 if test "x$cache" = xyes; then
9978 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9981 if test x"$enablestring" = xdisable; then
9982 if test $wxUSE_STC = yes; then
9991 { echo "$as_me:$LINENO: result: $result" >&5
9992 echo "${ECHO_T}$result" >&6; }
9996 defaultval=$wxUSE_ALL_FEATURES
9997 if test -z "$defaultval"; then
9998 if test x"$enablestring" = xdisable; then
10005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
10006 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
10007 # Check whether --enable-constraints was given.
10008 if test "${enable_constraints+set}" = set; then
10009 enableval=$enable_constraints;
10010 if test "$enableval" = yes; then
10011 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10013 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10019 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
10020 if test "x$LINE" != x ; then
10021 eval "DEFAULT_$LINE"
10027 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10032 eval "$wx_cv_use_constraints"
10033 if test "x$cache" = xyes; then
10034 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
10037 if test x"$enablestring" = xdisable; then
10038 if test $wxUSE_CONSTRAINTS = yes; then
10044 result=$wxUSE_CONSTRAINTS
10047 { echo "$as_me:$LINENO: result: $result" >&5
10048 echo "${ECHO_T}$result" >&6; }
10052 defaultval=$wxUSE_ALL_FEATURES
10053 if test -z "$defaultval"; then
10054 if test x"$enablestring" = xdisable; then
10061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
10062 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
10063 # Check whether --enable-printarch was given.
10064 if test "${enable_printarch+set}" = set; then
10065 enableval=$enable_printarch;
10066 if test "$enableval" = yes; then
10067 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10069 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10075 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10076 if test "x$LINE" != x ; then
10077 eval "DEFAULT_$LINE"
10083 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10088 eval "$wx_cv_use_printarch"
10089 if test "x$cache" = xyes; then
10090 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10093 if test x"$enablestring" = xdisable; then
10094 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10100 result=$wxUSE_PRINTING_ARCHITECTURE
10103 { echo "$as_me:$LINENO: result: $result" >&5
10104 echo "${ECHO_T}$result" >&6; }
10108 defaultval=$wxUSE_ALL_FEATURES
10109 if test -z "$defaultval"; then
10110 if test x"$enablestring" = xdisable; then
10117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10118 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10119 # Check whether --enable-mdi was given.
10120 if test "${enable_mdi+set}" = set; then
10121 enableval=$enable_mdi;
10122 if test "$enableval" = yes; then
10123 wx_cv_use_mdi='wxUSE_MDI=yes'
10125 wx_cv_use_mdi='wxUSE_MDI=no'
10131 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10132 if test "x$LINE" != x ; then
10133 eval "DEFAULT_$LINE"
10139 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10144 eval "$wx_cv_use_mdi"
10145 if test "x$cache" = xyes; then
10146 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10149 if test x"$enablestring" = xdisable; then
10150 if test $wxUSE_MDI = yes; then
10159 { echo "$as_me:$LINENO: result: $result" >&5
10160 echo "${ECHO_T}$result" >&6; }
10164 defaultval=$wxUSE_ALL_FEATURES
10165 if test -z "$defaultval"; then
10166 if test x"$enablestring" = xdisable; then
10173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10174 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10175 # Check whether --enable-mdidoc was given.
10176 if test "${enable_mdidoc+set}" = set; then
10177 enableval=$enable_mdidoc;
10178 if test "$enableval" = yes; then
10179 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10181 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10187 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10188 if test "x$LINE" != x ; then
10189 eval "DEFAULT_$LINE"
10195 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10200 eval "$wx_cv_use_mdidoc"
10201 if test "x$cache" = xyes; then
10202 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10205 if test x"$enablestring" = xdisable; then
10206 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10212 result=$wxUSE_MDI_ARCHITECTURE
10215 { echo "$as_me:$LINENO: result: $result" >&5
10216 echo "${ECHO_T}$result" >&6; }
10220 defaultval=$wxUSE_ALL_FEATURES
10221 if test -z "$defaultval"; then
10222 if test x"$enablestring" = xdisable; then
10229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10230 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10231 # Check whether --enable-loggui was given.
10232 if test "${enable_loggui+set}" = set; then
10233 enableval=$enable_loggui;
10234 if test "$enableval" = yes; then
10235 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10237 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10243 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10244 if test "x$LINE" != x ; then
10245 eval "DEFAULT_$LINE"
10251 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10256 eval "$wx_cv_use_loggui"
10257 if test "x$cache" = xyes; then
10258 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10261 if test x"$enablestring" = xdisable; then
10262 if test $wxUSE_LOGGUI = yes; then
10268 result=$wxUSE_LOGGUI
10271 { echo "$as_me:$LINENO: result: $result" >&5
10272 echo "${ECHO_T}$result" >&6; }
10276 defaultval=$wxUSE_ALL_FEATURES
10277 if test -z "$defaultval"; then
10278 if test x"$enablestring" = xdisable; then
10285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10286 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10287 # Check whether --enable-logwin was given.
10288 if test "${enable_logwin+set}" = set; then
10289 enableval=$enable_logwin;
10290 if test "$enableval" = yes; then
10291 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10293 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10299 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10300 if test "x$LINE" != x ; then
10301 eval "DEFAULT_$LINE"
10307 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10312 eval "$wx_cv_use_logwin"
10313 if test "x$cache" = xyes; then
10314 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10317 if test x"$enablestring" = xdisable; then
10318 if test $wxUSE_LOGWINDOW = yes; then
10324 result=$wxUSE_LOGWINDOW
10327 { echo "$as_me:$LINENO: result: $result" >&5
10328 echo "${ECHO_T}$result" >&6; }
10332 defaultval=$wxUSE_ALL_FEATURES
10333 if test -z "$defaultval"; then
10334 if test x"$enablestring" = xdisable; then
10341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10342 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10343 # Check whether --enable-logdialog was given.
10344 if test "${enable_logdialog+set}" = set; then
10345 enableval=$enable_logdialog;
10346 if test "$enableval" = yes; then
10347 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10349 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10355 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10356 if test "x$LINE" != x ; then
10357 eval "DEFAULT_$LINE"
10363 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10368 eval "$wx_cv_use_logdialog"
10369 if test "x$cache" = xyes; then
10370 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10373 if test x"$enablestring" = xdisable; then
10374 if test $wxUSE_LOGDIALOG = yes; then
10380 result=$wxUSE_LOGDIALOG
10383 { echo "$as_me:$LINENO: result: $result" >&5
10384 echo "${ECHO_T}$result" >&6; }
10388 defaultval=$wxUSE_ALL_FEATURES
10389 if test -z "$defaultval"; then
10390 if test x"$enablestring" = xdisable; then
10397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10398 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10399 # Check whether --enable-webkit was given.
10400 if test "${enable_webkit+set}" = set; then
10401 enableval=$enable_webkit;
10402 if test "$enableval" = yes; then
10403 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10405 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10411 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10412 if test "x$LINE" != x ; then
10413 eval "DEFAULT_$LINE"
10419 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10424 eval "$wx_cv_use_webkit"
10425 if test "x$cache" = xyes; then
10426 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10429 if test x"$enablestring" = xdisable; then
10430 if test $wxUSE_WEBKIT = yes; then
10436 result=$wxUSE_WEBKIT
10439 { echo "$as_me:$LINENO: result: $result" >&5
10440 echo "${ECHO_T}$result" >&6; }
10444 defaultval=$wxUSE_ALL_FEATURES
10445 if test -z "$defaultval"; then
10446 if test x"$enablestring" = xdisable; then
10453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10454 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10455 # Check whether --enable-richtext was given.
10456 if test "${enable_richtext+set}" = set; then
10457 enableval=$enable_richtext;
10458 if test "$enableval" = yes; then
10459 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10461 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10467 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10468 if test "x$LINE" != x ; then
10469 eval "DEFAULT_$LINE"
10475 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10480 eval "$wx_cv_use_richtext"
10481 if test "x$cache" = xyes; then
10482 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10485 if test x"$enablestring" = xdisable; then
10486 if test $wxUSE_RICHTEXT = yes; then
10492 result=$wxUSE_RICHTEXT
10495 { echo "$as_me:$LINENO: result: $result" >&5
10496 echo "${ECHO_T}$result" >&6; }
10500 defaultval=$wxUSE_ALL_FEATURES
10501 if test -z "$defaultval"; then
10502 if test x"$enablestring" = xdisable; then
10509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10510 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10511 # Check whether --enable-graphics_ctx was given.
10512 if test "${enable_graphics_ctx+set}" = set; then
10513 enableval=$enable_graphics_ctx;
10514 if test "$enableval" = yes; then
10515 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10517 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10523 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10524 if test "x$LINE" != x ; then
10525 eval "DEFAULT_$LINE"
10531 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10536 eval "$wx_cv_use_graphics_ctx"
10537 if test "x$cache" = xyes; then
10538 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10541 if test x"$enablestring" = xdisable; then
10542 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10548 result=$wxUSE_GRAPHICS_CONTEXT
10551 { echo "$as_me:$LINENO: result: $result" >&5
10552 echo "${ECHO_T}$result" >&6; }
10556 defaultval=$wxUSE_ALL_FEATURES
10557 if test -z "$defaultval"; then
10558 if test x"$enablestring" = xdisable; then
10565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10566 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10567 # Check whether --enable-postscript was given.
10568 if test "${enable_postscript+set}" = set; then
10569 enableval=$enable_postscript;
10570 if test "$enableval" = yes; then
10571 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10573 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10579 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10580 if test "x$LINE" != x ; then
10581 eval "DEFAULT_$LINE"
10587 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10592 eval "$wx_cv_use_postscript"
10593 if test "x$cache" = xyes; then
10594 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10597 if test x"$enablestring" = xdisable; then
10598 if test $wxUSE_POSTSCRIPT = yes; then
10604 result=$wxUSE_POSTSCRIPT
10607 { echo "$as_me:$LINENO: result: $result" >&5
10608 echo "${ECHO_T}$result" >&6; }
10612 defaultval=$wxUSE_ALL_FEATURES
10613 if test -z "$defaultval"; then
10614 if test x"$enablestring" = xdisable; then
10621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10622 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10623 # Check whether --enable-svg was given.
10624 if test "${enable_svg+set}" = set; then
10625 enableval=$enable_svg;
10626 if test "$enableval" = yes; then
10627 wx_cv_use_svg='wxUSE_SVG=yes'
10629 wx_cv_use_svg='wxUSE_SVG=no'
10635 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10636 if test "x$LINE" != x ; then
10637 eval "DEFAULT_$LINE"
10643 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10648 eval "$wx_cv_use_svg"
10649 if test "x$cache" = xyes; then
10650 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10653 if test x"$enablestring" = xdisable; then
10654 if test $wxUSE_SVG = yes; then
10663 { echo "$as_me:$LINENO: result: $result" >&5
10664 echo "${ECHO_T}$result" >&6; }
10670 defaultval=$wxUSE_ALL_FEATURES
10671 if test -z "$defaultval"; then
10672 if test x"$enablestring" = xdisable; then
10679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10680 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10681 # Check whether --enable-clipboard was given.
10682 if test "${enable_clipboard+set}" = set; then
10683 enableval=$enable_clipboard;
10684 if test "$enableval" = yes; then
10685 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10687 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10693 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10694 if test "x$LINE" != x ; then
10695 eval "DEFAULT_$LINE"
10701 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10706 eval "$wx_cv_use_clipboard"
10707 if test "x$cache" = xyes; then
10708 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10711 if test x"$enablestring" = xdisable; then
10712 if test $wxUSE_CLIPBOARD = yes; then
10718 result=$wxUSE_CLIPBOARD
10721 { echo "$as_me:$LINENO: result: $result" >&5
10722 echo "${ECHO_T}$result" >&6; }
10726 defaultval=$wxUSE_ALL_FEATURES
10727 if test -z "$defaultval"; then
10728 if test x"$enablestring" = xdisable; then
10735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10736 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10737 # Check whether --enable-dnd was given.
10738 if test "${enable_dnd+set}" = set; then
10739 enableval=$enable_dnd;
10740 if test "$enableval" = yes; then
10741 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10743 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10749 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10750 if test "x$LINE" != x ; then
10751 eval "DEFAULT_$LINE"
10757 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10762 eval "$wx_cv_use_dnd"
10763 if test "x$cache" = xyes; then
10764 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10767 if test x"$enablestring" = xdisable; then
10768 if test $wxUSE_DRAG_AND_DROP = yes; then
10774 result=$wxUSE_DRAG_AND_DROP
10777 { echo "$as_me:$LINENO: result: $result" >&5
10778 echo "${ECHO_T}$result" >&6; }
10782 defaultval=$wxUSE_ALL_FEATURES
10783 if test -z "$defaultval"; then
10784 if test x"$enablestring" = xdisable; then
10791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10792 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10793 # Check whether --enable-metafile was given.
10794 if test "${enable_metafile+set}" = set; then
10795 enableval=$enable_metafile;
10796 if test "$enableval" = yes; then
10797 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10799 wx_cv_use_metafile='wxUSE_METAFILE=no'
10805 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10806 if test "x$LINE" != x ; then
10807 eval "DEFAULT_$LINE"
10813 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10818 eval "$wx_cv_use_metafile"
10819 if test "x$cache" = xyes; then
10820 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10823 if test x"$enablestring" = xdisable; then
10824 if test $wxUSE_METAFILE = yes; then
10830 result=$wxUSE_METAFILE
10833 { echo "$as_me:$LINENO: result: $result" >&5
10834 echo "${ECHO_T}$result" >&6; }
10838 DEFAULT_wxUSE_CONTROLS=none
10840 enablestring=disable
10842 if test -z "$defaultval"; then
10843 if test x"$enablestring" = xdisable; then
10850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10851 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10852 # Check whether --enable-controls was given.
10853 if test "${enable_controls+set}" = set; then
10854 enableval=$enable_controls;
10855 if test "$enableval" = yes; then
10856 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10858 wx_cv_use_controls='wxUSE_CONTROLS=no'
10864 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10865 if test "x$LINE" != x ; then
10866 eval "DEFAULT_$LINE"
10872 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10877 eval "$wx_cv_use_controls"
10878 if test "x$cache" = xyes; then
10879 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10882 if test x"$enablestring" = xdisable; then
10883 if test $wxUSE_CONTROLS = yes; then
10889 result=$wxUSE_CONTROLS
10892 { echo "$as_me:$LINENO: result: $result" >&5
10893 echo "${ECHO_T}$result" >&6; }
10896 if test "$wxUSE_CONTROLS" = "yes"; then
10897 DEFAULT_wxUSE_ACCEL=yes
10898 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10899 DEFAULT_wxUSE_BMPBUTTON=yes
10900 DEFAULT_wxUSE_BUTTON=yes
10901 DEFAULT_wxUSE_CALCTRL=yes
10902 DEFAULT_wxUSE_CARET=yes
10903 DEFAULT_wxUSE_COMBOBOX=yes
10904 DEFAULT_wxUSE_CHECKBOX=yes
10905 DEFAULT_wxUSE_CHECKLISTBOX=yes
10906 DEFAULT_wxUSE_CHOICE=yes
10907 DEFAULT_wxUSE_CHOICEBOOK=yes
10908 DEFAULT_wxUSE_COLLPANE=yes
10909 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10910 DEFAULT_wxUSE_COMBOBOX=yes
10911 DEFAULT_wxUSE_DATEPICKCTRL=yes
10912 DEFAULT_wxUSE_DISPLAY=yes
10913 DEFAULT_wxUSE_DETECT_SM=yes
10914 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10915 DEFAULT_wxUSE_FILECTRL=yes
10916 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10917 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10918 DEFAULT_wxUSE_GAUGE=yes
10919 DEFAULT_wxUSE_GRID=yes
10920 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10921 DEFAULT_wxUSE_DATAVIEWCTRL=no
10922 DEFAULT_wxUSE_IMAGLIST=yes
10923 DEFAULT_wxUSE_LISTBOOK=yes
10924 DEFAULT_wxUSE_LISTBOX=yes
10925 DEFAULT_wxUSE_LISTCTRL=yes
10926 DEFAULT_wxUSE_NOTEBOOK=yes
10927 DEFAULT_wxUSE_RADIOBOX=yes
10928 DEFAULT_wxUSE_RADIOBTN=yes
10929 DEFAULT_wxUSE_SASH=yes
10930 DEFAULT_wxUSE_SCROLLBAR=yes
10931 DEFAULT_wxUSE_SEARCHCTRL=yes
10932 DEFAULT_wxUSE_SLIDER=yes
10933 DEFAULT_wxUSE_SPINBTN=yes
10934 DEFAULT_wxUSE_SPINCTRL=yes
10935 DEFAULT_wxUSE_SPLITTER=yes
10936 DEFAULT_wxUSE_STATBMP=yes
10937 DEFAULT_wxUSE_STATBOX=yes
10938 DEFAULT_wxUSE_STATLINE=yes
10939 DEFAULT_wxUSE_STATUSBAR=yes
10940 DEFAULT_wxUSE_TAB_DIALOG=yes
10941 DEFAULT_wxUSE_TOGGLEBTN=yes
10942 DEFAULT_wxUSE_TOOLBAR=yes
10943 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10944 DEFAULT_wxUSE_TOOLTIPS=yes
10945 DEFAULT_wxUSE_TREEBOOK=yes
10946 DEFAULT_wxUSE_TOOLBOOK=yes
10947 DEFAULT_wxUSE_TREECTRL=yes
10948 DEFAULT_wxUSE_POPUPWIN=yes
10949 DEFAULT_wxUSE_TIPWINDOW=yes
10950 elif test "$wxUSE_CONTROLS" = "no"; then
10951 DEFAULT_wxUSE_ACCEL=no
10952 DEFAULT_wxUSE_ANIMATIONCTRL=no
10953 DEFAULT_wxUSE_BMPBUTTON=no
10954 DEFAULT_wxUSE_BUTTON=no
10955 DEFAULT_wxUSE_CALCTRL=no
10956 DEFAULT_wxUSE_CARET=no
10957 DEFAULT_wxUSE_COLLPANE=no
10958 DEFAULT_wxUSE_COMBOBOX=no
10959 DEFAULT_wxUSE_CHECKBOX=no
10960 DEFAULT_wxUSE_CHECKLISTBOX=no
10961 DEFAULT_wxUSE_CHOICE=no
10962 DEFAULT_wxUSE_CHOICEBOOK=no
10963 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10964 DEFAULT_wxUSE_COMBOBOX=no
10965 DEFAULT_wxUSE_DATEPICKCTRL=no
10966 DEFAULT_wxUSE_DISPLAY=no
10967 DEFAULT_wxUSE_DETECT_SM=no
10968 DEFAULT_wxUSE_DIRPICKERCTRL=no
10969 DEFAULT_wxUSE_FILECTRL=no
10970 DEFAULT_wxUSE_FILEPICKERCTRL=no
10971 DEFAULT_wxUSE_FONTPICKERCTRL=no
10972 DEFAULT_wxUSE_GAUGE=no
10973 DEFAULT_wxUSE_GRID=no
10974 DEFAULT_wxUSE_HYPERLINKCTRL=no
10975 DEFAULT_wxUSE_DATAVIEWCTRL=no
10976 DEFAULT_wxUSE_IMAGLIST=no
10977 DEFAULT_wxUSE_LISTBOOK=no
10978 DEFAULT_wxUSE_LISTBOX=no
10979 DEFAULT_wxUSE_LISTCTRL=no
10980 DEFAULT_wxUSE_NOTEBOOK=no
10981 DEFAULT_wxUSE_RADIOBOX=no
10982 DEFAULT_wxUSE_RADIOBTN=no
10983 DEFAULT_wxUSE_SASH=no
10984 DEFAULT_wxUSE_SCROLLBAR=no
10985 DEFAULT_wxUSE_SEARCHCTRL=no
10986 DEFAULT_wxUSE_SLIDER=no
10987 DEFAULT_wxUSE_SPINBTN=no
10988 DEFAULT_wxUSE_SPINCTRL=no
10989 DEFAULT_wxUSE_SPLITTER=no
10990 DEFAULT_wxUSE_STATBMP=no
10991 DEFAULT_wxUSE_STATBOX=no
10992 DEFAULT_wxUSE_STATLINE=no
10993 DEFAULT_wxUSE_STATUSBAR=no
10994 DEFAULT_wxUSE_TAB_DIALOG=no
10995 DEFAULT_wxUSE_TOGGLEBTN=no
10996 DEFAULT_wxUSE_TOOLBAR=no
10997 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10998 DEFAULT_wxUSE_TOOLTIPS=no
10999 DEFAULT_wxUSE_TREEBOOK=no
11000 DEFAULT_wxUSE_TOOLBOOK=no
11001 DEFAULT_wxUSE_TREECTRL=no
11002 DEFAULT_wxUSE_POPUPWIN=no
11003 DEFAULT_wxUSE_TIPWINDOW=no
11008 defaultval=$wxUSE_ALL_FEATURES
11009 if test -z "$defaultval"; then
11010 if test x"$enablestring" = xdisable; then
11017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
11018 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
11019 # Check whether --enable-accel was given.
11020 if test "${enable_accel+set}" = set; then
11021 enableval=$enable_accel;
11022 if test "$enableval" = yes; then
11023 wx_cv_use_accel='wxUSE_ACCEL=yes'
11025 wx_cv_use_accel='wxUSE_ACCEL=no'
11031 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
11032 if test "x$LINE" != x ; then
11033 eval "DEFAULT_$LINE"
11039 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11044 eval "$wx_cv_use_accel"
11045 if test "x$cache" = xyes; then
11046 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
11049 if test x"$enablestring" = xdisable; then
11050 if test $wxUSE_ACCEL = yes; then
11056 result=$wxUSE_ACCEL
11059 { echo "$as_me:$LINENO: result: $result" >&5
11060 echo "${ECHO_T}$result" >&6; }
11064 defaultval=$wxUSE_ALL_FEATURES
11065 if test -z "$defaultval"; then
11066 if test x"$enablestring" = xdisable; then
11073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11074 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11075 # Check whether --enable-animatectrl was given.
11076 if test "${enable_animatectrl+set}" = set; then
11077 enableval=$enable_animatectrl;
11078 if test "$enableval" = yes; then
11079 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11081 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11087 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11088 if test "x$LINE" != x ; then
11089 eval "DEFAULT_$LINE"
11095 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11100 eval "$wx_cv_use_animatectrl"
11101 if test "x$cache" = xyes; then
11102 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11105 if test x"$enablestring" = xdisable; then
11106 if test $wxUSE_ANIMATIONCTRL = yes; then
11112 result=$wxUSE_ANIMATIONCTRL
11115 { echo "$as_me:$LINENO: result: $result" >&5
11116 echo "${ECHO_T}$result" >&6; }
11120 defaultval=$wxUSE_ALL_FEATURES
11121 if test -z "$defaultval"; then
11122 if test x"$enablestring" = xdisable; then
11129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11130 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11131 # Check whether --enable-button was given.
11132 if test "${enable_button+set}" = set; then
11133 enableval=$enable_button;
11134 if test "$enableval" = yes; then
11135 wx_cv_use_button='wxUSE_BUTTON=yes'
11137 wx_cv_use_button='wxUSE_BUTTON=no'
11143 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11144 if test "x$LINE" != x ; then
11145 eval "DEFAULT_$LINE"
11151 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11156 eval "$wx_cv_use_button"
11157 if test "x$cache" = xyes; then
11158 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11161 if test x"$enablestring" = xdisable; then
11162 if test $wxUSE_BUTTON = yes; then
11168 result=$wxUSE_BUTTON
11171 { echo "$as_me:$LINENO: result: $result" >&5
11172 echo "${ECHO_T}$result" >&6; }
11176 defaultval=$wxUSE_ALL_FEATURES
11177 if test -z "$defaultval"; then
11178 if test x"$enablestring" = xdisable; then
11185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11186 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11187 # Check whether --enable-bmpbutton was given.
11188 if test "${enable_bmpbutton+set}" = set; then
11189 enableval=$enable_bmpbutton;
11190 if test "$enableval" = yes; then
11191 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11193 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11199 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11200 if test "x$LINE" != x ; then
11201 eval "DEFAULT_$LINE"
11207 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11212 eval "$wx_cv_use_bmpbutton"
11213 if test "x$cache" = xyes; then
11214 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11217 if test x"$enablestring" = xdisable; then
11218 if test $wxUSE_BMPBUTTON = yes; then
11224 result=$wxUSE_BMPBUTTON
11227 { echo "$as_me:$LINENO: result: $result" >&5
11228 echo "${ECHO_T}$result" >&6; }
11232 defaultval=$wxUSE_ALL_FEATURES
11233 if test -z "$defaultval"; then
11234 if test x"$enablestring" = xdisable; then
11241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11242 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11243 # Check whether --enable-bmpcombobox was given.
11244 if test "${enable_bmpcombobox+set}" = set; then
11245 enableval=$enable_bmpcombobox;
11246 if test "$enableval" = yes; then
11247 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11249 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11255 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11256 if test "x$LINE" != x ; then
11257 eval "DEFAULT_$LINE"
11263 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11268 eval "$wx_cv_use_bmpcombobox"
11269 if test "x$cache" = xyes; then
11270 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11273 if test x"$enablestring" = xdisable; then
11274 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11280 result=$wxUSE_BITMAPCOMBOBOX
11283 { echo "$as_me:$LINENO: result: $result" >&5
11284 echo "${ECHO_T}$result" >&6; }
11288 defaultval=$wxUSE_ALL_FEATURES
11289 if test -z "$defaultval"; then
11290 if test x"$enablestring" = xdisable; then
11297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11298 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11299 # Check whether --enable-calendar was given.
11300 if test "${enable_calendar+set}" = set; then
11301 enableval=$enable_calendar;
11302 if test "$enableval" = yes; then
11303 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11305 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11311 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11312 if test "x$LINE" != x ; then
11313 eval "DEFAULT_$LINE"
11319 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11324 eval "$wx_cv_use_calendar"
11325 if test "x$cache" = xyes; then
11326 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11329 if test x"$enablestring" = xdisable; then
11330 if test $wxUSE_CALCTRL = yes; then
11336 result=$wxUSE_CALCTRL
11339 { echo "$as_me:$LINENO: result: $result" >&5
11340 echo "${ECHO_T}$result" >&6; }
11344 defaultval=$wxUSE_ALL_FEATURES
11345 if test -z "$defaultval"; then
11346 if test x"$enablestring" = xdisable; then
11353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11354 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11355 # Check whether --enable-caret was given.
11356 if test "${enable_caret+set}" = set; then
11357 enableval=$enable_caret;
11358 if test "$enableval" = yes; then
11359 wx_cv_use_caret='wxUSE_CARET=yes'
11361 wx_cv_use_caret='wxUSE_CARET=no'
11367 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11368 if test "x$LINE" != x ; then
11369 eval "DEFAULT_$LINE"
11375 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11380 eval "$wx_cv_use_caret"
11381 if test "x$cache" = xyes; then
11382 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11385 if test x"$enablestring" = xdisable; then
11386 if test $wxUSE_CARET = yes; then
11392 result=$wxUSE_CARET
11395 { echo "$as_me:$LINENO: result: $result" >&5
11396 echo "${ECHO_T}$result" >&6; }
11400 defaultval=$wxUSE_ALL_FEATURES
11401 if test -z "$defaultval"; then
11402 if test x"$enablestring" = xdisable; then
11409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11410 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11411 # Check whether --enable-checkbox was given.
11412 if test "${enable_checkbox+set}" = set; then
11413 enableval=$enable_checkbox;
11414 if test "$enableval" = yes; then
11415 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11417 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11423 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11424 if test "x$LINE" != x ; then
11425 eval "DEFAULT_$LINE"
11431 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11436 eval "$wx_cv_use_checkbox"
11437 if test "x$cache" = xyes; then
11438 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11441 if test x"$enablestring" = xdisable; then
11442 if test $wxUSE_CHECKBOX = yes; then
11448 result=$wxUSE_CHECKBOX
11451 { echo "$as_me:$LINENO: result: $result" >&5
11452 echo "${ECHO_T}$result" >&6; }
11456 defaultval=$wxUSE_ALL_FEATURES
11457 if test -z "$defaultval"; then
11458 if test x"$enablestring" = xdisable; then
11465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11466 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11467 # Check whether --enable-checklst was given.
11468 if test "${enable_checklst+set}" = set; then
11469 enableval=$enable_checklst;
11470 if test "$enableval" = yes; then
11471 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11473 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11479 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11480 if test "x$LINE" != x ; then
11481 eval "DEFAULT_$LINE"
11487 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11492 eval "$wx_cv_use_checklst"
11493 if test "x$cache" = xyes; then
11494 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11497 if test x"$enablestring" = xdisable; then
11498 if test $wxUSE_CHECKLST = yes; then
11504 result=$wxUSE_CHECKLST
11507 { echo "$as_me:$LINENO: result: $result" >&5
11508 echo "${ECHO_T}$result" >&6; }
11512 defaultval=$wxUSE_ALL_FEATURES
11513 if test -z "$defaultval"; then
11514 if test x"$enablestring" = xdisable; then
11521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11522 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11523 # Check whether --enable-choice was given.
11524 if test "${enable_choice+set}" = set; then
11525 enableval=$enable_choice;
11526 if test "$enableval" = yes; then
11527 wx_cv_use_choice='wxUSE_CHOICE=yes'
11529 wx_cv_use_choice='wxUSE_CHOICE=no'
11535 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11536 if test "x$LINE" != x ; then
11537 eval "DEFAULT_$LINE"
11543 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11548 eval "$wx_cv_use_choice"
11549 if test "x$cache" = xyes; then
11550 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11553 if test x"$enablestring" = xdisable; then
11554 if test $wxUSE_CHOICE = yes; then
11560 result=$wxUSE_CHOICE
11563 { echo "$as_me:$LINENO: result: $result" >&5
11564 echo "${ECHO_T}$result" >&6; }
11568 defaultval=$wxUSE_ALL_FEATURES
11569 if test -z "$defaultval"; then
11570 if test x"$enablestring" = xdisable; then
11577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11578 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11579 # Check whether --enable-choicebook was given.
11580 if test "${enable_choicebook+set}" = set; then
11581 enableval=$enable_choicebook;
11582 if test "$enableval" = yes; then
11583 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11585 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11591 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11592 if test "x$LINE" != x ; then
11593 eval "DEFAULT_$LINE"
11599 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11604 eval "$wx_cv_use_choicebook"
11605 if test "x$cache" = xyes; then
11606 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11609 if test x"$enablestring" = xdisable; then
11610 if test $wxUSE_CHOICEBOOK = yes; then
11616 result=$wxUSE_CHOICEBOOK
11619 { echo "$as_me:$LINENO: result: $result" >&5
11620 echo "${ECHO_T}$result" >&6; }
11624 defaultval=$wxUSE_ALL_FEATURES
11625 if test -z "$defaultval"; then
11626 if test x"$enablestring" = xdisable; then
11633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11634 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11635 # Check whether --enable-collpane was given.
11636 if test "${enable_collpane+set}" = set; then
11637 enableval=$enable_collpane;
11638 if test "$enableval" = yes; then
11639 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11641 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11647 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11648 if test "x$LINE" != x ; then
11649 eval "DEFAULT_$LINE"
11655 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11660 eval "$wx_cv_use_collpane"
11661 if test "x$cache" = xyes; then
11662 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11665 if test x"$enablestring" = xdisable; then
11666 if test $wxUSE_COLLPANE = yes; then
11672 result=$wxUSE_COLLPANE
11675 { echo "$as_me:$LINENO: result: $result" >&5
11676 echo "${ECHO_T}$result" >&6; }
11680 defaultval=$wxUSE_ALL_FEATURES
11681 if test -z "$defaultval"; then
11682 if test x"$enablestring" = xdisable; then
11689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11690 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11691 # Check whether --enable-colourpicker was given.
11692 if test "${enable_colourpicker+set}" = set; then
11693 enableval=$enable_colourpicker;
11694 if test "$enableval" = yes; then
11695 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11697 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11703 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11704 if test "x$LINE" != x ; then
11705 eval "DEFAULT_$LINE"
11711 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11716 eval "$wx_cv_use_colourpicker"
11717 if test "x$cache" = xyes; then
11718 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11721 if test x"$enablestring" = xdisable; then
11722 if test $wxUSE_COLOURPICKERCTRL = yes; then
11728 result=$wxUSE_COLOURPICKERCTRL
11731 { echo "$as_me:$LINENO: result: $result" >&5
11732 echo "${ECHO_T}$result" >&6; }
11736 defaultval=$wxUSE_ALL_FEATURES
11737 if test -z "$defaultval"; then
11738 if test x"$enablestring" = xdisable; then
11745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11746 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11747 # Check whether --enable-combobox was given.
11748 if test "${enable_combobox+set}" = set; then
11749 enableval=$enable_combobox;
11750 if test "$enableval" = yes; then
11751 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11753 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11759 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11760 if test "x$LINE" != x ; then
11761 eval "DEFAULT_$LINE"
11767 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11772 eval "$wx_cv_use_combobox"
11773 if test "x$cache" = xyes; then
11774 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11777 if test x"$enablestring" = xdisable; then
11778 if test $wxUSE_COMBOBOX = yes; then
11784 result=$wxUSE_COMBOBOX
11787 { echo "$as_me:$LINENO: result: $result" >&5
11788 echo "${ECHO_T}$result" >&6; }
11792 defaultval=$wxUSE_ALL_FEATURES
11793 if test -z "$defaultval"; then
11794 if test x"$enablestring" = xdisable; then
11801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11802 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11803 # Check whether --enable-comboctrl was given.
11804 if test "${enable_comboctrl+set}" = set; then
11805 enableval=$enable_comboctrl;
11806 if test "$enableval" = yes; then
11807 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11809 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11815 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11816 if test "x$LINE" != x ; then
11817 eval "DEFAULT_$LINE"
11823 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11828 eval "$wx_cv_use_comboctrl"
11829 if test "x$cache" = xyes; then
11830 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11833 if test x"$enablestring" = xdisable; then
11834 if test $wxUSE_COMBOCTRL = yes; then
11840 result=$wxUSE_COMBOCTRL
11843 { echo "$as_me:$LINENO: result: $result" >&5
11844 echo "${ECHO_T}$result" >&6; }
11848 defaultval=$wxUSE_ALL_FEATURES
11849 if test -z "$defaultval"; then
11850 if test x"$enablestring" = xdisable; then
11857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11858 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11859 # Check whether --enable-datepick was given.
11860 if test "${enable_datepick+set}" = set; then
11861 enableval=$enable_datepick;
11862 if test "$enableval" = yes; then
11863 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11865 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11871 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11872 if test "x$LINE" != x ; then
11873 eval "DEFAULT_$LINE"
11879 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11884 eval "$wx_cv_use_datepick"
11885 if test "x$cache" = xyes; then
11886 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11889 if test x"$enablestring" = xdisable; then
11890 if test $wxUSE_DATEPICKCTRL = yes; then
11896 result=$wxUSE_DATEPICKCTRL
11899 { echo "$as_me:$LINENO: result: $result" >&5
11900 echo "${ECHO_T}$result" >&6; }
11904 defaultval=$wxUSE_ALL_FEATURES
11905 if test -z "$defaultval"; then
11906 if test x"$enablestring" = xdisable; then
11913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11915 # Check whether --enable-dirpicker was given.
11916 if test "${enable_dirpicker+set}" = set; then
11917 enableval=$enable_dirpicker;
11918 if test "$enableval" = yes; then
11919 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11921 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11927 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11928 if test "x$LINE" != x ; then
11929 eval "DEFAULT_$LINE"
11935 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11940 eval "$wx_cv_use_dirpicker"
11941 if test "x$cache" = xyes; then
11942 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11945 if test x"$enablestring" = xdisable; then
11946 if test $wxUSE_DIRPICKERCTRL = yes; then
11952 result=$wxUSE_DIRPICKERCTRL
11955 { echo "$as_me:$LINENO: result: $result" >&5
11956 echo "${ECHO_T}$result" >&6; }
11960 defaultval=$wxUSE_ALL_FEATURES
11961 if test -z "$defaultval"; then
11962 if test x"$enablestring" = xdisable; then
11969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11970 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11971 # Check whether --enable-display was given.
11972 if test "${enable_display+set}" = set; then
11973 enableval=$enable_display;
11974 if test "$enableval" = yes; then
11975 wx_cv_use_display='wxUSE_DISPLAY=yes'
11977 wx_cv_use_display='wxUSE_DISPLAY=no'
11983 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11984 if test "x$LINE" != x ; then
11985 eval "DEFAULT_$LINE"
11991 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11996 eval "$wx_cv_use_display"
11997 if test "x$cache" = xyes; then
11998 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
12001 if test x"$enablestring" = xdisable; then
12002 if test $wxUSE_DISPLAY = yes; then
12008 result=$wxUSE_DISPLAY
12011 { echo "$as_me:$LINENO: result: $result" >&5
12012 echo "${ECHO_T}$result" >&6; }
12016 defaultval=$wxUSE_ALL_FEATURES
12017 if test -z "$defaultval"; then
12018 if test x"$enablestring" = xdisable; then
12025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
12026 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
12027 # Check whether --enable-detect_sm was given.
12028 if test "${enable_detect_sm+set}" = set; then
12029 enableval=$enable_detect_sm;
12030 if test "$enableval" = yes; then
12031 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12033 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12039 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
12040 if test "x$LINE" != x ; then
12041 eval "DEFAULT_$LINE"
12047 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12052 eval "$wx_cv_use_detect_sm"
12053 if test "x$cache" = xyes; then
12054 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
12057 if test x"$enablestring" = xdisable; then
12058 if test $wxUSE_DETECT_SM = yes; then
12064 result=$wxUSE_DETECT_SM
12067 { echo "$as_me:$LINENO: result: $result" >&5
12068 echo "${ECHO_T}$result" >&6; }
12072 defaultval=$wxUSE_ALL_FEATURES
12073 if test -z "$defaultval"; then
12074 if test x"$enablestring" = xdisable; then
12081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12082 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12083 # Check whether --enable-editablebox was given.
12084 if test "${enable_editablebox+set}" = set; then
12085 enableval=$enable_editablebox;
12086 if test "$enableval" = yes; then
12087 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12089 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12095 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12096 if test "x$LINE" != x ; then
12097 eval "DEFAULT_$LINE"
12103 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12108 eval "$wx_cv_use_editablebox"
12109 if test "x$cache" = xyes; then
12110 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12113 if test x"$enablestring" = xdisable; then
12114 if test $wxUSE_EDITABLELISTBOX = yes; then
12120 result=$wxUSE_EDITABLELISTBOX
12123 { echo "$as_me:$LINENO: result: $result" >&5
12124 echo "${ECHO_T}$result" >&6; }
12128 defaultval=$wxUSE_ALL_FEATURES
12129 if test -z "$defaultval"; then
12130 if test x"$enablestring" = xdisable; then
12137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12138 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12139 # Check whether --enable-filepicker was given.
12140 if test "${enable_filepicker+set}" = set; then
12141 enableval=$enable_filepicker;
12142 if test "$enableval" = yes; then
12143 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12145 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12151 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12152 if test "x$LINE" != x ; then
12153 eval "DEFAULT_$LINE"
12159 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12164 eval "$wx_cv_use_filepicker"
12165 if test "x$cache" = xyes; then
12166 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12169 if test x"$enablestring" = xdisable; then
12170 if test $wxUSE_FILEPICKERCTRL = yes; then
12176 result=$wxUSE_FILEPICKERCTRL
12179 { echo "$as_me:$LINENO: result: $result" >&5
12180 echo "${ECHO_T}$result" >&6; }
12184 defaultval=$wxUSE_ALL_FEATURES
12185 if test -z "$defaultval"; then
12186 if test x"$enablestring" = xdisable; then
12193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12194 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12195 # Check whether --enable-filectrl was given.
12196 if test "${enable_filectrl+set}" = set; then
12197 enableval=$enable_filectrl;
12198 if test "$enableval" = yes; then
12199 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12201 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12207 LINE=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12208 if test "x$LINE" != x ; then
12209 eval "DEFAULT_$LINE"
12215 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12220 eval "$wx_cv_use_filectrl"
12221 if test "x$cache" = xyes; then
12222 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12225 if test x"$enablestring" = xdisable; then
12226 if test $wxUSE_FILECTRL = yes; then
12232 result=$wxUSE_FILECTRL
12235 { echo "$as_me:$LINENO: result: $result" >&5
12236 echo "${ECHO_T}$result" >&6; }
12240 defaultval=$wxUSE_ALL_FEATURES
12241 if test -z "$defaultval"; then
12242 if test x"$enablestring" = xdisable; then
12249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12250 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12251 # Check whether --enable-fontpicker was given.
12252 if test "${enable_fontpicker+set}" = set; then
12253 enableval=$enable_fontpicker;
12254 if test "$enableval" = yes; then
12255 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12257 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12263 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12264 if test "x$LINE" != x ; then
12265 eval "DEFAULT_$LINE"
12271 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12276 eval "$wx_cv_use_fontpicker"
12277 if test "x$cache" = xyes; then
12278 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12281 if test x"$enablestring" = xdisable; then
12282 if test $wxUSE_FONTPICKERCTRL = yes; then
12288 result=$wxUSE_FONTPICKERCTRL
12291 { echo "$as_me:$LINENO: result: $result" >&5
12292 echo "${ECHO_T}$result" >&6; }
12296 defaultval=$wxUSE_ALL_FEATURES
12297 if test -z "$defaultval"; then
12298 if test x"$enablestring" = xdisable; then
12305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12307 # Check whether --enable-gauge was given.
12308 if test "${enable_gauge+set}" = set; then
12309 enableval=$enable_gauge;
12310 if test "$enableval" = yes; then
12311 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12313 wx_cv_use_gauge='wxUSE_GAUGE=no'
12319 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12320 if test "x$LINE" != x ; then
12321 eval "DEFAULT_$LINE"
12327 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12332 eval "$wx_cv_use_gauge"
12333 if test "x$cache" = xyes; then
12334 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12337 if test x"$enablestring" = xdisable; then
12338 if test $wxUSE_GAUGE = yes; then
12344 result=$wxUSE_GAUGE
12347 { echo "$as_me:$LINENO: result: $result" >&5
12348 echo "${ECHO_T}$result" >&6; }
12352 defaultval=$wxUSE_ALL_FEATURES
12353 if test -z "$defaultval"; then
12354 if test x"$enablestring" = xdisable; then
12361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12362 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12363 # Check whether --enable-grid was given.
12364 if test "${enable_grid+set}" = set; then
12365 enableval=$enable_grid;
12366 if test "$enableval" = yes; then
12367 wx_cv_use_grid='wxUSE_GRID=yes'
12369 wx_cv_use_grid='wxUSE_GRID=no'
12375 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12376 if test "x$LINE" != x ; then
12377 eval "DEFAULT_$LINE"
12383 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12388 eval "$wx_cv_use_grid"
12389 if test "x$cache" = xyes; then
12390 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12393 if test x"$enablestring" = xdisable; then
12394 if test $wxUSE_GRID = yes; then
12403 { echo "$as_me:$LINENO: result: $result" >&5
12404 echo "${ECHO_T}$result" >&6; }
12408 defaultval=$wxUSE_ALL_FEATURES
12409 if test -z "$defaultval"; then
12410 if test x"$enablestring" = xdisable; then
12417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12418 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12419 # Check whether --enable-dataviewctrl was given.
12420 if test "${enable_dataviewctrl+set}" = set; then
12421 enableval=$enable_dataviewctrl;
12422 if test "$enableval" = yes; then
12423 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12425 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12431 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12432 if test "x$LINE" != x ; then
12433 eval "DEFAULT_$LINE"
12439 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12444 eval "$wx_cv_use_dataviewctrl"
12445 if test "x$cache" = xyes; then
12446 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12449 if test x"$enablestring" = xdisable; then
12450 if test $wxUSE_DATAVIEWCTRL = yes; then
12456 result=$wxUSE_DATAVIEWCTRL
12459 { echo "$as_me:$LINENO: result: $result" >&5
12460 echo "${ECHO_T}$result" >&6; }
12464 defaultval=$wxUSE_ALL_FEATURES
12465 if test -z "$defaultval"; then
12466 if test x"$enablestring" = xdisable; then
12473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12474 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12475 # Check whether --enable-hyperlink was given.
12476 if test "${enable_hyperlink+set}" = set; then
12477 enableval=$enable_hyperlink;
12478 if test "$enableval" = yes; then
12479 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12481 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12487 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12488 if test "x$LINE" != x ; then
12489 eval "DEFAULT_$LINE"
12495 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12500 eval "$wx_cv_use_hyperlink"
12501 if test "x$cache" = xyes; then
12502 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12505 if test x"$enablestring" = xdisable; then
12506 if test $wxUSE_HYPERLINKCTRL = yes; then
12512 result=$wxUSE_HYPERLINKCTRL
12515 { echo "$as_me:$LINENO: result: $result" >&5
12516 echo "${ECHO_T}$result" >&6; }
12520 defaultval=$wxUSE_ALL_FEATURES
12521 if test -z "$defaultval"; then
12522 if test x"$enablestring" = xdisable; then
12529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12530 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12531 # Check whether --enable-imaglist was given.
12532 if test "${enable_imaglist+set}" = set; then
12533 enableval=$enable_imaglist;
12534 if test "$enableval" = yes; then
12535 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12537 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12543 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12544 if test "x$LINE" != x ; then
12545 eval "DEFAULT_$LINE"
12551 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12556 eval "$wx_cv_use_imaglist"
12557 if test "x$cache" = xyes; then
12558 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12561 if test x"$enablestring" = xdisable; then
12562 if test $wxUSE_IMAGLIST = yes; then
12568 result=$wxUSE_IMAGLIST
12571 { echo "$as_me:$LINENO: result: $result" >&5
12572 echo "${ECHO_T}$result" >&6; }
12576 defaultval=$wxUSE_ALL_FEATURES
12577 if test -z "$defaultval"; then
12578 if test x"$enablestring" = xdisable; then
12585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12586 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12587 # Check whether --enable-listbook was given.
12588 if test "${enable_listbook+set}" = set; then
12589 enableval=$enable_listbook;
12590 if test "$enableval" = yes; then
12591 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12593 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12599 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12600 if test "x$LINE" != x ; then
12601 eval "DEFAULT_$LINE"
12607 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12612 eval "$wx_cv_use_listbook"
12613 if test "x$cache" = xyes; then
12614 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12617 if test x"$enablestring" = xdisable; then
12618 if test $wxUSE_LISTBOOK = yes; then
12624 result=$wxUSE_LISTBOOK
12627 { echo "$as_me:$LINENO: result: $result" >&5
12628 echo "${ECHO_T}$result" >&6; }
12632 defaultval=$wxUSE_ALL_FEATURES
12633 if test -z "$defaultval"; then
12634 if test x"$enablestring" = xdisable; then
12641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12642 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12643 # Check whether --enable-listbox was given.
12644 if test "${enable_listbox+set}" = set; then
12645 enableval=$enable_listbox;
12646 if test "$enableval" = yes; then
12647 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12649 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12655 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12656 if test "x$LINE" != x ; then
12657 eval "DEFAULT_$LINE"
12663 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12668 eval "$wx_cv_use_listbox"
12669 if test "x$cache" = xyes; then
12670 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12673 if test x"$enablestring" = xdisable; then
12674 if test $wxUSE_LISTBOX = yes; then
12680 result=$wxUSE_LISTBOX
12683 { echo "$as_me:$LINENO: result: $result" >&5
12684 echo "${ECHO_T}$result" >&6; }
12688 defaultval=$wxUSE_ALL_FEATURES
12689 if test -z "$defaultval"; then
12690 if test x"$enablestring" = xdisable; then
12697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12698 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12699 # Check whether --enable-listctrl was given.
12700 if test "${enable_listctrl+set}" = set; then
12701 enableval=$enable_listctrl;
12702 if test "$enableval" = yes; then
12703 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12705 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12711 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12712 if test "x$LINE" != x ; then
12713 eval "DEFAULT_$LINE"
12719 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12724 eval "$wx_cv_use_listctrl"
12725 if test "x$cache" = xyes; then
12726 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_LISTCTRL = yes; then
12736 result=$wxUSE_LISTCTRL
12739 { echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12755 # Check whether --enable-notebook was given.
12756 if test "${enable_notebook+set}" = set; then
12757 enableval=$enable_notebook;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12761 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12767 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12768 if test "x$LINE" != x ; then
12769 eval "DEFAULT_$LINE"
12775 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12780 eval "$wx_cv_use_notebook"
12781 if test "x$cache" = xyes; then
12782 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12785 if test x"$enablestring" = xdisable; then
12786 if test $wxUSE_NOTEBOOK = yes; then
12792 result=$wxUSE_NOTEBOOK
12795 { echo "$as_me:$LINENO: result: $result" >&5
12796 echo "${ECHO_T}$result" >&6; }
12800 defaultval=$wxUSE_ALL_FEATURES
12801 if test -z "$defaultval"; then
12802 if test x"$enablestring" = xdisable; then
12809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12810 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12811 # Check whether --enable-odcombobox was given.
12812 if test "${enable_odcombobox+set}" = set; then
12813 enableval=$enable_odcombobox;
12814 if test "$enableval" = yes; then
12815 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12817 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12823 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12824 if test "x$LINE" != x ; then
12825 eval "DEFAULT_$LINE"
12831 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12836 eval "$wx_cv_use_odcombobox"
12837 if test "x$cache" = xyes; then
12838 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12841 if test x"$enablestring" = xdisable; then
12842 if test $wxUSE_ODCOMBOBOX = yes; then
12848 result=$wxUSE_ODCOMBOBOX
12851 { echo "$as_me:$LINENO: result: $result" >&5
12852 echo "${ECHO_T}$result" >&6; }
12856 defaultval=$wxUSE_ALL_FEATURES
12857 if test -z "$defaultval"; then
12858 if test x"$enablestring" = xdisable; then
12865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12866 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12867 # Check whether --enable-radiobox was given.
12868 if test "${enable_radiobox+set}" = set; then
12869 enableval=$enable_radiobox;
12870 if test "$enableval" = yes; then
12871 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12873 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12879 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12880 if test "x$LINE" != x ; then
12881 eval "DEFAULT_$LINE"
12887 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12892 eval "$wx_cv_use_radiobox"
12893 if test "x$cache" = xyes; then
12894 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12897 if test x"$enablestring" = xdisable; then
12898 if test $wxUSE_RADIOBOX = yes; then
12904 result=$wxUSE_RADIOBOX
12907 { echo "$as_me:$LINENO: result: $result" >&5
12908 echo "${ECHO_T}$result" >&6; }
12912 defaultval=$wxUSE_ALL_FEATURES
12913 if test -z "$defaultval"; then
12914 if test x"$enablestring" = xdisable; then
12921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12922 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12923 # Check whether --enable-radiobtn was given.
12924 if test "${enable_radiobtn+set}" = set; then
12925 enableval=$enable_radiobtn;
12926 if test "$enableval" = yes; then
12927 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12929 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12935 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12936 if test "x$LINE" != x ; then
12937 eval "DEFAULT_$LINE"
12943 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12948 eval "$wx_cv_use_radiobtn"
12949 if test "x$cache" = xyes; then
12950 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12953 if test x"$enablestring" = xdisable; then
12954 if test $wxUSE_RADIOBTN = yes; then
12960 result=$wxUSE_RADIOBTN
12963 { echo "$as_me:$LINENO: result: $result" >&5
12964 echo "${ECHO_T}$result" >&6; }
12968 defaultval=$wxUSE_ALL_FEATURES
12969 if test -z "$defaultval"; then
12970 if test x"$enablestring" = xdisable; then
12977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12978 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12979 # Check whether --enable-sash was given.
12980 if test "${enable_sash+set}" = set; then
12981 enableval=$enable_sash;
12982 if test "$enableval" = yes; then
12983 wx_cv_use_sash='wxUSE_SASH=yes'
12985 wx_cv_use_sash='wxUSE_SASH=no'
12991 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12992 if test "x$LINE" != x ; then
12993 eval "DEFAULT_$LINE"
12999 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13004 eval "$wx_cv_use_sash"
13005 if test "x$cache" = xyes; then
13006 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
13009 if test x"$enablestring" = xdisable; then
13010 if test $wxUSE_SASH = yes; then
13019 { echo "$as_me:$LINENO: result: $result" >&5
13020 echo "${ECHO_T}$result" >&6; }
13024 defaultval=$wxUSE_ALL_FEATURES
13025 if test -z "$defaultval"; then
13026 if test x"$enablestring" = xdisable; then
13033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
13034 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
13035 # Check whether --enable-scrollbar was given.
13036 if test "${enable_scrollbar+set}" = set; then
13037 enableval=$enable_scrollbar;
13038 if test "$enableval" = yes; then
13039 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13041 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13047 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
13048 if test "x$LINE" != x ; then
13049 eval "DEFAULT_$LINE"
13055 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13060 eval "$wx_cv_use_scrollbar"
13061 if test "x$cache" = xyes; then
13062 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
13065 if test x"$enablestring" = xdisable; then
13066 if test $wxUSE_SCROLLBAR = yes; then
13072 result=$wxUSE_SCROLLBAR
13075 { echo "$as_me:$LINENO: result: $result" >&5
13076 echo "${ECHO_T}$result" >&6; }
13080 defaultval=$wxUSE_ALL_FEATURES
13081 if test -z "$defaultval"; then
13082 if test x"$enablestring" = xdisable; then
13089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13090 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13091 # Check whether --enable-searchctrl was given.
13092 if test "${enable_searchctrl+set}" = set; then
13093 enableval=$enable_searchctrl;
13094 if test "$enableval" = yes; then
13095 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13097 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13103 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13104 if test "x$LINE" != x ; then
13105 eval "DEFAULT_$LINE"
13111 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13116 eval "$wx_cv_use_searchctrl"
13117 if test "x$cache" = xyes; then
13118 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13121 if test x"$enablestring" = xdisable; then
13122 if test $wxUSE_SEARCHCTRL = yes; then
13128 result=$wxUSE_SEARCHCTRL
13131 { echo "$as_me:$LINENO: result: $result" >&5
13132 echo "${ECHO_T}$result" >&6; }
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13146 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13147 # Check whether --enable-slider was given.
13148 if test "${enable_slider+set}" = set; then
13149 enableval=$enable_slider;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_slider='wxUSE_SLIDER=yes'
13153 wx_cv_use_slider='wxUSE_SLIDER=no'
13159 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13160 if test "x$LINE" != x ; then
13161 eval "DEFAULT_$LINE"
13167 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13172 eval "$wx_cv_use_slider"
13173 if test "x$cache" = xyes; then
13174 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13177 if test x"$enablestring" = xdisable; then
13178 if test $wxUSE_SLIDER = yes; then
13184 result=$wxUSE_SLIDER
13187 { echo "$as_me:$LINENO: result: $result" >&5
13188 echo "${ECHO_T}$result" >&6; }
13192 defaultval=$wxUSE_ALL_FEATURES
13193 if test -z "$defaultval"; then
13194 if test x"$enablestring" = xdisable; then
13201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13202 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13203 # Check whether --enable-spinbtn was given.
13204 if test "${enable_spinbtn+set}" = set; then
13205 enableval=$enable_spinbtn;
13206 if test "$enableval" = yes; then
13207 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13209 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13215 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13216 if test "x$LINE" != x ; then
13217 eval "DEFAULT_$LINE"
13223 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13228 eval "$wx_cv_use_spinbtn"
13229 if test "x$cache" = xyes; then
13230 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13233 if test x"$enablestring" = xdisable; then
13234 if test $wxUSE_SPINBTN = yes; then
13240 result=$wxUSE_SPINBTN
13243 { echo "$as_me:$LINENO: result: $result" >&5
13244 echo "${ECHO_T}$result" >&6; }
13248 defaultval=$wxUSE_ALL_FEATURES
13249 if test -z "$defaultval"; then
13250 if test x"$enablestring" = xdisable; then
13257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13258 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13259 # Check whether --enable-spinctrl was given.
13260 if test "${enable_spinctrl+set}" = set; then
13261 enableval=$enable_spinctrl;
13262 if test "$enableval" = yes; then
13263 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13265 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13271 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13272 if test "x$LINE" != x ; then
13273 eval "DEFAULT_$LINE"
13279 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13284 eval "$wx_cv_use_spinctrl"
13285 if test "x$cache" = xyes; then
13286 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13289 if test x"$enablestring" = xdisable; then
13290 if test $wxUSE_SPINCTRL = yes; then
13296 result=$wxUSE_SPINCTRL
13299 { echo "$as_me:$LINENO: result: $result" >&5
13300 echo "${ECHO_T}$result" >&6; }
13304 defaultval=$wxUSE_ALL_FEATURES
13305 if test -z "$defaultval"; then
13306 if test x"$enablestring" = xdisable; then
13313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13314 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13315 # Check whether --enable-splitter was given.
13316 if test "${enable_splitter+set}" = set; then
13317 enableval=$enable_splitter;
13318 if test "$enableval" = yes; then
13319 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13321 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13327 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13328 if test "x$LINE" != x ; then
13329 eval "DEFAULT_$LINE"
13335 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13340 eval "$wx_cv_use_splitter"
13341 if test "x$cache" = xyes; then
13342 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13345 if test x"$enablestring" = xdisable; then
13346 if test $wxUSE_SPLITTER = yes; then
13352 result=$wxUSE_SPLITTER
13355 { echo "$as_me:$LINENO: result: $result" >&5
13356 echo "${ECHO_T}$result" >&6; }
13360 defaultval=$wxUSE_ALL_FEATURES
13361 if test -z "$defaultval"; then
13362 if test x"$enablestring" = xdisable; then
13369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13370 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13371 # Check whether --enable-statbmp was given.
13372 if test "${enable_statbmp+set}" = set; then
13373 enableval=$enable_statbmp;
13374 if test "$enableval" = yes; then
13375 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13377 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13383 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13384 if test "x$LINE" != x ; then
13385 eval "DEFAULT_$LINE"
13391 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13396 eval "$wx_cv_use_statbmp"
13397 if test "x$cache" = xyes; then
13398 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13401 if test x"$enablestring" = xdisable; then
13402 if test $wxUSE_STATBMP = yes; then
13408 result=$wxUSE_STATBMP
13411 { echo "$as_me:$LINENO: result: $result" >&5
13412 echo "${ECHO_T}$result" >&6; }
13416 defaultval=$wxUSE_ALL_FEATURES
13417 if test -z "$defaultval"; then
13418 if test x"$enablestring" = xdisable; then
13425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13426 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13427 # Check whether --enable-statbox was given.
13428 if test "${enable_statbox+set}" = set; then
13429 enableval=$enable_statbox;
13430 if test "$enableval" = yes; then
13431 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13433 wx_cv_use_statbox='wxUSE_STATBOX=no'
13439 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13440 if test "x$LINE" != x ; then
13441 eval "DEFAULT_$LINE"
13447 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13452 eval "$wx_cv_use_statbox"
13453 if test "x$cache" = xyes; then
13454 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13457 if test x"$enablestring" = xdisable; then
13458 if test $wxUSE_STATBOX = yes; then
13464 result=$wxUSE_STATBOX
13467 { echo "$as_me:$LINENO: result: $result" >&5
13468 echo "${ECHO_T}$result" >&6; }
13472 defaultval=$wxUSE_ALL_FEATURES
13473 if test -z "$defaultval"; then
13474 if test x"$enablestring" = xdisable; then
13481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13482 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13483 # Check whether --enable-statline was given.
13484 if test "${enable_statline+set}" = set; then
13485 enableval=$enable_statline;
13486 if test "$enableval" = yes; then
13487 wx_cv_use_statline='wxUSE_STATLINE=yes'
13489 wx_cv_use_statline='wxUSE_STATLINE=no'
13495 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13496 if test "x$LINE" != x ; then
13497 eval "DEFAULT_$LINE"
13503 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13508 eval "$wx_cv_use_statline"
13509 if test "x$cache" = xyes; then
13510 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13513 if test x"$enablestring" = xdisable; then
13514 if test $wxUSE_STATLINE = yes; then
13520 result=$wxUSE_STATLINE
13523 { echo "$as_me:$LINENO: result: $result" >&5
13524 echo "${ECHO_T}$result" >&6; }
13528 defaultval=$wxUSE_ALL_FEATURES
13529 if test -z "$defaultval"; then
13530 if test x"$enablestring" = xdisable; then
13537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13538 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13539 # Check whether --enable-stattext was given.
13540 if test "${enable_stattext+set}" = set; then
13541 enableval=$enable_stattext;
13542 if test "$enableval" = yes; then
13543 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13545 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13551 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13552 if test "x$LINE" != x ; then
13553 eval "DEFAULT_$LINE"
13559 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13564 eval "$wx_cv_use_stattext"
13565 if test "x$cache" = xyes; then
13566 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_STATTEXT = yes; then
13576 result=$wxUSE_STATTEXT
13579 { echo "$as_me:$LINENO: result: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13595 # Check whether --enable-statusbar was given.
13596 if test "${enable_statusbar+set}" = set; then
13597 enableval=$enable_statusbar;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13601 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13607 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13608 if test "x$LINE" != x ; then
13609 eval "DEFAULT_$LINE"
13615 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13620 eval "$wx_cv_use_statusbar"
13621 if test "x$cache" = xyes; then
13622 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13625 if test x"$enablestring" = xdisable; then
13626 if test $wxUSE_STATUSBAR = yes; then
13632 result=$wxUSE_STATUSBAR
13635 { echo "$as_me:$LINENO: result: $result" >&5
13636 echo "${ECHO_T}$result" >&6; }
13640 defaultval=$wxUSE_ALL_FEATURES
13641 if test -z "$defaultval"; then
13642 if test x"$enablestring" = xdisable; then
13649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13650 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13651 # Check whether --enable-tabdialog was given.
13652 if test "${enable_tabdialog+set}" = set; then
13653 enableval=$enable_tabdialog;
13654 if test "$enableval" = yes; then
13655 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13657 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13663 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13664 if test "x$LINE" != x ; then
13665 eval "DEFAULT_$LINE"
13671 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13676 eval "$wx_cv_use_tabdialog"
13677 if test "x$cache" = xyes; then
13678 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13681 if test x"$enablestring" = xdisable; then
13682 if test $wxUSE_TAB_DIALOG = yes; then
13688 result=$wxUSE_TAB_DIALOG
13691 { echo "$as_me:$LINENO: result: $result" >&5
13692 echo "${ECHO_T}$result" >&6; }
13696 defaultval=$wxUSE_ALL_FEATURES
13697 if test -z "$defaultval"; then
13698 if test x"$enablestring" = xdisable; then
13705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13706 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13707 # Check whether --enable-taskbaricon was given.
13708 if test "${enable_taskbaricon+set}" = set; then
13709 enableval=$enable_taskbaricon;
13710 if test "$enableval" = yes; then
13711 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13713 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13719 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13720 if test "x$LINE" != x ; then
13721 eval "DEFAULT_$LINE"
13727 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13732 eval "$wx_cv_use_taskbaricon"
13733 if test "x$cache" = xyes; then
13734 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13737 if test x"$enablestring" = xdisable; then
13738 if test $wxUSE_TASKBARICON = yes; then
13744 result=$wxUSE_TASKBARICON
13747 { echo "$as_me:$LINENO: result: $result" >&5
13748 echo "${ECHO_T}$result" >&6; }
13752 defaultval=$wxUSE_ALL_FEATURES
13753 if test -z "$defaultval"; then
13754 if test x"$enablestring" = xdisable; then
13761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13762 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13763 # Check whether --enable-textctrl was given.
13764 if test "${enable_textctrl+set}" = set; then
13765 enableval=$enable_textctrl;
13766 if test "$enableval" = yes; then
13767 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13769 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13775 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13776 if test "x$LINE" != x ; then
13777 eval "DEFAULT_$LINE"
13783 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13788 eval "$wx_cv_use_textctrl"
13789 if test "x$cache" = xyes; then
13790 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13793 if test x"$enablestring" = xdisable; then
13794 if test $wxUSE_TEXTCTRL = yes; then
13800 result=$wxUSE_TEXTCTRL
13803 { echo "$as_me:$LINENO: result: $result" >&5
13804 echo "${ECHO_T}$result" >&6; }
13808 defaultval=$wxUSE_ALL_FEATURES
13809 if test -z "$defaultval"; then
13810 if test x"$enablestring" = xdisable; then
13817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13818 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13819 # Check whether --enable-togglebtn was given.
13820 if test "${enable_togglebtn+set}" = set; then
13821 enableval=$enable_togglebtn;
13822 if test "$enableval" = yes; then
13823 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13825 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13831 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13832 if test "x$LINE" != x ; then
13833 eval "DEFAULT_$LINE"
13839 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13844 eval "$wx_cv_use_togglebtn"
13845 if test "x$cache" = xyes; then
13846 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13849 if test x"$enablestring" = xdisable; then
13850 if test $wxUSE_TOGGLEBTN = yes; then
13856 result=$wxUSE_TOGGLEBTN
13859 { echo "$as_me:$LINENO: result: $result" >&5
13860 echo "${ECHO_T}$result" >&6; }
13864 defaultval=$wxUSE_ALL_FEATURES
13865 if test -z "$defaultval"; then
13866 if test x"$enablestring" = xdisable; then
13873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13874 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13875 # Check whether --enable-toolbar was given.
13876 if test "${enable_toolbar+set}" = set; then
13877 enableval=$enable_toolbar;
13878 if test "$enableval" = yes; then
13879 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13881 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13887 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13888 if test "x$LINE" != x ; then
13889 eval "DEFAULT_$LINE"
13895 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13900 eval "$wx_cv_use_toolbar"
13901 if test "x$cache" = xyes; then
13902 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13905 if test x"$enablestring" = xdisable; then
13906 if test $wxUSE_TOOLBAR = yes; then
13912 result=$wxUSE_TOOLBAR
13915 { echo "$as_me:$LINENO: result: $result" >&5
13916 echo "${ECHO_T}$result" >&6; }
13920 defaultval=$wxUSE_ALL_FEATURES
13921 if test -z "$defaultval"; then
13922 if test x"$enablestring" = xdisable; then
13929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13930 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13931 # Check whether --enable-tbarnative was given.
13932 if test "${enable_tbarnative+set}" = set; then
13933 enableval=$enable_tbarnative;
13934 if test "$enableval" = yes; then
13935 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13937 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13943 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13944 if test "x$LINE" != x ; then
13945 eval "DEFAULT_$LINE"
13951 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13956 eval "$wx_cv_use_tbarnative"
13957 if test "x$cache" = xyes; then
13958 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13961 if test x"$enablestring" = xdisable; then
13962 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13968 result=$wxUSE_TOOLBAR_NATIVE
13971 { echo "$as_me:$LINENO: result: $result" >&5
13972 echo "${ECHO_T}$result" >&6; }
13976 defaultval=$wxUSE_ALL_FEATURES
13977 if test -z "$defaultval"; then
13978 if test x"$enablestring" = xdisable; then
13985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13986 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13987 # Check whether --enable-treebook was given.
13988 if test "${enable_treebook+set}" = set; then
13989 enableval=$enable_treebook;
13990 if test "$enableval" = yes; then
13991 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13993 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13999 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
14000 if test "x$LINE" != x ; then
14001 eval "DEFAULT_$LINE"
14007 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14012 eval "$wx_cv_use_treebook"
14013 if test "x$cache" = xyes; then
14014 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
14017 if test x"$enablestring" = xdisable; then
14018 if test $wxUSE_TREEBOOK = yes; then
14024 result=$wxUSE_TREEBOOK
14027 { echo "$as_me:$LINENO: result: $result" >&5
14028 echo "${ECHO_T}$result" >&6; }
14032 defaultval=$wxUSE_ALL_FEATURES
14033 if test -z "$defaultval"; then
14034 if test x"$enablestring" = xdisable; then
14041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
14042 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
14043 # Check whether --enable-toolbook was given.
14044 if test "${enable_toolbook+set}" = set; then
14045 enableval=$enable_toolbook;
14046 if test "$enableval" = yes; then
14047 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14049 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14055 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
14056 if test "x$LINE" != x ; then
14057 eval "DEFAULT_$LINE"
14063 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14068 eval "$wx_cv_use_toolbook"
14069 if test "x$cache" = xyes; then
14070 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
14073 if test x"$enablestring" = xdisable; then
14074 if test $wxUSE_TOOLBOOK = yes; then
14080 result=$wxUSE_TOOLBOOK
14083 { echo "$as_me:$LINENO: result: $result" >&5
14084 echo "${ECHO_T}$result" >&6; }
14088 defaultval=$wxUSE_ALL_FEATURES
14089 if test -z "$defaultval"; then
14090 if test x"$enablestring" = xdisable; then
14097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14098 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14099 # Check whether --enable-treectrl was given.
14100 if test "${enable_treectrl+set}" = set; then
14101 enableval=$enable_treectrl;
14102 if test "$enableval" = yes; then
14103 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14105 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14111 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14112 if test "x$LINE" != x ; then
14113 eval "DEFAULT_$LINE"
14119 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14124 eval "$wx_cv_use_treectrl"
14125 if test "x$cache" = xyes; then
14126 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14129 if test x"$enablestring" = xdisable; then
14130 if test $wxUSE_TREECTRL = yes; then
14136 result=$wxUSE_TREECTRL
14139 { echo "$as_me:$LINENO: result: $result" >&5
14140 echo "${ECHO_T}$result" >&6; }
14144 defaultval=$wxUSE_ALL_FEATURES
14145 if test -z "$defaultval"; then
14146 if test x"$enablestring" = xdisable; then
14153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14154 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14155 # Check whether --enable-tipwindow was given.
14156 if test "${enable_tipwindow+set}" = set; then
14157 enableval=$enable_tipwindow;
14158 if test "$enableval" = yes; then
14159 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14161 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14167 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14168 if test "x$LINE" != x ; then
14169 eval "DEFAULT_$LINE"
14175 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14180 eval "$wx_cv_use_tipwindow"
14181 if test "x$cache" = xyes; then
14182 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14185 if test x"$enablestring" = xdisable; then
14186 if test $wxUSE_TIPWINDOW = yes; then
14192 result=$wxUSE_TIPWINDOW
14195 { echo "$as_me:$LINENO: result: $result" >&5
14196 echo "${ECHO_T}$result" >&6; }
14200 defaultval=$wxUSE_ALL_FEATURES
14201 if test -z "$defaultval"; then
14202 if test x"$enablestring" = xdisable; then
14209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14210 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14211 # Check whether --enable-popupwin was given.
14212 if test "${enable_popupwin+set}" = set; then
14213 enableval=$enable_popupwin;
14214 if test "$enableval" = yes; then
14215 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14217 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14223 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14224 if test "x$LINE" != x ; then
14225 eval "DEFAULT_$LINE"
14231 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14236 eval "$wx_cv_use_popupwin"
14237 if test "x$cache" = xyes; then
14238 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14241 if test x"$enablestring" = xdisable; then
14242 if test $wxUSE_POPUPWIN = yes; then
14248 result=$wxUSE_POPUPWIN
14251 { echo "$as_me:$LINENO: result: $result" >&5
14252 echo "${ECHO_T}$result" >&6; }
14258 defaultval=$wxUSE_ALL_FEATURES
14259 if test -z "$defaultval"; then
14260 if test x"$enablestring" = xdisable; then
14267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14268 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14269 # Check whether --enable-commondlg was given.
14270 if test "${enable_commondlg+set}" = set; then
14271 enableval=$enable_commondlg;
14272 if test "$enableval" = yes; then
14273 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14275 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14281 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14282 if test "x$LINE" != x ; then
14283 eval "DEFAULT_$LINE"
14289 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14294 eval "$wx_cv_use_commondlg"
14295 if test "x$cache" = xyes; then
14296 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14299 if test x"$enablestring" = xdisable; then
14300 if test $wxUSE_COMMONDLGS = yes; then
14306 result=$wxUSE_COMMONDLGS
14309 { echo "$as_me:$LINENO: result: $result" >&5
14310 echo "${ECHO_T}$result" >&6; }
14314 defaultval=$wxUSE_ALL_FEATURES
14315 if test -z "$defaultval"; then
14316 if test x"$enablestring" = xdisable; then
14323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14324 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14325 # Check whether --enable-aboutdlg was given.
14326 if test "${enable_aboutdlg+set}" = set; then
14327 enableval=$enable_aboutdlg;
14328 if test "$enableval" = yes; then
14329 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14331 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14337 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14338 if test "x$LINE" != x ; then
14339 eval "DEFAULT_$LINE"
14345 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14350 eval "$wx_cv_use_aboutdlg"
14351 if test "x$cache" = xyes; then
14352 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14355 if test x"$enablestring" = xdisable; then
14356 if test $wxUSE_ABOUTDLG = yes; then
14362 result=$wxUSE_ABOUTDLG
14365 { echo "$as_me:$LINENO: result: $result" >&5
14366 echo "${ECHO_T}$result" >&6; }
14370 defaultval=$wxUSE_ALL_FEATURES
14371 if test -z "$defaultval"; then
14372 if test x"$enablestring" = xdisable; then
14379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14380 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14381 # Check whether --enable-choicedlg was given.
14382 if test "${enable_choicedlg+set}" = set; then
14383 enableval=$enable_choicedlg;
14384 if test "$enableval" = yes; then
14385 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14387 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14393 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14394 if test "x$LINE" != x ; then
14395 eval "DEFAULT_$LINE"
14401 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14406 eval "$wx_cv_use_choicedlg"
14407 if test "x$cache" = xyes; then
14408 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14411 if test x"$enablestring" = xdisable; then
14412 if test $wxUSE_CHOICEDLG = yes; then
14418 result=$wxUSE_CHOICEDLG
14421 { echo "$as_me:$LINENO: result: $result" >&5
14422 echo "${ECHO_T}$result" >&6; }
14426 defaultval=$wxUSE_ALL_FEATURES
14427 if test -z "$defaultval"; then
14428 if test x"$enablestring" = xdisable; then
14435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14436 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14437 # Check whether --enable-coldlg was given.
14438 if test "${enable_coldlg+set}" = set; then
14439 enableval=$enable_coldlg;
14440 if test "$enableval" = yes; then
14441 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14443 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14449 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14450 if test "x$LINE" != x ; then
14451 eval "DEFAULT_$LINE"
14457 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14462 eval "$wx_cv_use_coldlg"
14463 if test "x$cache" = xyes; then
14464 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14467 if test x"$enablestring" = xdisable; then
14468 if test $wxUSE_COLOURDLG = yes; then
14474 result=$wxUSE_COLOURDLG
14477 { echo "$as_me:$LINENO: result: $result" >&5
14478 echo "${ECHO_T}$result" >&6; }
14482 defaultval=$wxUSE_ALL_FEATURES
14483 if test -z "$defaultval"; then
14484 if test x"$enablestring" = xdisable; then
14491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14492 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14493 # Check whether --enable-filedlg was given.
14494 if test "${enable_filedlg+set}" = set; then
14495 enableval=$enable_filedlg;
14496 if test "$enableval" = yes; then
14497 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14499 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14505 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14506 if test "x$LINE" != x ; then
14507 eval "DEFAULT_$LINE"
14513 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14518 eval "$wx_cv_use_filedlg"
14519 if test "x$cache" = xyes; then
14520 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14523 if test x"$enablestring" = xdisable; then
14524 if test $wxUSE_FILEDLG = yes; then
14530 result=$wxUSE_FILEDLG
14533 { echo "$as_me:$LINENO: result: $result" >&5
14534 echo "${ECHO_T}$result" >&6; }
14538 defaultval=$wxUSE_ALL_FEATURES
14539 if test -z "$defaultval"; then
14540 if test x"$enablestring" = xdisable; then
14547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14548 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14549 # Check whether --enable-finddlg was given.
14550 if test "${enable_finddlg+set}" = set; then
14551 enableval=$enable_finddlg;
14552 if test "$enableval" = yes; then
14553 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14555 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14561 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14562 if test "x$LINE" != x ; then
14563 eval "DEFAULT_$LINE"
14569 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14574 eval "$wx_cv_use_finddlg"
14575 if test "x$cache" = xyes; then
14576 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14579 if test x"$enablestring" = xdisable; then
14580 if test $wxUSE_FINDREPLDLG = yes; then
14586 result=$wxUSE_FINDREPLDLG
14589 { echo "$as_me:$LINENO: result: $result" >&5
14590 echo "${ECHO_T}$result" >&6; }
14594 defaultval=$wxUSE_ALL_FEATURES
14595 if test -z "$defaultval"; then
14596 if test x"$enablestring" = xdisable; then
14603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14604 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14605 # Check whether --enable-fontdlg was given.
14606 if test "${enable_fontdlg+set}" = set; then
14607 enableval=$enable_fontdlg;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14611 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14617 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14618 if test "x$LINE" != x ; then
14619 eval "DEFAULT_$LINE"
14625 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14630 eval "$wx_cv_use_fontdlg"
14631 if test "x$cache" = xyes; then
14632 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14635 if test x"$enablestring" = xdisable; then
14636 if test $wxUSE_FONTDLG = yes; then
14642 result=$wxUSE_FONTDLG
14645 { echo "$as_me:$LINENO: result: $result" >&5
14646 echo "${ECHO_T}$result" >&6; }
14650 defaultval=$wxUSE_ALL_FEATURES
14651 if test -z "$defaultval"; then
14652 if test x"$enablestring" = xdisable; then
14659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14660 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14661 # Check whether --enable-dirdlg was given.
14662 if test "${enable_dirdlg+set}" = set; then
14663 enableval=$enable_dirdlg;
14664 if test "$enableval" = yes; then
14665 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14667 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14673 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14674 if test "x$LINE" != x ; then
14675 eval "DEFAULT_$LINE"
14681 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14686 eval "$wx_cv_use_dirdlg"
14687 if test "x$cache" = xyes; then
14688 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14691 if test x"$enablestring" = xdisable; then
14692 if test $wxUSE_DIRDLG = yes; then
14698 result=$wxUSE_DIRDLG
14701 { echo "$as_me:$LINENO: result: $result" >&5
14702 echo "${ECHO_T}$result" >&6; }
14706 defaultval=$wxUSE_ALL_FEATURES
14707 if test -z "$defaultval"; then
14708 if test x"$enablestring" = xdisable; then
14715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14716 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14717 # Check whether --enable-msgdlg was given.
14718 if test "${enable_msgdlg+set}" = set; then
14719 enableval=$enable_msgdlg;
14720 if test "$enableval" = yes; then
14721 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14723 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14729 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14730 if test "x$LINE" != x ; then
14731 eval "DEFAULT_$LINE"
14737 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14742 eval "$wx_cv_use_msgdlg"
14743 if test "x$cache" = xyes; then
14744 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14747 if test x"$enablestring" = xdisable; then
14748 if test $wxUSE_MSGDLG = yes; then
14754 result=$wxUSE_MSGDLG
14757 { echo "$as_me:$LINENO: result: $result" >&5
14758 echo "${ECHO_T}$result" >&6; }
14762 defaultval=$wxUSE_ALL_FEATURES
14763 if test -z "$defaultval"; then
14764 if test x"$enablestring" = xdisable; then
14771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14772 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14773 # Check whether --enable-numberdlg was given.
14774 if test "${enable_numberdlg+set}" = set; then
14775 enableval=$enable_numberdlg;
14776 if test "$enableval" = yes; then
14777 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14779 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14785 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14786 if test "x$LINE" != x ; then
14787 eval "DEFAULT_$LINE"
14793 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14798 eval "$wx_cv_use_numberdlg"
14799 if test "x$cache" = xyes; then
14800 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14803 if test x"$enablestring" = xdisable; then
14804 if test $wxUSE_NUMBERDLG = yes; then
14810 result=$wxUSE_NUMBERDLG
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}-splash" >&5
14828 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14829 # Check whether --enable-splash was given.
14830 if test "${enable_splash+set}" = set; then
14831 enableval=$enable_splash;
14832 if test "$enableval" = yes; then
14833 wx_cv_use_splash='wxUSE_SPLASH=yes'
14835 wx_cv_use_splash='wxUSE_SPLASH=no'
14841 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14842 if test "x$LINE" != x ; then
14843 eval "DEFAULT_$LINE"
14849 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14854 eval "$wx_cv_use_splash"
14855 if test "x$cache" = xyes; then
14856 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14859 if test x"$enablestring" = xdisable; then
14860 if test $wxUSE_SPLASH = yes; then
14866 result=$wxUSE_SPLASH
14869 { echo "$as_me:$LINENO: result: $result" >&5
14870 echo "${ECHO_T}$result" >&6; }
14874 defaultval=$wxUSE_ALL_FEATURES
14875 if test -z "$defaultval"; then
14876 if test x"$enablestring" = xdisable; then
14883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14884 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14885 # Check whether --enable-textdlg was given.
14886 if test "${enable_textdlg+set}" = set; then
14887 enableval=$enable_textdlg;
14888 if test "$enableval" = yes; then
14889 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14891 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14897 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14898 if test "x$LINE" != x ; then
14899 eval "DEFAULT_$LINE"
14905 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14910 eval "$wx_cv_use_textdlg"
14911 if test "x$cache" = xyes; then
14912 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14915 if test x"$enablestring" = xdisable; then
14916 if test $wxUSE_TEXTDLG = yes; then
14922 result=$wxUSE_TEXTDLG
14925 { echo "$as_me:$LINENO: result: $result" >&5
14926 echo "${ECHO_T}$result" >&6; }
14930 defaultval=$wxUSE_ALL_FEATURES
14931 if test -z "$defaultval"; then
14932 if test x"$enablestring" = xdisable; then
14939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14940 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14941 # Check whether --enable-tipdlg was given.
14942 if test "${enable_tipdlg+set}" = set; then
14943 enableval=$enable_tipdlg;
14944 if test "$enableval" = yes; then
14945 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14947 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14953 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14954 if test "x$LINE" != x ; then
14955 eval "DEFAULT_$LINE"
14961 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14966 eval "$wx_cv_use_tipdlg"
14967 if test "x$cache" = xyes; then
14968 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14971 if test x"$enablestring" = xdisable; then
14972 if test $wxUSE_STARTUP_TIPS = yes; then
14978 result=$wxUSE_STARTUP_TIPS
14981 { echo "$as_me:$LINENO: result: $result" >&5
14982 echo "${ECHO_T}$result" >&6; }
14986 defaultval=$wxUSE_ALL_FEATURES
14987 if test -z "$defaultval"; then
14988 if test x"$enablestring" = xdisable; then
14995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14996 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14997 # Check whether --enable-progressdlg was given.
14998 if test "${enable_progressdlg+set}" = set; then
14999 enableval=$enable_progressdlg;
15000 if test "$enableval" = yes; then
15001 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
15003 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
15009 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
15010 if test "x$LINE" != x ; then
15011 eval "DEFAULT_$LINE"
15017 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
15022 eval "$wx_cv_use_progressdlg"
15023 if test "x$cache" = xyes; then
15024 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
15027 if test x"$enablestring" = xdisable; then
15028 if test $wxUSE_PROGRESSDLG = yes; then
15034 result=$wxUSE_PROGRESSDLG
15037 { echo "$as_me:$LINENO: result: $result" >&5
15038 echo "${ECHO_T}$result" >&6; }
15042 defaultval=$wxUSE_ALL_FEATURES
15043 if test -z "$defaultval"; then
15044 if test x"$enablestring" = xdisable; then
15051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
15052 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
15053 # Check whether --enable-wizarddlg was given.
15054 if test "${enable_wizarddlg+set}" = set; then
15055 enableval=$enable_wizarddlg;
15056 if test "$enableval" = yes; then
15057 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
15059 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
15065 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
15066 if test "x$LINE" != x ; then
15067 eval "DEFAULT_$LINE"
15073 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15078 eval "$wx_cv_use_wizarddlg"
15079 if test "x$cache" = xyes; then
15080 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15083 if test x"$enablestring" = xdisable; then
15084 if test $wxUSE_WIZARDDLG = yes; then
15090 result=$wxUSE_WIZARDDLG
15093 { echo "$as_me:$LINENO: result: $result" >&5
15094 echo "${ECHO_T}$result" >&6; }
15100 defaultval=$wxUSE_ALL_FEATURES
15101 if test -z "$defaultval"; then
15102 if test x"$enablestring" = xdisable; then
15109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15110 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15111 # Check whether --enable-menus was given.
15112 if test "${enable_menus+set}" = set; then
15113 enableval=$enable_menus;
15114 if test "$enableval" = yes; then
15115 wx_cv_use_menus='wxUSE_MENUS=yes'
15117 wx_cv_use_menus='wxUSE_MENUS=no'
15123 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15124 if test "x$LINE" != x ; then
15125 eval "DEFAULT_$LINE"
15131 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15136 eval "$wx_cv_use_menus"
15137 if test "x$cache" = xyes; then
15138 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15141 if test x"$enablestring" = xdisable; then
15142 if test $wxUSE_MENUS = yes; then
15148 result=$wxUSE_MENUS
15151 { echo "$as_me:$LINENO: result: $result" >&5
15152 echo "${ECHO_T}$result" >&6; }
15156 defaultval=$wxUSE_ALL_FEATURES
15157 if test -z "$defaultval"; then
15158 if test x"$enablestring" = xdisable; then
15165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15166 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15167 # Check whether --enable-miniframe was given.
15168 if test "${enable_miniframe+set}" = set; then
15169 enableval=$enable_miniframe;
15170 if test "$enableval" = yes; then
15171 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15173 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15179 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15180 if test "x$LINE" != x ; then
15181 eval "DEFAULT_$LINE"
15187 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15192 eval "$wx_cv_use_miniframe"
15193 if test "x$cache" = xyes; then
15194 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15197 if test x"$enablestring" = xdisable; then
15198 if test $wxUSE_MINIFRAME = yes; then
15204 result=$wxUSE_MINIFRAME
15207 { echo "$as_me:$LINENO: result: $result" >&5
15208 echo "${ECHO_T}$result" >&6; }
15212 defaultval=$wxUSE_ALL_FEATURES
15213 if test -z "$defaultval"; then
15214 if test x"$enablestring" = xdisable; then
15221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15222 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15223 # Check whether --enable-tooltips was given.
15224 if test "${enable_tooltips+set}" = set; then
15225 enableval=$enable_tooltips;
15226 if test "$enableval" = yes; then
15227 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15229 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15235 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15236 if test "x$LINE" != x ; then
15237 eval "DEFAULT_$LINE"
15243 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15248 eval "$wx_cv_use_tooltips"
15249 if test "x$cache" = xyes; then
15250 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15253 if test x"$enablestring" = xdisable; then
15254 if test $wxUSE_TOOLTIPS = yes; then
15260 result=$wxUSE_TOOLTIPS
15263 { echo "$as_me:$LINENO: result: $result" >&5
15264 echo "${ECHO_T}$result" >&6; }
15268 defaultval=$wxUSE_ALL_FEATURES
15269 if test -z "$defaultval"; then
15270 if test x"$enablestring" = xdisable; then
15277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15278 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15279 # Check whether --enable-splines was given.
15280 if test "${enable_splines+set}" = set; then
15281 enableval=$enable_splines;
15282 if test "$enableval" = yes; then
15283 wx_cv_use_splines='wxUSE_SPLINES=yes'
15285 wx_cv_use_splines='wxUSE_SPLINES=no'
15291 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15292 if test "x$LINE" != x ; then
15293 eval "DEFAULT_$LINE"
15299 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15304 eval "$wx_cv_use_splines"
15305 if test "x$cache" = xyes; then
15306 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15309 if test x"$enablestring" = xdisable; then
15310 if test $wxUSE_SPLINES = yes; then
15316 result=$wxUSE_SPLINES
15319 { echo "$as_me:$LINENO: result: $result" >&5
15320 echo "${ECHO_T}$result" >&6; }
15324 defaultval=$wxUSE_ALL_FEATURES
15325 if test -z "$defaultval"; then
15326 if test x"$enablestring" = xdisable; then
15333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15334 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15335 # Check whether --enable-mousewheel was given.
15336 if test "${enable_mousewheel+set}" = set; then
15337 enableval=$enable_mousewheel;
15338 if test "$enableval" = yes; then
15339 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15341 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15347 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15348 if test "x$LINE" != x ; then
15349 eval "DEFAULT_$LINE"
15355 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15360 eval "$wx_cv_use_mousewheel"
15361 if test "x$cache" = xyes; then
15362 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15365 if test x"$enablestring" = xdisable; then
15366 if test $wxUSE_MOUSEWHEEL = yes; then
15372 result=$wxUSE_MOUSEWHEEL
15375 { echo "$as_me:$LINENO: result: $result" >&5
15376 echo "${ECHO_T}$result" >&6; }
15380 defaultval=$wxUSE_ALL_FEATURES
15381 if test -z "$defaultval"; then
15382 if test x"$enablestring" = xdisable; then
15389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15390 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15391 # Check whether --enable-validators was given.
15392 if test "${enable_validators+set}" = set; then
15393 enableval=$enable_validators;
15394 if test "$enableval" = yes; then
15395 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15397 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15403 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15404 if test "x$LINE" != x ; then
15405 eval "DEFAULT_$LINE"
15411 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15416 eval "$wx_cv_use_validators"
15417 if test "x$cache" = xyes; then
15418 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15421 if test x"$enablestring" = xdisable; then
15422 if test $wxUSE_VALIDATORS = yes; then
15428 result=$wxUSE_VALIDATORS
15431 { echo "$as_me:$LINENO: result: $result" >&5
15432 echo "${ECHO_T}$result" >&6; }
15436 defaultval=$wxUSE_ALL_FEATURES
15437 if test -z "$defaultval"; then
15438 if test x"$enablestring" = xdisable; then
15445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15446 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15447 # Check whether --enable-busyinfo was given.
15448 if test "${enable_busyinfo+set}" = set; then
15449 enableval=$enable_busyinfo;
15450 if test "$enableval" = yes; then
15451 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15453 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15459 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15460 if test "x$LINE" != x ; then
15461 eval "DEFAULT_$LINE"
15467 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15472 eval "$wx_cv_use_busyinfo"
15473 if test "x$cache" = xyes; then
15474 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15477 if test x"$enablestring" = xdisable; then
15478 if test $wxUSE_BUSYINFO = yes; then
15484 result=$wxUSE_BUSYINFO
15487 { echo "$as_me:$LINENO: result: $result" >&5
15488 echo "${ECHO_T}$result" >&6; }
15492 defaultval=$wxUSE_ALL_FEATURES
15493 if test -z "$defaultval"; then
15494 if test x"$enablestring" = xdisable; then
15501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15502 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15503 # Check whether --enable-joystick was given.
15504 if test "${enable_joystick+set}" = set; then
15505 enableval=$enable_joystick;
15506 if test "$enableval" = yes; then
15507 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15509 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15515 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15516 if test "x$LINE" != x ; then
15517 eval "DEFAULT_$LINE"
15523 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15528 eval "$wx_cv_use_joystick"
15529 if test "x$cache" = xyes; then
15530 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15533 if test x"$enablestring" = xdisable; then
15534 if test $wxUSE_JOYSTICK = yes; then
15540 result=$wxUSE_JOYSTICK
15543 { echo "$as_me:$LINENO: result: $result" >&5
15544 echo "${ECHO_T}$result" >&6; }
15548 defaultval=$wxUSE_ALL_FEATURES
15549 if test -z "$defaultval"; then
15550 if test x"$enablestring" = xdisable; then
15557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15558 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15559 # Check whether --enable-metafile was given.
15560 if test "${enable_metafile+set}" = set; then
15561 enableval=$enable_metafile;
15562 if test "$enableval" = yes; then
15563 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15565 wx_cv_use_metafile='wxUSE_METAFILE=no'
15571 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15572 if test "x$LINE" != x ; then
15573 eval "DEFAULT_$LINE"
15579 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15584 eval "$wx_cv_use_metafile"
15585 if test "x$cache" = xyes; then
15586 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15589 if test x"$enablestring" = xdisable; then
15590 if test $wxUSE_METAFILE = yes; then
15596 result=$wxUSE_METAFILE
15599 { echo "$as_me:$LINENO: result: $result" >&5
15600 echo "${ECHO_T}$result" >&6; }
15604 defaultval=$wxUSE_ALL_FEATURES
15605 if test -z "$defaultval"; then
15606 if test x"$enablestring" = xdisable; then
15613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15614 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15615 # Check whether --enable-dragimage was given.
15616 if test "${enable_dragimage+set}" = set; then
15617 enableval=$enable_dragimage;
15618 if test "$enableval" = yes; then
15619 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15621 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15627 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15628 if test "x$LINE" != x ; then
15629 eval "DEFAULT_$LINE"
15635 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15640 eval "$wx_cv_use_dragimage"
15641 if test "x$cache" = xyes; then
15642 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15645 if test x"$enablestring" = xdisable; then
15646 if test $wxUSE_DRAGIMAGE = yes; then
15652 result=$wxUSE_DRAGIMAGE
15655 { echo "$as_me:$LINENO: result: $result" >&5
15656 echo "${ECHO_T}$result" >&6; }
15660 defaultval=$wxUSE_ALL_FEATURES
15661 if test -z "$defaultval"; then
15662 if test x"$enablestring" = xdisable; then
15669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15670 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15671 # Check whether --enable-accessibility was given.
15672 if test "${enable_accessibility+set}" = set; then
15673 enableval=$enable_accessibility;
15674 if test "$enableval" = yes; then
15675 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15677 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15683 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15684 if test "x$LINE" != x ; then
15685 eval "DEFAULT_$LINE"
15691 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15696 eval "$wx_cv_use_accessibility"
15697 if test "x$cache" = xyes; then
15698 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15701 if test x"$enablestring" = xdisable; then
15702 if test $wxUSE_ACCESSIBILITY = yes; then
15708 result=$wxUSE_ACCESSIBILITY
15711 { echo "$as_me:$LINENO: result: $result" >&5
15712 echo "${ECHO_T}$result" >&6; }
15718 defaultval=$wxUSE_ALL_FEATURES
15719 if test -z "$defaultval"; then
15720 if test x"$enablestring" = xdisable; then
15727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15728 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15729 # Check whether --enable-palette was given.
15730 if test "${enable_palette+set}" = set; then
15731 enableval=$enable_palette;
15732 if test "$enableval" = yes; then
15733 wx_cv_use_palette='wxUSE_PALETTE=yes'
15735 wx_cv_use_palette='wxUSE_PALETTE=no'
15741 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15742 if test "x$LINE" != x ; then
15743 eval "DEFAULT_$LINE"
15749 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15754 eval "$wx_cv_use_palette"
15755 if test "x$cache" = xyes; then
15756 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15759 if test x"$enablestring" = xdisable; then
15760 if test $wxUSE_PALETTE = yes; then
15766 result=$wxUSE_PALETTE
15769 { echo "$as_me:$LINENO: result: $result" >&5
15770 echo "${ECHO_T}$result" >&6; }
15774 defaultval=$wxUSE_ALL_FEATURES
15775 if test -z "$defaultval"; then
15776 if test x"$enablestring" = xdisable; then
15783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15784 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15785 # Check whether --enable-image was given.
15786 if test "${enable_image+set}" = set; then
15787 enableval=$enable_image;
15788 if test "$enableval" = yes; then
15789 wx_cv_use_image='wxUSE_IMAGE=yes'
15791 wx_cv_use_image='wxUSE_IMAGE=no'
15797 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15798 if test "x$LINE" != x ; then
15799 eval "DEFAULT_$LINE"
15805 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15810 eval "$wx_cv_use_image"
15811 if test "x$cache" = xyes; then
15812 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15815 if test x"$enablestring" = xdisable; then
15816 if test $wxUSE_IMAGE = yes; then
15822 result=$wxUSE_IMAGE
15825 { echo "$as_me:$LINENO: result: $result" >&5
15826 echo "${ECHO_T}$result" >&6; }
15830 defaultval=$wxUSE_ALL_FEATURES
15831 if test -z "$defaultval"; then
15832 if test x"$enablestring" = xdisable; then
15839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15840 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15841 # Check whether --enable-gif was given.
15842 if test "${enable_gif+set}" = set; then
15843 enableval=$enable_gif;
15844 if test "$enableval" = yes; then
15845 wx_cv_use_gif='wxUSE_GIF=yes'
15847 wx_cv_use_gif='wxUSE_GIF=no'
15853 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15854 if test "x$LINE" != x ; then
15855 eval "DEFAULT_$LINE"
15861 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15866 eval "$wx_cv_use_gif"
15867 if test "x$cache" = xyes; then
15868 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15871 if test x"$enablestring" = xdisable; then
15872 if test $wxUSE_GIF = yes; then
15881 { echo "$as_me:$LINENO: result: $result" >&5
15882 echo "${ECHO_T}$result" >&6; }
15886 defaultval=$wxUSE_ALL_FEATURES
15887 if test -z "$defaultval"; then
15888 if test x"$enablestring" = xdisable; then
15895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15896 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15897 # Check whether --enable-pcx was given.
15898 if test "${enable_pcx+set}" = set; then
15899 enableval=$enable_pcx;
15900 if test "$enableval" = yes; then
15901 wx_cv_use_pcx='wxUSE_PCX=yes'
15903 wx_cv_use_pcx='wxUSE_PCX=no'
15909 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15910 if test "x$LINE" != x ; then
15911 eval "DEFAULT_$LINE"
15917 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15922 eval "$wx_cv_use_pcx"
15923 if test "x$cache" = xyes; then
15924 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15927 if test x"$enablestring" = xdisable; then
15928 if test $wxUSE_PCX = yes; then
15937 { echo "$as_me:$LINENO: result: $result" >&5
15938 echo "${ECHO_T}$result" >&6; }
15942 defaultval=$wxUSE_ALL_FEATURES
15943 if test -z "$defaultval"; then
15944 if test x"$enablestring" = xdisable; then
15951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15952 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15953 # Check whether --enable-tga was given.
15954 if test "${enable_tga+set}" = set; then
15955 enableval=$enable_tga;
15956 if test "$enableval" = yes; then
15957 wx_cv_use_tga='wxUSE_TGA=yes'
15959 wx_cv_use_tga='wxUSE_TGA=no'
15965 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15966 if test "x$LINE" != x ; then
15967 eval "DEFAULT_$LINE"
15973 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15978 eval "$wx_cv_use_tga"
15979 if test "x$cache" = xyes; then
15980 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15983 if test x"$enablestring" = xdisable; then
15984 if test $wxUSE_TGA = yes; then
15993 { echo "$as_me:$LINENO: result: $result" >&5
15994 echo "${ECHO_T}$result" >&6; }
15998 defaultval=$wxUSE_ALL_FEATURES
15999 if test -z "$defaultval"; then
16000 if test x"$enablestring" = xdisable; then
16007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
16008 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
16009 # Check whether --enable-iff was given.
16010 if test "${enable_iff+set}" = set; then
16011 enableval=$enable_iff;
16012 if test "$enableval" = yes; then
16013 wx_cv_use_iff='wxUSE_IFF=yes'
16015 wx_cv_use_iff='wxUSE_IFF=no'
16021 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
16022 if test "x$LINE" != x ; then
16023 eval "DEFAULT_$LINE"
16029 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
16034 eval "$wx_cv_use_iff"
16035 if test "x$cache" = xyes; then
16036 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
16039 if test x"$enablestring" = xdisable; then
16040 if test $wxUSE_IFF = yes; then
16049 { echo "$as_me:$LINENO: result: $result" >&5
16050 echo "${ECHO_T}$result" >&6; }
16054 defaultval=$wxUSE_ALL_FEATURES
16055 if test -z "$defaultval"; then
16056 if test x"$enablestring" = xdisable; then
16063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
16064 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
16065 # Check whether --enable-pnm was given.
16066 if test "${enable_pnm+set}" = set; then
16067 enableval=$enable_pnm;
16068 if test "$enableval" = yes; then
16069 wx_cv_use_pnm='wxUSE_PNM=yes'
16071 wx_cv_use_pnm='wxUSE_PNM=no'
16077 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16078 if test "x$LINE" != x ; then
16079 eval "DEFAULT_$LINE"
16085 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16090 eval "$wx_cv_use_pnm"
16091 if test "x$cache" = xyes; then
16092 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16095 if test x"$enablestring" = xdisable; then
16096 if test $wxUSE_PNM = yes; then
16105 { echo "$as_me:$LINENO: result: $result" >&5
16106 echo "${ECHO_T}$result" >&6; }
16110 defaultval=$wxUSE_ALL_FEATURES
16111 if test -z "$defaultval"; then
16112 if test x"$enablestring" = xdisable; then
16119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16120 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16121 # Check whether --enable-xpm was given.
16122 if test "${enable_xpm+set}" = set; then
16123 enableval=$enable_xpm;
16124 if test "$enableval" = yes; then
16125 wx_cv_use_xpm='wxUSE_XPM=yes'
16127 wx_cv_use_xpm='wxUSE_XPM=no'
16133 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16134 if test "x$LINE" != x ; then
16135 eval "DEFAULT_$LINE"
16141 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16146 eval "$wx_cv_use_xpm"
16147 if test "x$cache" = xyes; then
16148 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16151 if test x"$enablestring" = xdisable; then
16152 if test $wxUSE_XPM = yes; then
16161 { echo "$as_me:$LINENO: result: $result" >&5
16162 echo "${ECHO_T}$result" >&6; }
16166 defaultval=$wxUSE_ALL_FEATURES
16167 if test -z "$defaultval"; then
16168 if test x"$enablestring" = xdisable; then
16175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16176 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16177 # Check whether --enable-ico_cur was given.
16178 if test "${enable_ico_cur+set}" = set; then
16179 enableval=$enable_ico_cur;
16180 if test "$enableval" = yes; then
16181 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16183 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16189 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16190 if test "x$LINE" != x ; then
16191 eval "DEFAULT_$LINE"
16197 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16202 eval "$wx_cv_use_ico_cur"
16203 if test "x$cache" = xyes; then
16204 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16207 if test x"$enablestring" = xdisable; then
16208 if test $wxUSE_ICO_CUR = yes; then
16214 result=$wxUSE_ICO_CUR
16217 { echo "$as_me:$LINENO: result: $result" >&5
16218 echo "${ECHO_T}$result" >&6; }
16224 defaultval=$wxUSE_ALL_FEATURES
16225 if test -z "$defaultval"; then
16226 if test x"$enablestring" = xdisable; then
16233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16234 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16235 # Check whether --enable-dccache was given.
16236 if test "${enable_dccache+set}" = set; then
16237 enableval=$enable_dccache;
16238 if test "$enableval" = yes; then
16239 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16241 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16247 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16248 if test "x$LINE" != x ; then
16249 eval "DEFAULT_$LINE"
16255 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16260 eval "$wx_cv_use_dccache"
16261 if test "x$cache" = xyes; then
16262 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16265 if test x"$enablestring" = xdisable; then
16266 if test $wxUSE_DC_CACHEING = yes; then
16272 result=$wxUSE_DC_CACHEING
16275 { echo "$as_me:$LINENO: result: $result" >&5
16276 echo "${ECHO_T}$result" >&6; }
16280 defaultval=$wxUSE_ALL_FEATURES
16281 if test -z "$defaultval"; then
16282 if test x"$enablestring" = xdisable; then
16289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16290 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16291 # Check whether --enable-ps-in-msw was given.
16292 if test "${enable_ps_in_msw+set}" = set; then
16293 enableval=$enable_ps_in_msw;
16294 if test "$enableval" = yes; then
16295 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16297 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16303 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16304 if test "x$LINE" != x ; then
16305 eval "DEFAULT_$LINE"
16311 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16316 eval "$wx_cv_use_ps_in_msw"
16317 if test "x$cache" = xyes; then
16318 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16321 if test x"$enablestring" = xdisable; then
16322 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16328 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16331 { echo "$as_me:$LINENO: result: $result" >&5
16332 echo "${ECHO_T}$result" >&6; }
16336 defaultval=$wxUSE_ALL_FEATURES
16337 if test -z "$defaultval"; then
16338 if test x"$enablestring" = xdisable; then
16345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16346 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16347 # Check whether --enable-ownerdrawn was given.
16348 if test "${enable_ownerdrawn+set}" = set; then
16349 enableval=$enable_ownerdrawn;
16350 if test "$enableval" = yes; then
16351 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16353 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16359 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16360 if test "x$LINE" != x ; then
16361 eval "DEFAULT_$LINE"
16367 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16372 eval "$wx_cv_use_ownerdrawn"
16373 if test "x$cache" = xyes; then
16374 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16377 if test x"$enablestring" = xdisable; then
16378 if test $wxUSE_OWNER_DRAWN = yes; then
16384 result=$wxUSE_OWNER_DRAWN
16387 { echo "$as_me:$LINENO: result: $result" >&5
16388 echo "${ECHO_T}$result" >&6; }
16392 defaultval=$wxUSE_ALL_FEATURES
16393 if test -z "$defaultval"; then
16394 if test x"$enablestring" = xdisable; then
16401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16402 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16403 # Check whether --enable-uxtheme was given.
16404 if test "${enable_uxtheme+set}" = set; then
16405 enableval=$enable_uxtheme;
16406 if test "$enableval" = yes; then
16407 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16409 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16415 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16416 if test "x$LINE" != x ; then
16417 eval "DEFAULT_$LINE"
16423 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16428 eval "$wx_cv_use_uxtheme"
16429 if test "x$cache" = xyes; then
16430 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16433 if test x"$enablestring" = xdisable; then
16434 if test $wxUSE_UXTHEME = yes; then
16440 result=$wxUSE_UXTHEME
16443 { echo "$as_me:$LINENO: result: $result" >&5
16444 echo "${ECHO_T}$result" >&6; }
16448 defaultval=$wxUSE_ALL_FEATURES
16449 if test -z "$defaultval"; then
16450 if test x"$enablestring" = xdisable; then
16457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16458 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16459 # Check whether --enable-wxdib was given.
16460 if test "${enable_wxdib+set}" = set; then
16461 enableval=$enable_wxdib;
16462 if test "$enableval" = yes; then
16463 wx_cv_use_wxdib='wxUSE_DIB=yes'
16465 wx_cv_use_wxdib='wxUSE_DIB=no'
16471 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16472 if test "x$LINE" != x ; then
16473 eval "DEFAULT_$LINE"
16479 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16484 eval "$wx_cv_use_wxdib"
16485 if test "x$cache" = xyes; then
16486 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16489 if test x"$enablestring" = xdisable; then
16490 if test $wxUSE_DIB = yes; then
16499 { echo "$as_me:$LINENO: result: $result" >&5
16500 echo "${ECHO_T}$result" >&6; }
16506 echo "saving argument cache $wx_arg_cache_file"
16507 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16511 { echo "$as_me:$LINENO: checking for toolkit" >&5
16512 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16514 # In Wine, we need to default to MSW, not GTK or MOTIF
16515 if test "$wxUSE_WINE" = "yes"; then
16516 DEFAULT_DEFAULT_wxUSE_GTK=0
16517 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16518 DEFAULT_DEFAULT_wxUSE_MSW=1
16521 CXX=${CXX:-wineg++}
16525 if test "$wxUSE_GUI" = "yes"; then
16527 if test "$USE_BEOS" = 1; then
16528 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16529 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16530 { (exit 1); exit 1; }; }
16533 if test "$TOOLKIT_GIVEN" = 1; then
16534 for toolkit in `echo $ALL_TOOLKITS`; do
16536 eval "value=\$${var}"
16537 if test "x$value" = "xno"; then
16539 elif test "x$value" != "x"; then
16543 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16544 eval "wx${toolkit}_VERSION=$value"
16548 for toolkit in `echo $ALL_TOOLKITS`; do
16549 if test "$has_toolkit_in_cache" != 1; then
16550 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16552 var=DEFAULT_wxUSE_$toolkit
16554 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16555 if test "x$version" != "x"; then
16556 eval "wx${toolkit}_VERSION=$version"
16559 eval "wxUSE_$toolkit=\$${var}"
16563 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16564 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16565 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16568 *-pc-os2_emx | *-pc-os2-emx )
16569 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16572 case "$NUM_TOOLKITS" in
16576 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16577 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16578 { (exit 1); exit 1; }; }
16581 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16582 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16583 { (exit 1); exit 1; }; }
16586 # to be removed when --disable-gtk2 isn't needed
16587 if test "x$wxUSE_GTK2" = "xyes"; then
16589 elif test "x$wxUSE_GTK2" = "xno"; then
16593 for toolkit in `echo $ALL_TOOLKITS`; do
16595 eval "value=\$${var}"
16596 if test "x$value" != x; then
16597 cache_var=CACHE_$toolkit
16598 eval "cache=\$${cache_var}"
16599 if test "$cache" = 1; then
16600 echo "$var=$value" >> ${wx_arg_cache_file}
16601 eval "version=\$wx${toolkit}_VERSION"
16602 if test "x$version" != "x"; then
16603 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16606 if test "$value" = 1; then
16607 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16608 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16609 echo "${ECHO_T}$toolkit_echo" >&6; }
16614 if test "x$host_alias" != "x"; then
16615 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16616 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16618 { echo "$as_me:$LINENO: result: base only" >&5
16619 echo "${ECHO_T}base only" >&6; }
16624 cat >confcache <<\_ACEOF
16625 # This file is a shell script that caches the results of configure
16626 # tests run on this system so they can be shared between configure
16627 # scripts and configure runs, see configure's option --config-cache.
16628 # It is not useful on other systems. If it contains results you don't
16629 # want to keep, you may remove or edit it.
16631 # config.status only pays attention to the cache file if you give it
16632 # the --recheck option to rerun configure.
16634 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16635 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16636 # following values.
16640 # The following way of writing the cache mishandles newlines in values,
16641 # but we know of no workaround that is simple, portable, and efficient.
16642 # So, we kill variables containing newlines.
16643 # Ultrix sh set writes to stderr and can't be redirected directly,
16644 # and sets the high bit in the cache file unless we assign to the vars.
16646 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16647 eval ac_val=\$$ac_var
16651 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16652 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16655 _ | IFS | as_nl) ;; #(
16656 *) $as_unset $ac_var ;;
16662 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16663 *${as_nl}ac_space=\ *)
16664 # `set' does not quote correctly, so add quotes (double-quote
16665 # substitution turns \\\\ into \\, and sed turns \\ into \).
16668 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16671 # `set' quotes correctly as required by POSIX, so do not add quotes.
16672 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16681 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16683 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16685 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16686 if test -w "$cache_file"; then
16687 test "x$cache_file" != "x/dev/null" &&
16688 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16689 echo "$as_me: updating cache $cache_file" >&6;}
16690 cat confcache >$cache_file
16692 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16693 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16703 ac_cpp='$CPP $CPPFLAGS'
16704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16707 if test -n "$ac_tool_prefix"; then
16708 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16709 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16712 if test "${ac_cv_prog_CC+set}" = set; then
16713 echo $ECHO_N "(cached) $ECHO_C" >&6
16715 if test -n "$CC"; then
16716 ac_cv_prog_CC="$CC" # Let the user override the test.
16718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16719 for as_dir in $PATH
16722 test -z "$as_dir" && as_dir=.
16723 for ac_exec_ext in '' $ac_executable_extensions; do
16724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16725 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16736 if test -n "$CC"; then
16737 { echo "$as_me:$LINENO: result: $CC" >&5
16738 echo "${ECHO_T}$CC" >&6; }
16740 { echo "$as_me:$LINENO: result: no" >&5
16741 echo "${ECHO_T}no" >&6; }
16746 if test -z "$ac_cv_prog_CC"; then
16748 # Extract the first word of "gcc", so it can be a program name with args.
16749 set dummy gcc; ac_word=$2
16750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16752 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 if test -n "$ac_ct_CC"; then
16756 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16759 for as_dir in $PATH
16762 test -z "$as_dir" && as_dir=.
16763 for ac_exec_ext in '' $ac_executable_extensions; do
16764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16765 ac_cv_prog_ac_ct_CC="gcc"
16766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16775 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16776 if test -n "$ac_ct_CC"; then
16777 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16778 echo "${ECHO_T}$ac_ct_CC" >&6; }
16780 { echo "$as_me:$LINENO: result: no" >&5
16781 echo "${ECHO_T}no" >&6; }
16784 if test "x$ac_ct_CC" = x; then
16787 case $cross_compiling:$ac_tool_warned in
16789 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16790 whose name does not start with the host triplet. If you think this
16791 configuration is useful to you, please write to autoconf@gnu.org." >&5
16792 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16793 whose name does not start with the host triplet. If you think this
16794 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16795 ac_tool_warned=yes ;;
16800 CC="$ac_cv_prog_CC"
16803 if test -z "$CC"; then
16804 if test -n "$ac_tool_prefix"; then
16805 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16806 set dummy ${ac_tool_prefix}cc; ac_word=$2
16807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16809 if test "${ac_cv_prog_CC+set}" = set; then
16810 echo $ECHO_N "(cached) $ECHO_C" >&6
16812 if test -n "$CC"; then
16813 ac_cv_prog_CC="$CC" # Let the user override the test.
16815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16816 for as_dir in $PATH
16819 test -z "$as_dir" && as_dir=.
16820 for ac_exec_ext in '' $ac_executable_extensions; do
16821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16822 ac_cv_prog_CC="${ac_tool_prefix}cc"
16823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16833 if test -n "$CC"; then
16834 { echo "$as_me:$LINENO: result: $CC" >&5
16835 echo "${ECHO_T}$CC" >&6; }
16837 { echo "$as_me:$LINENO: result: no" >&5
16838 echo "${ECHO_T}no" >&6; }
16844 if test -z "$CC"; then
16845 # Extract the first word of "cc", so it can be a program name with args.
16846 set dummy cc; ac_word=$2
16847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16849 if test "${ac_cv_prog_CC+set}" = set; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16852 if test -n "$CC"; then
16853 ac_cv_prog_CC="$CC" # Let the user override the test.
16855 ac_prog_rejected=no
16856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16857 for as_dir in $PATH
16860 test -z "$as_dir" && as_dir=.
16861 for ac_exec_ext in '' $ac_executable_extensions; do
16862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16863 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16864 ac_prog_rejected=yes
16868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16875 if test $ac_prog_rejected = yes; then
16876 # We found a bogon in the path, so make sure we never use it.
16877 set dummy $ac_cv_prog_CC
16879 if test $# != 0; then
16880 # We chose a different compiler from the bogus one.
16881 # However, it has the same basename, so the bogon will be chosen
16882 # first if we set CC to just the basename; use the full file name.
16884 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16890 if test -n "$CC"; then
16891 { echo "$as_me:$LINENO: result: $CC" >&5
16892 echo "${ECHO_T}$CC" >&6; }
16894 { echo "$as_me:$LINENO: result: no" >&5
16895 echo "${ECHO_T}no" >&6; }
16900 if test -z "$CC"; then
16901 if test -n "$ac_tool_prefix"; then
16902 for ac_prog in cl.exe
16904 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16905 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16906 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16908 if test "${ac_cv_prog_CC+set}" = set; then
16909 echo $ECHO_N "(cached) $ECHO_C" >&6
16911 if test -n "$CC"; then
16912 ac_cv_prog_CC="$CC" # Let the user override the test.
16914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16915 for as_dir in $PATH
16918 test -z "$as_dir" && as_dir=.
16919 for ac_exec_ext in '' $ac_executable_extensions; do
16920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16921 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16932 if test -n "$CC"; then
16933 { echo "$as_me:$LINENO: result: $CC" >&5
16934 echo "${ECHO_T}$CC" >&6; }
16936 { echo "$as_me:$LINENO: result: no" >&5
16937 echo "${ECHO_T}no" >&6; }
16941 test -n "$CC" && break
16944 if test -z "$CC"; then
16946 for ac_prog in cl.exe
16948 # Extract the first word of "$ac_prog", so it can be a program name with args.
16949 set dummy $ac_prog; ac_word=$2
16950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16952 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16953 echo $ECHO_N "(cached) $ECHO_C" >&6
16955 if test -n "$ac_ct_CC"; then
16956 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16959 for as_dir in $PATH
16962 test -z "$as_dir" && as_dir=.
16963 for ac_exec_ext in '' $ac_executable_extensions; do
16964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16965 ac_cv_prog_ac_ct_CC="$ac_prog"
16966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16975 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16976 if test -n "$ac_ct_CC"; then
16977 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16978 echo "${ECHO_T}$ac_ct_CC" >&6; }
16980 { echo "$as_me:$LINENO: result: no" >&5
16981 echo "${ECHO_T}no" >&6; }
16985 test -n "$ac_ct_CC" && break
16988 if test "x$ac_ct_CC" = x; then
16991 case $cross_compiling:$ac_tool_warned in
16993 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16994 whose name does not start with the host triplet. If you think this
16995 configuration is useful to you, please write to autoconf@gnu.org." >&5
16996 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16997 whose name does not start with the host triplet. If you think this
16998 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16999 ac_tool_warned=yes ;;
17008 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
17009 See \`config.log' for more details." >&5
17010 echo "$as_me: error: no acceptable C compiler found in \$PATH
17011 See \`config.log' for more details." >&2;}
17012 { (exit 1); exit 1; }; }
17014 # Provide some information about the compiler.
17015 echo "$as_me:$LINENO: checking for C compiler version" >&5
17016 ac_compiler=`set X $ac_compile; echo $2`
17017 { (ac_try="$ac_compiler --version >&5"
17018 case "(($ac_try" in
17019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17020 *) ac_try_echo=$ac_try;;
17022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17023 (eval "$ac_compiler --version >&5") 2>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }
17027 { (ac_try="$ac_compiler -v >&5"
17028 case "(($ac_try" in
17029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17030 *) ac_try_echo=$ac_try;;
17032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17033 (eval "$ac_compiler -v >&5") 2>&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); }
17037 { (ac_try="$ac_compiler -V >&5"
17038 case "(($ac_try" in
17039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17040 *) ac_try_echo=$ac_try;;
17042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17043 (eval "$ac_compiler -V >&5") 2>&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); }
17048 cat >conftest.$ac_ext <<_ACEOF
17051 cat confdefs.h >>conftest.$ac_ext
17052 cat >>conftest.$ac_ext <<_ACEOF
17053 /* end confdefs.h. */
17063 ac_clean_files_save=$ac_clean_files
17064 ac_clean_files="$ac_clean_files a.out a.exe b.out"
17065 # Try to create an executable without -o first, disregard a.out.
17066 # It will help us diagnose broken compilers, and finding out an intuition
17068 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
17069 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
17070 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
17072 # List of possible output files, starting from the most likely.
17073 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
17074 # only as a last resort. b.out is created by i960 compilers.
17075 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
17077 # The IRIX 6 linker writes into existing files which may not be
17078 # executable, retaining their permissions. Remove them first so a
17079 # subsequent execution test works.
17081 for ac_file in $ac_files
17084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17085 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
17090 if { (ac_try="$ac_link_default"
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_link_default") 2>&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; then
17100 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
17101 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
17102 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17103 # so that the user can short-circuit this test for compilers unknown to
17105 for ac_file in $ac_files ''
17107 test -f "$ac_file" || continue
17109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17112 # We found the default executable, but exeext='' is most
17116 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17118 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17120 # We set ac_cv_exeext here because the later test for it is not
17121 # safe: cross compilers may not add the suffix if given an `-o'
17122 # argument, so we may need to know it at that point already.
17123 # Even if this section looks crufty: it has the advantage of
17124 # actually working.
17130 test "$ac_cv_exeext" = no && ac_cv_exeext=
17136 { echo "$as_me:$LINENO: result: $ac_file" >&5
17137 echo "${ECHO_T}$ac_file" >&6; }
17138 if test -z "$ac_file"; then
17139 echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.$ac_ext >&5
17142 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17143 See \`config.log' for more details." >&5
17144 echo "$as_me: error: C compiler cannot create executables
17145 See \`config.log' for more details." >&2;}
17146 { (exit 77); exit 77; }; }
17149 ac_exeext=$ac_cv_exeext
17151 # Check that the compiler produces executables we can run. If not, either
17152 # the compiler is broken, or we cross compile.
17153 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17154 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17155 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17156 # If not cross compiling, check that we can run a simple program.
17157 if test "$cross_compiling" != yes; then
17158 if { ac_try='./$ac_file'
17159 { (case "(($ac_try" in
17160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17161 *) ac_try_echo=$ac_try;;
17163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17164 (eval "$ac_try") 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17170 if test "$cross_compiling" = maybe; then
17171 cross_compiling=yes
17173 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17174 If you meant to cross compile, use \`--host'.
17175 See \`config.log' for more details." >&5
17176 echo "$as_me: error: cannot run C compiled programs.
17177 If you meant to cross compile, use \`--host'.
17178 See \`config.log' for more details." >&2;}
17179 { (exit 1); exit 1; }; }
17183 { echo "$as_me:$LINENO: result: yes" >&5
17184 echo "${ECHO_T}yes" >&6; }
17186 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17187 ac_clean_files=$ac_clean_files_save
17188 # Check that the compiler produces executables we can run. If not, either
17189 # the compiler is broken, or we cross compile.
17190 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17191 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17192 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17193 echo "${ECHO_T}$cross_compiling" >&6; }
17195 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17196 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17197 if { (ac_try="$ac_link"
17198 case "(($ac_try" in
17199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17200 *) ac_try_echo=$ac_try;;
17202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17203 (eval "$ac_link") 2>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; then
17207 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17208 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17209 # work properly (i.e., refer to `conftest.exe'), while it won't with
17211 for ac_file in conftest.exe conftest conftest.*; do
17212 test -f "$ac_file" || continue
17214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17215 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17221 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17222 See \`config.log' for more details." >&5
17223 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17224 See \`config.log' for more details." >&2;}
17225 { (exit 1); exit 1; }; }
17228 rm -f conftest$ac_cv_exeext
17229 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17230 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17232 rm -f conftest.$ac_ext
17233 EXEEXT=$ac_cv_exeext
17235 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17236 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17237 if test "${ac_cv_objext+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17240 cat >conftest.$ac_ext <<_ACEOF
17243 cat confdefs.h >>conftest.$ac_ext
17244 cat >>conftest.$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17255 rm -f conftest.o conftest.obj
17256 if { (ac_try="$ac_compile"
17257 case "(($ac_try" in
17258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17259 *) ac_try_echo=$ac_try;;
17261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17262 (eval "$ac_compile") 2>&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); }; then
17266 for ac_file in conftest.o conftest.obj conftest.*; do
17267 test -f "$ac_file" || continue;
17269 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17270 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17278 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17279 See \`config.log' for more details." >&5
17280 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17281 See \`config.log' for more details." >&2;}
17282 { (exit 1); exit 1; }; }
17285 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17287 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17288 echo "${ECHO_T}$ac_cv_objext" >&6; }
17289 OBJEXT=$ac_cv_objext
17291 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17292 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17293 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17294 echo $ECHO_N "(cached) $ECHO_C" >&6
17296 cat >conftest.$ac_ext <<_ACEOF
17299 cat confdefs.h >>conftest.$ac_ext
17300 cat >>conftest.$ac_ext <<_ACEOF
17301 /* end confdefs.h. */
17314 rm -f conftest.$ac_objext
17315 if { (ac_try="$ac_compile"
17316 case "(($ac_try" in
17317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17318 *) ac_try_echo=$ac_try;;
17320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17321 (eval "$ac_compile") 2>conftest.er1
17323 grep -v '^ *+' conftest.er1 >conftest.err
17325 cat conftest.err >&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); } && {
17328 test -z "$ac_c_werror_flag" ||
17329 test ! -s conftest.err
17330 } && test -s conftest.$ac_objext; then
17331 ac_compiler_gnu=yes
17333 echo "$as_me: failed program was:" >&5
17334 sed 's/^/| /' conftest.$ac_ext >&5
17339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17343 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17344 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17345 GCC=`test $ac_compiler_gnu = yes && echo yes`
17346 ac_test_CFLAGS=${CFLAGS+set}
17347 ac_save_CFLAGS=$CFLAGS
17348 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17349 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17350 if test "${ac_cv_prog_cc_g+set}" = set; then
17351 echo $ECHO_N "(cached) $ECHO_C" >&6
17353 ac_save_c_werror_flag=$ac_c_werror_flag
17354 ac_c_werror_flag=yes
17357 cat >conftest.$ac_ext <<_ACEOF
17360 cat confdefs.h >>conftest.$ac_ext
17361 cat >>conftest.$ac_ext <<_ACEOF
17362 /* end confdefs.h. */
17372 rm -f conftest.$ac_objext
17373 if { (ac_try="$ac_compile"
17374 case "(($ac_try" in
17375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17376 *) ac_try_echo=$ac_try;;
17378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17379 (eval "$ac_compile") 2>conftest.er1
17381 grep -v '^ *+' conftest.er1 >conftest.err
17383 cat conftest.err >&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } && {
17386 test -z "$ac_c_werror_flag" ||
17387 test ! -s conftest.err
17388 } && test -s conftest.$ac_objext; then
17389 ac_cv_prog_cc_g=yes
17391 echo "$as_me: failed program was:" >&5
17392 sed 's/^/| /' conftest.$ac_ext >&5
17395 cat >conftest.$ac_ext <<_ACEOF
17398 cat confdefs.h >>conftest.$ac_ext
17399 cat >>conftest.$ac_ext <<_ACEOF
17400 /* end confdefs.h. */
17410 rm -f conftest.$ac_objext
17411 if { (ac_try="$ac_compile"
17412 case "(($ac_try" in
17413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17414 *) ac_try_echo=$ac_try;;
17416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17417 (eval "$ac_compile") 2>conftest.er1
17419 grep -v '^ *+' conftest.er1 >conftest.err
17421 cat conftest.err >&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); } && {
17424 test -z "$ac_c_werror_flag" ||
17425 test ! -s conftest.err
17426 } && test -s conftest.$ac_objext; then
17429 echo "$as_me: failed program was:" >&5
17430 sed 's/^/| /' conftest.$ac_ext >&5
17432 ac_c_werror_flag=$ac_save_c_werror_flag
17434 cat >conftest.$ac_ext <<_ACEOF
17437 cat confdefs.h >>conftest.$ac_ext
17438 cat >>conftest.$ac_ext <<_ACEOF
17439 /* end confdefs.h. */
17449 rm -f conftest.$ac_objext
17450 if { (ac_try="$ac_compile"
17451 case "(($ac_try" in
17452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17453 *) ac_try_echo=$ac_try;;
17455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17456 (eval "$ac_compile") 2>conftest.er1
17458 grep -v '^ *+' conftest.er1 >conftest.err
17460 cat conftest.err >&5
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); } && {
17463 test -z "$ac_c_werror_flag" ||
17464 test ! -s conftest.err
17465 } && test -s conftest.$ac_objext; then
17466 ac_cv_prog_cc_g=yes
17468 echo "$as_me: failed program was:" >&5
17469 sed 's/^/| /' conftest.$ac_ext >&5
17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17481 ac_c_werror_flag=$ac_save_c_werror_flag
17483 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17484 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17485 if test "$ac_test_CFLAGS" = set; then
17486 CFLAGS=$ac_save_CFLAGS
17487 elif test $ac_cv_prog_cc_g = yes; then
17488 if test "$GCC" = yes; then
17494 if test "$GCC" = yes; then
17500 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17501 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17502 if test "${ac_cv_prog_cc_c89+set}" = set; then
17503 echo $ECHO_N "(cached) $ECHO_C" >&6
17505 ac_cv_prog_cc_c89=no
17507 cat >conftest.$ac_ext <<_ACEOF
17510 cat confdefs.h >>conftest.$ac_ext
17511 cat >>conftest.$ac_ext <<_ACEOF
17512 /* end confdefs.h. */
17513 #include <stdarg.h>
17515 #include <sys/types.h>
17516 #include <sys/stat.h>
17517 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17518 struct buf { int x; };
17519 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17520 static char *e (p, i)
17526 static char *f (char * (*g) (char **, int), char **p, ...)
17531 s = g (p, va_arg (v,int));
17536 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17537 function prototypes and stuff, but not '\xHH' hex character constants.
17538 These don't provoke an error unfortunately, instead are silently treated
17539 as 'x'. The following induces an error, until -std is added to get
17540 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17541 array size at least. It's necessary to write '\x00'==0 to get something
17542 that's true only with -std. */
17543 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17545 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17546 inside strings and character constants. */
17548 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17550 int test (int i, double x);
17551 struct s1 {int (*f) (int a);};
17552 struct s2 {int (*f) (double a);};
17553 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17559 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17564 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17565 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17567 CC="$ac_save_CC $ac_arg"
17568 rm -f conftest.$ac_objext
17569 if { (ac_try="$ac_compile"
17570 case "(($ac_try" in
17571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17572 *) ac_try_echo=$ac_try;;
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_compile") 2>conftest.er1
17577 grep -v '^ *+' conftest.er1 >conftest.err
17579 cat conftest.err >&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && {
17582 test -z "$ac_c_werror_flag" ||
17583 test ! -s conftest.err
17584 } && test -s conftest.$ac_objext; then
17585 ac_cv_prog_cc_c89=$ac_arg
17587 echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.$ac_ext >&5
17593 rm -f core conftest.err conftest.$ac_objext
17594 test "x$ac_cv_prog_cc_c89" != "xno" && break
17596 rm -f conftest.$ac_ext
17601 case "x$ac_cv_prog_cc_c89" in
17603 { echo "$as_me:$LINENO: result: none needed" >&5
17604 echo "${ECHO_T}none needed" >&6; } ;;
17606 { echo "$as_me:$LINENO: result: unsupported" >&5
17607 echo "${ECHO_T}unsupported" >&6; } ;;
17609 CC="$CC $ac_cv_prog_cc_c89"
17610 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17611 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17616 ac_cpp='$CPP $CPPFLAGS'
17617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17625 ac_cpp='$CPP $CPPFLAGS'
17626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17630 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17631 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17632 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17633 echo $ECHO_N "(cached) $ECHO_C" >&6
17635 cat >conftest.$ac_ext <<_ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h. */
17646 #ifndef __INTEL_COMPILER
17654 rm -f conftest.$ac_objext
17655 if { (ac_try="$ac_compile"
17656 case "(($ac_try" in
17657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17658 *) ac_try_echo=$ac_try;;
17660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17661 (eval "$ac_compile") 2>conftest.er1
17663 grep -v '^ *+' conftest.er1 >conftest.err
17665 cat conftest.err >&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); } && {
17668 test -z "$ac_c_werror_flag" ||
17669 test ! -s conftest.err
17670 } && test -s conftest.$ac_objext; then
17671 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.$ac_ext >&5
17676 bakefile_cv_c_compiler___INTEL_COMPILER=no
17680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17684 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17685 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17686 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17692 ac_cpp='$CPP $CPPFLAGS'
17693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17700 if test "x$GCC" != "xyes"; then
17701 if test "xCC" = "xC"; then
17702 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17703 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17704 if test "${bakefile_cv_c_exto+set}" = set; then
17705 echo $ECHO_N "(cached) $ECHO_C" >&6
17707 cat >conftest.$ac_ext <<_ACEOF
17710 cat confdefs.h >>conftest.$ac_ext
17711 cat >>conftest.$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17722 rm -f conftest.$ac_objext conftest.$ac_ext.o
17723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17724 (eval $ac_compile) 2>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; then
17728 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17730 conftest.$ac_ext.o)
17731 bakefile_cv_c_exto="-ext o"
17738 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17739 See \`config.log' for more details." >&5
17740 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17741 See \`config.log' for more details." >&2;}
17742 { (exit 1); exit 1; }; }
17746 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17749 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17750 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17751 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17752 if test "c" = "c"; then
17753 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17755 if test "c" = "cxx"; then
17756 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17760 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17761 unset ac_cv_prog_cc_g
17762 ac_test_CFLAGS=${CFLAGS+set}
17763 ac_save_CFLAGS=$CFLAGS
17764 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17765 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17766 if test "${ac_cv_prog_cc_g+set}" = set; then
17767 echo $ECHO_N "(cached) $ECHO_C" >&6
17769 ac_save_c_werror_flag=$ac_c_werror_flag
17770 ac_c_werror_flag=yes
17773 cat >conftest.$ac_ext <<_ACEOF
17776 cat confdefs.h >>conftest.$ac_ext
17777 cat >>conftest.$ac_ext <<_ACEOF
17778 /* end confdefs.h. */
17788 rm -f conftest.$ac_objext
17789 if { (ac_try="$ac_compile"
17790 case "(($ac_try" in
17791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17792 *) ac_try_echo=$ac_try;;
17794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17795 (eval "$ac_compile") 2>conftest.er1
17797 grep -v '^ *+' conftest.er1 >conftest.err
17799 cat conftest.err >&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); } && {
17802 test -z "$ac_c_werror_flag" ||
17803 test ! -s conftest.err
17804 } && test -s conftest.$ac_objext; then
17805 ac_cv_prog_cc_g=yes
17807 echo "$as_me: failed program was:" >&5
17808 sed 's/^/| /' conftest.$ac_ext >&5
17811 cat >conftest.$ac_ext <<_ACEOF
17814 cat confdefs.h >>conftest.$ac_ext
17815 cat >>conftest.$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17826 rm -f conftest.$ac_objext
17827 if { (ac_try="$ac_compile"
17828 case "(($ac_try" in
17829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17830 *) ac_try_echo=$ac_try;;
17832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17833 (eval "$ac_compile") 2>conftest.er1
17835 grep -v '^ *+' conftest.er1 >conftest.err
17837 cat conftest.err >&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); } && {
17840 test -z "$ac_c_werror_flag" ||
17841 test ! -s conftest.err
17842 } && test -s conftest.$ac_objext; then
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.$ac_ext >&5
17848 ac_c_werror_flag=$ac_save_c_werror_flag
17850 cat >conftest.$ac_ext <<_ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17865 rm -f conftest.$ac_objext
17866 if { (ac_try="$ac_compile"
17867 case "(($ac_try" in
17868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17869 *) ac_try_echo=$ac_try;;
17871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17872 (eval "$ac_compile") 2>conftest.er1
17874 grep -v '^ *+' conftest.er1 >conftest.err
17876 cat conftest.err >&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); } && {
17879 test -z "$ac_c_werror_flag" ||
17880 test ! -s conftest.err
17881 } && test -s conftest.$ac_objext; then
17882 ac_cv_prog_cc_g=yes
17884 echo "$as_me: failed program was:" >&5
17885 sed 's/^/| /' conftest.$ac_ext >&5
17890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17897 ac_c_werror_flag=$ac_save_c_werror_flag
17899 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17900 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17901 if test "$ac_test_CFLAGS" = set; then
17902 CFLAGS=$ac_save_CFLAGS
17903 elif test $ac_cv_prog_cc_g = yes; then
17904 if test "$GCC" = yes; then
17910 if test "$GCC" = yes; then
17924 ac_cpp='$CPP $CPPFLAGS'
17925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17929 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17930 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17931 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17932 echo $ECHO_N "(cached) $ECHO_C" >&6
17934 cat >conftest.$ac_ext <<_ACEOF
17937 cat confdefs.h >>conftest.$ac_ext
17938 cat >>conftest.$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17953 rm -f conftest.$ac_objext
17954 if { (ac_try="$ac_compile"
17955 case "(($ac_try" in
17956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17957 *) ac_try_echo=$ac_try;;
17959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17960 (eval "$ac_compile") 2>conftest.er1
17962 grep -v '^ *+' conftest.er1 >conftest.err
17964 cat conftest.err >&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } && {
17967 test -z "$ac_c_werror_flag" ||
17968 test ! -s conftest.err
17969 } && test -s conftest.$ac_objext; then
17970 bakefile_cv_c_compiler___xlC__=yes
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.$ac_ext >&5
17975 bakefile_cv_c_compiler___xlC__=no
17979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17983 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17984 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17985 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17991 ac_cpp='$CPP $CPPFLAGS'
17992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18004 ac_cpp='$CPP $CPPFLAGS'
18005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18009 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
18010 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
18011 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
18012 echo $ECHO_N "(cached) $ECHO_C" >&6
18014 cat >conftest.$ac_ext <<_ACEOF
18017 cat confdefs.h >>conftest.$ac_ext
18018 cat >>conftest.$ac_ext <<_ACEOF
18019 /* end confdefs.h. */
18033 rm -f conftest.$ac_objext
18034 if { (ac_try="$ac_compile"
18035 case "(($ac_try" in
18036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18037 *) ac_try_echo=$ac_try;;
18039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18040 (eval "$ac_compile") 2>conftest.er1
18042 grep -v '^ *+' conftest.er1 >conftest.err
18044 cat conftest.err >&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); } && {
18047 test -z "$ac_c_werror_flag" ||
18048 test ! -s conftest.err
18049 } && test -s conftest.$ac_objext; then
18050 bakefile_cv_c_compiler___MWERKS__=yes
18052 echo "$as_me: failed program was:" >&5
18053 sed 's/^/| /' conftest.$ac_ext >&5
18055 bakefile_cv_c_compiler___MWERKS__=no
18059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18063 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
18064 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
18065 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
18071 ac_cpp='$CPP $CPPFLAGS'
18072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18081 ac_cpp='$CPP $CPPFLAGS'
18082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18086 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18087 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18088 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18091 cat >conftest.$ac_ext <<_ACEOF
18094 cat confdefs.h >>conftest.$ac_ext
18095 cat >>conftest.$ac_ext <<_ACEOF
18096 /* end confdefs.h. */
18110 rm -f conftest.$ac_objext
18111 if { (ac_try="$ac_compile"
18112 case "(($ac_try" in
18113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18114 *) ac_try_echo=$ac_try;;
18116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18117 (eval "$ac_compile") 2>conftest.er1
18119 grep -v '^ *+' conftest.er1 >conftest.err
18121 cat conftest.err >&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); } && {
18124 test -z "$ac_c_werror_flag" ||
18125 test ! -s conftest.err
18126 } && test -s conftest.$ac_objext; then
18127 bakefile_cv_c_compiler___xlC__=yes
18129 echo "$as_me: failed program was:" >&5
18130 sed 's/^/| /' conftest.$ac_ext >&5
18132 bakefile_cv_c_compiler___xlC__=no
18136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18140 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18141 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18142 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18148 ac_cpp='$CPP $CPPFLAGS'
18149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18161 ac_cpp='$CPP $CPPFLAGS'
18162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18166 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18167 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18168 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18171 cat >conftest.$ac_ext <<_ACEOF
18174 cat confdefs.h >>conftest.$ac_ext
18175 cat >>conftest.$ac_ext <<_ACEOF
18176 /* end confdefs.h. */
18182 #ifndef _SGI_COMPILER_VERSION
18190 rm -f conftest.$ac_objext
18191 if { (ac_try="$ac_compile"
18192 case "(($ac_try" in
18193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18194 *) ac_try_echo=$ac_try;;
18196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18197 (eval "$ac_compile") 2>conftest.er1
18199 grep -v '^ *+' conftest.er1 >conftest.err
18201 cat conftest.err >&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } && {
18204 test -z "$ac_c_werror_flag" ||
18205 test ! -s conftest.err
18206 } && test -s conftest.$ac_objext; then
18207 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18209 echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.$ac_ext >&5
18212 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18220 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18221 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18222 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18228 ac_cpp='$CPP $CPPFLAGS'
18229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18241 ac_cpp='$CPP $CPPFLAGS'
18242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18246 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18247 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18248 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18249 echo $ECHO_N "(cached) $ECHO_C" >&6
18251 cat >conftest.$ac_ext <<_ACEOF
18254 cat confdefs.h >>conftest.$ac_ext
18255 cat >>conftest.$ac_ext <<_ACEOF
18256 /* end confdefs.h. */
18270 rm -f conftest.$ac_objext
18271 if { (ac_try="$ac_compile"
18272 case "(($ac_try" in
18273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18274 *) ac_try_echo=$ac_try;;
18276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18277 (eval "$ac_compile") 2>conftest.er1
18279 grep -v '^ *+' conftest.er1 >conftest.err
18281 cat conftest.err >&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } && {
18284 test -z "$ac_c_werror_flag" ||
18285 test ! -s conftest.err
18286 } && test -s conftest.$ac_objext; then
18287 bakefile_cv_c_compiler___SUNPRO_C=yes
18289 echo "$as_me: failed program was:" >&5
18290 sed 's/^/| /' conftest.$ac_ext >&5
18292 bakefile_cv_c_compiler___SUNPRO_C=no
18296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18300 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18301 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18302 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18308 ac_cpp='$CPP $CPPFLAGS'
18309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18321 ac_cpp='$CPP $CPPFLAGS'
18322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18326 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18327 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18328 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18329 echo $ECHO_N "(cached) $ECHO_C" >&6
18331 cat >conftest.$ac_ext <<_ACEOF
18334 cat confdefs.h >>conftest.$ac_ext
18335 cat >>conftest.$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18350 rm -f conftest.$ac_objext
18351 if { (ac_try="$ac_compile"
18352 case "(($ac_try" in
18353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18354 *) ac_try_echo=$ac_try;;
18356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18357 (eval "$ac_compile") 2>conftest.er1
18359 grep -v '^ *+' conftest.er1 >conftest.err
18361 cat conftest.err >&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } && {
18364 test -z "$ac_c_werror_flag" ||
18365 test ! -s conftest.err
18366 } && test -s conftest.$ac_objext; then
18367 bakefile_cv_c_compiler___HP_cc=yes
18369 echo "$as_me: failed program was:" >&5
18370 sed 's/^/| /' conftest.$ac_ext >&5
18372 bakefile_cv_c_compiler___HP_cc=no
18376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18380 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18381 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18382 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18388 ac_cpp='$CPP $CPPFLAGS'
18389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18401 ac_cpp='$CPP $CPPFLAGS'
18402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18406 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18407 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18408 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18409 echo $ECHO_N "(cached) $ECHO_C" >&6
18411 cat >conftest.$ac_ext <<_ACEOF
18414 cat confdefs.h >>conftest.$ac_ext
18415 cat >>conftest.$ac_ext <<_ACEOF
18416 /* end confdefs.h. */
18430 rm -f conftest.$ac_objext
18431 if { (ac_try="$ac_compile"
18432 case "(($ac_try" in
18433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18434 *) ac_try_echo=$ac_try;;
18436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18437 (eval "$ac_compile") 2>conftest.er1
18439 grep -v '^ *+' conftest.er1 >conftest.err
18441 cat conftest.err >&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } && {
18444 test -z "$ac_c_werror_flag" ||
18445 test ! -s conftest.err
18446 } && test -s conftest.$ac_objext; then
18447 bakefile_cv_c_compiler___DECC=yes
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18452 bakefile_cv_c_compiler___DECC=no
18456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18460 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18461 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18462 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18468 ac_cpp='$CPP $CPPFLAGS'
18469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18481 ac_cpp='$CPP $CPPFLAGS'
18482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18486 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18487 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18488 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18489 echo $ECHO_N "(cached) $ECHO_C" >&6
18491 cat >conftest.$ac_ext <<_ACEOF
18494 cat confdefs.h >>conftest.$ac_ext
18495 cat >>conftest.$ac_ext <<_ACEOF
18496 /* end confdefs.h. */
18510 rm -f conftest.$ac_objext
18511 if { (ac_try="$ac_compile"
18512 case "(($ac_try" in
18513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18514 *) ac_try_echo=$ac_try;;
18516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18517 (eval "$ac_compile") 2>conftest.er1
18519 grep -v '^ *+' conftest.er1 >conftest.err
18521 cat conftest.err >&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } && {
18524 test -z "$ac_c_werror_flag" ||
18525 test ! -s conftest.err
18526 } && test -s conftest.$ac_objext; then
18527 bakefile_cv_c_compiler___SUNPRO_C=yes
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.$ac_ext >&5
18532 bakefile_cv_c_compiler___SUNPRO_C=no
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18540 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18541 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18542 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18548 ac_cpp='$CPP $CPPFLAGS'
18549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18562 ac_cpp='$CPP $CPPFLAGS'
18563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18566 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18567 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18568 # On Suns, sometimes $CPP names a directory.
18569 if test -n "$CPP" && test -d "$CPP"; then
18572 if test -z "$CPP"; then
18573 if test "${ac_cv_prog_CPP+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18576 # Double quotes because CPP needs to be expanded
18577 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18579 ac_preproc_ok=false
18580 for ac_c_preproc_warn_flag in '' yes
18582 # Use a header file that comes with gcc, so configuring glibc
18583 # with a fresh cross-compiler works.
18584 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18585 # <limits.h> exists even on freestanding compilers.
18586 # On the NeXT, cc -E runs the code through the compiler's parser,
18587 # not just through cpp. "Syntax error" is here to catch this case.
18588 cat >conftest.$ac_ext <<_ACEOF
18591 cat confdefs.h >>conftest.$ac_ext
18592 cat >>conftest.$ac_ext <<_ACEOF
18593 /* end confdefs.h. */
18595 # include <limits.h>
18597 # include <assert.h>
18601 if { (ac_try="$ac_cpp conftest.$ac_ext"
18602 case "(($ac_try" in
18603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18604 *) ac_try_echo=$ac_try;;
18606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18609 grep -v '^ *+' conftest.er1 >conftest.err
18611 cat conftest.err >&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); } >/dev/null && {
18614 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18615 test ! -s conftest.err
18619 echo "$as_me: failed program was:" >&5
18620 sed 's/^/| /' conftest.$ac_ext >&5
18622 # Broken: fails on valid input.
18626 rm -f conftest.err conftest.$ac_ext
18628 # OK, works on sane cases. Now check whether nonexistent headers
18629 # can be detected and how.
18630 cat >conftest.$ac_ext <<_ACEOF
18633 cat confdefs.h >>conftest.$ac_ext
18634 cat >>conftest.$ac_ext <<_ACEOF
18635 /* end confdefs.h. */
18636 #include <ac_nonexistent.h>
18638 if { (ac_try="$ac_cpp conftest.$ac_ext"
18639 case "(($ac_try" in
18640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18641 *) ac_try_echo=$ac_try;;
18643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18646 grep -v '^ *+' conftest.er1 >conftest.err
18648 cat conftest.err >&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); } >/dev/null && {
18651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18652 test ! -s conftest.err
18654 # Broken: success on invalid input.
18657 echo "$as_me: failed program was:" >&5
18658 sed 's/^/| /' conftest.$ac_ext >&5
18660 # Passes both tests.
18665 rm -f conftest.err conftest.$ac_ext
18668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18669 rm -f conftest.err conftest.$ac_ext
18670 if $ac_preproc_ok; then
18675 ac_cv_prog_CPP=$CPP
18678 CPP=$ac_cv_prog_CPP
18680 ac_cv_prog_CPP=$CPP
18682 { echo "$as_me:$LINENO: result: $CPP" >&5
18683 echo "${ECHO_T}$CPP" >&6; }
18684 ac_preproc_ok=false
18685 for ac_c_preproc_warn_flag in '' yes
18687 # Use a header file that comes with gcc, so configuring glibc
18688 # with a fresh cross-compiler works.
18689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18690 # <limits.h> exists even on freestanding compilers.
18691 # On the NeXT, cc -E runs the code through the compiler's parser,
18692 # not just through cpp. "Syntax error" is here to catch this case.
18693 cat >conftest.$ac_ext <<_ACEOF
18696 cat confdefs.h >>conftest.$ac_ext
18697 cat >>conftest.$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18700 # include <limits.h>
18702 # include <assert.h>
18706 if { (ac_try="$ac_cpp conftest.$ac_ext"
18707 case "(($ac_try" in
18708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18709 *) ac_try_echo=$ac_try;;
18711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18714 grep -v '^ *+' conftest.er1 >conftest.err
18716 cat conftest.err >&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); } >/dev/null && {
18719 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18720 test ! -s conftest.err
18724 echo "$as_me: failed program was:" >&5
18725 sed 's/^/| /' conftest.$ac_ext >&5
18727 # Broken: fails on valid input.
18731 rm -f conftest.err conftest.$ac_ext
18733 # OK, works on sane cases. Now check whether nonexistent headers
18734 # can be detected and how.
18735 cat >conftest.$ac_ext <<_ACEOF
18738 cat confdefs.h >>conftest.$ac_ext
18739 cat >>conftest.$ac_ext <<_ACEOF
18740 /* end confdefs.h. */
18741 #include <ac_nonexistent.h>
18743 if { (ac_try="$ac_cpp conftest.$ac_ext"
18744 case "(($ac_try" in
18745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18746 *) ac_try_echo=$ac_try;;
18748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18751 grep -v '^ *+' conftest.er1 >conftest.err
18753 cat conftest.err >&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); } >/dev/null && {
18756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18757 test ! -s conftest.err
18759 # Broken: success on invalid input.
18762 echo "$as_me: failed program was:" >&5
18763 sed 's/^/| /' conftest.$ac_ext >&5
18765 # Passes both tests.
18770 rm -f conftest.err conftest.$ac_ext
18773 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18774 rm -f conftest.err conftest.$ac_ext
18775 if $ac_preproc_ok; then
18778 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18779 See \`config.log' for more details." >&5
18780 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18781 See \`config.log' for more details." >&2;}
18782 { (exit 1); exit 1; }; }
18786 ac_cpp='$CPP $CPPFLAGS'
18787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18792 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18793 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18794 if test "${ac_cv_path_GREP+set}" = set; then
18795 echo $ECHO_N "(cached) $ECHO_C" >&6
18797 # Extract the first word of "grep ggrep" to use in msg output
18798 if test -z "$GREP"; then
18799 set dummy grep ggrep; ac_prog_name=$2
18800 if test "${ac_cv_path_GREP+set}" = set; then
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18803 ac_path_GREP_found=false
18804 # Loop through the user's path and test for each of PROGNAME-LIST
18805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18806 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18809 test -z "$as_dir" && as_dir=.
18810 for ac_prog in grep ggrep; do
18811 for ac_exec_ext in '' $ac_executable_extensions; do
18812 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18813 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18814 # Check for GNU ac_path_GREP and select it if it is found.
18815 # Check for GNU $ac_path_GREP
18816 case `"$ac_path_GREP" --version 2>&1` in
18818 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18821 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18824 cat "conftest.in" "conftest.in" >"conftest.tmp"
18825 mv "conftest.tmp" "conftest.in"
18826 cp "conftest.in" "conftest.nl"
18827 echo 'GREP' >> "conftest.nl"
18828 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18829 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18830 ac_count=`expr $ac_count + 1`
18831 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18832 # Best one so far, save it but keep looking for a better one
18833 ac_cv_path_GREP="$ac_path_GREP"
18834 ac_path_GREP_max=$ac_count
18836 # 10*(2^10) chars as input seems more than enough
18837 test $ac_count -gt 10 && break
18839 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18843 $ac_path_GREP_found && break 3
18853 GREP="$ac_cv_path_GREP"
18854 if test -z "$GREP"; then
18855 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18856 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18857 { (exit 1); exit 1; }; }
18861 ac_cv_path_GREP=$GREP
18866 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18867 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18868 GREP="$ac_cv_path_GREP"
18871 { echo "$as_me:$LINENO: checking for egrep" >&5
18872 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18873 if test "${ac_cv_path_EGREP+set}" = set; then
18874 echo $ECHO_N "(cached) $ECHO_C" >&6
18876 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18877 then ac_cv_path_EGREP="$GREP -E"
18879 # Extract the first word of "egrep" to use in msg output
18880 if test -z "$EGREP"; then
18881 set dummy egrep; ac_prog_name=$2
18882 if test "${ac_cv_path_EGREP+set}" = set; then
18883 echo $ECHO_N "(cached) $ECHO_C" >&6
18885 ac_path_EGREP_found=false
18886 # Loop through the user's path and test for each of PROGNAME-LIST
18887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18888 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18891 test -z "$as_dir" && as_dir=.
18892 for ac_prog in egrep; do
18893 for ac_exec_ext in '' $ac_executable_extensions; do
18894 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18895 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18896 # Check for GNU ac_path_EGREP and select it if it is found.
18897 # Check for GNU $ac_path_EGREP
18898 case `"$ac_path_EGREP" --version 2>&1` in
18900 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18903 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18906 cat "conftest.in" "conftest.in" >"conftest.tmp"
18907 mv "conftest.tmp" "conftest.in"
18908 cp "conftest.in" "conftest.nl"
18909 echo 'EGREP' >> "conftest.nl"
18910 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18911 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18912 ac_count=`expr $ac_count + 1`
18913 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18914 # Best one so far, save it but keep looking for a better one
18915 ac_cv_path_EGREP="$ac_path_EGREP"
18916 ac_path_EGREP_max=$ac_count
18918 # 10*(2^10) chars as input seems more than enough
18919 test $ac_count -gt 10 && break
18921 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18925 $ac_path_EGREP_found && break 3
18935 EGREP="$ac_cv_path_EGREP"
18936 if test -z "$EGREP"; then
18937 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18938 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18939 { (exit 1); exit 1; }; }
18943 ac_cv_path_EGREP=$EGREP
18949 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18950 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18951 EGREP="$ac_cv_path_EGREP"
18954 if test $ac_cv_c_compiler_gnu = yes; then
18955 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18956 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18957 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18958 echo $ECHO_N "(cached) $ECHO_C" >&6
18960 ac_pattern="Autoconf.*'x'"
18961 cat >conftest.$ac_ext <<_ACEOF
18964 cat confdefs.h >>conftest.$ac_ext
18965 cat >>conftest.$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18971 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18972 ac_cv_prog_gcc_traditional=yes
18974 ac_cv_prog_gcc_traditional=no
18979 if test $ac_cv_prog_gcc_traditional = no; then
18980 cat >conftest.$ac_ext <<_ACEOF
18983 cat confdefs.h >>conftest.$ac_ext
18984 cat >>conftest.$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 #include <termio.h>
18989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18990 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18991 ac_cv_prog_gcc_traditional=yes
18997 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18998 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18999 if test $ac_cv_prog_gcc_traditional = yes; then
19000 CC="$CC -traditional"
19005 CXXFLAGS=${CXXFLAGS:=}
19010 ac_cpp='$CXXCPP $CPPFLAGS'
19011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19014 if test -z "$CXX"; then
19015 if test -n "$CCC"; then
19018 if test -n "$ac_tool_prefix"; then
19019 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19022 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19025 if test "${ac_cv_prog_CXX+set}" = set; then
19026 echo $ECHO_N "(cached) $ECHO_C" >&6
19028 if test -n "$CXX"; then
19029 ac_cv_prog_CXX="$CXX" # Let the user override the test.
19031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19032 for as_dir in $PATH
19035 test -z "$as_dir" && as_dir=.
19036 for ac_exec_ext in '' $ac_executable_extensions; do
19037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19038 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
19039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19048 CXX=$ac_cv_prog_CXX
19049 if test -n "$CXX"; then
19050 { echo "$as_me:$LINENO: result: $CXX" >&5
19051 echo "${ECHO_T}$CXX" >&6; }
19053 { echo "$as_me:$LINENO: result: no" >&5
19054 echo "${ECHO_T}no" >&6; }
19058 test -n "$CXX" && break
19061 if test -z "$CXX"; then
19063 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19065 # Extract the first word of "$ac_prog", so it can be a program name with args.
19066 set dummy $ac_prog; ac_word=$2
19067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19069 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19070 echo $ECHO_N "(cached) $ECHO_C" >&6
19072 if test -n "$ac_ct_CXX"; then
19073 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
19075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19076 for as_dir in $PATH
19079 test -z "$as_dir" && as_dir=.
19080 for ac_exec_ext in '' $ac_executable_extensions; do
19081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19082 ac_cv_prog_ac_ct_CXX="$ac_prog"
19083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19092 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19093 if test -n "$ac_ct_CXX"; then
19094 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19095 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19097 { echo "$as_me:$LINENO: result: no" >&5
19098 echo "${ECHO_T}no" >&6; }
19102 test -n "$ac_ct_CXX" && break
19105 if test "x$ac_ct_CXX" = x; then
19108 case $cross_compiling:$ac_tool_warned in
19110 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19111 whose name does not start with the host triplet. If you think this
19112 configuration is useful to you, please write to autoconf@gnu.org." >&5
19113 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19114 whose name does not start with the host triplet. If you think this
19115 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19116 ac_tool_warned=yes ;;
19124 # Provide some information about the compiler.
19125 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19126 ac_compiler=`set X $ac_compile; echo $2`
19127 { (ac_try="$ac_compiler --version >&5"
19128 case "(($ac_try" in
19129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19130 *) ac_try_echo=$ac_try;;
19132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19133 (eval "$ac_compiler --version >&5") 2>&5
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); }
19137 { (ac_try="$ac_compiler -v >&5"
19138 case "(($ac_try" in
19139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19140 *) ac_try_echo=$ac_try;;
19142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_compiler -v >&5") 2>&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }
19147 { (ac_try="$ac_compiler -V >&5"
19148 case "(($ac_try" in
19149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19150 *) ac_try_echo=$ac_try;;
19152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19153 (eval "$ac_compiler -V >&5") 2>&5
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); }
19158 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19159 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19160 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19161 echo $ECHO_N "(cached) $ECHO_C" >&6
19163 cat >conftest.$ac_ext <<_ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19181 rm -f conftest.$ac_objext
19182 if { (ac_try="$ac_compile"
19183 case "(($ac_try" in
19184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19185 *) ac_try_echo=$ac_try;;
19187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19188 (eval "$ac_compile") 2>conftest.er1
19190 grep -v '^ *+' conftest.er1 >conftest.err
19192 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } && {
19195 test -z "$ac_cxx_werror_flag" ||
19196 test ! -s conftest.err
19197 } && test -s conftest.$ac_objext; then
19198 ac_compiler_gnu=yes
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.$ac_ext >&5
19206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19207 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19210 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19211 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19212 GXX=`test $ac_compiler_gnu = yes && echo yes`
19213 ac_test_CXXFLAGS=${CXXFLAGS+set}
19214 ac_save_CXXFLAGS=$CXXFLAGS
19215 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19216 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19217 if test "${ac_cv_prog_cxx_g+set}" = set; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19220 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19221 ac_cxx_werror_flag=yes
19222 ac_cv_prog_cxx_g=no
19224 cat >conftest.$ac_ext <<_ACEOF
19227 cat confdefs.h >>conftest.$ac_ext
19228 cat >>conftest.$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19239 rm -f conftest.$ac_objext
19240 if { (ac_try="$ac_compile"
19241 case "(($ac_try" in
19242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19243 *) ac_try_echo=$ac_try;;
19245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19246 (eval "$ac_compile") 2>conftest.er1
19248 grep -v '^ *+' conftest.er1 >conftest.err
19250 cat conftest.err >&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } && {
19253 test -z "$ac_cxx_werror_flag" ||
19254 test ! -s conftest.err
19255 } && test -s conftest.$ac_objext; then
19256 ac_cv_prog_cxx_g=yes
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19262 cat >conftest.$ac_ext <<_ACEOF
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19277 rm -f conftest.$ac_objext
19278 if { (ac_try="$ac_compile"
19279 case "(($ac_try" in
19280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19281 *) ac_try_echo=$ac_try;;
19283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19284 (eval "$ac_compile") 2>conftest.er1
19286 grep -v '^ *+' conftest.er1 >conftest.err
19288 cat conftest.err >&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); } && {
19291 test -z "$ac_cxx_werror_flag" ||
19292 test ! -s conftest.err
19293 } && test -s conftest.$ac_objext; then
19296 echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.$ac_ext >&5
19299 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19301 cat >conftest.$ac_ext <<_ACEOF
19304 cat confdefs.h >>conftest.$ac_ext
19305 cat >>conftest.$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19316 rm -f conftest.$ac_objext
19317 if { (ac_try="$ac_compile"
19318 case "(($ac_try" in
19319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19320 *) ac_try_echo=$ac_try;;
19322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19323 (eval "$ac_compile") 2>conftest.er1
19325 grep -v '^ *+' conftest.er1 >conftest.err
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } && {
19330 test -z "$ac_cxx_werror_flag" ||
19331 test ! -s conftest.err
19332 } && test -s conftest.$ac_objext; then
19333 ac_cv_prog_cxx_g=yes
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19348 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19350 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19351 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19352 if test "$ac_test_CXXFLAGS" = set; then
19353 CXXFLAGS=$ac_save_CXXFLAGS
19354 elif test $ac_cv_prog_cxx_g = yes; then
19355 if test "$GXX" = yes; then
19361 if test "$GXX" = yes; then
19368 ac_cpp='$CPP $CPPFLAGS'
19369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19377 ac_cpp='$CXXCPP $CPPFLAGS'
19378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19382 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19383 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19384 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19385 echo $ECHO_N "(cached) $ECHO_C" >&6
19387 cat >conftest.$ac_ext <<_ACEOF
19390 cat confdefs.h >>conftest.$ac_ext
19391 cat >>conftest.$ac_ext <<_ACEOF
19392 /* end confdefs.h. */
19398 #ifndef __INTEL_COMPILER
19406 rm -f conftest.$ac_objext
19407 if { (ac_try="$ac_compile"
19408 case "(($ac_try" in
19409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19410 *) ac_try_echo=$ac_try;;
19412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19413 (eval "$ac_compile") 2>conftest.er1
19415 grep -v '^ *+' conftest.er1 >conftest.err
19417 cat conftest.err >&5
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); } && {
19420 test -z "$ac_cxx_werror_flag" ||
19421 test ! -s conftest.err
19422 } && test -s conftest.$ac_objext; then
19423 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.$ac_ext >&5
19428 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19436 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19437 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19438 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19444 ac_cpp='$CPP $CPPFLAGS'
19445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19452 if test "x$GCXX" != "xyes"; then
19453 if test "xCXX" = "xC"; then
19454 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19455 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19456 if test "${bakefile_cv_c_exto+set}" = set; then
19457 echo $ECHO_N "(cached) $ECHO_C" >&6
19459 cat >conftest.$ac_ext <<_ACEOF
19462 cat confdefs.h >>conftest.$ac_ext
19463 cat >>conftest.$ac_ext <<_ACEOF
19464 /* end confdefs.h. */
19474 rm -f conftest.$ac_objext conftest.$ac_ext.o
19475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19476 (eval $ac_compile) 2>&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; then
19480 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19482 conftest.$ac_ext.o)
19483 bakefile_cv_c_exto="-ext o"
19490 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19491 See \`config.log' for more details." >&5
19492 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19493 See \`config.log' for more details." >&2;}
19494 { (exit 1); exit 1; }; }
19498 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19501 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19502 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19503 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19504 if test "c" = "c"; then
19505 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19507 if test "c" = "cxx"; then
19508 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19512 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19513 unset ac_cv_prog_cc_g
19514 ac_test_CFLAGS=${CFLAGS+set}
19515 ac_save_CFLAGS=$CFLAGS
19516 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19517 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19518 if test "${ac_cv_prog_cc_g+set}" = set; then
19519 echo $ECHO_N "(cached) $ECHO_C" >&6
19521 ac_save_c_werror_flag=$ac_c_werror_flag
19522 ac_c_werror_flag=yes
19525 cat >conftest.$ac_ext <<_ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19540 rm -f conftest.$ac_objext
19541 if { (ac_try="$ac_compile"
19542 case "(($ac_try" in
19543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19544 *) ac_try_echo=$ac_try;;
19546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19547 (eval "$ac_compile") 2>conftest.er1
19549 grep -v '^ *+' conftest.er1 >conftest.err
19551 cat conftest.err >&5
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); } && {
19554 test -z "$ac_c_werror_flag" ||
19555 test ! -s conftest.err
19556 } && test -s conftest.$ac_objext; then
19557 ac_cv_prog_cc_g=yes
19559 echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.$ac_ext >&5
19563 cat >conftest.$ac_ext <<_ACEOF
19566 cat confdefs.h >>conftest.$ac_ext
19567 cat >>conftest.$ac_ext <<_ACEOF
19568 /* end confdefs.h. */
19578 rm -f conftest.$ac_objext
19579 if { (ac_try="$ac_compile"
19580 case "(($ac_try" in
19581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19582 *) ac_try_echo=$ac_try;;
19584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19585 (eval "$ac_compile") 2>conftest.er1
19587 grep -v '^ *+' conftest.er1 >conftest.err
19589 cat conftest.err >&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); } && {
19592 test -z "$ac_c_werror_flag" ||
19593 test ! -s conftest.err
19594 } && test -s conftest.$ac_objext; then
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.$ac_ext >&5
19600 ac_c_werror_flag=$ac_save_c_werror_flag
19602 cat >conftest.$ac_ext <<_ACEOF
19605 cat confdefs.h >>conftest.$ac_ext
19606 cat >>conftest.$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19617 rm -f conftest.$ac_objext
19618 if { (ac_try="$ac_compile"
19619 case "(($ac_try" in
19620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19621 *) ac_try_echo=$ac_try;;
19623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19624 (eval "$ac_compile") 2>conftest.er1
19626 grep -v '^ *+' conftest.er1 >conftest.err
19628 cat conftest.err >&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); } && {
19631 test -z "$ac_c_werror_flag" ||
19632 test ! -s conftest.err
19633 } && test -s conftest.$ac_objext; then
19634 ac_cv_prog_cc_g=yes
19636 echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.$ac_ext >&5
19642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19649 ac_c_werror_flag=$ac_save_c_werror_flag
19651 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19652 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19653 if test "$ac_test_CFLAGS" = set; then
19654 CFLAGS=$ac_save_CFLAGS
19655 elif test $ac_cv_prog_cc_g = yes; then
19656 if test "$GCC" = yes; then
19662 if test "$GCC" = yes; then
19676 ac_cpp='$CXXCPP $CPPFLAGS'
19677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19681 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19682 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19683 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19684 echo $ECHO_N "(cached) $ECHO_C" >&6
19686 cat >conftest.$ac_ext <<_ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19705 rm -f conftest.$ac_objext
19706 if { (ac_try="$ac_compile"
19707 case "(($ac_try" in
19708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19709 *) ac_try_echo=$ac_try;;
19711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19712 (eval "$ac_compile") 2>conftest.er1
19714 grep -v '^ *+' conftest.er1 >conftest.err
19716 cat conftest.err >&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } && {
19719 test -z "$ac_cxx_werror_flag" ||
19720 test ! -s conftest.err
19721 } && test -s conftest.$ac_objext; then
19722 bakefile_cv_cxx_compiler___xlC__=yes
19724 echo "$as_me: failed program was:" >&5
19725 sed 's/^/| /' conftest.$ac_ext >&5
19727 bakefile_cv_cxx_compiler___xlC__=no
19731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19735 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19736 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19737 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19743 ac_cpp='$CPP $CPPFLAGS'
19744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19756 ac_cpp='$CXXCPP $CPPFLAGS'
19757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19761 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19762 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19763 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19764 echo $ECHO_N "(cached) $ECHO_C" >&6
19766 cat >conftest.$ac_ext <<_ACEOF
19769 cat confdefs.h >>conftest.$ac_ext
19770 cat >>conftest.$ac_ext <<_ACEOF
19771 /* end confdefs.h. */
19785 rm -f conftest.$ac_objext
19786 if { (ac_try="$ac_compile"
19787 case "(($ac_try" in
19788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19789 *) ac_try_echo=$ac_try;;
19791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_compile") 2>conftest.er1
19794 grep -v '^ *+' conftest.er1 >conftest.err
19796 cat conftest.err >&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_cxx_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest.$ac_objext; then
19802 bakefile_cv_cxx_compiler___MWERKS__=yes
19804 echo "$as_me: failed program was:" >&5
19805 sed 's/^/| /' conftest.$ac_ext >&5
19807 bakefile_cv_cxx_compiler___MWERKS__=no
19811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19815 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19816 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19817 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19823 ac_cpp='$CPP $CPPFLAGS'
19824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19833 ac_cpp='$CXXCPP $CPPFLAGS'
19834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19838 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19839 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19840 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19841 echo $ECHO_N "(cached) $ECHO_C" >&6
19843 cat >conftest.$ac_ext <<_ACEOF
19846 cat confdefs.h >>conftest.$ac_ext
19847 cat >>conftest.$ac_ext <<_ACEOF
19848 /* end confdefs.h. */
19862 rm -f conftest.$ac_objext
19863 if { (ac_try="$ac_compile"
19864 case "(($ac_try" in
19865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19866 *) ac_try_echo=$ac_try;;
19868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19869 (eval "$ac_compile") 2>conftest.er1
19871 grep -v '^ *+' conftest.er1 >conftest.err
19873 cat conftest.err >&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); } && {
19876 test -z "$ac_cxx_werror_flag" ||
19877 test ! -s conftest.err
19878 } && test -s conftest.$ac_objext; then
19879 bakefile_cv_cxx_compiler___xlC__=yes
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.$ac_ext >&5
19884 bakefile_cv_cxx_compiler___xlC__=no
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19892 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19893 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19894 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19900 ac_cpp='$CPP $CPPFLAGS'
19901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19913 ac_cpp='$CXXCPP $CPPFLAGS'
19914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19918 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19919 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19920 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19921 echo $ECHO_N "(cached) $ECHO_C" >&6
19923 cat >conftest.$ac_ext <<_ACEOF
19926 cat confdefs.h >>conftest.$ac_ext
19927 cat >>conftest.$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19934 #ifndef _SGI_COMPILER_VERSION
19942 rm -f conftest.$ac_objext
19943 if { (ac_try="$ac_compile"
19944 case "(($ac_try" in
19945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19946 *) ac_try_echo=$ac_try;;
19948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19949 (eval "$ac_compile") 2>conftest.er1
19951 grep -v '^ *+' conftest.er1 >conftest.err
19953 cat conftest.err >&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); } && {
19956 test -z "$ac_cxx_werror_flag" ||
19957 test ! -s conftest.err
19958 } && test -s conftest.$ac_objext; then
19959 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19961 echo "$as_me: failed program was:" >&5
19962 sed 's/^/| /' conftest.$ac_ext >&5
19964 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19972 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19973 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19974 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19980 ac_cpp='$CPP $CPPFLAGS'
19981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19993 ac_cpp='$CXXCPP $CPPFLAGS'
19994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19998 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19999 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20000 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20001 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 cat >conftest.$ac_ext <<_ACEOF
20006 cat confdefs.h >>conftest.$ac_ext
20007 cat >>conftest.$ac_ext <<_ACEOF
20008 /* end confdefs.h. */
20014 #ifndef __SUNPRO_CC
20022 rm -f conftest.$ac_objext
20023 if { (ac_try="$ac_compile"
20024 case "(($ac_try" in
20025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20026 *) ac_try_echo=$ac_try;;
20028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20029 (eval "$ac_compile") 2>conftest.er1
20031 grep -v '^ *+' conftest.er1 >conftest.err
20033 cat conftest.err >&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } && {
20036 test -z "$ac_cxx_werror_flag" ||
20037 test ! -s conftest.err
20038 } && test -s conftest.$ac_objext; then
20039 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20041 echo "$as_me: failed program was:" >&5
20042 sed 's/^/| /' conftest.$ac_ext >&5
20044 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20052 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20053 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20054 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20060 ac_cpp='$CPP $CPPFLAGS'
20061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20073 ac_cpp='$CXXCPP $CPPFLAGS'
20074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20078 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20079 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20080 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20081 echo $ECHO_N "(cached) $ECHO_C" >&6
20083 cat >conftest.$ac_ext <<_ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20102 rm -f conftest.$ac_objext
20103 if { (ac_try="$ac_compile"
20104 case "(($ac_try" in
20105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20106 *) ac_try_echo=$ac_try;;
20108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20109 (eval "$ac_compile") 2>conftest.er1
20111 grep -v '^ *+' conftest.er1 >conftest.err
20113 cat conftest.err >&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } && {
20116 test -z "$ac_cxx_werror_flag" ||
20117 test ! -s conftest.err
20118 } && test -s conftest.$ac_objext; then
20119 bakefile_cv_cxx_compiler___HP_aCC=yes
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20124 bakefile_cv_cxx_compiler___HP_aCC=no
20128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20132 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20133 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20134 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20140 ac_cpp='$CPP $CPPFLAGS'
20141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20153 ac_cpp='$CXXCPP $CPPFLAGS'
20154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20158 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20159 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20160 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 cat >conftest.$ac_ext <<_ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20182 rm -f conftest.$ac_objext
20183 if { (ac_try="$ac_compile"
20184 case "(($ac_try" in
20185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20186 *) ac_try_echo=$ac_try;;
20188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_compile") 2>conftest.er1
20191 grep -v '^ *+' conftest.er1 >conftest.err
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } && {
20196 test -z "$ac_cxx_werror_flag" ||
20197 test ! -s conftest.err
20198 } && test -s conftest.$ac_objext; then
20199 bakefile_cv_cxx_compiler___DECCXX=yes
20201 echo "$as_me: failed program was:" >&5
20202 sed 's/^/| /' conftest.$ac_ext >&5
20204 bakefile_cv_cxx_compiler___DECCXX=no
20208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20212 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20213 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20214 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20220 ac_cpp='$CPP $CPPFLAGS'
20221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20233 ac_cpp='$CXXCPP $CPPFLAGS'
20234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20238 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20239 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20240 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20241 echo $ECHO_N "(cached) $ECHO_C" >&6
20243 cat >conftest.$ac_ext <<_ACEOF
20246 cat confdefs.h >>conftest.$ac_ext
20247 cat >>conftest.$ac_ext <<_ACEOF
20248 /* end confdefs.h. */
20254 #ifndef __SUNPRO_CC
20262 rm -f conftest.$ac_objext
20263 if { (ac_try="$ac_compile"
20264 case "(($ac_try" in
20265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20266 *) ac_try_echo=$ac_try;;
20268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20269 (eval "$ac_compile") 2>conftest.er1
20271 grep -v '^ *+' conftest.er1 >conftest.err
20273 cat conftest.err >&5
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); } && {
20276 test -z "$ac_cxx_werror_flag" ||
20277 test ! -s conftest.err
20278 } && test -s conftest.$ac_objext; then
20279 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20281 echo "$as_me: failed program was:" >&5
20282 sed 's/^/| /' conftest.$ac_ext >&5
20284 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20292 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20293 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20294 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20300 ac_cpp='$CPP $CPPFLAGS'
20301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20313 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20314 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20315 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20316 { (exit 1); exit 1; }; }
20319 if test "x$SUNCXX" != xyes; then
20320 if test -n "$ac_tool_prefix"; then
20321 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20322 set dummy ${ac_tool_prefix}ar; ac_word=$2
20323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20325 if test "${ac_cv_prog_AR+set}" = set; then
20326 echo $ECHO_N "(cached) $ECHO_C" >&6
20328 if test -n "$AR"; then
20329 ac_cv_prog_AR="$AR" # Let the user override the test.
20331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20332 for as_dir in $PATH
20335 test -z "$as_dir" && as_dir=.
20336 for ac_exec_ext in '' $ac_executable_extensions; do
20337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20338 ac_cv_prog_AR="${ac_tool_prefix}ar"
20339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20349 if test -n "$AR"; then
20350 { echo "$as_me:$LINENO: result: $AR" >&5
20351 echo "${ECHO_T}$AR" >&6; }
20353 { echo "$as_me:$LINENO: result: no" >&5
20354 echo "${ECHO_T}no" >&6; }
20359 if test -z "$ac_cv_prog_AR"; then
20361 # Extract the first word of "ar", so it can be a program name with args.
20362 set dummy ar; ac_word=$2
20363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20365 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20366 echo $ECHO_N "(cached) $ECHO_C" >&6
20368 if test -n "$ac_ct_AR"; then
20369 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20372 for as_dir in $PATH
20375 test -z "$as_dir" && as_dir=.
20376 for ac_exec_ext in '' $ac_executable_extensions; do
20377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20378 ac_cv_prog_ac_ct_AR="ar"
20379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20388 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20389 if test -n "$ac_ct_AR"; then
20390 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20391 echo "${ECHO_T}$ac_ct_AR" >&6; }
20393 { echo "$as_me:$LINENO: result: no" >&5
20394 echo "${ECHO_T}no" >&6; }
20397 if test "x$ac_ct_AR" = x; then
20400 case $cross_compiling:$ac_tool_warned in
20402 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20403 whose name does not start with the host triplet. If you think this
20404 configuration is useful to you, please write to autoconf@gnu.org." >&5
20405 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20406 whose name does not start with the host triplet. If you think this
20407 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20408 ac_tool_warned=yes ;;
20413 AR="$ac_cv_prog_AR"
20416 if test "x$AR" = "x" ; then
20417 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20418 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20419 { (exit 1); exit 1; }; }
20423 retest_macosx_linking=no
20425 #if test "$wxUSE_MAC" = 1; then
20426 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20427 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20428 # Implicitly turn on the new --with-macosx-sdk using the default
20429 # SDK which provides the behavior this option has always had.
20430 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20431 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20432 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20433 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20434 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20435 wxUSE_MACOSX_SDK=yes
20438 # Complain to user if he specified an argument to --enable-universal_binary
20439 # and also 1) specified --with-macosx-sdk using the default (yes) or
20440 # 2) specified --with-macosx-sdk using a path or 3) specified
20441 # --without-macosx-sdk (no).
20442 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20443 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20444 See \`config.log' for more details." >&5
20445 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20446 See \`config.log' for more details." >&2;}
20447 { (exit 1); exit 1; }; }
20449 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20450 # special-case the empty string because the below test simply
20451 # converts "no" to the empty string anyway.
20452 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20453 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20454 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20457 OSX_UNIV_OPTS="-arch ppc -arch i386"
20458 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20459 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20460 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20461 retest_macosx_linking=yes
20463 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20464 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20469 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20471 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20472 # TODO: Search for most recent SDK and use it.
20473 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20477 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20478 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20479 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20480 if ! test -d "$wxUSE_MACOSX_SDK"; then
20481 { { echo "$as_me:$LINENO: error: not found
20482 See \`config.log' for more details." >&5
20483 echo "$as_me: error: not found
20484 See \`config.log' for more details." >&2;}
20485 { (exit 1); exit 1; }; }
20487 { echo "$as_me:$LINENO: result: exists" >&5
20488 echo "${ECHO_T}exists" >&6; }
20490 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20491 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20492 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20493 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20494 retest_macosx_linking=yes
20497 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20498 wxUSE_MACOSX_VERSION_MIN=
20499 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20500 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20501 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20502 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20504 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20506 # If that failed, try again with the new key
20507 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20509 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20513 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20514 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20515 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20516 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20518 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20519 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20520 wxUSE_MACOSX_VERSION_MIN=
20523 wxUSE_MACOSX_VERSION_MIN=
20527 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20528 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20529 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20530 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20531 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20532 retest_macosx_linking=yes
20535 if test "x$retest_macosx_linking" = "xyes"; then
20537 ac_cpp='$CPP $CPPFLAGS'
20538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20542 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20543 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20544 cat >conftest.$ac_ext <<_ACEOF
20547 cat confdefs.h >>conftest.$ac_ext
20548 cat >>conftest.$ac_ext <<_ACEOF
20549 /* end confdefs.h. */
20559 rm -f conftest.$ac_objext conftest$ac_exeext
20560 if { (ac_try="$ac_link"
20561 case "(($ac_try" in
20562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20563 *) ac_try_echo=$ac_try;;
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_link") 2>conftest.er1
20568 grep -v '^ *+' conftest.er1 >conftest.err
20570 cat conftest.err >&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest$ac_exeext &&
20576 $as_test_x conftest$ac_exeext; then
20577 { echo "$as_me:$LINENO: result: yes" >&5
20578 echo "${ECHO_T}yes" >&6; }
20580 echo "$as_me: failed program was:" >&5
20581 sed 's/^/| /' conftest.$ac_ext >&5
20583 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20584 See \`config.log' for more details." >&5
20585 echo "$as_me: error: no. Try a different SDK
20586 See \`config.log' for more details." >&2;}
20587 { (exit 1); exit 1; }; }; exit 1
20590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20591 conftest$ac_exeext conftest.$ac_ext
20593 ac_cpp='$CPP $CPPFLAGS'
20594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20600 ac_cpp='$CXXCPP $CPPFLAGS'
20601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20605 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20606 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20607 cat >conftest.$ac_ext <<_ACEOF
20610 cat confdefs.h >>conftest.$ac_ext
20611 cat >>conftest.$ac_ext <<_ACEOF
20612 /* end confdefs.h. */
20622 rm -f conftest.$ac_objext conftest$ac_exeext
20623 if { (ac_try="$ac_link"
20624 case "(($ac_try" in
20625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20626 *) ac_try_echo=$ac_try;;
20628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20629 (eval "$ac_link") 2>conftest.er1
20631 grep -v '^ *+' conftest.er1 >conftest.err
20633 cat conftest.err >&5
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); } && {
20636 test -z "$ac_cxx_werror_flag" ||
20637 test ! -s conftest.err
20638 } && test -s conftest$ac_exeext &&
20639 $as_test_x conftest$ac_exeext; then
20640 { echo "$as_me:$LINENO: result: yes" >&5
20641 echo "${ECHO_T}yes" >&6; }
20643 echo "$as_me: failed program was:" >&5
20644 sed 's/^/| /' conftest.$ac_ext >&5
20646 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20647 See \`config.log' for more details." >&5
20648 echo "$as_me: error: no. Try a different SDK
20649 See \`config.log' for more details." >&2;}
20650 { (exit 1); exit 1; }; }; exit 1
20653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20654 conftest$ac_exeext conftest.$ac_ext
20656 ac_cpp='$CPP $CPPFLAGS'
20657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20667 INSTALL_PROGRAM="cp -fp"
20668 INSTALL_DATA="cp -fp"
20675 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20676 CXXFLAGS="-qunique $CXXFLAGS"
20680 powerpc-*-darwin* )
20681 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20682 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20683 cat >conftest.$ac_ext <<_ACEOF
20686 cat confdefs.h >>conftest.$ac_ext
20687 cat >>conftest.$ac_ext <<_ACEOF
20688 /* end confdefs.h. */
20693 #ifndef __POWERPC__
20694 choke me for lack of PowerPC
20701 rm -f conftest.$ac_objext
20702 if { (ac_try="$ac_compile"
20703 case "(($ac_try" in
20704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20705 *) ac_try_echo=$ac_try;;
20707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20708 (eval "$ac_compile") 2>conftest.er1
20710 grep -v '^ *+' conftest.er1 >conftest.err
20712 cat conftest.err >&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); } && {
20715 test -z "$ac_c_werror_flag" ||
20716 test ! -s conftest.err
20717 } && test -s conftest.$ac_objext; then
20718 { echo "$as_me:$LINENO: result: yes" >&5
20719 echo "${ECHO_T}yes" >&6; }
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20724 { echo "$as_me:$LINENO: result: no" >&5
20725 echo "${ECHO_T}no" >&6; }
20726 cat >>confdefs.h <<\_ACEOF
20727 #define __POWERPC__ 1
20733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20739 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20740 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20741 cat >conftest.$ac_ext <<_ACEOF
20744 cat confdefs.h >>conftest.$ac_ext
20745 cat >>conftest.$ac_ext <<_ACEOF
20746 /* end confdefs.h. */
20747 #include <CoreFoundation/CFBase.h>
20757 rm -f conftest.$ac_objext
20758 if { (ac_try="$ac_compile"
20759 case "(($ac_try" in
20760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20761 *) ac_try_echo=$ac_try;;
20763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20764 (eval "$ac_compile") 2>conftest.er1
20766 grep -v '^ *+' conftest.er1 >conftest.err
20768 cat conftest.err >&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } && {
20771 test -z "$ac_c_werror_flag" ||
20772 test ! -s conftest.err
20773 } && test -s conftest.$ac_objext; then
20774 { echo "$as_me:$LINENO: result: yes" >&5
20775 echo "${ECHO_T}yes" >&6; }
20777 echo "$as_me: failed program was:" >&5
20778 sed 's/^/| /' conftest.$ac_ext >&5
20780 { echo "$as_me:$LINENO: result: no" >&5
20781 echo "${ECHO_T}no" >&6; }
20782 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20783 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20784 cat >conftest.$ac_ext <<_ACEOF
20787 cat confdefs.h >>conftest.$ac_ext
20788 cat >>conftest.$ac_ext <<_ACEOF
20789 /* end confdefs.h. */
20790 #define __CF_USE_FRAMEWORK_INCLUDES__
20791 #include <CoreFoundation/CFBase.h>
20801 rm -f conftest.$ac_objext
20802 if { (ac_try="$ac_compile"
20803 case "(($ac_try" in
20804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;;
20807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 (eval "$ac_compile") 2>conftest.er1
20810 grep -v '^ *+' conftest.er1 >conftest.err
20812 cat conftest.err >&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } && {
20815 test -z "$ac_c_werror_flag" ||
20816 test ! -s conftest.err
20817 } && test -s conftest.$ac_objext; then
20818 { echo "$as_me:$LINENO: result: yes" >&5
20819 echo "${ECHO_T}yes" >&6; }
20820 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20822 echo "$as_me: failed program was:" >&5
20823 sed 's/^/| /' conftest.$ac_ext >&5
20825 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20826 See \`config.log' for more details." >&5
20827 echo "$as_me: error: no. CoreFoundation not available.
20828 See \`config.log' for more details." >&2;}
20829 { (exit 1); exit 1; }; }
20833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20843 doesnt_want_win32=0
20846 if test "$wxUSE_MSW" = 1 ; then
20849 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20850 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20851 if test "${wx_cv_nocygwin+set}" = set; then
20852 echo $ECHO_N "(cached) $ECHO_C" >&6
20855 cat >conftest.$ac_ext <<_ACEOF
20858 cat confdefs.h >>conftest.$ac_ext
20859 cat >>conftest.$ac_ext <<_ACEOF
20860 /* end confdefs.h. */
20874 rm -f conftest.$ac_objext
20875 if { (ac_try="$ac_compile"
20876 case "(($ac_try" in
20877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20878 *) ac_try_echo=$ac_try;;
20880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20881 (eval "$ac_compile") 2>conftest.er1
20883 grep -v '^ *+' conftest.er1 >conftest.err
20885 cat conftest.err >&5
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); } && {
20888 test -z "$ac_c_werror_flag" ||
20889 test ! -s conftest.err
20890 } && test -s conftest.$ac_objext; then
20893 echo "$as_me: failed program was:" >&5
20894 sed 's/^/| /' conftest.$ac_ext >&5
20900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20904 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20905 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20907 if test "$wx_cv_nocygwin" = "yes"; then
20910 doesnt_want_win32=1
20913 if test "$wants_win32" = 1 ; then
20914 BAKEFILE_FORCE_PLATFORM=win32
20922 if test "$wxUSE_WINE" = "yes"; then
20924 LDFLAGS_GUI="-mwindows"
20927 if test "$wants_win32" = 1 ; then
20930 cat >>confdefs.h <<\_ACEOF
20931 #define __WIN32__ 1
20934 cat >>confdefs.h <<\_ACEOF
20935 #define __WIN95__ 1
20938 cat >>confdefs.h <<\_ACEOF
20939 #define __WINDOWS__ 1
20942 cat >>confdefs.h <<\_ACEOF
20943 #define __GNUWIN32__ 1
20946 cat >>confdefs.h <<\_ACEOF
20951 if test "$doesnt_want_win32" = 1 ; then
20956 if test "$USE_UNIX" = 1 ; then
20958 cat >>confdefs.h <<\_ACEOF
20965 *-pc-os2_emx | *-pc-os2-emx )
20966 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20967 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20968 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20969 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20970 echo $ECHO_N "(cached) $ECHO_C" >&6
20972 ac_check_lib_save_LIBS=$LIBS
20973 LIBS="-lcExt $LIBS"
20974 cat >conftest.$ac_ext <<_ACEOF
20977 cat confdefs.h >>conftest.$ac_ext
20978 cat >>conftest.$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20981 /* Override any GCC internal prototype to avoid an error.
20982 Use char because int might match the return type of a GCC
20983 builtin and then its argument prototype would still apply. */
20996 rm -f conftest.$ac_objext conftest$ac_exeext
20997 if { (ac_try="$ac_link"
20998 case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_link") 2>conftest.er1
21005 grep -v '^ *+' conftest.er1 >conftest.err
21007 cat conftest.err >&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } && {
21010 test -z "$ac_c_werror_flag" ||
21011 test ! -s conftest.err
21012 } && test -s conftest$ac_exeext &&
21013 $as_test_x conftest$ac_exeext; then
21014 ac_cv_lib_cExt_drand48=yes
21016 echo "$as_me: failed program was:" >&5
21017 sed 's/^/| /' conftest.$ac_ext >&5
21019 ac_cv_lib_cExt_drand48=no
21022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21023 conftest$ac_exeext conftest.$ac_ext
21024 LIBS=$ac_check_lib_save_LIBS
21026 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
21027 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
21028 if test $ac_cv_lib_cExt_drand48 = yes; then
21029 LIBS="$LIBS -lcExt"
21033 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
21035 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
21036 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
21037 if test "${wx_cv_gccversion+set}" = set; then
21038 echo $ECHO_N "(cached) $ECHO_C" >&6
21041 if test "$cross_compiling" = yes; then
21042 wx_cv_gccversion="EMX2"
21045 cat >conftest.$ac_ext <<_ACEOF
21048 cat confdefs.h >>conftest.$ac_ext
21049 cat >>conftest.$ac_ext <<_ACEOF
21050 /* end confdefs.h. */
21056 FILE *f=fopen("conftestval", "w");
21061 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
21063 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21073 rm -f conftest$ac_exeext
21074 if { (ac_try="$ac_link"
21075 case "(($ac_try" in
21076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21077 *) ac_try_echo=$ac_try;;
21079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21080 (eval "$ac_link") 2>&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21084 { (case "(($ac_try" in
21085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21086 *) ac_try_echo=$ac_try;;
21088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21089 (eval "$ac_try") 2>&5
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); }; }; then
21093 wx_cv_gccversion=`cat conftestval`
21095 echo "$as_me: program exited with status $ac_status" >&5
21096 echo "$as_me: failed program was:" >&5
21097 sed 's/^/| /' conftest.$ac_ext >&5
21099 ( exit $ac_status )
21100 wx_cv_gccversion="EMX2"
21102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21108 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
21109 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21110 if test "$wx_cv_gccversion" = "EMX2"; then
21111 LIBS="$LIBS -lstdcpp"
21112 LDFLAGS="$LDFLAGS -Zsysv-signals"
21114 if test "$wx_cv_gccversion" = "EMX3"; then
21115 LIBS="$LIBS -lstdcxx -lgcc"
21116 LDFLAGS="$LDFLAGS -Zsysv-signals"
21118 LIBS="$LIBS -lstdc++"
21121 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
21122 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
21123 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
21130 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21131 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21132 if test "${ac_cv_string_strcasecmp+set}" = set; then
21133 echo $ECHO_N "(cached) $ECHO_C" >&6
21136 cat >conftest.$ac_ext <<_ACEOF
21139 cat confdefs.h >>conftest.$ac_ext
21140 cat >>conftest.$ac_ext <<_ACEOF
21141 /* end confdefs.h. */
21143 #include <string.h>
21149 strcasecmp("foo", "bar");
21155 rm -f conftest.$ac_objext conftest$ac_exeext
21156 if { (ac_try="$ac_link"
21157 case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159 *) ac_try_echo=$ac_try;;
21161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_link") 2>conftest.er1
21164 grep -v '^ *+' conftest.er1 >conftest.err
21166 cat conftest.err >&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } && {
21169 test -z "$ac_c_werror_flag" ||
21170 test ! -s conftest.err
21171 } && test -s conftest$ac_exeext &&
21172 $as_test_x conftest$ac_exeext; then
21173 ac_cv_string_strcasecmp=yes
21175 echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.$ac_ext >&5
21178 ac_cv_string_strcasecmp=no
21182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21183 conftest$ac_exeext conftest.$ac_ext
21186 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21187 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21189 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21190 cat >>confdefs.h <<\_ACEOF
21191 #define HAVE_STRCASECMP_IN_STRING_H 1
21195 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21196 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21197 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21198 echo $ECHO_N "(cached) $ECHO_C" >&6
21201 cat >conftest.$ac_ext <<_ACEOF
21204 cat confdefs.h >>conftest.$ac_ext
21205 cat >>conftest.$ac_ext <<_ACEOF
21206 /* end confdefs.h. */
21208 #include <strings.h>
21214 strcasecmp("foo", "bar");
21220 rm -f conftest.$ac_objext conftest$ac_exeext
21221 if { (ac_try="$ac_link"
21222 case "(($ac_try" in
21223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21224 *) ac_try_echo=$ac_try;;
21226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21227 (eval "$ac_link") 2>conftest.er1
21229 grep -v '^ *+' conftest.er1 >conftest.err
21231 cat conftest.err >&5
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); } && {
21234 test -z "$ac_c_werror_flag" ||
21235 test ! -s conftest.err
21236 } && test -s conftest$ac_exeext &&
21237 $as_test_x conftest$ac_exeext; then
21238 ac_cv_strings_strcasecmp=yes
21240 echo "$as_me: failed program was:" >&5
21241 sed 's/^/| /' conftest.$ac_ext >&5
21243 ac_cv_strings_strcasecmp=no
21247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21248 conftest$ac_exeext conftest.$ac_ext
21251 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21252 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21254 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21255 cat >>confdefs.h <<\_ACEOF
21256 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21260 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21261 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21262 { (exit 1); exit 1; }; }
21270 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21271 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21272 if test "${ac_cv_header_stdc+set}" = set; then
21273 echo $ECHO_N "(cached) $ECHO_C" >&6
21275 cat >conftest.$ac_ext <<_ACEOF
21278 cat confdefs.h >>conftest.$ac_ext
21279 cat >>conftest.$ac_ext <<_ACEOF
21280 /* end confdefs.h. */
21281 #include <stdlib.h>
21282 #include <stdarg.h>
21283 #include <string.h>
21294 rm -f conftest.$ac_objext
21295 if { (ac_try="$ac_compile"
21296 case "(($ac_try" in
21297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21298 *) ac_try_echo=$ac_try;;
21300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21301 (eval "$ac_compile") 2>conftest.er1
21303 grep -v '^ *+' conftest.er1 >conftest.err
21305 cat conftest.err >&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); } && {
21308 test -z "$ac_c_werror_flag" ||
21309 test ! -s conftest.err
21310 } && test -s conftest.$ac_objext; then
21311 ac_cv_header_stdc=yes
21313 echo "$as_me: failed program was:" >&5
21314 sed 's/^/| /' conftest.$ac_ext >&5
21316 ac_cv_header_stdc=no
21319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21321 if test $ac_cv_header_stdc = yes; then
21322 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21323 cat >conftest.$ac_ext <<_ACEOF
21326 cat confdefs.h >>conftest.$ac_ext
21327 cat >>conftest.$ac_ext <<_ACEOF
21328 /* end confdefs.h. */
21329 #include <string.h>
21332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21333 $EGREP "memchr" >/dev/null 2>&1; then
21336 ac_cv_header_stdc=no
21342 if test $ac_cv_header_stdc = yes; then
21343 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21344 cat >conftest.$ac_ext <<_ACEOF
21347 cat confdefs.h >>conftest.$ac_ext
21348 cat >>conftest.$ac_ext <<_ACEOF
21349 /* end confdefs.h. */
21350 #include <stdlib.h>
21353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21354 $EGREP "free" >/dev/null 2>&1; then
21357 ac_cv_header_stdc=no
21363 if test $ac_cv_header_stdc = yes; then
21364 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21365 if test "$cross_compiling" = yes; then
21368 cat >conftest.$ac_ext <<_ACEOF
21371 cat confdefs.h >>conftest.$ac_ext
21372 cat >>conftest.$ac_ext <<_ACEOF
21373 /* end confdefs.h. */
21375 #include <stdlib.h>
21376 #if ((' ' & 0x0FF) == 0x020)
21377 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21378 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21380 # define ISLOWER(c) \
21381 (('a' <= (c) && (c) <= 'i') \
21382 || ('j' <= (c) && (c) <= 'r') \
21383 || ('s' <= (c) && (c) <= 'z'))
21384 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21387 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21392 for (i = 0; i < 256; i++)
21393 if (XOR (islower (i), ISLOWER (i))
21394 || toupper (i) != TOUPPER (i))
21399 rm -f conftest$ac_exeext
21400 if { (ac_try="$ac_link"
21401 case "(($ac_try" in
21402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21403 *) ac_try_echo=$ac_try;;
21405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21406 (eval "$ac_link") 2>&5
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21410 { (case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_try") 2>&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); }; }; then
21421 echo "$as_me: program exited with status $ac_status" >&5
21422 echo "$as_me: failed program was:" >&5
21423 sed 's/^/| /' conftest.$ac_ext >&5
21425 ( exit $ac_status )
21426 ac_cv_header_stdc=no
21428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21434 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21435 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21436 if test $ac_cv_header_stdc = yes; then
21438 cat >>confdefs.h <<\_ACEOF
21439 #define STDC_HEADERS 1
21444 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21454 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21455 inttypes.h stdint.h unistd.h
21457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21458 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21460 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21461 echo $ECHO_N "(cached) $ECHO_C" >&6
21463 cat >conftest.$ac_ext <<_ACEOF
21466 cat confdefs.h >>conftest.$ac_ext
21467 cat >>conftest.$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21469 $ac_includes_default
21471 #include <$ac_header>
21473 rm -f conftest.$ac_objext
21474 if { (ac_try="$ac_compile"
21475 case "(($ac_try" in
21476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21477 *) ac_try_echo=$ac_try;;
21479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21480 (eval "$ac_compile") 2>conftest.er1
21482 grep -v '^ *+' conftest.er1 >conftest.err
21484 cat conftest.err >&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); } && {
21487 test -z "$ac_c_werror_flag" ||
21488 test ! -s conftest.err
21489 } && test -s conftest.$ac_objext; then
21490 eval "$as_ac_Header=yes"
21492 echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.$ac_ext >&5
21495 eval "$as_ac_Header=no"
21498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21500 ac_res=`eval echo '${'$as_ac_Header'}'`
21501 { echo "$as_me:$LINENO: result: $ac_res" >&5
21502 echo "${ECHO_T}$ac_res" >&6; }
21503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21504 cat >>confdefs.h <<_ACEOF
21505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21515 for ac_header in langinfo.h wchar.h
21517 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21518 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21520 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21521 echo $ECHO_N "(cached) $ECHO_C" >&6
21523 cat >conftest.$ac_ext <<_ACEOF
21526 cat confdefs.h >>conftest.$ac_ext
21527 cat >>conftest.$ac_ext <<_ACEOF
21528 /* end confdefs.h. */
21529 $ac_includes_default
21531 #include <$ac_header>
21533 rm -f conftest.$ac_objext
21534 if { (ac_try="$ac_compile"
21535 case "(($ac_try" in
21536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21537 *) ac_try_echo=$ac_try;;
21539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21540 (eval "$ac_compile") 2>conftest.er1
21542 grep -v '^ *+' conftest.er1 >conftest.err
21544 cat conftest.err >&5
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); } && {
21547 test -z "$ac_c_werror_flag" ||
21548 test ! -s conftest.err
21549 } && test -s conftest.$ac_objext; then
21550 eval "$as_ac_Header=yes"
21552 echo "$as_me: failed program was:" >&5
21553 sed 's/^/| /' conftest.$ac_ext >&5
21555 eval "$as_ac_Header=no"
21558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21560 ac_res=`eval echo '${'$as_ac_Header'}'`
21561 { echo "$as_me:$LINENO: result: $ac_res" >&5
21562 echo "${ECHO_T}$ac_res" >&6; }
21563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21564 cat >>confdefs.h <<_ACEOF
21565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21573 if test "$ac_cv_header_wchar_h" != "yes"; then
21575 for ac_header in wcstr.h
21577 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21578 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21580 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21581 echo $ECHO_N "(cached) $ECHO_C" >&6
21583 cat >conftest.$ac_ext <<_ACEOF
21586 cat confdefs.h >>conftest.$ac_ext
21587 cat >>conftest.$ac_ext <<_ACEOF
21588 /* end confdefs.h. */
21589 $ac_includes_default
21591 #include <$ac_header>
21593 rm -f conftest.$ac_objext
21594 if { (ac_try="$ac_compile"
21595 case "(($ac_try" in
21596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21597 *) ac_try_echo=$ac_try;;
21599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21600 (eval "$ac_compile") 2>conftest.er1
21602 grep -v '^ *+' conftest.er1 >conftest.err
21604 cat conftest.err >&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); } && {
21607 test -z "$ac_c_werror_flag" ||
21608 test ! -s conftest.err
21609 } && test -s conftest.$ac_objext; then
21610 eval "$as_ac_Header=yes"
21612 echo "$as_me: failed program was:" >&5
21613 sed 's/^/| /' conftest.$ac_ext >&5
21615 eval "$as_ac_Header=no"
21618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21620 ac_res=`eval echo '${'$as_ac_Header'}'`
21621 { echo "$as_me:$LINENO: result: $ac_res" >&5
21622 echo "${ECHO_T}$ac_res" >&6; }
21623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21624 cat >>confdefs.h <<_ACEOF
21625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21635 *-pc-os2_emx | *-pc-os2-emx )
21636 if test $ac_cv_header_langinfo_h = "yes" \
21637 -a \( "$wx_cv_gccversion" = "EMX2" \
21638 -o "$wx_cv_gccversion" = "EMX3" \
21639 -o "$wx_cv_gccversion" = "Innotek5" \); then
21640 LIBS="$LIBS -lintl"
21645 if test "$USE_UNIX" = 1 ; then
21647 for ac_header in sys/select.h
21649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21650 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21652 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21653 echo $ECHO_N "(cached) $ECHO_C" >&6
21655 cat >conftest.$ac_ext <<_ACEOF
21658 cat confdefs.h >>conftest.$ac_ext
21659 cat >>conftest.$ac_ext <<_ACEOF
21660 /* end confdefs.h. */
21661 $ac_includes_default
21663 #include <$ac_header>
21665 rm -f conftest.$ac_objext
21666 if { (ac_try="$ac_compile"
21667 case "(($ac_try" in
21668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21669 *) ac_try_echo=$ac_try;;
21671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21672 (eval "$ac_compile") 2>conftest.er1
21674 grep -v '^ *+' conftest.er1 >conftest.err
21676 cat conftest.err >&5
21677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21678 (exit $ac_status); } && {
21679 test -z "$ac_c_werror_flag" ||
21680 test ! -s conftest.err
21681 } && test -s conftest.$ac_objext; then
21682 eval "$as_ac_Header=yes"
21684 echo "$as_me: failed program was:" >&5
21685 sed 's/^/| /' conftest.$ac_ext >&5
21687 eval "$as_ac_Header=no"
21690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21692 ac_res=`eval echo '${'$as_ac_Header'}'`
21693 { echo "$as_me:$LINENO: result: $ac_res" >&5
21694 echo "${ECHO_T}$ac_res" >&6; }
21695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21696 cat >>confdefs.h <<_ACEOF
21697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21707 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21708 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21709 if test "${ac_cv_c_const+set}" = set; then
21710 echo $ECHO_N "(cached) $ECHO_C" >&6
21712 cat >conftest.$ac_ext <<_ACEOF
21715 cat confdefs.h >>conftest.$ac_ext
21716 cat >>conftest.$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21722 /* FIXME: Include the comments suggested by Paul. */
21723 #ifndef __cplusplus
21724 /* Ultrix mips cc rejects this. */
21725 typedef int charset[2];
21727 /* SunOS 4.1.1 cc rejects this. */
21728 char const *const *pcpcc;
21730 /* NEC SVR4.0.2 mips cc rejects this. */
21731 struct point {int x, y;};
21732 static struct point const zero = {0,0};
21733 /* AIX XL C 1.02.0.0 rejects this.
21734 It does not let you subtract one const X* pointer from another in
21735 an arm of an if-expression whose if-part is not a constant
21737 const char *g = "string";
21738 pcpcc = &g + (g ? g-g : 0);
21739 /* HPUX 7.0 cc rejects these. */
21741 ppc = (char**) pcpcc;
21742 pcpcc = (char const *const *) ppc;
21743 { /* SCO 3.2v4 cc rejects this. */
21745 char const *s = 0 ? (char *) 0 : (char const *) 0;
21750 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21751 int x[] = {25, 17};
21752 const int *foo = &x[0];
21755 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21756 typedef const int *iptr;
21760 { /* AIX XL C 1.02.0.0 rejects this saying
21761 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21762 struct s { int j; const int *ap[3]; };
21763 struct s *b; b->j = 5;
21765 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21766 const int foo = 10;
21767 if (!foo) return 0;
21769 return !cs[0] && !zero.x;
21776 rm -f conftest.$ac_objext
21777 if { (ac_try="$ac_compile"
21778 case "(($ac_try" in
21779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21780 *) ac_try_echo=$ac_try;;
21782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21783 (eval "$ac_compile") 2>conftest.er1
21785 grep -v '^ *+' conftest.er1 >conftest.err
21787 cat conftest.err >&5
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); } && {
21790 test -z "$ac_c_werror_flag" ||
21791 test ! -s conftest.err
21792 } && test -s conftest.$ac_objext; then
21795 echo "$as_me: failed program was:" >&5
21796 sed 's/^/| /' conftest.$ac_ext >&5
21801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21803 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21804 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21805 if test $ac_cv_c_const = no; then
21807 cat >>confdefs.h <<\_ACEOF
21813 { echo "$as_me:$LINENO: checking for inline" >&5
21814 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21815 if test "${ac_cv_c_inline+set}" = set; then
21816 echo $ECHO_N "(cached) $ECHO_C" >&6
21819 for ac_kw in inline __inline__ __inline; do
21820 cat >conftest.$ac_ext <<_ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 #ifndef __cplusplus
21828 static $ac_kw foo_t static_foo () {return 0; }
21829 $ac_kw foo_t foo () {return 0; }
21833 rm -f conftest.$ac_objext
21834 if { (ac_try="$ac_compile"
21835 case "(($ac_try" in
21836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21837 *) ac_try_echo=$ac_try;;
21839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21840 (eval "$ac_compile") 2>conftest.er1
21842 grep -v '^ *+' conftest.er1 >conftest.err
21844 cat conftest.err >&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } && {
21847 test -z "$ac_c_werror_flag" ||
21848 test ! -s conftest.err
21849 } && test -s conftest.$ac_objext; then
21850 ac_cv_c_inline=$ac_kw
21852 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.$ac_ext >&5
21858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21859 test "$ac_cv_c_inline" != no && break
21863 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21864 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21867 case $ac_cv_c_inline in
21870 case $ac_cv_c_inline in
21872 *) ac_val=$ac_cv_c_inline;;
21874 cat >>confdefs.h <<_ACEOF
21875 #ifndef __cplusplus
21876 #define inline $ac_val
21883 { echo "$as_me:$LINENO: checking for short" >&5
21884 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21885 if test "${ac_cv_type_short+set}" = set; then
21886 echo $ECHO_N "(cached) $ECHO_C" >&6
21888 cat >conftest.$ac_ext <<_ACEOF
21891 cat confdefs.h >>conftest.$ac_ext
21892 cat >>conftest.$ac_ext <<_ACEOF
21893 /* end confdefs.h. */
21894 $ac_includes_default
21895 typedef short ac__type_new_;
21899 if ((ac__type_new_ *) 0)
21901 if (sizeof (ac__type_new_))
21907 rm -f conftest.$ac_objext
21908 if { (ac_try="$ac_compile"
21909 case "(($ac_try" in
21910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21911 *) ac_try_echo=$ac_try;;
21913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21914 (eval "$ac_compile") 2>conftest.er1
21916 grep -v '^ *+' conftest.er1 >conftest.err
21918 cat conftest.err >&5
21919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920 (exit $ac_status); } && {
21921 test -z "$ac_c_werror_flag" ||
21922 test ! -s conftest.err
21923 } && test -s conftest.$ac_objext; then
21924 ac_cv_type_short=yes
21926 echo "$as_me: failed program was:" >&5
21927 sed 's/^/| /' conftest.$ac_ext >&5
21929 ac_cv_type_short=no
21932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21934 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21935 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21937 # The cast to long int works around a bug in the HP C Compiler
21938 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21939 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21940 # This bug is HP SR number 8606223364.
21941 { echo "$as_me:$LINENO: checking size of short" >&5
21942 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21943 if test "${ac_cv_sizeof_short+set}" = set; then
21944 echo $ECHO_N "(cached) $ECHO_C" >&6
21946 if test "$cross_compiling" = yes; then
21947 # Depending upon the size, compute the lo and hi bounds.
21948 cat >conftest.$ac_ext <<_ACEOF
21951 cat confdefs.h >>conftest.$ac_ext
21952 cat >>conftest.$ac_ext <<_ACEOF
21953 /* end confdefs.h. */
21954 $ac_includes_default
21955 typedef short ac__type_sizeof_;
21959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21966 rm -f conftest.$ac_objext
21967 if { (ac_try="$ac_compile"
21968 case "(($ac_try" in
21969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21970 *) ac_try_echo=$ac_try;;
21972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21973 (eval "$ac_compile") 2>conftest.er1
21975 grep -v '^ *+' conftest.er1 >conftest.err
21977 cat conftest.err >&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); } && {
21980 test -z "$ac_c_werror_flag" ||
21981 test ! -s conftest.err
21982 } && test -s conftest.$ac_objext; then
21985 cat >conftest.$ac_ext <<_ACEOF
21988 cat confdefs.h >>conftest.$ac_ext
21989 cat >>conftest.$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21991 $ac_includes_default
21992 typedef short ac__type_sizeof_;
21996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22003 rm -f conftest.$ac_objext
22004 if { (ac_try="$ac_compile"
22005 case "(($ac_try" in
22006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_compile") 2>conftest.er1
22012 grep -v '^ *+' conftest.er1 >conftest.err
22014 cat conftest.err >&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } && {
22017 test -z "$ac_c_werror_flag" ||
22018 test ! -s conftest.err
22019 } && test -s conftest.$ac_objext; then
22020 ac_hi=$ac_mid; break
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.$ac_ext >&5
22025 ac_lo=`expr $ac_mid + 1`
22026 if test $ac_lo -le $ac_mid; then
22030 ac_mid=`expr 2 '*' $ac_mid + 1`
22033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22036 echo "$as_me: failed program was:" >&5
22037 sed 's/^/| /' conftest.$ac_ext >&5
22039 cat >conftest.$ac_ext <<_ACEOF
22042 cat confdefs.h >>conftest.$ac_ext
22043 cat >>conftest.$ac_ext <<_ACEOF
22044 /* end confdefs.h. */
22045 $ac_includes_default
22046 typedef short ac__type_sizeof_;
22050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22057 rm -f conftest.$ac_objext
22058 if { (ac_try="$ac_compile"
22059 case "(($ac_try" in
22060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22061 *) ac_try_echo=$ac_try;;
22063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22064 (eval "$ac_compile") 2>conftest.er1
22066 grep -v '^ *+' conftest.er1 >conftest.err
22068 cat conftest.err >&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); } && {
22071 test -z "$ac_c_werror_flag" ||
22072 test ! -s conftest.err
22073 } && test -s conftest.$ac_objext; then
22076 cat >conftest.$ac_ext <<_ACEOF
22079 cat confdefs.h >>conftest.$ac_ext
22080 cat >>conftest.$ac_ext <<_ACEOF
22081 /* end confdefs.h. */
22082 $ac_includes_default
22083 typedef short ac__type_sizeof_;
22087 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22094 rm -f conftest.$ac_objext
22095 if { (ac_try="$ac_compile"
22096 case "(($ac_try" in
22097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22098 *) ac_try_echo=$ac_try;;
22100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22101 (eval "$ac_compile") 2>conftest.er1
22103 grep -v '^ *+' conftest.er1 >conftest.err
22105 cat conftest.err >&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); } && {
22108 test -z "$ac_c_werror_flag" ||
22109 test ! -s conftest.err
22110 } && test -s conftest.$ac_objext; then
22111 ac_lo=$ac_mid; break
22113 echo "$as_me: failed program was:" >&5
22114 sed 's/^/| /' conftest.$ac_ext >&5
22116 ac_hi=`expr '(' $ac_mid ')' - 1`
22117 if test $ac_mid -le $ac_hi; then
22121 ac_mid=`expr 2 '*' $ac_mid`
22124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22127 echo "$as_me: failed program was:" >&5
22128 sed 's/^/| /' conftest.$ac_ext >&5
22133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22137 # Binary search between lo and hi bounds.
22138 while test "x$ac_lo" != "x$ac_hi"; do
22139 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22140 cat >conftest.$ac_ext <<_ACEOF
22143 cat confdefs.h >>conftest.$ac_ext
22144 cat >>conftest.$ac_ext <<_ACEOF
22145 /* end confdefs.h. */
22146 $ac_includes_default
22147 typedef short ac__type_sizeof_;
22151 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22158 rm -f conftest.$ac_objext
22159 if { (ac_try="$ac_compile"
22160 case "(($ac_try" in
22161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22162 *) ac_try_echo=$ac_try;;
22164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22165 (eval "$ac_compile") 2>conftest.er1
22167 grep -v '^ *+' conftest.er1 >conftest.err
22169 cat conftest.err >&5
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); } && {
22172 test -z "$ac_c_werror_flag" ||
22173 test ! -s conftest.err
22174 } && test -s conftest.$ac_objext; then
22177 echo "$as_me: failed program was:" >&5
22178 sed 's/^/| /' conftest.$ac_ext >&5
22180 ac_lo=`expr '(' $ac_mid ')' + 1`
22183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22186 ?*) ac_cv_sizeof_short=$ac_lo;;
22187 '') if test "$ac_cv_type_short" = yes; then
22188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22189 See \`config.log' for more details." >&5
22190 echo "$as_me: error: cannot compute sizeof (short)
22191 See \`config.log' for more details." >&2;}
22192 { (exit 77); exit 77; }; }
22194 ac_cv_sizeof_short=0
22198 cat >conftest.$ac_ext <<_ACEOF
22201 cat confdefs.h >>conftest.$ac_ext
22202 cat >>conftest.$ac_ext <<_ACEOF
22203 /* end confdefs.h. */
22204 $ac_includes_default
22205 typedef short ac__type_sizeof_;
22206 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22207 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22209 #include <stdlib.h>
22214 FILE *f = fopen ("conftest.val", "w");
22217 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22219 long int i = longval ();
22220 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22222 fprintf (f, "%ld\n", i);
22226 unsigned long int i = ulongval ();
22227 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22229 fprintf (f, "%lu\n", i);
22231 return ferror (f) || fclose (f) != 0;
22237 rm -f conftest$ac_exeext
22238 if { (ac_try="$ac_link"
22239 case "(($ac_try" in
22240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22241 *) ac_try_echo=$ac_try;;
22243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22244 (eval "$ac_link") 2>&5
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22248 { (case "(($ac_try" in
22249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22250 *) ac_try_echo=$ac_try;;
22252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22253 (eval "$ac_try") 2>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; }; then
22257 ac_cv_sizeof_short=`cat conftest.val`
22259 echo "$as_me: program exited with status $ac_status" >&5
22260 echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.$ac_ext >&5
22263 ( exit $ac_status )
22264 if test "$ac_cv_type_short" = yes; then
22265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22266 See \`config.log' for more details." >&5
22267 echo "$as_me: error: cannot compute sizeof (short)
22268 See \`config.log' for more details." >&2;}
22269 { (exit 77); exit 77; }; }
22271 ac_cv_sizeof_short=0
22274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22278 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22279 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22283 cat >>confdefs.h <<_ACEOF
22284 #define SIZEOF_SHORT $ac_cv_sizeof_short
22288 { echo "$as_me:$LINENO: checking for void *" >&5
22289 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22290 if test "${ac_cv_type_void_p+set}" = set; then
22291 echo $ECHO_N "(cached) $ECHO_C" >&6
22293 cat >conftest.$ac_ext <<_ACEOF
22296 cat confdefs.h >>conftest.$ac_ext
22297 cat >>conftest.$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22299 $ac_includes_default
22300 typedef void * ac__type_new_;
22304 if ((ac__type_new_ *) 0)
22306 if (sizeof (ac__type_new_))
22312 rm -f conftest.$ac_objext
22313 if { (ac_try="$ac_compile"
22314 case "(($ac_try" in
22315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22316 *) ac_try_echo=$ac_try;;
22318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22319 (eval "$ac_compile") 2>conftest.er1
22321 grep -v '^ *+' conftest.er1 >conftest.err
22323 cat conftest.err >&5
22324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22325 (exit $ac_status); } && {
22326 test -z "$ac_c_werror_flag" ||
22327 test ! -s conftest.err
22328 } && test -s conftest.$ac_objext; then
22329 ac_cv_type_void_p=yes
22331 echo "$as_me: failed program was:" >&5
22332 sed 's/^/| /' conftest.$ac_ext >&5
22334 ac_cv_type_void_p=no
22337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22339 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22340 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22342 # The cast to long int works around a bug in the HP C Compiler
22343 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22344 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22345 # This bug is HP SR number 8606223364.
22346 { echo "$as_me:$LINENO: checking size of void *" >&5
22347 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22348 if test "${ac_cv_sizeof_void_p+set}" = set; then
22349 echo $ECHO_N "(cached) $ECHO_C" >&6
22351 if test "$cross_compiling" = yes; then
22352 # Depending upon the size, compute the lo and hi bounds.
22353 cat >conftest.$ac_ext <<_ACEOF
22356 cat confdefs.h >>conftest.$ac_ext
22357 cat >>conftest.$ac_ext <<_ACEOF
22358 /* end confdefs.h. */
22359 $ac_includes_default
22360 typedef void * ac__type_sizeof_;
22364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22371 rm -f conftest.$ac_objext
22372 if { (ac_try="$ac_compile"
22373 case "(($ac_try" in
22374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22375 *) ac_try_echo=$ac_try;;
22377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22378 (eval "$ac_compile") 2>conftest.er1
22380 grep -v '^ *+' conftest.er1 >conftest.err
22382 cat conftest.err >&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); } && {
22385 test -z "$ac_c_werror_flag" ||
22386 test ! -s conftest.err
22387 } && test -s conftest.$ac_objext; then
22390 cat >conftest.$ac_ext <<_ACEOF
22393 cat confdefs.h >>conftest.$ac_ext
22394 cat >>conftest.$ac_ext <<_ACEOF
22395 /* end confdefs.h. */
22396 $ac_includes_default
22397 typedef void * ac__type_sizeof_;
22401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22408 rm -f conftest.$ac_objext
22409 if { (ac_try="$ac_compile"
22410 case "(($ac_try" in
22411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22412 *) ac_try_echo=$ac_try;;
22414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22415 (eval "$ac_compile") 2>conftest.er1
22417 grep -v '^ *+' conftest.er1 >conftest.err
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } && {
22422 test -z "$ac_c_werror_flag" ||
22423 test ! -s conftest.err
22424 } && test -s conftest.$ac_objext; then
22425 ac_hi=$ac_mid; break
22427 echo "$as_me: failed program was:" >&5
22428 sed 's/^/| /' conftest.$ac_ext >&5
22430 ac_lo=`expr $ac_mid + 1`
22431 if test $ac_lo -le $ac_mid; then
22435 ac_mid=`expr 2 '*' $ac_mid + 1`
22438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22441 echo "$as_me: failed program was:" >&5
22442 sed 's/^/| /' conftest.$ac_ext >&5
22444 cat >conftest.$ac_ext <<_ACEOF
22447 cat confdefs.h >>conftest.$ac_ext
22448 cat >>conftest.$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 $ac_includes_default
22451 typedef void * ac__type_sizeof_;
22455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22462 rm -f conftest.$ac_objext
22463 if { (ac_try="$ac_compile"
22464 case "(($ac_try" in
22465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22466 *) ac_try_echo=$ac_try;;
22468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22469 (eval "$ac_compile") 2>conftest.er1
22471 grep -v '^ *+' conftest.er1 >conftest.err
22473 cat conftest.err >&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } && {
22476 test -z "$ac_c_werror_flag" ||
22477 test ! -s conftest.err
22478 } && test -s conftest.$ac_objext; then
22481 cat >conftest.$ac_ext <<_ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 $ac_includes_default
22488 typedef void * ac__type_sizeof_;
22492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22499 rm -f conftest.$ac_objext
22500 if { (ac_try="$ac_compile"
22501 case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22503 *) ac_try_echo=$ac_try;;
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_compile") 2>conftest.er1
22508 grep -v '^ *+' conftest.er1 >conftest.err
22510 cat conftest.err >&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } && {
22513 test -z "$ac_c_werror_flag" ||
22514 test ! -s conftest.err
22515 } && test -s conftest.$ac_objext; then
22516 ac_lo=$ac_mid; break
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.$ac_ext >&5
22521 ac_hi=`expr '(' $ac_mid ')' - 1`
22522 if test $ac_mid -le $ac_hi; then
22526 ac_mid=`expr 2 '*' $ac_mid`
22529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22532 echo "$as_me: failed program was:" >&5
22533 sed 's/^/| /' conftest.$ac_ext >&5
22538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22542 # Binary search between lo and hi bounds.
22543 while test "x$ac_lo" != "x$ac_hi"; do
22544 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22545 cat >conftest.$ac_ext <<_ACEOF
22548 cat confdefs.h >>conftest.$ac_ext
22549 cat >>conftest.$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22551 $ac_includes_default
22552 typedef void * ac__type_sizeof_;
22556 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22563 rm -f conftest.$ac_objext
22564 if { (ac_try="$ac_compile"
22565 case "(($ac_try" in
22566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22567 *) ac_try_echo=$ac_try;;
22569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22570 (eval "$ac_compile") 2>conftest.er1
22572 grep -v '^ *+' conftest.er1 >conftest.err
22574 cat conftest.err >&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } && {
22577 test -z "$ac_c_werror_flag" ||
22578 test ! -s conftest.err
22579 } && test -s conftest.$ac_objext; then
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.$ac_ext >&5
22585 ac_lo=`expr '(' $ac_mid ')' + 1`
22588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22591 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22592 '') if test "$ac_cv_type_void_p" = yes; then
22593 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22594 See \`config.log' for more details." >&5
22595 echo "$as_me: error: cannot compute sizeof (void *)
22596 See \`config.log' for more details." >&2;}
22597 { (exit 77); exit 77; }; }
22599 ac_cv_sizeof_void_p=0
22603 cat >conftest.$ac_ext <<_ACEOF
22606 cat confdefs.h >>conftest.$ac_ext
22607 cat >>conftest.$ac_ext <<_ACEOF
22608 /* end confdefs.h. */
22609 $ac_includes_default
22610 typedef void * ac__type_sizeof_;
22611 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22612 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22614 #include <stdlib.h>
22619 FILE *f = fopen ("conftest.val", "w");
22622 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22624 long int i = longval ();
22625 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22627 fprintf (f, "%ld\n", i);
22631 unsigned long int i = ulongval ();
22632 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22634 fprintf (f, "%lu\n", i);
22636 return ferror (f) || fclose (f) != 0;
22642 rm -f conftest$ac_exeext
22643 if { (ac_try="$ac_link"
22644 case "(($ac_try" in
22645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22646 *) ac_try_echo=$ac_try;;
22648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22649 (eval "$ac_link") 2>&5
22651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22653 { (case "(($ac_try" in
22654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22655 *) ac_try_echo=$ac_try;;
22657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22658 (eval "$ac_try") 2>&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); }; }; then
22662 ac_cv_sizeof_void_p=`cat conftest.val`
22664 echo "$as_me: program exited with status $ac_status" >&5
22665 echo "$as_me: failed program was:" >&5
22666 sed 's/^/| /' conftest.$ac_ext >&5
22668 ( exit $ac_status )
22669 if test "$ac_cv_type_void_p" = yes; then
22670 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22671 See \`config.log' for more details." >&5
22672 echo "$as_me: error: cannot compute sizeof (void *)
22673 See \`config.log' for more details." >&2;}
22674 { (exit 77); exit 77; }; }
22676 ac_cv_sizeof_void_p=0
22679 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22683 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22684 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22688 cat >>confdefs.h <<_ACEOF
22689 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22693 { echo "$as_me:$LINENO: checking for int" >&5
22694 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22695 if test "${ac_cv_type_int+set}" = set; then
22696 echo $ECHO_N "(cached) $ECHO_C" >&6
22698 cat >conftest.$ac_ext <<_ACEOF
22701 cat confdefs.h >>conftest.$ac_ext
22702 cat >>conftest.$ac_ext <<_ACEOF
22703 /* end confdefs.h. */
22704 $ac_includes_default
22705 typedef int ac__type_new_;
22709 if ((ac__type_new_ *) 0)
22711 if (sizeof (ac__type_new_))
22717 rm -f conftest.$ac_objext
22718 if { (ac_try="$ac_compile"
22719 case "(($ac_try" in
22720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22721 *) ac_try_echo=$ac_try;;
22723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22724 (eval "$ac_compile") 2>conftest.er1
22726 grep -v '^ *+' conftest.er1 >conftest.err
22728 cat conftest.err >&5
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); } && {
22731 test -z "$ac_c_werror_flag" ||
22732 test ! -s conftest.err
22733 } && test -s conftest.$ac_objext; then
22736 echo "$as_me: failed program was:" >&5
22737 sed 's/^/| /' conftest.$ac_ext >&5
22742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22744 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22745 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22747 # The cast to long int works around a bug in the HP C Compiler
22748 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22749 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22750 # This bug is HP SR number 8606223364.
22751 { echo "$as_me:$LINENO: checking size of int" >&5
22752 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22753 if test "${ac_cv_sizeof_int+set}" = set; then
22754 echo $ECHO_N "(cached) $ECHO_C" >&6
22756 if test "$cross_compiling" = yes; then
22757 # Depending upon the size, compute the lo and hi bounds.
22758 cat >conftest.$ac_ext <<_ACEOF
22761 cat confdefs.h >>conftest.$ac_ext
22762 cat >>conftest.$ac_ext <<_ACEOF
22763 /* end confdefs.h. */
22764 $ac_includes_default
22765 typedef int ac__type_sizeof_;
22769 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22776 rm -f conftest.$ac_objext
22777 if { (ac_try="$ac_compile"
22778 case "(($ac_try" in
22779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22780 *) ac_try_echo=$ac_try;;
22782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22783 (eval "$ac_compile") 2>conftest.er1
22785 grep -v '^ *+' conftest.er1 >conftest.err
22787 cat conftest.err >&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } && {
22790 test -z "$ac_c_werror_flag" ||
22791 test ! -s conftest.err
22792 } && test -s conftest.$ac_objext; then
22795 cat >conftest.$ac_ext <<_ACEOF
22798 cat confdefs.h >>conftest.$ac_ext
22799 cat >>conftest.$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22801 $ac_includes_default
22802 typedef int ac__type_sizeof_;
22806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22813 rm -f conftest.$ac_objext
22814 if { (ac_try="$ac_compile"
22815 case "(($ac_try" in
22816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22817 *) ac_try_echo=$ac_try;;
22819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22820 (eval "$ac_compile") 2>conftest.er1
22822 grep -v '^ *+' conftest.er1 >conftest.err
22824 cat conftest.err >&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); } && {
22827 test -z "$ac_c_werror_flag" ||
22828 test ! -s conftest.err
22829 } && test -s conftest.$ac_objext; then
22830 ac_hi=$ac_mid; break
22832 echo "$as_me: failed program was:" >&5
22833 sed 's/^/| /' conftest.$ac_ext >&5
22835 ac_lo=`expr $ac_mid + 1`
22836 if test $ac_lo -le $ac_mid; then
22840 ac_mid=`expr 2 '*' $ac_mid + 1`
22843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22846 echo "$as_me: failed program was:" >&5
22847 sed 's/^/| /' conftest.$ac_ext >&5
22849 cat >conftest.$ac_ext <<_ACEOF
22852 cat confdefs.h >>conftest.$ac_ext
22853 cat >>conftest.$ac_ext <<_ACEOF
22854 /* end confdefs.h. */
22855 $ac_includes_default
22856 typedef int ac__type_sizeof_;
22860 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22867 rm -f conftest.$ac_objext
22868 if { (ac_try="$ac_compile"
22869 case "(($ac_try" in
22870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22871 *) ac_try_echo=$ac_try;;
22873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22874 (eval "$ac_compile") 2>conftest.er1
22876 grep -v '^ *+' conftest.er1 >conftest.err
22878 cat conftest.err >&5
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); } && {
22881 test -z "$ac_c_werror_flag" ||
22882 test ! -s conftest.err
22883 } && test -s conftest.$ac_objext; then
22886 cat >conftest.$ac_ext <<_ACEOF
22889 cat confdefs.h >>conftest.$ac_ext
22890 cat >>conftest.$ac_ext <<_ACEOF
22891 /* end confdefs.h. */
22892 $ac_includes_default
22893 typedef int ac__type_sizeof_;
22897 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22904 rm -f conftest.$ac_objext
22905 if { (ac_try="$ac_compile"
22906 case "(($ac_try" in
22907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22908 *) ac_try_echo=$ac_try;;
22910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22911 (eval "$ac_compile") 2>conftest.er1
22913 grep -v '^ *+' conftest.er1 >conftest.err
22915 cat conftest.err >&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } && {
22918 test -z "$ac_c_werror_flag" ||
22919 test ! -s conftest.err
22920 } && test -s conftest.$ac_objext; then
22921 ac_lo=$ac_mid; break
22923 echo "$as_me: failed program was:" >&5
22924 sed 's/^/| /' conftest.$ac_ext >&5
22926 ac_hi=`expr '(' $ac_mid ')' - 1`
22927 if test $ac_mid -le $ac_hi; then
22931 ac_mid=`expr 2 '*' $ac_mid`
22934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22937 echo "$as_me: failed program was:" >&5
22938 sed 's/^/| /' conftest.$ac_ext >&5
22943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22947 # Binary search between lo and hi bounds.
22948 while test "x$ac_lo" != "x$ac_hi"; do
22949 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22950 cat >conftest.$ac_ext <<_ACEOF
22953 cat confdefs.h >>conftest.$ac_ext
22954 cat >>conftest.$ac_ext <<_ACEOF
22955 /* end confdefs.h. */
22956 $ac_includes_default
22957 typedef int ac__type_sizeof_;
22961 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22968 rm -f conftest.$ac_objext
22969 if { (ac_try="$ac_compile"
22970 case "(($ac_try" in
22971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22972 *) ac_try_echo=$ac_try;;
22974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22975 (eval "$ac_compile") 2>conftest.er1
22977 grep -v '^ *+' conftest.er1 >conftest.err
22979 cat conftest.err >&5
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); } && {
22982 test -z "$ac_c_werror_flag" ||
22983 test ! -s conftest.err
22984 } && test -s conftest.$ac_objext; then
22987 echo "$as_me: failed program was:" >&5
22988 sed 's/^/| /' conftest.$ac_ext >&5
22990 ac_lo=`expr '(' $ac_mid ')' + 1`
22993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22996 ?*) ac_cv_sizeof_int=$ac_lo;;
22997 '') if test "$ac_cv_type_int" = yes; then
22998 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22999 See \`config.log' for more details." >&5
23000 echo "$as_me: error: cannot compute sizeof (int)
23001 See \`config.log' for more details." >&2;}
23002 { (exit 77); exit 77; }; }
23008 cat >conftest.$ac_ext <<_ACEOF
23011 cat confdefs.h >>conftest.$ac_ext
23012 cat >>conftest.$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014 $ac_includes_default
23015 typedef int ac__type_sizeof_;
23016 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23017 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23019 #include <stdlib.h>
23024 FILE *f = fopen ("conftest.val", "w");
23027 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23029 long int i = longval ();
23030 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23032 fprintf (f, "%ld\n", i);
23036 unsigned long int i = ulongval ();
23037 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23039 fprintf (f, "%lu\n", i);
23041 return ferror (f) || fclose (f) != 0;
23047 rm -f conftest$ac_exeext
23048 if { (ac_try="$ac_link"
23049 case "(($ac_try" in
23050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23051 *) ac_try_echo=$ac_try;;
23053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23054 (eval "$ac_link") 2>&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23058 { (case "(($ac_try" in
23059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23060 *) ac_try_echo=$ac_try;;
23062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23063 (eval "$ac_try") 2>&5
23065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23066 (exit $ac_status); }; }; then
23067 ac_cv_sizeof_int=`cat conftest.val`
23069 echo "$as_me: program exited with status $ac_status" >&5
23070 echo "$as_me: failed program was:" >&5
23071 sed 's/^/| /' conftest.$ac_ext >&5
23073 ( exit $ac_status )
23074 if test "$ac_cv_type_int" = yes; then
23075 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23076 See \`config.log' for more details." >&5
23077 echo "$as_me: error: cannot compute sizeof (int)
23078 See \`config.log' for more details." >&2;}
23079 { (exit 77); exit 77; }; }
23084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23088 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23089 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23093 cat >>confdefs.h <<_ACEOF
23094 #define SIZEOF_INT $ac_cv_sizeof_int
23098 { echo "$as_me:$LINENO: checking for long" >&5
23099 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23100 if test "${ac_cv_type_long+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23103 cat >conftest.$ac_ext <<_ACEOF
23106 cat confdefs.h >>conftest.$ac_ext
23107 cat >>conftest.$ac_ext <<_ACEOF
23108 /* end confdefs.h. */
23109 $ac_includes_default
23110 typedef long ac__type_new_;
23114 if ((ac__type_new_ *) 0)
23116 if (sizeof (ac__type_new_))
23122 rm -f conftest.$ac_objext
23123 if { (ac_try="$ac_compile"
23124 case "(($ac_try" in
23125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23126 *) ac_try_echo=$ac_try;;
23128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23129 (eval "$ac_compile") 2>conftest.er1
23131 grep -v '^ *+' conftest.er1 >conftest.err
23133 cat conftest.err >&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } && {
23136 test -z "$ac_c_werror_flag" ||
23137 test ! -s conftest.err
23138 } && test -s conftest.$ac_objext; then
23139 ac_cv_type_long=yes
23141 echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.$ac_ext >&5
23147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23149 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23150 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23152 # The cast to long int works around a bug in the HP C Compiler
23153 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23154 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23155 # This bug is HP SR number 8606223364.
23156 { echo "$as_me:$LINENO: checking size of long" >&5
23157 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23158 if test "${ac_cv_sizeof_long+set}" = set; then
23159 echo $ECHO_N "(cached) $ECHO_C" >&6
23161 if test "$cross_compiling" = yes; then
23162 # Depending upon the size, compute the lo and hi bounds.
23163 cat >conftest.$ac_ext <<_ACEOF
23166 cat confdefs.h >>conftest.$ac_ext
23167 cat >>conftest.$ac_ext <<_ACEOF
23168 /* end confdefs.h. */
23169 $ac_includes_default
23170 typedef long ac__type_sizeof_;
23174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23181 rm -f conftest.$ac_objext
23182 if { (ac_try="$ac_compile"
23183 case "(($ac_try" in
23184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23185 *) ac_try_echo=$ac_try;;
23187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23188 (eval "$ac_compile") 2>conftest.er1
23190 grep -v '^ *+' conftest.er1 >conftest.err
23192 cat conftest.err >&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); } && {
23195 test -z "$ac_c_werror_flag" ||
23196 test ! -s conftest.err
23197 } && test -s conftest.$ac_objext; then
23200 cat >conftest.$ac_ext <<_ACEOF
23203 cat confdefs.h >>conftest.$ac_ext
23204 cat >>conftest.$ac_ext <<_ACEOF
23205 /* end confdefs.h. */
23206 $ac_includes_default
23207 typedef long ac__type_sizeof_;
23211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23218 rm -f conftest.$ac_objext
23219 if { (ac_try="$ac_compile"
23220 case "(($ac_try" in
23221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23222 *) ac_try_echo=$ac_try;;
23224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23225 (eval "$ac_compile") 2>conftest.er1
23227 grep -v '^ *+' conftest.er1 >conftest.err
23229 cat conftest.err >&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } && {
23232 test -z "$ac_c_werror_flag" ||
23233 test ! -s conftest.err
23234 } && test -s conftest.$ac_objext; then
23235 ac_hi=$ac_mid; break
23237 echo "$as_me: failed program was:" >&5
23238 sed 's/^/| /' conftest.$ac_ext >&5
23240 ac_lo=`expr $ac_mid + 1`
23241 if test $ac_lo -le $ac_mid; then
23245 ac_mid=`expr 2 '*' $ac_mid + 1`
23248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23251 echo "$as_me: failed program was:" >&5
23252 sed 's/^/| /' conftest.$ac_ext >&5
23254 cat >conftest.$ac_ext <<_ACEOF
23257 cat confdefs.h >>conftest.$ac_ext
23258 cat >>conftest.$ac_ext <<_ACEOF
23259 /* end confdefs.h. */
23260 $ac_includes_default
23261 typedef long ac__type_sizeof_;
23265 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23272 rm -f conftest.$ac_objext
23273 if { (ac_try="$ac_compile"
23274 case "(($ac_try" in
23275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23276 *) ac_try_echo=$ac_try;;
23278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23279 (eval "$ac_compile") 2>conftest.er1
23281 grep -v '^ *+' conftest.er1 >conftest.err
23283 cat conftest.err >&5
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); } && {
23286 test -z "$ac_c_werror_flag" ||
23287 test ! -s conftest.err
23288 } && test -s conftest.$ac_objext; then
23291 cat >conftest.$ac_ext <<_ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 $ac_includes_default
23298 typedef long ac__type_sizeof_;
23302 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23309 rm -f conftest.$ac_objext
23310 if { (ac_try="$ac_compile"
23311 case "(($ac_try" in
23312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23313 *) ac_try_echo=$ac_try;;
23315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23316 (eval "$ac_compile") 2>conftest.er1
23318 grep -v '^ *+' conftest.er1 >conftest.err
23320 cat conftest.err >&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); } && {
23323 test -z "$ac_c_werror_flag" ||
23324 test ! -s conftest.err
23325 } && test -s conftest.$ac_objext; then
23326 ac_lo=$ac_mid; break
23328 echo "$as_me: failed program was:" >&5
23329 sed 's/^/| /' conftest.$ac_ext >&5
23331 ac_hi=`expr '(' $ac_mid ')' - 1`
23332 if test $ac_mid -le $ac_hi; then
23336 ac_mid=`expr 2 '*' $ac_mid`
23339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.$ac_ext >&5
23348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23352 # Binary search between lo and hi bounds.
23353 while test "x$ac_lo" != "x$ac_hi"; do
23354 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23355 cat >conftest.$ac_ext <<_ACEOF
23358 cat confdefs.h >>conftest.$ac_ext
23359 cat >>conftest.$ac_ext <<_ACEOF
23360 /* end confdefs.h. */
23361 $ac_includes_default
23362 typedef long ac__type_sizeof_;
23366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23373 rm -f conftest.$ac_objext
23374 if { (ac_try="$ac_compile"
23375 case "(($ac_try" in
23376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23377 *) ac_try_echo=$ac_try;;
23379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23380 (eval "$ac_compile") 2>conftest.er1
23382 grep -v '^ *+' conftest.er1 >conftest.err
23384 cat conftest.err >&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } && {
23387 test -z "$ac_c_werror_flag" ||
23388 test ! -s conftest.err
23389 } && test -s conftest.$ac_objext; then
23392 echo "$as_me: failed program was:" >&5
23393 sed 's/^/| /' conftest.$ac_ext >&5
23395 ac_lo=`expr '(' $ac_mid ')' + 1`
23398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23401 ?*) ac_cv_sizeof_long=$ac_lo;;
23402 '') if test "$ac_cv_type_long" = yes; then
23403 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23404 See \`config.log' for more details." >&5
23405 echo "$as_me: error: cannot compute sizeof (long)
23406 See \`config.log' for more details." >&2;}
23407 { (exit 77); exit 77; }; }
23409 ac_cv_sizeof_long=0
23413 cat >conftest.$ac_ext <<_ACEOF
23416 cat confdefs.h >>conftest.$ac_ext
23417 cat >>conftest.$ac_ext <<_ACEOF
23418 /* end confdefs.h. */
23419 $ac_includes_default
23420 typedef long ac__type_sizeof_;
23421 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23422 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23424 #include <stdlib.h>
23429 FILE *f = fopen ("conftest.val", "w");
23432 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23434 long int i = longval ();
23435 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23437 fprintf (f, "%ld\n", i);
23441 unsigned long int i = ulongval ();
23442 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23444 fprintf (f, "%lu\n", i);
23446 return ferror (f) || fclose (f) != 0;
23452 rm -f conftest$ac_exeext
23453 if { (ac_try="$ac_link"
23454 case "(($ac_try" in
23455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23456 *) ac_try_echo=$ac_try;;
23458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23459 (eval "$ac_link") 2>&5
23461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23462 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); }; }; then
23472 ac_cv_sizeof_long=`cat conftest.val`
23474 echo "$as_me: program exited with status $ac_status" >&5
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23478 ( exit $ac_status )
23479 if test "$ac_cv_type_long" = yes; then
23480 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23481 See \`config.log' for more details." >&5
23482 echo "$as_me: error: cannot compute sizeof (long)
23483 See \`config.log' for more details." >&2;}
23484 { (exit 77); exit 77; }; }
23486 ac_cv_sizeof_long=0
23489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23493 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23494 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23498 cat >>confdefs.h <<_ACEOF
23499 #define SIZEOF_LONG $ac_cv_sizeof_long
23503 { echo "$as_me:$LINENO: checking for size_t" >&5
23504 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23505 if test "${ac_cv_type_size_t+set}" = set; then
23506 echo $ECHO_N "(cached) $ECHO_C" >&6
23508 cat >conftest.$ac_ext <<_ACEOF
23511 cat confdefs.h >>conftest.$ac_ext
23512 cat >>conftest.$ac_ext <<_ACEOF
23513 /* end confdefs.h. */
23514 $ac_includes_default
23515 typedef size_t ac__type_new_;
23519 if ((ac__type_new_ *) 0)
23521 if (sizeof (ac__type_new_))
23527 rm -f conftest.$ac_objext
23528 if { (ac_try="$ac_compile"
23529 case "(($ac_try" in
23530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23531 *) ac_try_echo=$ac_try;;
23533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23534 (eval "$ac_compile") 2>conftest.er1
23536 grep -v '^ *+' conftest.er1 >conftest.err
23538 cat conftest.err >&5
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); } && {
23541 test -z "$ac_c_werror_flag" ||
23542 test ! -s conftest.err
23543 } && test -s conftest.$ac_objext; then
23544 ac_cv_type_size_t=yes
23546 echo "$as_me: failed program was:" >&5
23547 sed 's/^/| /' conftest.$ac_ext >&5
23549 ac_cv_type_size_t=no
23552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23554 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23555 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23557 # The cast to long int works around a bug in the HP C Compiler
23558 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23559 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23560 # This bug is HP SR number 8606223364.
23561 { echo "$as_me:$LINENO: checking size of size_t" >&5
23562 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23563 if test "${ac_cv_sizeof_size_t+set}" = set; then
23564 echo $ECHO_N "(cached) $ECHO_C" >&6
23566 if test "$cross_compiling" = yes; then
23567 # Depending upon the size, compute the lo and hi bounds.
23568 cat >conftest.$ac_ext <<_ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574 $ac_includes_default
23575 typedef size_t ac__type_sizeof_;
23579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23586 rm -f conftest.$ac_objext
23587 if { (ac_try="$ac_compile"
23588 case "(($ac_try" in
23589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23590 *) ac_try_echo=$ac_try;;
23592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23593 (eval "$ac_compile") 2>conftest.er1
23595 grep -v '^ *+' conftest.er1 >conftest.err
23597 cat conftest.err >&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } && {
23600 test -z "$ac_c_werror_flag" ||
23601 test ! -s conftest.err
23602 } && test -s conftest.$ac_objext; then
23605 cat >conftest.$ac_ext <<_ACEOF
23608 cat confdefs.h >>conftest.$ac_ext
23609 cat >>conftest.$ac_ext <<_ACEOF
23610 /* end confdefs.h. */
23611 $ac_includes_default
23612 typedef size_t ac__type_sizeof_;
23616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23623 rm -f conftest.$ac_objext
23624 if { (ac_try="$ac_compile"
23625 case "(($ac_try" in
23626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23627 *) ac_try_echo=$ac_try;;
23629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23630 (eval "$ac_compile") 2>conftest.er1
23632 grep -v '^ *+' conftest.er1 >conftest.err
23634 cat conftest.err >&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); } && {
23637 test -z "$ac_c_werror_flag" ||
23638 test ! -s conftest.err
23639 } && test -s conftest.$ac_objext; then
23640 ac_hi=$ac_mid; break
23642 echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.$ac_ext >&5
23645 ac_lo=`expr $ac_mid + 1`
23646 if test $ac_lo -le $ac_mid; then
23650 ac_mid=`expr 2 '*' $ac_mid + 1`
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23659 cat >conftest.$ac_ext <<_ACEOF
23662 cat confdefs.h >>conftest.$ac_ext
23663 cat >>conftest.$ac_ext <<_ACEOF
23664 /* end confdefs.h. */
23665 $ac_includes_default
23666 typedef size_t ac__type_sizeof_;
23670 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23677 rm -f conftest.$ac_objext
23678 if { (ac_try="$ac_compile"
23679 case "(($ac_try" in
23680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23681 *) ac_try_echo=$ac_try;;
23683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23684 (eval "$ac_compile") 2>conftest.er1
23686 grep -v '^ *+' conftest.er1 >conftest.err
23688 cat conftest.err >&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); } && {
23691 test -z "$ac_c_werror_flag" ||
23692 test ! -s conftest.err
23693 } && test -s conftest.$ac_objext; then
23696 cat >conftest.$ac_ext <<_ACEOF
23699 cat confdefs.h >>conftest.$ac_ext
23700 cat >>conftest.$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23702 $ac_includes_default
23703 typedef size_t ac__type_sizeof_;
23707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23714 rm -f conftest.$ac_objext
23715 if { (ac_try="$ac_compile"
23716 case "(($ac_try" in
23717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_compile") 2>conftest.er1
23723 grep -v '^ *+' conftest.er1 >conftest.err
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } && {
23728 test -z "$ac_c_werror_flag" ||
23729 test ! -s conftest.err
23730 } && test -s conftest.$ac_objext; then
23731 ac_lo=$ac_mid; break
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.$ac_ext >&5
23736 ac_hi=`expr '(' $ac_mid ')' - 1`
23737 if test $ac_mid -le $ac_hi; then
23741 ac_mid=`expr 2 '*' $ac_mid`
23744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23747 echo "$as_me: failed program was:" >&5
23748 sed 's/^/| /' conftest.$ac_ext >&5
23753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23757 # Binary search between lo and hi bounds.
23758 while test "x$ac_lo" != "x$ac_hi"; do
23759 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23760 cat >conftest.$ac_ext <<_ACEOF
23763 cat confdefs.h >>conftest.$ac_ext
23764 cat >>conftest.$ac_ext <<_ACEOF
23765 /* end confdefs.h. */
23766 $ac_includes_default
23767 typedef size_t ac__type_sizeof_;
23771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23778 rm -f conftest.$ac_objext
23779 if { (ac_try="$ac_compile"
23780 case "(($ac_try" in
23781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23782 *) ac_try_echo=$ac_try;;
23784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23785 (eval "$ac_compile") 2>conftest.er1
23787 grep -v '^ *+' conftest.er1 >conftest.err
23789 cat conftest.err >&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); } && {
23792 test -z "$ac_c_werror_flag" ||
23793 test ! -s conftest.err
23794 } && test -s conftest.$ac_objext; then
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.$ac_ext >&5
23800 ac_lo=`expr '(' $ac_mid ')' + 1`
23803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23806 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23807 '') if test "$ac_cv_type_size_t" = yes; then
23808 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23809 See \`config.log' for more details." >&5
23810 echo "$as_me: error: cannot compute sizeof (size_t)
23811 See \`config.log' for more details." >&2;}
23812 { (exit 77); exit 77; }; }
23814 ac_cv_sizeof_size_t=0
23818 cat >conftest.$ac_ext <<_ACEOF
23821 cat confdefs.h >>conftest.$ac_ext
23822 cat >>conftest.$ac_ext <<_ACEOF
23823 /* end confdefs.h. */
23824 $ac_includes_default
23825 typedef size_t ac__type_sizeof_;
23826 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23827 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23829 #include <stdlib.h>
23834 FILE *f = fopen ("conftest.val", "w");
23837 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23839 long int i = longval ();
23840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23842 fprintf (f, "%ld\n", i);
23846 unsigned long int i = ulongval ();
23847 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23849 fprintf (f, "%lu\n", i);
23851 return ferror (f) || fclose (f) != 0;
23857 rm -f conftest$ac_exeext
23858 if { (ac_try="$ac_link"
23859 case "(($ac_try" in
23860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23861 *) ac_try_echo=$ac_try;;
23863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23864 (eval "$ac_link") 2>&5
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23868 { (case "(($ac_try" in
23869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23870 *) ac_try_echo=$ac_try;;
23872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23873 (eval "$ac_try") 2>&5
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); }; }; then
23877 ac_cv_sizeof_size_t=`cat conftest.val`
23879 echo "$as_me: program exited with status $ac_status" >&5
23880 echo "$as_me: failed program was:" >&5
23881 sed 's/^/| /' conftest.$ac_ext >&5
23883 ( exit $ac_status )
23884 if test "$ac_cv_type_size_t" = yes; then
23885 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23886 See \`config.log' for more details." >&5
23887 echo "$as_me: error: cannot compute sizeof (size_t)
23888 See \`config.log' for more details." >&2;}
23889 { (exit 77); exit 77; }; }
23891 ac_cv_sizeof_size_t=0
23894 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23898 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23899 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23903 cat >>confdefs.h <<_ACEOF
23904 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23911 { echo "$as_me:$LINENO: checking for long long" >&5
23912 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23913 if test "${ac_cv_type_long_long+set}" = set; then
23914 echo $ECHO_N "(cached) $ECHO_C" >&6
23916 cat >conftest.$ac_ext <<_ACEOF
23919 cat confdefs.h >>conftest.$ac_ext
23920 cat >>conftest.$ac_ext <<_ACEOF
23921 /* end confdefs.h. */
23922 $ac_includes_default
23923 typedef long long ac__type_new_;
23927 if ((ac__type_new_ *) 0)
23929 if (sizeof (ac__type_new_))
23935 rm -f conftest.$ac_objext
23936 if { (ac_try="$ac_compile"
23937 case "(($ac_try" in
23938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23939 *) ac_try_echo=$ac_try;;
23941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23942 (eval "$ac_compile") 2>conftest.er1
23944 grep -v '^ *+' conftest.er1 >conftest.err
23946 cat conftest.err >&5
23947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948 (exit $ac_status); } && {
23949 test -z "$ac_c_werror_flag" ||
23950 test ! -s conftest.err
23951 } && test -s conftest.$ac_objext; then
23952 ac_cv_type_long_long=yes
23954 echo "$as_me: failed program was:" >&5
23955 sed 's/^/| /' conftest.$ac_ext >&5
23957 ac_cv_type_long_long=no
23960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23962 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23963 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23965 # The cast to long int works around a bug in the HP C Compiler
23966 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23967 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23968 # This bug is HP SR number 8606223364.
23969 { echo "$as_me:$LINENO: checking size of long long" >&5
23970 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23971 if test "${ac_cv_sizeof_long_long+set}" = set; then
23972 echo $ECHO_N "(cached) $ECHO_C" >&6
23974 if test "$cross_compiling" = yes; then
23975 # Depending upon the size, compute the lo and hi bounds.
23976 cat >conftest.$ac_ext <<_ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 $ac_includes_default
23983 typedef long long ac__type_sizeof_;
23987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23994 rm -f conftest.$ac_objext
23995 if { (ac_try="$ac_compile"
23996 case "(($ac_try" in
23997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23998 *) ac_try_echo=$ac_try;;
24000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24001 (eval "$ac_compile") 2>conftest.er1
24003 grep -v '^ *+' conftest.er1 >conftest.err
24005 cat conftest.err >&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } && {
24008 test -z "$ac_c_werror_flag" ||
24009 test ! -s conftest.err
24010 } && test -s conftest.$ac_objext; then
24013 cat >conftest.$ac_ext <<_ACEOF
24016 cat confdefs.h >>conftest.$ac_ext
24017 cat >>conftest.$ac_ext <<_ACEOF
24018 /* end confdefs.h. */
24019 $ac_includes_default
24020 typedef long long ac__type_sizeof_;
24024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24031 rm -f conftest.$ac_objext
24032 if { (ac_try="$ac_compile"
24033 case "(($ac_try" in
24034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24035 *) ac_try_echo=$ac_try;;
24037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24038 (eval "$ac_compile") 2>conftest.er1
24040 grep -v '^ *+' conftest.er1 >conftest.err
24042 cat conftest.err >&5
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); } && {
24045 test -z "$ac_c_werror_flag" ||
24046 test ! -s conftest.err
24047 } && test -s conftest.$ac_objext; then
24048 ac_hi=$ac_mid; break
24050 echo "$as_me: failed program was:" >&5
24051 sed 's/^/| /' conftest.$ac_ext >&5
24053 ac_lo=`expr $ac_mid + 1`
24054 if test $ac_lo -le $ac_mid; then
24058 ac_mid=`expr 2 '*' $ac_mid + 1`
24061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24064 echo "$as_me: failed program was:" >&5
24065 sed 's/^/| /' conftest.$ac_ext >&5
24067 cat >conftest.$ac_ext <<_ACEOF
24070 cat confdefs.h >>conftest.$ac_ext
24071 cat >>conftest.$ac_ext <<_ACEOF
24072 /* end confdefs.h. */
24073 $ac_includes_default
24074 typedef long long ac__type_sizeof_;
24078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24085 rm -f conftest.$ac_objext
24086 if { (ac_try="$ac_compile"
24087 case "(($ac_try" in
24088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24089 *) ac_try_echo=$ac_try;;
24091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24092 (eval "$ac_compile") 2>conftest.er1
24094 grep -v '^ *+' conftest.er1 >conftest.err
24096 cat conftest.err >&5
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); } && {
24099 test -z "$ac_c_werror_flag" ||
24100 test ! -s conftest.err
24101 } && test -s conftest.$ac_objext; then
24104 cat >conftest.$ac_ext <<_ACEOF
24107 cat confdefs.h >>conftest.$ac_ext
24108 cat >>conftest.$ac_ext <<_ACEOF
24109 /* end confdefs.h. */
24110 $ac_includes_default
24111 typedef long long ac__type_sizeof_;
24115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24122 rm -f conftest.$ac_objext
24123 if { (ac_try="$ac_compile"
24124 case "(($ac_try" in
24125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24126 *) ac_try_echo=$ac_try;;
24128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24129 (eval "$ac_compile") 2>conftest.er1
24131 grep -v '^ *+' conftest.er1 >conftest.err
24133 cat conftest.err >&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); } && {
24136 test -z "$ac_c_werror_flag" ||
24137 test ! -s conftest.err
24138 } && test -s conftest.$ac_objext; then
24139 ac_lo=$ac_mid; break
24141 echo "$as_me: failed program was:" >&5
24142 sed 's/^/| /' conftest.$ac_ext >&5
24144 ac_hi=`expr '(' $ac_mid ')' - 1`
24145 if test $ac_mid -le $ac_hi; then
24149 ac_mid=`expr 2 '*' $ac_mid`
24152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24155 echo "$as_me: failed program was:" >&5
24156 sed 's/^/| /' conftest.$ac_ext >&5
24161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24165 # Binary search between lo and hi bounds.
24166 while test "x$ac_lo" != "x$ac_hi"; do
24167 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24168 cat >conftest.$ac_ext <<_ACEOF
24171 cat confdefs.h >>conftest.$ac_ext
24172 cat >>conftest.$ac_ext <<_ACEOF
24173 /* end confdefs.h. */
24174 $ac_includes_default
24175 typedef long long ac__type_sizeof_;
24179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24186 rm -f conftest.$ac_objext
24187 if { (ac_try="$ac_compile"
24188 case "(($ac_try" in
24189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24190 *) ac_try_echo=$ac_try;;
24192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24193 (eval "$ac_compile") 2>conftest.er1
24195 grep -v '^ *+' conftest.er1 >conftest.err
24197 cat conftest.err >&5
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); } && {
24200 test -z "$ac_c_werror_flag" ||
24201 test ! -s conftest.err
24202 } && test -s conftest.$ac_objext; then
24205 echo "$as_me: failed program was:" >&5
24206 sed 's/^/| /' conftest.$ac_ext >&5
24208 ac_lo=`expr '(' $ac_mid ')' + 1`
24211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24214 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24215 '') if test "$ac_cv_type_long_long" = yes; then
24216 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24217 See \`config.log' for more details." >&5
24218 echo "$as_me: error: cannot compute sizeof (long long)
24219 See \`config.log' for more details." >&2;}
24220 { (exit 77); exit 77; }; }
24222 ac_cv_sizeof_long_long=0
24226 cat >conftest.$ac_ext <<_ACEOF
24229 cat confdefs.h >>conftest.$ac_ext
24230 cat >>conftest.$ac_ext <<_ACEOF
24231 /* end confdefs.h. */
24232 $ac_includes_default
24233 typedef long long ac__type_sizeof_;
24234 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24235 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24237 #include <stdlib.h>
24242 FILE *f = fopen ("conftest.val", "w");
24245 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24247 long int i = longval ();
24248 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24250 fprintf (f, "%ld\n", i);
24254 unsigned long int i = ulongval ();
24255 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24257 fprintf (f, "%lu\n", i);
24259 return ferror (f) || fclose (f) != 0;
24265 rm -f conftest$ac_exeext
24266 if { (ac_try="$ac_link"
24267 case "(($ac_try" in
24268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24269 *) ac_try_echo=$ac_try;;
24271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24272 (eval "$ac_link") 2>&5
24274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24276 { (case "(($ac_try" in
24277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24278 *) ac_try_echo=$ac_try;;
24280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24281 (eval "$ac_try") 2>&5
24283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24284 (exit $ac_status); }; }; then
24285 ac_cv_sizeof_long_long=`cat conftest.val`
24287 echo "$as_me: program exited with status $ac_status" >&5
24288 echo "$as_me: failed program was:" >&5
24289 sed 's/^/| /' conftest.$ac_ext >&5
24291 ( exit $ac_status )
24292 if test "$ac_cv_type_long_long" = yes; then
24293 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24294 See \`config.log' for more details." >&5
24295 echo "$as_me: error: cannot compute sizeof (long long)
24296 See \`config.log' for more details." >&2;}
24297 { (exit 77); exit 77; }; }
24299 ac_cv_sizeof_long_long=0
24302 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24306 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24307 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24311 cat >>confdefs.h <<_ACEOF
24312 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24318 { echo "$as_me:$LINENO: checking for long long" >&5
24319 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24320 if test "${ac_cv_type_long_long+set}" = set; then
24321 echo $ECHO_N "(cached) $ECHO_C" >&6
24323 cat >conftest.$ac_ext <<_ACEOF
24326 cat confdefs.h >>conftest.$ac_ext
24327 cat >>conftest.$ac_ext <<_ACEOF
24328 /* end confdefs.h. */
24329 $ac_includes_default
24330 typedef long long ac__type_new_;
24334 if ((ac__type_new_ *) 0)
24336 if (sizeof (ac__type_new_))
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
24359 ac_cv_type_long_long=yes
24361 echo "$as_me: failed program was:" >&5
24362 sed 's/^/| /' conftest.$ac_ext >&5
24364 ac_cv_type_long_long=no
24367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24369 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24370 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24372 # The cast to long int works around a bug in the HP C Compiler
24373 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24374 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24375 # This bug is HP SR number 8606223364.
24376 { echo "$as_me:$LINENO: checking size of long long" >&5
24377 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24378 if test "${ac_cv_sizeof_long_long+set}" = set; then
24379 echo $ECHO_N "(cached) $ECHO_C" >&6
24381 if test "$cross_compiling" = yes; then
24382 # Depending upon the size, compute the lo and hi bounds.
24383 cat >conftest.$ac_ext <<_ACEOF
24386 cat confdefs.h >>conftest.$ac_ext
24387 cat >>conftest.$ac_ext <<_ACEOF
24388 /* end confdefs.h. */
24389 $ac_includes_default
24390 typedef long long ac__type_sizeof_;
24394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24401 rm -f conftest.$ac_objext
24402 if { (ac_try="$ac_compile"
24403 case "(($ac_try" in
24404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24405 *) ac_try_echo=$ac_try;;
24407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24408 (eval "$ac_compile") 2>conftest.er1
24410 grep -v '^ *+' conftest.er1 >conftest.err
24412 cat conftest.err >&5
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); } && {
24415 test -z "$ac_c_werror_flag" ||
24416 test ! -s conftest.err
24417 } && test -s conftest.$ac_objext; then
24420 cat >conftest.$ac_ext <<_ACEOF
24423 cat confdefs.h >>conftest.$ac_ext
24424 cat >>conftest.$ac_ext <<_ACEOF
24425 /* end confdefs.h. */
24426 $ac_includes_default
24427 typedef long long ac__type_sizeof_;
24431 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24438 rm -f conftest.$ac_objext
24439 if { (ac_try="$ac_compile"
24440 case "(($ac_try" in
24441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24442 *) ac_try_echo=$ac_try;;
24444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24445 (eval "$ac_compile") 2>conftest.er1
24447 grep -v '^ *+' conftest.er1 >conftest.err
24449 cat conftest.err >&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); } && {
24452 test -z "$ac_c_werror_flag" ||
24453 test ! -s conftest.err
24454 } && test -s conftest.$ac_objext; then
24455 ac_hi=$ac_mid; break
24457 echo "$as_me: failed program was:" >&5
24458 sed 's/^/| /' conftest.$ac_ext >&5
24460 ac_lo=`expr $ac_mid + 1`
24461 if test $ac_lo -le $ac_mid; then
24465 ac_mid=`expr 2 '*' $ac_mid + 1`
24468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24471 echo "$as_me: failed program was:" >&5
24472 sed 's/^/| /' conftest.$ac_ext >&5
24474 cat >conftest.$ac_ext <<_ACEOF
24477 cat confdefs.h >>conftest.$ac_ext
24478 cat >>conftest.$ac_ext <<_ACEOF
24479 /* end confdefs.h. */
24480 $ac_includes_default
24481 typedef long long ac__type_sizeof_;
24485 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24492 rm -f conftest.$ac_objext
24493 if { (ac_try="$ac_compile"
24494 case "(($ac_try" in
24495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24496 *) ac_try_echo=$ac_try;;
24498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24499 (eval "$ac_compile") 2>conftest.er1
24501 grep -v '^ *+' conftest.er1 >conftest.err
24503 cat conftest.err >&5
24504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24505 (exit $ac_status); } && {
24506 test -z "$ac_c_werror_flag" ||
24507 test ! -s conftest.err
24508 } && test -s conftest.$ac_objext; then
24511 cat >conftest.$ac_ext <<_ACEOF
24514 cat confdefs.h >>conftest.$ac_ext
24515 cat >>conftest.$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 $ac_includes_default
24518 typedef long long ac__type_sizeof_;
24522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24529 rm -f conftest.$ac_objext
24530 if { (ac_try="$ac_compile"
24531 case "(($ac_try" in
24532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24533 *) ac_try_echo=$ac_try;;
24535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24536 (eval "$ac_compile") 2>conftest.er1
24538 grep -v '^ *+' conftest.er1 >conftest.err
24540 cat conftest.err >&5
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); } && {
24543 test -z "$ac_c_werror_flag" ||
24544 test ! -s conftest.err
24545 } && test -s conftest.$ac_objext; then
24546 ac_lo=$ac_mid; break
24548 echo "$as_me: failed program was:" >&5
24549 sed 's/^/| /' conftest.$ac_ext >&5
24551 ac_hi=`expr '(' $ac_mid ')' - 1`
24552 if test $ac_mid -le $ac_hi; then
24556 ac_mid=`expr 2 '*' $ac_mid`
24559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24562 echo "$as_me: failed program was:" >&5
24563 sed 's/^/| /' conftest.$ac_ext >&5
24568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24572 # Binary search between lo and hi bounds.
24573 while test "x$ac_lo" != "x$ac_hi"; do
24574 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24575 cat >conftest.$ac_ext <<_ACEOF
24578 cat confdefs.h >>conftest.$ac_ext
24579 cat >>conftest.$ac_ext <<_ACEOF
24580 /* end confdefs.h. */
24581 $ac_includes_default
24582 typedef long long ac__type_sizeof_;
24586 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24593 rm -f conftest.$ac_objext
24594 if { (ac_try="$ac_compile"
24595 case "(($ac_try" in
24596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24597 *) ac_try_echo=$ac_try;;
24599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24600 (eval "$ac_compile") 2>conftest.er1
24602 grep -v '^ *+' conftest.er1 >conftest.err
24604 cat conftest.err >&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); } && {
24607 test -z "$ac_c_werror_flag" ||
24608 test ! -s conftest.err
24609 } && test -s conftest.$ac_objext; then
24612 echo "$as_me: failed program was:" >&5
24613 sed 's/^/| /' conftest.$ac_ext >&5
24615 ac_lo=`expr '(' $ac_mid ')' + 1`
24618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24621 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24622 '') if test "$ac_cv_type_long_long" = yes; then
24623 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24624 See \`config.log' for more details." >&5
24625 echo "$as_me: error: cannot compute sizeof (long long)
24626 See \`config.log' for more details." >&2;}
24627 { (exit 77); exit 77; }; }
24629 ac_cv_sizeof_long_long=0
24633 cat >conftest.$ac_ext <<_ACEOF
24636 cat confdefs.h >>conftest.$ac_ext
24637 cat >>conftest.$ac_ext <<_ACEOF
24638 /* end confdefs.h. */
24639 $ac_includes_default
24640 typedef long long ac__type_sizeof_;
24641 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24642 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24644 #include <stdlib.h>
24649 FILE *f = fopen ("conftest.val", "w");
24652 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24654 long int i = longval ();
24655 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24657 fprintf (f, "%ld\n", i);
24661 unsigned long int i = ulongval ();
24662 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24664 fprintf (f, "%lu\n", i);
24666 return ferror (f) || fclose (f) != 0;
24672 rm -f conftest$ac_exeext
24673 if { (ac_try="$ac_link"
24674 case "(($ac_try" in
24675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24676 *) ac_try_echo=$ac_try;;
24678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24679 (eval "$ac_link") 2>&5
24681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24683 { (case "(($ac_try" in
24684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24685 *) ac_try_echo=$ac_try;;
24687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24688 (eval "$ac_try") 2>&5
24690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24691 (exit $ac_status); }; }; then
24692 ac_cv_sizeof_long_long=`cat conftest.val`
24694 echo "$as_me: program exited with status $ac_status" >&5
24695 echo "$as_me: failed program was:" >&5
24696 sed 's/^/| /' conftest.$ac_ext >&5
24698 ( exit $ac_status )
24699 if test "$ac_cv_type_long_long" = yes; then
24700 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24701 See \`config.log' for more details." >&5
24702 echo "$as_me: error: cannot compute sizeof (long long)
24703 See \`config.log' for more details." >&2;}
24704 { (exit 77); exit 77; }; }
24706 ac_cv_sizeof_long_long=0
24709 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24713 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24714 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24718 cat >>confdefs.h <<_ACEOF
24719 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24723 if test "$ac_cv_sizeof_long_long" != "0"; then
24724 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24728 { echo "$as_me:$LINENO: checking for long long" >&5
24729 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24730 if test "${ac_cv_type_long_long+set}" = set; then
24731 echo $ECHO_N "(cached) $ECHO_C" >&6
24733 cat >conftest.$ac_ext <<_ACEOF
24736 cat confdefs.h >>conftest.$ac_ext
24737 cat >>conftest.$ac_ext <<_ACEOF
24738 /* end confdefs.h. */
24739 $ac_includes_default
24740 typedef long long ac__type_new_;
24744 if ((ac__type_new_ *) 0)
24746 if (sizeof (ac__type_new_))
24752 rm -f conftest.$ac_objext
24753 if { (ac_try="$ac_compile"
24754 case "(($ac_try" in
24755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24756 *) ac_try_echo=$ac_try;;
24758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24759 (eval "$ac_compile") 2>conftest.er1
24761 grep -v '^ *+' conftest.er1 >conftest.err
24763 cat conftest.err >&5
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); } && {
24766 test -z "$ac_c_werror_flag" ||
24767 test ! -s conftest.err
24768 } && test -s conftest.$ac_objext; then
24769 ac_cv_type_long_long=yes
24771 echo "$as_me: failed program was:" >&5
24772 sed 's/^/| /' conftest.$ac_ext >&5
24774 ac_cv_type_long_long=no
24777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24779 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24780 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24782 # The cast to long int works around a bug in the HP C Compiler
24783 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24784 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24785 # This bug is HP SR number 8606223364.
24786 { echo "$as_me:$LINENO: checking size of long long" >&5
24787 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24788 if test "${ac_cv_sizeof_long_long+set}" = set; then
24789 echo $ECHO_N "(cached) $ECHO_C" >&6
24791 if test "$cross_compiling" = yes; then
24792 # Depending upon the size, compute the lo and hi bounds.
24793 cat >conftest.$ac_ext <<_ACEOF
24796 cat confdefs.h >>conftest.$ac_ext
24797 cat >>conftest.$ac_ext <<_ACEOF
24798 /* end confdefs.h. */
24799 $ac_includes_default
24800 typedef long long ac__type_sizeof_;
24804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24811 rm -f conftest.$ac_objext
24812 if { (ac_try="$ac_compile"
24813 case "(($ac_try" in
24814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24815 *) ac_try_echo=$ac_try;;
24817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24818 (eval "$ac_compile") 2>conftest.er1
24820 grep -v '^ *+' conftest.er1 >conftest.err
24822 cat conftest.err >&5
24823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24824 (exit $ac_status); } && {
24825 test -z "$ac_c_werror_flag" ||
24826 test ! -s conftest.err
24827 } && test -s conftest.$ac_objext; then
24830 cat >conftest.$ac_ext <<_ACEOF
24833 cat confdefs.h >>conftest.$ac_ext
24834 cat >>conftest.$ac_ext <<_ACEOF
24835 /* end confdefs.h. */
24836 $ac_includes_default
24837 typedef long long ac__type_sizeof_;
24841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24848 rm -f conftest.$ac_objext
24849 if { (ac_try="$ac_compile"
24850 case "(($ac_try" in
24851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24852 *) ac_try_echo=$ac_try;;
24854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24855 (eval "$ac_compile") 2>conftest.er1
24857 grep -v '^ *+' conftest.er1 >conftest.err
24859 cat conftest.err >&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); } && {
24862 test -z "$ac_c_werror_flag" ||
24863 test ! -s conftest.err
24864 } && test -s conftest.$ac_objext; then
24865 ac_hi=$ac_mid; break
24867 echo "$as_me: failed program was:" >&5
24868 sed 's/^/| /' conftest.$ac_ext >&5
24870 ac_lo=`expr $ac_mid + 1`
24871 if test $ac_lo -le $ac_mid; then
24875 ac_mid=`expr 2 '*' $ac_mid + 1`
24878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24881 echo "$as_me: failed program was:" >&5
24882 sed 's/^/| /' conftest.$ac_ext >&5
24884 cat >conftest.$ac_ext <<_ACEOF
24887 cat confdefs.h >>conftest.$ac_ext
24888 cat >>conftest.$ac_ext <<_ACEOF
24889 /* end confdefs.h. */
24890 $ac_includes_default
24891 typedef long long ac__type_sizeof_;
24895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24902 rm -f conftest.$ac_objext
24903 if { (ac_try="$ac_compile"
24904 case "(($ac_try" in
24905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24906 *) ac_try_echo=$ac_try;;
24908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24909 (eval "$ac_compile") 2>conftest.er1
24911 grep -v '^ *+' conftest.er1 >conftest.err
24913 cat conftest.err >&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); } && {
24916 test -z "$ac_c_werror_flag" ||
24917 test ! -s conftest.err
24918 } && test -s conftest.$ac_objext; then
24921 cat >conftest.$ac_ext <<_ACEOF
24924 cat confdefs.h >>conftest.$ac_ext
24925 cat >>conftest.$ac_ext <<_ACEOF
24926 /* end confdefs.h. */
24927 $ac_includes_default
24928 typedef long long ac__type_sizeof_;
24932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24939 rm -f conftest.$ac_objext
24940 if { (ac_try="$ac_compile"
24941 case "(($ac_try" in
24942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24943 *) ac_try_echo=$ac_try;;
24945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24946 (eval "$ac_compile") 2>conftest.er1
24948 grep -v '^ *+' conftest.er1 >conftest.err
24950 cat conftest.err >&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } && {
24953 test -z "$ac_c_werror_flag" ||
24954 test ! -s conftest.err
24955 } && test -s conftest.$ac_objext; then
24956 ac_lo=$ac_mid; break
24958 echo "$as_me: failed program was:" >&5
24959 sed 's/^/| /' conftest.$ac_ext >&5
24961 ac_hi=`expr '(' $ac_mid ')' - 1`
24962 if test $ac_mid -le $ac_hi; then
24966 ac_mid=`expr 2 '*' $ac_mid`
24969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24972 echo "$as_me: failed program was:" >&5
24973 sed 's/^/| /' conftest.$ac_ext >&5
24978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24982 # Binary search between lo and hi bounds.
24983 while test "x$ac_lo" != "x$ac_hi"; do
24984 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24985 cat >conftest.$ac_ext <<_ACEOF
24988 cat confdefs.h >>conftest.$ac_ext
24989 cat >>conftest.$ac_ext <<_ACEOF
24990 /* end confdefs.h. */
24991 $ac_includes_default
24992 typedef long long ac__type_sizeof_;
24996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25003 rm -f conftest.$ac_objext
25004 if { (ac_try="$ac_compile"
25005 case "(($ac_try" in
25006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25007 *) ac_try_echo=$ac_try;;
25009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25010 (eval "$ac_compile") 2>conftest.er1
25012 grep -v '^ *+' conftest.er1 >conftest.err
25014 cat conftest.err >&5
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); } && {
25017 test -z "$ac_c_werror_flag" ||
25018 test ! -s conftest.err
25019 } && test -s conftest.$ac_objext; then
25022 echo "$as_me: failed program was:" >&5
25023 sed 's/^/| /' conftest.$ac_ext >&5
25025 ac_lo=`expr '(' $ac_mid ')' + 1`
25028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25031 ?*) ac_cv_sizeof_long_long=$ac_lo;;
25032 '') if test "$ac_cv_type_long_long" = yes; then
25033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25034 See \`config.log' for more details." >&5
25035 echo "$as_me: error: cannot compute sizeof (long long)
25036 See \`config.log' for more details." >&2;}
25037 { (exit 77); exit 77; }; }
25039 ac_cv_sizeof_long_long=0
25043 cat >conftest.$ac_ext <<_ACEOF
25046 cat confdefs.h >>conftest.$ac_ext
25047 cat >>conftest.$ac_ext <<_ACEOF
25048 /* end confdefs.h. */
25049 $ac_includes_default
25050 typedef long long ac__type_sizeof_;
25051 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25052 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25054 #include <stdlib.h>
25059 FILE *f = fopen ("conftest.val", "w");
25062 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25064 long int i = longval ();
25065 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25067 fprintf (f, "%ld\n", i);
25071 unsigned long int i = ulongval ();
25072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25074 fprintf (f, "%lu\n", i);
25076 return ferror (f) || fclose (f) != 0;
25082 rm -f conftest$ac_exeext
25083 if { (ac_try="$ac_link"
25084 case "(($ac_try" in
25085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25086 *) ac_try_echo=$ac_try;;
25088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25089 (eval "$ac_link") 2>&5
25091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25093 { (case "(($ac_try" in
25094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25095 *) ac_try_echo=$ac_try;;
25097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25098 (eval "$ac_try") 2>&5
25100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25101 (exit $ac_status); }; }; then
25102 ac_cv_sizeof_long_long=`cat conftest.val`
25104 echo "$as_me: program exited with status $ac_status" >&5
25105 echo "$as_me: failed program was:" >&5
25106 sed 's/^/| /' conftest.$ac_ext >&5
25108 ( exit $ac_status )
25109 if test "$ac_cv_type_long_long" = yes; then
25110 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25111 See \`config.log' for more details." >&5
25112 echo "$as_me: error: cannot compute sizeof (long long)
25113 See \`config.log' for more details." >&2;}
25114 { (exit 77); exit 77; }; }
25116 ac_cv_sizeof_long_long=0
25119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25123 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25124 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25128 cat >>confdefs.h <<_ACEOF
25129 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25135 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25136 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25137 if test "${ac_cv_type_wchar_t+set}" = set; then
25138 echo $ECHO_N "(cached) $ECHO_C" >&6
25140 cat >conftest.$ac_ext <<_ACEOF
25143 cat confdefs.h >>conftest.$ac_ext
25144 cat >>conftest.$ac_ext <<_ACEOF
25145 /* end confdefs.h. */
25147 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25148 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25149 # error "fake wchar_t"
25151 #ifdef HAVE_WCHAR_H
25153 # include <stddef.h>
25155 # include <wchar.h>
25157 #ifdef HAVE_STDLIB_H
25158 # include <stdlib.h>
25164 typedef wchar_t ac__type_new_;
25168 if ((ac__type_new_ *) 0)
25170 if (sizeof (ac__type_new_))
25176 rm -f conftest.$ac_objext
25177 if { (ac_try="$ac_compile"
25178 case "(($ac_try" in
25179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25180 *) ac_try_echo=$ac_try;;
25182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25183 (eval "$ac_compile") 2>conftest.er1
25185 grep -v '^ *+' conftest.er1 >conftest.err
25187 cat conftest.err >&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } && {
25190 test -z "$ac_c_werror_flag" ||
25191 test ! -s conftest.err
25192 } && test -s conftest.$ac_objext; then
25193 ac_cv_type_wchar_t=yes
25195 echo "$as_me: failed program was:" >&5
25196 sed 's/^/| /' conftest.$ac_ext >&5
25198 ac_cv_type_wchar_t=no
25201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25203 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25204 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25206 # The cast to long int works around a bug in the HP C Compiler
25207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25209 # This bug is HP SR number 8606223364.
25210 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25211 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25212 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25213 echo $ECHO_N "(cached) $ECHO_C" >&6
25215 if test "$cross_compiling" = yes; then
25216 # Depending upon the size, compute the lo and hi bounds.
25217 cat >conftest.$ac_ext <<_ACEOF
25220 cat confdefs.h >>conftest.$ac_ext
25221 cat >>conftest.$ac_ext <<_ACEOF
25222 /* end confdefs.h. */
25224 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25225 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25226 # error "fake wchar_t"
25228 #ifdef HAVE_WCHAR_H
25230 # include <stddef.h>
25232 # include <wchar.h>
25234 #ifdef HAVE_STDLIB_H
25235 # include <stdlib.h>
25241 typedef wchar_t ac__type_sizeof_;
25245 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25252 rm -f conftest.$ac_objext
25253 if { (ac_try="$ac_compile"
25254 case "(($ac_try" in
25255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25256 *) ac_try_echo=$ac_try;;
25258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25259 (eval "$ac_compile") 2>conftest.er1
25261 grep -v '^ *+' conftest.er1 >conftest.err
25263 cat conftest.err >&5
25264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25265 (exit $ac_status); } && {
25266 test -z "$ac_c_werror_flag" ||
25267 test ! -s conftest.err
25268 } && test -s conftest.$ac_objext; then
25271 cat >conftest.$ac_ext <<_ACEOF
25274 cat confdefs.h >>conftest.$ac_ext
25275 cat >>conftest.$ac_ext <<_ACEOF
25276 /* end confdefs.h. */
25278 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25279 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25280 # error "fake wchar_t"
25282 #ifdef HAVE_WCHAR_H
25284 # include <stddef.h>
25286 # include <wchar.h>
25288 #ifdef HAVE_STDLIB_H
25289 # include <stdlib.h>
25295 typedef wchar_t ac__type_sizeof_;
25299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25306 rm -f conftest.$ac_objext
25307 if { (ac_try="$ac_compile"
25308 case "(($ac_try" in
25309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25310 *) ac_try_echo=$ac_try;;
25312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25313 (eval "$ac_compile") 2>conftest.er1
25315 grep -v '^ *+' conftest.er1 >conftest.err
25317 cat conftest.err >&5
25318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 (exit $ac_status); } && {
25320 test -z "$ac_c_werror_flag" ||
25321 test ! -s conftest.err
25322 } && test -s conftest.$ac_objext; then
25323 ac_hi=$ac_mid; break
25325 echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.$ac_ext >&5
25328 ac_lo=`expr $ac_mid + 1`
25329 if test $ac_lo -le $ac_mid; then
25333 ac_mid=`expr 2 '*' $ac_mid + 1`
25336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.$ac_ext >&5
25342 cat >conftest.$ac_ext <<_ACEOF
25345 cat confdefs.h >>conftest.$ac_ext
25346 cat >>conftest.$ac_ext <<_ACEOF
25347 /* end confdefs.h. */
25349 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25350 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25351 # error "fake wchar_t"
25353 #ifdef HAVE_WCHAR_H
25355 # include <stddef.h>
25357 # include <wchar.h>
25359 #ifdef HAVE_STDLIB_H
25360 # include <stdlib.h>
25366 typedef wchar_t ac__type_sizeof_;
25370 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25377 rm -f conftest.$ac_objext
25378 if { (ac_try="$ac_compile"
25379 case "(($ac_try" in
25380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25381 *) ac_try_echo=$ac_try;;
25383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25384 (eval "$ac_compile") 2>conftest.er1
25386 grep -v '^ *+' conftest.er1 >conftest.err
25388 cat conftest.err >&5
25389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25390 (exit $ac_status); } && {
25391 test -z "$ac_c_werror_flag" ||
25392 test ! -s conftest.err
25393 } && test -s conftest.$ac_objext; then
25396 cat >conftest.$ac_ext <<_ACEOF
25399 cat confdefs.h >>conftest.$ac_ext
25400 cat >>conftest.$ac_ext <<_ACEOF
25401 /* end confdefs.h. */
25403 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25404 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25405 # error "fake wchar_t"
25407 #ifdef HAVE_WCHAR_H
25409 # include <stddef.h>
25411 # include <wchar.h>
25413 #ifdef HAVE_STDLIB_H
25414 # include <stdlib.h>
25420 typedef wchar_t ac__type_sizeof_;
25424 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25431 rm -f conftest.$ac_objext
25432 if { (ac_try="$ac_compile"
25433 case "(($ac_try" in
25434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25435 *) ac_try_echo=$ac_try;;
25437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25438 (eval "$ac_compile") 2>conftest.er1
25440 grep -v '^ *+' conftest.er1 >conftest.err
25442 cat conftest.err >&5
25443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25444 (exit $ac_status); } && {
25445 test -z "$ac_c_werror_flag" ||
25446 test ! -s conftest.err
25447 } && test -s conftest.$ac_objext; then
25448 ac_lo=$ac_mid; break
25450 echo "$as_me: failed program was:" >&5
25451 sed 's/^/| /' conftest.$ac_ext >&5
25453 ac_hi=`expr '(' $ac_mid ')' - 1`
25454 if test $ac_mid -le $ac_hi; then
25458 ac_mid=`expr 2 '*' $ac_mid`
25461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25464 echo "$as_me: failed program was:" >&5
25465 sed 's/^/| /' conftest.$ac_ext >&5
25470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25474 # Binary search between lo and hi bounds.
25475 while test "x$ac_lo" != "x$ac_hi"; do
25476 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25477 cat >conftest.$ac_ext <<_ACEOF
25480 cat confdefs.h >>conftest.$ac_ext
25481 cat >>conftest.$ac_ext <<_ACEOF
25482 /* end confdefs.h. */
25484 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25485 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25486 # error "fake wchar_t"
25488 #ifdef HAVE_WCHAR_H
25490 # include <stddef.h>
25492 # include <wchar.h>
25494 #ifdef HAVE_STDLIB_H
25495 # include <stdlib.h>
25501 typedef wchar_t ac__type_sizeof_;
25505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25512 rm -f conftest.$ac_objext
25513 if { (ac_try="$ac_compile"
25514 case "(($ac_try" in
25515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25516 *) ac_try_echo=$ac_try;;
25518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25519 (eval "$ac_compile") 2>conftest.er1
25521 grep -v '^ *+' conftest.er1 >conftest.err
25523 cat conftest.err >&5
25524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25525 (exit $ac_status); } && {
25526 test -z "$ac_c_werror_flag" ||
25527 test ! -s conftest.err
25528 } && test -s conftest.$ac_objext; then
25531 echo "$as_me: failed program was:" >&5
25532 sed 's/^/| /' conftest.$ac_ext >&5
25534 ac_lo=`expr '(' $ac_mid ')' + 1`
25537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25540 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25541 '') if test "$ac_cv_type_wchar_t" = yes; then
25542 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25543 See \`config.log' for more details." >&5
25544 echo "$as_me: error: cannot compute sizeof (wchar_t)
25545 See \`config.log' for more details." >&2;}
25546 { (exit 77); exit 77; }; }
25548 ac_cv_sizeof_wchar_t=0
25552 cat >conftest.$ac_ext <<_ACEOF
25555 cat confdefs.h >>conftest.$ac_ext
25556 cat >>conftest.$ac_ext <<_ACEOF
25557 /* end confdefs.h. */
25559 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25560 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25561 # error "fake wchar_t"
25563 #ifdef HAVE_WCHAR_H
25565 # include <stddef.h>
25567 # include <wchar.h>
25569 #ifdef HAVE_STDLIB_H
25570 # include <stdlib.h>
25576 typedef wchar_t ac__type_sizeof_;
25577 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25578 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25580 #include <stdlib.h>
25585 FILE *f = fopen ("conftest.val", "w");
25588 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25590 long int i = longval ();
25591 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25593 fprintf (f, "%ld\n", i);
25597 unsigned long int i = ulongval ();
25598 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25600 fprintf (f, "%lu\n", i);
25602 return ferror (f) || fclose (f) != 0;
25608 rm -f conftest$ac_exeext
25609 if { (ac_try="$ac_link"
25610 case "(($ac_try" in
25611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25612 *) ac_try_echo=$ac_try;;
25614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25615 (eval "$ac_link") 2>&5
25617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25618 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25619 { (case "(($ac_try" in
25620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25621 *) ac_try_echo=$ac_try;;
25623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25624 (eval "$ac_try") 2>&5
25626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627 (exit $ac_status); }; }; then
25628 ac_cv_sizeof_wchar_t=`cat conftest.val`
25630 echo "$as_me: program exited with status $ac_status" >&5
25631 echo "$as_me: failed program was:" >&5
25632 sed 's/^/| /' conftest.$ac_ext >&5
25634 ( exit $ac_status )
25635 if test "$ac_cv_type_wchar_t" = yes; then
25636 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25637 See \`config.log' for more details." >&5
25638 echo "$as_me: error: cannot compute sizeof (wchar_t)
25639 See \`config.log' for more details." >&2;}
25640 { (exit 77); exit 77; }; }
25642 ac_cv_sizeof_wchar_t=0
25645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25649 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25650 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25654 cat >>confdefs.h <<_ACEOF
25655 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25659 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25665 { echo "$as_me:$LINENO: checking for va_copy" >&5
25666 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25667 if test "${wx_cv_func_va_copy+set}" = set; then
25668 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 ac_cpp='$CXXCPP $CPPFLAGS'
25673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25677 cat >conftest.$ac_ext <<_ACEOF
25679 #include <stdarg.h>
25680 void foo(char *f, ...)
25694 rm -f conftest.$ac_objext conftest$ac_exeext
25695 if { (ac_try="$ac_link"
25696 case "(($ac_try" in
25697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25698 *) ac_try_echo=$ac_try;;
25700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25701 (eval "$ac_link") 2>conftest.er1
25703 grep -v '^ *+' conftest.er1 >conftest.err
25705 cat conftest.err >&5
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); } && {
25708 test -z "$ac_cxx_werror_flag" ||
25709 test ! -s conftest.err
25710 } && test -s conftest$ac_exeext &&
25711 $as_test_x conftest$ac_exeext; then
25712 wx_cv_func_va_copy=yes
25714 echo "$as_me: failed program was:" >&5
25715 sed 's/^/| /' conftest.$ac_ext >&5
25717 wx_cv_func_va_copy=no
25721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25722 conftest$ac_exeext conftest.$ac_ext
25724 ac_cpp='$CPP $CPPFLAGS'
25725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25732 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25733 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25735 if test $wx_cv_func_va_copy = "yes"; then
25736 cat >>confdefs.h <<\_ACEOF
25737 #define HAVE_VA_COPY 1
25741 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25742 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25743 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25744 echo $ECHO_N "(cached) $ECHO_C" >&6
25747 if test "$cross_compiling" = yes; then
25748 wx_cv_type_va_list_lvalue=yes
25751 cat >conftest.$ac_ext <<_ACEOF
25753 #include <stdarg.h>
25754 int foo(char *f, ...)
25759 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25767 return foo("hi", 17);
25770 rm -f conftest$ac_exeext
25771 if { (ac_try="$ac_link"
25772 case "(($ac_try" in
25773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25774 *) ac_try_echo=$ac_try;;
25776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25777 (eval "$ac_link") 2>&5
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25781 { (case "(($ac_try" in
25782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25783 *) ac_try_echo=$ac_try;;
25785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25786 (eval "$ac_try") 2>&5
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); }; }; then
25790 wx_cv_type_va_list_lvalue=yes
25792 echo "$as_me: program exited with status $ac_status" >&5
25793 echo "$as_me: failed program was:" >&5
25794 sed 's/^/| /' conftest.$ac_ext >&5
25796 ( exit $ac_status )
25797 wx_cv_type_va_list_lvalue=no
25799 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25806 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25807 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25809 if test $wx_cv_type_va_list_lvalue != "yes"; then
25810 cat >>confdefs.h <<\_ACEOF
25811 #define VA_LIST_IS_ARRAY 1
25817 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25819 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25820 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25821 if test "${wx_cv_have_variadic_macros+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25826 ac_cpp='$CXXCPP $CPPFLAGS'
25827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25831 cat >conftest.$ac_ext <<_ACEOF
25834 cat confdefs.h >>conftest.$ac_ext
25835 cat >>conftest.$ac_ext <<_ACEOF
25836 /* end confdefs.h. */
25839 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25845 test("%s %d %p", "test", 1, 0);
25852 rm -f conftest.$ac_objext
25853 if { (ac_try="$ac_compile"
25854 case "(($ac_try" in
25855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25856 *) ac_try_echo=$ac_try;;
25858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25859 (eval "$ac_compile") 2>conftest.er1
25861 grep -v '^ *+' conftest.er1 >conftest.err
25863 cat conftest.err >&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } && {
25866 test -z "$ac_cxx_werror_flag" ||
25867 test ! -s conftest.err
25868 } && test -s conftest.$ac_objext; then
25869 wx_cv_have_variadic_macros=yes
25871 echo "$as_me: failed program was:" >&5
25872 sed 's/^/| /' conftest.$ac_ext >&5
25874 wx_cv_have_variadic_macros=no
25878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25880 ac_cpp='$CPP $CPPFLAGS'
25881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25888 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25889 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25891 if test $wx_cv_have_variadic_macros = "yes"; then
25892 cat >>confdefs.h <<\_ACEOF
25893 #define HAVE_VARIADIC_MACROS 1
25899 # Check whether --enable-largefile was given.
25900 if test "${enable_largefile+set}" = set; then
25901 enableval=$enable_largefile;
25904 if test "$enable_largefile" != no; then
25907 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25908 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25909 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25910 echo $ECHO_N "(cached) $ECHO_C" >&6
25913 cat >conftest.$ac_ext <<_ACEOF
25916 cat confdefs.h >>conftest.$ac_ext
25917 cat >>conftest.$ac_ext <<_ACEOF
25918 /* end confdefs.h. */
25919 #define _FILE_OFFSET_BITS 64
25920 #include <sys/types.h>
25925 unsigned int field: sizeof(off_t) == 8;
25932 rm -f conftest.$ac_objext
25933 if { (ac_try="$ac_compile"
25934 case "(($ac_try" in
25935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25936 *) ac_try_echo=$ac_try;;
25938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25939 (eval "$ac_compile") 2>conftest.er1
25941 grep -v '^ *+' conftest.er1 >conftest.err
25943 cat conftest.err >&5
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); } && {
25946 test -z "$ac_c_werror_flag" ||
25947 test ! -s conftest.err
25948 } && test -s conftest.$ac_objext; then
25949 ac_cv_sys_file_offset_bits=64
25951 echo "$as_me: failed program was:" >&5
25952 sed 's/^/| /' conftest.$ac_ext >&5
25954 ac_cv_sys_file_offset_bits=no
25957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25961 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25962 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25964 if test "$ac_cv_sys_file_offset_bits" != no; then
25966 cat >>confdefs.h <<_ACEOF
25967 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25972 if test "x$wx_largefile" != "xyes"; then
25974 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25975 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25976 if test "${ac_cv_sys_large_files+set}" = set; then
25977 echo $ECHO_N "(cached) $ECHO_C" >&6
25980 cat >conftest.$ac_ext <<_ACEOF
25983 cat confdefs.h >>conftest.$ac_ext
25984 cat >>conftest.$ac_ext <<_ACEOF
25985 /* end confdefs.h. */
25986 #define _LARGE_FILES 1
25987 #include <sys/types.h>
25992 unsigned int field: sizeof(off_t) == 8;
25999 rm -f conftest.$ac_objext
26000 if { (ac_try="$ac_compile"
26001 case "(($ac_try" in
26002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26003 *) ac_try_echo=$ac_try;;
26005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26006 (eval "$ac_compile") 2>conftest.er1
26008 grep -v '^ *+' conftest.er1 >conftest.err
26010 cat conftest.err >&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); } && {
26013 test -z "$ac_c_werror_flag" ||
26014 test ! -s conftest.err
26015 } && test -s conftest.$ac_objext; then
26016 ac_cv_sys_large_files=1
26018 echo "$as_me: failed program was:" >&5
26019 sed 's/^/| /' conftest.$ac_ext >&5
26021 ac_cv_sys_large_files=no
26024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26028 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
26029 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
26031 if test "$ac_cv_sys_large_files" != no; then
26033 cat >>confdefs.h <<_ACEOF
26034 #define _LARGE_FILES $ac_cv_sys_large_files
26041 { echo "$as_me:$LINENO: checking if large file support is available" >&5
26042 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
26043 if test "x$wx_largefile" = "xyes"; then
26044 cat >>confdefs.h <<\_ACEOF
26045 #define HAVE_LARGEFILE_SUPPORT 1
26049 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
26050 echo "${ECHO_T}$wx_largefile" >&6; }
26054 if test "x$wx_largefile" = "xyes"; then
26055 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
26056 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
26058 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
26059 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
26060 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
26061 if test "${wx_cv_STDC_EXT_required+set}" = set; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26066 ac_cpp='$CXXCPP $CPPFLAGS'
26067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26071 cat >conftest.$ac_ext <<_ACEOF
26074 cat confdefs.h >>conftest.$ac_ext
26075 cat >>conftest.$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26082 #ifndef __STDC_EXT__
26090 rm -f conftest.$ac_objext
26091 if { (ac_try="$ac_compile"
26092 case "(($ac_try" in
26093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26094 *) ac_try_echo=$ac_try;;
26096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26097 (eval "$ac_compile") 2>conftest.er1
26099 grep -v '^ *+' conftest.er1 >conftest.err
26101 cat conftest.err >&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } && {
26104 test -z "$ac_cxx_werror_flag" ||
26105 test ! -s conftest.err
26106 } && test -s conftest.$ac_objext; then
26107 wx_cv_STDC_EXT_required=no
26109 echo "$as_me: failed program was:" >&5
26110 sed 's/^/| /' conftest.$ac_ext >&5
26112 wx_cv_STDC_EXT_required=yes
26116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26118 ac_cpp='$CPP $CPPFLAGS'
26119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26126 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26127 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26128 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26129 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26133 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26135 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26136 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26137 if test "${ac_cv_sys_largefile_source+set}" = set; then
26138 echo $ECHO_N "(cached) $ECHO_C" >&6
26141 cat >conftest.$ac_ext <<_ACEOF
26144 cat confdefs.h >>conftest.$ac_ext
26145 cat >>conftest.$ac_ext <<_ACEOF
26146 /* end confdefs.h. */
26147 #include <sys/types.h> /* for off_t */
26152 int (*fp) (FILE *, off_t, int) = fseeko;
26153 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26158 rm -f conftest.$ac_objext conftest$ac_exeext
26159 if { (ac_try="$ac_link"
26160 case "(($ac_try" in
26161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26162 *) ac_try_echo=$ac_try;;
26164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26165 (eval "$ac_link") 2>conftest.er1
26167 grep -v '^ *+' conftest.er1 >conftest.err
26169 cat conftest.err >&5
26170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171 (exit $ac_status); } && {
26172 test -z "$ac_c_werror_flag" ||
26173 test ! -s conftest.err
26174 } && test -s conftest$ac_exeext &&
26175 $as_test_x conftest$ac_exeext; then
26176 ac_cv_sys_largefile_source=no; break
26178 echo "$as_me: failed program was:" >&5
26179 sed 's/^/| /' conftest.$ac_ext >&5
26184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26185 conftest$ac_exeext conftest.$ac_ext
26186 cat >conftest.$ac_ext <<_ACEOF
26189 cat confdefs.h >>conftest.$ac_ext
26190 cat >>conftest.$ac_ext <<_ACEOF
26191 /* end confdefs.h. */
26192 #define _LARGEFILE_SOURCE 1
26193 #include <sys/types.h> /* for off_t */
26198 int (*fp) (FILE *, off_t, int) = fseeko;
26199 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26204 rm -f conftest.$ac_objext conftest$ac_exeext
26205 if { (ac_try="$ac_link"
26206 case "(($ac_try" in
26207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26208 *) ac_try_echo=$ac_try;;
26210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26211 (eval "$ac_link") 2>conftest.er1
26213 grep -v '^ *+' conftest.er1 >conftest.err
26215 cat conftest.err >&5
26216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217 (exit $ac_status); } && {
26218 test -z "$ac_c_werror_flag" ||
26219 test ! -s conftest.err
26220 } && test -s conftest$ac_exeext &&
26221 $as_test_x conftest$ac_exeext; then
26222 ac_cv_sys_largefile_source=1; break
26224 echo "$as_me: failed program was:" >&5
26225 sed 's/^/| /' conftest.$ac_ext >&5
26230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26231 conftest$ac_exeext conftest.$ac_ext
26232 ac_cv_sys_largefile_source=unknown
26236 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26237 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26238 case $ac_cv_sys_largefile_source in #(
26241 cat >>confdefs.h <<_ACEOF
26242 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26248 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26249 # in glibc 2.1.3, but that breaks too many other things.
26250 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26251 if test $ac_cv_sys_largefile_source != unknown; then
26253 cat >>confdefs.h <<\_ACEOF
26254 #define HAVE_FSEEKO 1
26259 if test "$ac_cv_sys_largefile_source" != no; then
26260 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26264 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26265 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26266 if test "${ac_cv_c_bigendian+set}" = set; then
26267 echo $ECHO_N "(cached) $ECHO_C" >&6
26269 ac_cv_c_bigendian=unknown
26270 # See if sys/param.h defines the BYTE_ORDER macro.
26271 cat >conftest.$ac_ext <<_ACEOF
26274 cat confdefs.h >>conftest.$ac_ext
26275 cat >>conftest.$ac_ext <<_ACEOF
26276 /* end confdefs.h. */
26277 #include <sys/types.h>
26278 #include <sys/param.h>
26283 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26284 bogus endian macros
26290 rm -f conftest.$ac_objext
26291 if { (ac_try="$ac_compile"
26292 case "(($ac_try" in
26293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26294 *) ac_try_echo=$ac_try;;
26296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26297 (eval "$ac_compile") 2>conftest.er1
26299 grep -v '^ *+' conftest.er1 >conftest.err
26301 cat conftest.err >&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); } && {
26304 test -z "$ac_c_werror_flag" ||
26305 test ! -s conftest.err
26306 } && test -s conftest.$ac_objext; then
26307 # It does; now see whether it defined to BIG_ENDIAN or not.
26308 cat >conftest.$ac_ext <<_ACEOF
26311 cat confdefs.h >>conftest.$ac_ext
26312 cat >>conftest.$ac_ext <<_ACEOF
26313 /* end confdefs.h. */
26314 #include <sys/types.h>
26315 #include <sys/param.h>
26320 #if BYTE_ORDER != BIG_ENDIAN
26327 rm -f conftest.$ac_objext
26328 if { (ac_try="$ac_compile"
26329 case "(($ac_try" in
26330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26331 *) ac_try_echo=$ac_try;;
26333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26334 (eval "$ac_compile") 2>conftest.er1
26336 grep -v '^ *+' conftest.er1 >conftest.err
26338 cat conftest.err >&5
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); } && {
26341 test -z "$ac_c_werror_flag" ||
26342 test ! -s conftest.err
26343 } && test -s conftest.$ac_objext; then
26344 ac_cv_c_bigendian=yes
26346 echo "$as_me: failed program was:" >&5
26347 sed 's/^/| /' conftest.$ac_ext >&5
26349 ac_cv_c_bigendian=no
26352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.$ac_ext >&5
26360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26361 if test $ac_cv_c_bigendian = unknown; then
26362 if test "$cross_compiling" = yes; then
26363 ac_cv_c_bigendian=unknown
26365 cat >conftest.$ac_ext <<_ACEOF
26368 cat confdefs.h >>conftest.$ac_ext
26369 cat >>conftest.$ac_ext <<_ACEOF
26370 /* end confdefs.h. */
26372 /* Are we little or big endian? From Harbison&Steele. */
26376 char c[sizeof (long)];
26379 exit (u.c[sizeof (long) - 1] == 1);
26382 rm -f conftest$ac_exeext
26383 if { (ac_try="$ac_link"
26384 case "(($ac_try" in
26385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26386 *) ac_try_echo=$ac_try;;
26388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26389 (eval "$ac_link") 2>&5
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26393 { (case "(($ac_try" in
26394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26395 *) ac_try_echo=$ac_try;;
26397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26398 (eval "$ac_try") 2>&5
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); }; }; then
26402 ac_cv_c_bigendian=no
26404 echo "$as_me: program exited with status $ac_status" >&5
26405 echo "$as_me: failed program was:" >&5
26406 sed 's/^/| /' conftest.$ac_ext >&5
26408 ( exit $ac_status )
26409 ac_cv_c_bigendian=yes
26411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26417 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26418 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26419 if test $ac_cv_c_bigendian = unknown; then
26420 { 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
26421 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;}
26423 if test $ac_cv_c_bigendian = yes; then
26424 cat >>confdefs.h <<\_ACEOF
26425 #define WORDS_BIGENDIAN 1
26434 ac_cpp='$CXXCPP $CPPFLAGS'
26435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26441 for ac_header in iostream
26443 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26444 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26446 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26449 cat >conftest.$ac_ext <<_ACEOF
26452 cat confdefs.h >>conftest.$ac_ext
26453 cat >>conftest.$ac_ext <<_ACEOF
26454 /* end confdefs.h. */
26457 #include <$ac_header>
26459 rm -f conftest.$ac_objext
26460 if { (ac_try="$ac_compile"
26461 case "(($ac_try" in
26462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26463 *) ac_try_echo=$ac_try;;
26465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26466 (eval "$ac_compile") 2>conftest.er1
26468 grep -v '^ *+' conftest.er1 >conftest.err
26470 cat conftest.err >&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); } && {
26473 test -z "$ac_cxx_werror_flag" ||
26474 test ! -s conftest.err
26475 } && test -s conftest.$ac_objext; then
26476 eval "$as_ac_Header=yes"
26478 echo "$as_me: failed program was:" >&5
26479 sed 's/^/| /' conftest.$ac_ext >&5
26481 eval "$as_ac_Header=no"
26484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26486 ac_res=`eval echo '${'$as_ac_Header'}'`
26487 { echo "$as_me:$LINENO: result: $ac_res" >&5
26488 echo "${ECHO_T}$ac_res" >&6; }
26489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26490 cat >>confdefs.h <<_ACEOF
26491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26499 if test "$ac_cv_header_iostream" = "yes" ; then
26502 cat >>confdefs.h <<\_ACEOF
26503 #define wxUSE_IOSTREAMH 1
26509 ac_cpp='$CPP $CPPFLAGS'
26510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26517 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26518 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26519 if test "${wx_cv_cpp_bool+set}" = set; then
26520 echo $ECHO_N "(cached) $ECHO_C" >&6
26525 ac_cpp='$CXXCPP $CPPFLAGS'
26526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26531 cat >conftest.$ac_ext <<_ACEOF
26534 cat confdefs.h >>conftest.$ac_ext
26535 cat >>conftest.$ac_ext <<_ACEOF
26536 /* end confdefs.h. */
26551 rm -f conftest.$ac_objext
26552 if { (ac_try="$ac_compile"
26553 case "(($ac_try" in
26554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26555 *) ac_try_echo=$ac_try;;
26557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26558 (eval "$ac_compile") 2>conftest.er1
26560 grep -v '^ *+' conftest.er1 >conftest.err
26562 cat conftest.err >&5
26563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26564 (exit $ac_status); } && {
26565 test -z "$ac_cxx_werror_flag" ||
26566 test ! -s conftest.err
26567 } && test -s conftest.$ac_objext; then
26572 echo "$as_me: failed program was:" >&5
26573 sed 's/^/| /' conftest.$ac_ext >&5
26581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26584 ac_cpp='$CPP $CPPFLAGS'
26585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26591 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26592 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26594 if test "$wx_cv_cpp_bool" = "yes"; then
26595 cat >>confdefs.h <<\_ACEOF
26596 #define HAVE_BOOL 1
26603 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26604 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26605 if test "${wx_cv_explicit+set}" = set; then
26606 echo $ECHO_N "(cached) $ECHO_C" >&6
26611 ac_cpp='$CXXCPP $CPPFLAGS'
26612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26617 cat >conftest.$ac_ext <<_ACEOF
26620 cat confdefs.h >>conftest.$ac_ext
26621 cat >>conftest.$ac_ext <<_ACEOF
26622 /* end confdefs.h. */
26624 class Foo { public: explicit Foo(int) {} };
26636 rm -f conftest.$ac_objext
26637 if { (ac_try="$ac_compile"
26638 case "(($ac_try" in
26639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26640 *) ac_try_echo=$ac_try;;
26642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26643 (eval "$ac_compile") 2>conftest.er1
26645 grep -v '^ *+' conftest.er1 >conftest.err
26647 cat conftest.err >&5
26648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649 (exit $ac_status); } && {
26650 test -z "$ac_cxx_werror_flag" ||
26651 test ! -s conftest.err
26652 } && test -s conftest.$ac_objext; then
26654 cat >conftest.$ac_ext <<_ACEOF
26657 cat confdefs.h >>conftest.$ac_ext
26658 cat >>conftest.$ac_ext <<_ACEOF
26659 /* end confdefs.h. */
26661 class Foo { public: explicit Foo(int) {} };
26662 static void TakeFoo(const Foo& foo) { }
26675 rm -f conftest.$ac_objext
26676 if { (ac_try="$ac_compile"
26677 case "(($ac_try" in
26678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26679 *) ac_try_echo=$ac_try;;
26681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26682 (eval "$ac_compile") 2>conftest.er1
26684 grep -v '^ *+' conftest.er1 >conftest.err
26686 cat conftest.err >&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); } && {
26689 test -z "$ac_cxx_werror_flag" ||
26690 test ! -s conftest.err
26691 } && test -s conftest.$ac_objext; then
26694 echo "$as_me: failed program was:" >&5
26695 sed 's/^/| /' conftest.$ac_ext >&5
26701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26704 echo "$as_me: failed program was:" >&5
26705 sed 's/^/| /' conftest.$ac_ext >&5
26711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26714 ac_cpp='$CPP $CPPFLAGS'
26715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26721 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26722 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26724 if test "$wx_cv_explicit" = "yes"; then
26725 cat >>confdefs.h <<\_ACEOF
26726 #define HAVE_EXPLICIT 1
26732 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26733 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26734 if test "${ac_cv_cxx_const_cast+set}" = set; then
26735 echo $ECHO_N "(cached) $ECHO_C" >&6
26739 ac_cpp='$CXXCPP $CPPFLAGS'
26740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26744 cat >conftest.$ac_ext <<_ACEOF
26747 cat confdefs.h >>conftest.$ac_ext
26748 cat >>conftest.$ac_ext <<_ACEOF
26749 /* end confdefs.h. */
26754 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26759 rm -f conftest.$ac_objext
26760 if { (ac_try="$ac_compile"
26761 case "(($ac_try" in
26762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26763 *) ac_try_echo=$ac_try;;
26765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26766 (eval "$ac_compile") 2>conftest.er1
26768 grep -v '^ *+' conftest.er1 >conftest.err
26770 cat conftest.err >&5
26771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26772 (exit $ac_status); } && {
26773 test -z "$ac_cxx_werror_flag" ||
26774 test ! -s conftest.err
26775 } && test -s conftest.$ac_objext; then
26776 ac_cv_cxx_const_cast=yes
26778 echo "$as_me: failed program was:" >&5
26779 sed 's/^/| /' conftest.$ac_ext >&5
26781 ac_cv_cxx_const_cast=no
26784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26786 ac_cpp='$CPP $CPPFLAGS'
26787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26793 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26794 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26795 if test "$ac_cv_cxx_const_cast" = yes; then
26797 cat >>confdefs.h <<\_ACEOF
26798 #define HAVE_CONST_CAST
26803 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26804 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26805 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26806 echo $ECHO_N "(cached) $ECHO_C" >&6
26810 ac_cpp='$CXXCPP $CPPFLAGS'
26811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26815 cat >conftest.$ac_ext <<_ACEOF
26818 cat confdefs.h >>conftest.$ac_ext
26819 cat >>conftest.$ac_ext <<_ACEOF
26820 /* end confdefs.h. */
26821 #include <typeinfo>
26822 class Base { public : Base () {} virtual void f () = 0;};
26823 class Derived : public Base { public : Derived () {} virtual void f () {} };
26824 class Unrelated { public : Unrelated () {} };
26825 int g (Unrelated&) { return 0; }
26830 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26835 rm -f conftest.$ac_objext
26836 if { (ac_try="$ac_compile"
26837 case "(($ac_try" in
26838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26839 *) ac_try_echo=$ac_try;;
26841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26842 (eval "$ac_compile") 2>conftest.er1
26844 grep -v '^ *+' conftest.er1 >conftest.err
26846 cat conftest.err >&5
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); } && {
26849 test -z "$ac_cxx_werror_flag" ||
26850 test ! -s conftest.err
26851 } && test -s conftest.$ac_objext; then
26852 ac_cv_cxx_reinterpret_cast=yes
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26857 ac_cv_cxx_reinterpret_cast=no
26860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26862 ac_cpp='$CPP $CPPFLAGS'
26863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26869 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26870 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26871 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26873 cat >>confdefs.h <<\_ACEOF
26874 #define HAVE_REINTERPRET_CAST
26879 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26880 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26881 if test "${ac_cv_cxx_static_cast+set}" = set; then
26882 echo $ECHO_N "(cached) $ECHO_C" >&6
26886 ac_cpp='$CXXCPP $CPPFLAGS'
26887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26891 cat >conftest.$ac_ext <<_ACEOF
26894 cat confdefs.h >>conftest.$ac_ext
26895 cat >>conftest.$ac_ext <<_ACEOF
26896 /* end confdefs.h. */
26897 #include <typeinfo>
26898 class Base { public : Base () {} virtual void f () = 0; };
26899 class Derived : public Base { public : Derived () {} virtual void f () {} };
26900 int g (Derived&) { return 0; }
26905 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26910 rm -f conftest.$ac_objext
26911 if { (ac_try="$ac_compile"
26912 case "(($ac_try" in
26913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26914 *) ac_try_echo=$ac_try;;
26916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26917 (eval "$ac_compile") 2>conftest.er1
26919 grep -v '^ *+' conftest.er1 >conftest.err
26921 cat conftest.err >&5
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); } && {
26924 test -z "$ac_cxx_werror_flag" ||
26925 test ! -s conftest.err
26926 } && test -s conftest.$ac_objext; then
26927 ac_cv_cxx_static_cast=yes
26929 echo "$as_me: failed program was:" >&5
26930 sed 's/^/| /' conftest.$ac_ext >&5
26932 ac_cv_cxx_static_cast=no
26935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26937 ac_cpp='$CPP $CPPFLAGS'
26938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26944 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26945 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26946 if test "$ac_cv_cxx_static_cast" = yes; then
26948 cat >>confdefs.h <<\_ACEOF
26949 #define HAVE_STATIC_CAST
26955 if test "x$SUNCXX" = xyes; then
26956 CXXFLAGS="-features=tmplife $CXXFLAGS"
26959 if test "x$SUNCC" = xyes; then
26960 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26963 if test "x$SGICC" = "xyes"; then
26964 CFLAGS="-woff 3970 $CFLAGS"
26966 if test "x$SGICXX" = "xyes"; then
26967 CXXFLAGS="-woff 3970 $CXXFLAGS"
26970 if test "x$HPCC" = "xyes"; then
26971 CFLAGS="+W 2011,2450 $CFLAGS"
26973 if test "x$HPCXX" = "xyes"; then
26974 CXXFLAGS="+W 2340 $CXXFLAGS"
26977 if test "x$COMPAQCXX" = "xyes"; then
26978 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26982 ac_cpp='$CXXCPP $CPPFLAGS'
26983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26988 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26989 if test "$wxUSE_UNICODE" = "yes"; then
26990 std_string="std::wstring"
26991 char_type="wchar_t"
26993 std_string="std::string"
26997 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26998 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26999 if test "${wx_cv_class_stdstring+set}" = set; then
27000 echo $ECHO_N "(cached) $ECHO_C" >&6
27003 cat >conftest.$ac_ext <<_ACEOF
27006 cat confdefs.h >>conftest.$ac_ext
27007 cat >>conftest.$ac_ext <<_ACEOF
27008 /* end confdefs.h. */
27018 rm -f conftest.$ac_objext
27019 if { (ac_try="$ac_compile"
27020 case "(($ac_try" in
27021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27022 *) ac_try_echo=$ac_try;;
27024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27025 (eval "$ac_compile") 2>conftest.er1
27027 grep -v '^ *+' conftest.er1 >conftest.err
27029 cat conftest.err >&5
27030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031 (exit $ac_status); } && {
27032 test -z "$ac_cxx_werror_flag" ||
27033 test ! -s conftest.err
27034 } && test -s conftest.$ac_objext; then
27035 wx_cv_class_stdstring=yes
27037 echo "$as_me: failed program was:" >&5
27038 sed 's/^/| /' conftest.$ac_ext >&5
27040 wx_cv_class_stdstring=no
27044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27048 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
27049 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
27051 if test "$wx_cv_class_stdstring" = yes; then
27052 if test "$wxUSE_UNICODE" = "yes"; then
27053 cat >>confdefs.h <<\_ACEOF
27054 #define HAVE_STD_WSTRING 1
27059 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
27060 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
27061 if test "${wx_cv_class_stdbasicstring+set}" = set; then
27062 echo $ECHO_N "(cached) $ECHO_C" >&6
27065 cat >conftest.$ac_ext <<_ACEOF
27068 cat confdefs.h >>conftest.$ac_ext
27069 cat >>conftest.$ac_ext <<_ACEOF
27070 /* end confdefs.h. */
27072 #ifdef HAVE_WCHAR_H
27074 # include <stddef.h>
27076 # include <wchar.h>
27078 #ifdef HAVE_STDLIB_H
27079 # include <stdlib.h>
27087 std::basic_string<$char_type> foo;
27088 const $char_type* dummy = foo.c_str();
27093 rm -f conftest.$ac_objext
27094 if { (ac_try="$ac_compile"
27095 case "(($ac_try" in
27096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27097 *) ac_try_echo=$ac_try;;
27099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27100 (eval "$ac_compile") 2>conftest.er1
27102 grep -v '^ *+' conftest.er1 >conftest.err
27104 cat conftest.err >&5
27105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27106 (exit $ac_status); } && {
27107 test -z "$ac_cxx_werror_flag" ||
27108 test ! -s conftest.err
27109 } && test -s conftest.$ac_objext; then
27110 wx_cv_class_stdbasicstring=yes
27112 echo "$as_me: failed program was:" >&5
27113 sed 's/^/| /' conftest.$ac_ext >&5
27115 wx_cv_class_stdbasicstring=no
27119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27123 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27124 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27126 if test "$wx_cv_class_stdbasicstring" != yes; then
27127 if test "$wxUSE_STL" = "yes"; then
27128 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27129 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27130 { (exit 1); exit 1; }; }
27131 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27132 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27133 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27134 { (exit 1); exit 1; }; }
27136 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27137 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27138 wxUSE_STD_STRING=no
27144 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27145 { echo "$as_me:$LINENO: checking for std::istream" >&5
27146 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27147 if test "${ac_cv_type_std__istream+set}" = set; then
27148 echo $ECHO_N "(cached) $ECHO_C" >&6
27150 cat >conftest.$ac_ext <<_ACEOF
27153 cat confdefs.h >>conftest.$ac_ext
27154 cat >>conftest.$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156 #include <iostream>
27158 typedef std::istream ac__type_new_;
27162 if ((ac__type_new_ *) 0)
27164 if (sizeof (ac__type_new_))
27170 rm -f conftest.$ac_objext
27171 if { (ac_try="$ac_compile"
27172 case "(($ac_try" in
27173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27174 *) ac_try_echo=$ac_try;;
27176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27177 (eval "$ac_compile") 2>conftest.er1
27179 grep -v '^ *+' conftest.er1 >conftest.err
27181 cat conftest.err >&5
27182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27183 (exit $ac_status); } && {
27184 test -z "$ac_cxx_werror_flag" ||
27185 test ! -s conftest.err
27186 } && test -s conftest.$ac_objext; then
27187 ac_cv_type_std__istream=yes
27189 echo "$as_me: failed program was:" >&5
27190 sed 's/^/| /' conftest.$ac_ext >&5
27192 ac_cv_type_std__istream=no
27195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27197 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27198 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27199 if test $ac_cv_type_std__istream = yes; then
27201 cat >>confdefs.h <<_ACEOF
27202 #define HAVE_STD__ISTREAM 1
27207 wxUSE_STD_IOSTREAM=no
27209 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27210 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27211 if test "${ac_cv_type_std__ostream+set}" = set; then
27212 echo $ECHO_N "(cached) $ECHO_C" >&6
27214 cat >conftest.$ac_ext <<_ACEOF
27217 cat confdefs.h >>conftest.$ac_ext
27218 cat >>conftest.$ac_ext <<_ACEOF
27219 /* end confdefs.h. */
27220 #include <iostream>
27222 typedef std::ostream ac__type_new_;
27226 if ((ac__type_new_ *) 0)
27228 if (sizeof (ac__type_new_))
27234 rm -f conftest.$ac_objext
27235 if { (ac_try="$ac_compile"
27236 case "(($ac_try" in
27237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27238 *) ac_try_echo=$ac_try;;
27240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27241 (eval "$ac_compile") 2>conftest.er1
27243 grep -v '^ *+' conftest.er1 >conftest.err
27245 cat conftest.err >&5
27246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247 (exit $ac_status); } && {
27248 test -z "$ac_cxx_werror_flag" ||
27249 test ! -s conftest.err
27250 } && test -s conftest.$ac_objext; then
27251 ac_cv_type_std__ostream=yes
27253 echo "$as_me: failed program was:" >&5
27254 sed 's/^/| /' conftest.$ac_ext >&5
27256 ac_cv_type_std__ostream=no
27259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27261 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27262 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27263 if test $ac_cv_type_std__ostream = yes; then
27265 cat >>confdefs.h <<_ACEOF
27266 #define HAVE_STD__OSTREAM 1
27271 wxUSE_STD_IOSTREAM=no
27275 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27276 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27277 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27278 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27279 { (exit 1); exit 1; }; }
27281 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27282 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27287 if test "$wxUSE_STL" = "yes"; then
27288 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27289 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27290 if test "${wx_cv_lib_stl+set}" = set; then
27291 echo $ECHO_N "(cached) $ECHO_C" >&6
27293 cat >conftest.$ac_ext <<_ACEOF
27296 cat confdefs.h >>conftest.$ac_ext
27297 cat >>conftest.$ac_ext <<_ACEOF
27298 /* end confdefs.h. */
27300 #include <functional>
27301 #include <algorithm>
27307 std::vector<int> moo;
27308 std::list<int> foo;
27309 std::vector<int>::iterator it =
27310 std::find_if(moo.begin(), moo.end(),
27311 std::bind2nd(std::less<int>(), 3));
27316 rm -f conftest.$ac_objext
27317 if { (ac_try="$ac_compile"
27318 case "(($ac_try" in
27319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27320 *) ac_try_echo=$ac_try;;
27322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27323 (eval "$ac_compile") 2>conftest.er1
27325 grep -v '^ *+' conftest.er1 >conftest.err
27327 cat conftest.err >&5
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); } && {
27330 test -z "$ac_cxx_werror_flag" ||
27331 test ! -s conftest.err
27332 } && test -s conftest.$ac_objext; then
27335 echo "$as_me: failed program was:" >&5
27336 sed 's/^/| /' conftest.$ac_ext >&5
27342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27345 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27346 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27348 if test "$wx_cv_lib_stl" != yes; then
27349 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27350 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27351 { (exit 1); exit 1; }; }
27354 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27355 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27356 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27357 echo $ECHO_N "(cached) $ECHO_C" >&6
27359 cat >conftest.$ac_ext <<_ACEOF
27362 cat confdefs.h >>conftest.$ac_ext
27363 cat >>conftest.$ac_ext <<_ACEOF
27364 /* end confdefs.h. */
27369 std::string foo, bar;
27371 foo.compare(1, 1, bar);
27372 foo.compare(1, 1, bar, 1, 1);
27374 foo.compare(1, 1, "");
27375 foo.compare(1, 1, "", 2);
27380 rm -f conftest.$ac_objext
27381 if { (ac_try="$ac_compile"
27382 case "(($ac_try" in
27383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27384 *) ac_try_echo=$ac_try;;
27386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27387 (eval "$ac_compile") 2>conftest.er1
27389 grep -v '^ *+' conftest.er1 >conftest.err
27391 cat conftest.err >&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); } && {
27394 test -z "$ac_cxx_werror_flag" ||
27395 test ! -s conftest.err
27396 } && test -s conftest.$ac_objext; then
27397 wx_cv_func_stdstring_compare=yes
27399 echo "$as_me: failed program was:" >&5
27400 sed 's/^/| /' conftest.$ac_ext >&5
27402 wx_cv_func_stdstring_compare=no
27406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27409 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27410 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27412 if test "$wx_cv_func_stdstring_compare" = yes; then
27413 cat >>confdefs.h <<\_ACEOF
27414 #define HAVE_STD_STRING_COMPARE 1
27419 { echo "$as_me:$LINENO: checking for hash_map" >&5
27420 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27421 if test "${ac_cv_header_hash_map+set}" = set; then
27422 echo $ECHO_N "(cached) $ECHO_C" >&6
27424 cat >conftest.$ac_ext <<_ACEOF
27427 cat confdefs.h >>conftest.$ac_ext
27428 cat >>conftest.$ac_ext <<_ACEOF
27429 /* end confdefs.h. */
27433 #include <hash_map>
27435 rm -f conftest.$ac_objext
27436 if { (ac_try="$ac_compile"
27437 case "(($ac_try" in
27438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27439 *) ac_try_echo=$ac_try;;
27441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27442 (eval "$ac_compile") 2>conftest.er1
27444 grep -v '^ *+' conftest.er1 >conftest.err
27446 cat conftest.err >&5
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); } && {
27449 test -z "$ac_cxx_werror_flag" ||
27450 test ! -s conftest.err
27451 } && test -s conftest.$ac_objext; then
27452 ac_cv_header_hash_map=yes
27454 echo "$as_me: failed program was:" >&5
27455 sed 's/^/| /' conftest.$ac_ext >&5
27457 ac_cv_header_hash_map=no
27460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27462 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27463 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27464 if test $ac_cv_header_hash_map = yes; then
27465 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27466 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27467 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27468 echo $ECHO_N "(cached) $ECHO_C" >&6
27470 cat >conftest.$ac_ext <<_ACEOF
27473 cat confdefs.h >>conftest.$ac_ext
27474 cat >>conftest.$ac_ext <<_ACEOF
27475 /* end confdefs.h. */
27476 #include <hash_map>
27477 #include <hash_set>
27481 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27482 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27487 rm -f conftest.$ac_objext
27488 if { (ac_try="$ac_compile"
27489 case "(($ac_try" in
27490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27491 *) ac_try_echo=$ac_try;;
27493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27494 (eval "$ac_compile") 2>conftest.er1
27496 grep -v '^ *+' conftest.er1 >conftest.err
27498 cat conftest.err >&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); } && {
27501 test -z "$ac_cxx_werror_flag" ||
27502 test ! -s conftest.err
27503 } && test -s conftest.$ac_objext; then
27504 wx_cv_class_stdhashmapset=yes
27506 echo "$as_me: failed program was:" >&5
27507 sed 's/^/| /' conftest.$ac_ext >&5
27509 wx_cv_class_stdhashmapset=no
27512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27516 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27517 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27522 if test "$wx_cv_class_stdhashmapset" = yes; then
27523 cat >>confdefs.h <<\_ACEOF
27524 #define HAVE_HASH_MAP 1
27527 cat >>confdefs.h <<\_ACEOF
27528 #define HAVE_STD_HASH_MAP 1
27533 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27534 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27535 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27536 echo $ECHO_N "(cached) $ECHO_C" >&6
27538 cat >conftest.$ac_ext <<_ACEOF
27541 cat confdefs.h >>conftest.$ac_ext
27542 cat >>conftest.$ac_ext <<_ACEOF
27543 /* end confdefs.h. */
27547 #include <ext/hash_map>
27549 rm -f conftest.$ac_objext
27550 if { (ac_try="$ac_compile"
27551 case "(($ac_try" in
27552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27553 *) ac_try_echo=$ac_try;;
27555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27556 (eval "$ac_compile") 2>conftest.er1
27558 grep -v '^ *+' conftest.er1 >conftest.err
27560 cat conftest.err >&5
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); } && {
27563 test -z "$ac_cxx_werror_flag" ||
27564 test ! -s conftest.err
27565 } && test -s conftest.$ac_objext; then
27566 ac_cv_header_ext_hash_map=yes
27568 echo "$as_me: failed program was:" >&5
27569 sed 's/^/| /' conftest.$ac_ext >&5
27571 ac_cv_header_ext_hash_map=no
27574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27576 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27577 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27578 if test $ac_cv_header_ext_hash_map = yes; then
27579 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27580 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27581 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27582 echo $ECHO_N "(cached) $ECHO_C" >&6
27584 cat >conftest.$ac_ext <<_ACEOF
27587 cat confdefs.h >>conftest.$ac_ext
27588 cat >>conftest.$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27590 #include <ext/hash_map>
27591 #include <ext/hash_set>
27595 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27596 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27601 rm -f conftest.$ac_objext
27602 if { (ac_try="$ac_compile"
27603 case "(($ac_try" in
27604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27605 *) ac_try_echo=$ac_try;;
27607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27608 (eval "$ac_compile") 2>conftest.er1
27610 grep -v '^ *+' conftest.er1 >conftest.err
27612 cat conftest.err >&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); } && {
27615 test -z "$ac_cxx_werror_flag" ||
27616 test ! -s conftest.err
27617 } && test -s conftest.$ac_objext; then
27618 wx_cv_class_gnuhashmapset=yes
27620 echo "$as_me: failed program was:" >&5
27621 sed 's/^/| /' conftest.$ac_ext >&5
27623 wx_cv_class_gnuhashmapset=no
27626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27630 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27631 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27636 if test "$wx_cv_class_gnuhashmapset" = yes; then
27637 cat >>confdefs.h <<\_ACEOF
27638 #define HAVE_EXT_HASH_MAP 1
27641 cat >>confdefs.h <<\_ACEOF
27642 #define HAVE_GNU_CXX_HASH_MAP 1
27650 if test -n "$GCC"; then
27651 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27652 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27653 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27654 echo $ECHO_N "(cached) $ECHO_C" >&6
27657 cat >conftest.$ac_ext <<_ACEOF
27660 cat confdefs.h >>conftest.$ac_ext
27661 cat >>conftest.$ac_ext <<_ACEOF
27662 /* end confdefs.h. */
27669 __sync_fetch_and_add(&value, 1);
27670 __sync_sub_and_fetch(&value, 1);
27676 rm -f conftest.$ac_objext
27677 if { (ac_try="$ac_compile"
27678 case "(($ac_try" in
27679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27680 *) ac_try_echo=$ac_try;;
27682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27683 (eval "$ac_compile") 2>conftest.er1
27685 grep -v '^ *+' conftest.er1 >conftest.err
27687 cat conftest.err >&5
27688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689 (exit $ac_status); } && {
27690 test -z "$ac_cxx_werror_flag" ||
27691 test ! -s conftest.err
27692 } && test -s conftest.$ac_objext; then
27693 wx_cv_cc_gcc_atomic_builtins=yes
27695 echo "$as_me: failed program was:" >&5
27696 sed 's/^/| /' conftest.$ac_ext >&5
27698 wx_cv_cc_gcc_atomic_builtins=no
27701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27705 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27706 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27707 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27708 cat >>confdefs.h <<\_ACEOF
27709 #define HAVE_GCC_ATOMIC_BUILTINS 1
27717 ac_cpp='$CPP $CPPFLAGS'
27718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27725 /usr/local/include \
27727 /usr/Motif-2.1/include \
27728 /usr/Motif-1.2/include \
27729 /usr/include/Motif1.2 \
27732 /usr/openwin/include \
27736 /usr/X11R6/include \
27737 /usr/X11R6.4/include \
27738 /usr/X11R5/include \
27739 /usr/X11R4/include \
27741 /usr/include/X11R6 \
27742 /usr/include/X11R5 \
27743 /usr/include/X11R4 \
27745 /usr/local/X11R6/include \
27746 /usr/local/X11R5/include \
27747 /usr/local/X11R4/include \
27749 /usr/local/include/X11R6 \
27750 /usr/local/include/X11R5 \
27751 /usr/local/include/X11R4 \
27755 /usr/local/X11/include \
27756 /usr/local/include/X11 \
27758 /usr/XFree86/include/X11 \
27761 /usr/openwin/share/include"
27763 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27764 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27768 if test "${wx_cv_std_libpath+set}" = set; then
27769 echo $ECHO_N "(cached) $ECHO_C" >&6
27772 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27773 for e in a so sl dylib dll.a; do
27775 if test -f $libc; then
27778 cat >conftest.$ac_ext <<_ACEOF
27779 int main() { return 0; }
27781 rm -f conftest.$ac_objext conftest$ac_exeext
27782 if { (ac_try="$ac_link"
27783 case "(($ac_try" in
27784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27785 *) ac_try_echo=$ac_try;;
27787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27788 (eval "$ac_link") 2>conftest.er1
27790 grep -v '^ *+' conftest.er1 >conftest.err
27792 cat conftest.err >&5
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); } && {
27795 test -z "$ac_c_werror_flag" ||
27796 test ! -s conftest.err
27797 } && test -s conftest$ac_exeext &&
27798 $as_test_x conftest$ac_exeext; then
27799 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27801 echo "$as_me: failed program was:" >&5
27802 sed 's/^/| /' conftest.$ac_ext >&5
27807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27808 conftest$ac_exeext conftest.$ac_ext
27810 if test "x$wx_cv_std_libpath" != "x"; then
27816 if test "x$wx_cv_std_libpath" = "x"; then
27817 wx_cv_std_libpath="lib"
27826 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27827 wx_cv_std_libpath="lib/64"
27829 wx_cv_std_libpath="lib"
27834 if test "$ac_cv_sizeof_void_p" = 8 -a \
27835 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27836 wx_cv_std_libpath="lib64"
27838 wx_cv_std_libpath="lib"
27843 wx_cv_std_libpath="lib";
27847 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27848 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27850 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27852 if test "$build" != "$host" -a "$GCC" = yes; then
27853 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27854 cross_root=`dirname $cross_root`
27855 cross_root=`dirname $cross_root`
27857 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27858 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27859 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27861 if test -z "$PKG_CONFIG_PATH"; then
27862 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27863 export PKG_CONFIG_PATH
27866 if test -z "$x_includes" -o "$x_includes" = NONE; then
27869 for ac_dir in $SEARCH_INCLUDE /usr/include;
27871 if test -f "$ac_dir/X11/Intrinsic.h"; then
27872 ac_find_includes=$ac_dir
27877 x_includes=$ac_find_includes
27879 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27882 for ac_dir in $SEARCH_LIB;
27884 for ac_extension in a so sl dylib dll.a; do
27885 if test -f "$ac_dir/libXt.$ac_extension"; then
27886 ac_find_libraries=$ac_dir
27892 x_libraries=$ac_find_libraries
27898 cat >confcache <<\_ACEOF
27899 # This file is a shell script that caches the results of configure
27900 # tests run on this system so they can be shared between configure
27901 # scripts and configure runs, see configure's option --config-cache.
27902 # It is not useful on other systems. If it contains results you don't
27903 # want to keep, you may remove or edit it.
27905 # config.status only pays attention to the cache file if you give it
27906 # the --recheck option to rerun configure.
27908 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27909 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27910 # following values.
27914 # The following way of writing the cache mishandles newlines in values,
27915 # but we know of no workaround that is simple, portable, and efficient.
27916 # So, we kill variables containing newlines.
27917 # Ultrix sh set writes to stderr and can't be redirected directly,
27918 # and sets the high bit in the cache file unless we assign to the vars.
27920 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27921 eval ac_val=\$$ac_var
27925 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27926 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27929 _ | IFS | as_nl) ;; #(
27930 *) $as_unset $ac_var ;;
27936 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27937 *${as_nl}ac_space=\ *)
27938 # `set' does not quote correctly, so add quotes (double-quote
27939 # substitution turns \\\\ into \\, and sed turns \\ into \).
27942 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27945 # `set' quotes correctly as required by POSIX, so do not add quotes.
27946 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27955 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27957 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27959 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27960 if test -w "$cache_file"; then
27961 test "x$cache_file" != "x/dev/null" &&
27962 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27963 echo "$as_me: updating cache $cache_file" >&6;}
27964 cat confcache >$cache_file
27966 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27967 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27972 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27973 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27974 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27975 if test "${wx_cv_lib_glibc21+set}" = set; then
27976 echo $ECHO_N "(cached) $ECHO_C" >&6
27979 cat >conftest.$ac_ext <<_ACEOF
27982 cat confdefs.h >>conftest.$ac_ext
27983 cat >>conftest.$ac_ext <<_ACEOF
27984 /* end confdefs.h. */
27985 #include <features.h>
27990 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27998 rm -f conftest.$ac_objext
27999 if { (ac_try="$ac_compile"
28000 case "(($ac_try" in
28001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28002 *) ac_try_echo=$ac_try;;
28004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28005 (eval "$ac_compile") 2>conftest.er1
28007 grep -v '^ *+' conftest.er1 >conftest.err
28009 cat conftest.err >&5
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); } && {
28012 test -z "$ac_c_werror_flag" ||
28013 test ! -s conftest.err
28014 } && test -s conftest.$ac_objext; then
28016 wx_cv_lib_glibc21=yes
28019 echo "$as_me: failed program was:" >&5
28020 sed 's/^/| /' conftest.$ac_ext >&5
28023 wx_cv_lib_glibc21=no
28028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28031 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
28032 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
28033 if test "$wx_cv_lib_glibc21" = "yes"; then
28034 cat >>confdefs.h <<\_ACEOF
28035 #define wxHAVE_GLIBC2 1
28041 if test "x$wx_cv_lib_glibc21" = "xyes"; then
28042 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
28043 cat >>confdefs.h <<\_ACEOF
28044 #define _GNU_SOURCE 1
28055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28056 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28058 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28059 echo $ECHO_N "(cached) $ECHO_C" >&6
28061 cat >conftest.$ac_ext <<_ACEOF
28064 cat confdefs.h >>conftest.$ac_ext
28065 cat >>conftest.$ac_ext <<_ACEOF
28066 /* end confdefs.h. */
28067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28069 #define $ac_func innocuous_$ac_func
28071 /* System header to define __stub macros and hopefully few prototypes,
28072 which can conflict with char $ac_func (); below.
28073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28074 <limits.h> exists even on freestanding compilers. */
28077 # include <limits.h>
28079 # include <assert.h>
28084 /* Override any GCC internal prototype to avoid an error.
28085 Use char because int might match the return type of a GCC
28086 builtin and then its argument prototype would still apply. */
28091 /* The GNU C library defines this for functions which it implements
28092 to always fail with ENOSYS. Some functions are actually named
28093 something starting with __ and the normal name is an alias. */
28094 #if defined __stub_$ac_func || defined __stub___$ac_func
28101 return $ac_func ();
28106 rm -f conftest.$ac_objext conftest$ac_exeext
28107 if { (ac_try="$ac_link"
28108 case "(($ac_try" in
28109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28110 *) ac_try_echo=$ac_try;;
28112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28113 (eval "$ac_link") 2>conftest.er1
28115 grep -v '^ *+' conftest.er1 >conftest.err
28117 cat conftest.err >&5
28118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119 (exit $ac_status); } && {
28120 test -z "$ac_c_werror_flag" ||
28121 test ! -s conftest.err
28122 } && test -s conftest$ac_exeext &&
28123 $as_test_x conftest$ac_exeext; then
28124 eval "$as_ac_var=yes"
28126 echo "$as_me: failed program was:" >&5
28127 sed 's/^/| /' conftest.$ac_ext >&5
28129 eval "$as_ac_var=no"
28132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28133 conftest$ac_exeext conftest.$ac_ext
28135 ac_res=`eval echo '${'$as_ac_var'}'`
28136 { echo "$as_me:$LINENO: result: $ac_res" >&5
28137 echo "${ECHO_T}$ac_res" >&6; }
28138 if test `eval echo '${'$as_ac_var'}'` = yes; then
28139 cat >>confdefs.h <<_ACEOF
28140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28147 for ac_func in floor
28149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28150 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28152 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28153 echo $ECHO_N "(cached) $ECHO_C" >&6
28155 cat >conftest.$ac_ext <<_ACEOF
28158 cat confdefs.h >>conftest.$ac_ext
28159 cat >>conftest.$ac_ext <<_ACEOF
28160 /* end confdefs.h. */
28161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28163 #define $ac_func innocuous_$ac_func
28165 /* System header to define __stub macros and hopefully few prototypes,
28166 which can conflict with char $ac_func (); below.
28167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28168 <limits.h> exists even on freestanding compilers. */
28171 # include <limits.h>
28173 # include <assert.h>
28178 /* Override any GCC internal prototype to avoid an error.
28179 Use char because int might match the return type of a GCC
28180 builtin and then its argument prototype would still apply. */
28185 /* The GNU C library defines this for functions which it implements
28186 to always fail with ENOSYS. Some functions are actually named
28187 something starting with __ and the normal name is an alias. */
28188 #if defined __stub_$ac_func || defined __stub___$ac_func
28195 return $ac_func ();
28200 rm -f conftest.$ac_objext conftest$ac_exeext
28201 if { (ac_try="$ac_link"
28202 case "(($ac_try" in
28203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28204 *) ac_try_echo=$ac_try;;
28206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28207 (eval "$ac_link") 2>conftest.er1
28209 grep -v '^ *+' conftest.er1 >conftest.err
28211 cat conftest.err >&5
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); } && {
28214 test -z "$ac_c_werror_flag" ||
28215 test ! -s conftest.err
28216 } && test -s conftest$ac_exeext &&
28217 $as_test_x conftest$ac_exeext; then
28218 eval "$as_ac_var=yes"
28220 echo "$as_me: failed program was:" >&5
28221 sed 's/^/| /' conftest.$ac_ext >&5
28223 eval "$as_ac_var=no"
28226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28227 conftest$ac_exeext conftest.$ac_ext
28229 ac_res=`eval echo '${'$as_ac_var'}'`
28230 { echo "$as_me:$LINENO: result: $ac_res" >&5
28231 echo "${ECHO_T}$ac_res" >&6; }
28232 if test `eval echo '${'$as_ac_var'}'` = yes; then
28233 cat >>confdefs.h <<_ACEOF
28234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28240 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28241 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28242 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28243 { echo "$as_me:$LINENO: result: yes" >&5
28244 echo "${ECHO_T}yes" >&6; }
28246 { echo "$as_me:$LINENO: result: no" >&5
28247 echo "${ECHO_T}no" >&6; }
28249 # use different functions to avoid configure caching
28255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28256 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28258 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28259 echo $ECHO_N "(cached) $ECHO_C" >&6
28261 cat >conftest.$ac_ext <<_ACEOF
28264 cat confdefs.h >>conftest.$ac_ext
28265 cat >>conftest.$ac_ext <<_ACEOF
28266 /* end confdefs.h. */
28267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28269 #define $ac_func innocuous_$ac_func
28271 /* System header to define __stub macros and hopefully few prototypes,
28272 which can conflict with char $ac_func (); below.
28273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28274 <limits.h> exists even on freestanding compilers. */
28277 # include <limits.h>
28279 # include <assert.h>
28284 /* Override any GCC internal prototype to avoid an error.
28285 Use char because int might match the return type of a GCC
28286 builtin and then its argument prototype would still apply. */
28291 /* The GNU C library defines this for functions which it implements
28292 to always fail with ENOSYS. Some functions are actually named
28293 something starting with __ and the normal name is an alias. */
28294 #if defined __stub_$ac_func || defined __stub___$ac_func
28301 return $ac_func ();
28306 rm -f conftest.$ac_objext conftest$ac_exeext
28307 if { (ac_try="$ac_link"
28308 case "(($ac_try" in
28309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28310 *) ac_try_echo=$ac_try;;
28312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28313 (eval "$ac_link") 2>conftest.er1
28315 grep -v '^ *+' conftest.er1 >conftest.err
28317 cat conftest.err >&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); } && {
28320 test -z "$ac_c_werror_flag" ||
28321 test ! -s conftest.err
28322 } && test -s conftest$ac_exeext &&
28323 $as_test_x conftest$ac_exeext; then
28324 eval "$as_ac_var=yes"
28326 echo "$as_me: failed program was:" >&5
28327 sed 's/^/| /' conftest.$ac_ext >&5
28329 eval "$as_ac_var=no"
28332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28333 conftest$ac_exeext conftest.$ac_ext
28335 ac_res=`eval echo '${'$as_ac_var'}'`
28336 { echo "$as_me:$LINENO: result: $ac_res" >&5
28337 echo "${ECHO_T}$ac_res" >&6; }
28338 if test `eval echo '${'$as_ac_var'}'` = yes; then
28339 cat >>confdefs.h <<_ACEOF
28340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28347 for ac_func in ceil
28349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28350 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28352 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28353 echo $ECHO_N "(cached) $ECHO_C" >&6
28355 cat >conftest.$ac_ext <<_ACEOF
28358 cat confdefs.h >>conftest.$ac_ext
28359 cat >>conftest.$ac_ext <<_ACEOF
28360 /* end confdefs.h. */
28361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28363 #define $ac_func innocuous_$ac_func
28365 /* System header to define __stub macros and hopefully few prototypes,
28366 which can conflict with char $ac_func (); below.
28367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28368 <limits.h> exists even on freestanding compilers. */
28371 # include <limits.h>
28373 # include <assert.h>
28378 /* Override any GCC internal prototype to avoid an error.
28379 Use char because int might match the return type of a GCC
28380 builtin and then its argument prototype would still apply. */
28385 /* The GNU C library defines this for functions which it implements
28386 to always fail with ENOSYS. Some functions are actually named
28387 something starting with __ and the normal name is an alias. */
28388 #if defined __stub_$ac_func || defined __stub___$ac_func
28395 return $ac_func ();
28400 rm -f conftest.$ac_objext conftest$ac_exeext
28401 if { (ac_try="$ac_link"
28402 case "(($ac_try" in
28403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28404 *) ac_try_echo=$ac_try;;
28406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28407 (eval "$ac_link") 2>conftest.er1
28409 grep -v '^ *+' conftest.er1 >conftest.err
28411 cat conftest.err >&5
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); } && {
28414 test -z "$ac_c_werror_flag" ||
28415 test ! -s conftest.err
28416 } && test -s conftest$ac_exeext &&
28417 $as_test_x conftest$ac_exeext; then
28418 eval "$as_ac_var=yes"
28420 echo "$as_me: failed program was:" >&5
28421 sed 's/^/| /' conftest.$ac_ext >&5
28423 eval "$as_ac_var=no"
28426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28427 conftest$ac_exeext conftest.$ac_ext
28429 ac_res=`eval echo '${'$as_ac_var'}'`
28430 { echo "$as_me:$LINENO: result: $ac_res" >&5
28431 echo "${ECHO_T}$ac_res" >&6; }
28432 if test `eval echo '${'$as_ac_var'}'` = yes; then
28433 cat >>confdefs.h <<_ACEOF
28434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28440 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28441 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28442 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28443 { echo "$as_me:$LINENO: result: yes" >&5
28444 echo "${ECHO_T}yes" >&6; }
28446 { echo "$as_me:$LINENO: result: no" >&5
28447 echo "${ECHO_T}no" >&6; }
28448 # not sure we should warn the user, crash, etc.
28453 ac_cpp='$CXXCPP $CPPFLAGS'
28454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28458 if test "wxUSE_UNICODE" = "yes"; then
28460 for wx_func in wcstoull
28462 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28463 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28464 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28465 echo $ECHO_N "(cached) $ECHO_C" >&6
28468 cat >conftest.$ac_ext <<_ACEOF
28472 cat confdefs.h >>conftest.$ac_ext
28473 cat >>conftest.$ac_ext <<_ACEOF
28474 /* end confdefs.h. */
28477 $ac_includes_default
28493 rm -f conftest.$ac_objext conftest$ac_exeext
28494 if { (ac_try="$ac_link"
28495 case "(($ac_try" in
28496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28497 *) ac_try_echo=$ac_try;;
28499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28500 (eval "$ac_link") 2>conftest.er1
28502 grep -v '^ *+' conftest.er1 >conftest.err
28504 cat conftest.err >&5
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); } && {
28507 test -z "$ac_cxx_werror_flag" ||
28508 test ! -s conftest.err
28509 } && test -s conftest$ac_exeext &&
28510 $as_test_x conftest$ac_exeext; then
28511 eval wx_cv_func_$wx_func=yes
28513 echo "$as_me: failed program was:" >&5
28514 sed 's/^/| /' conftest.$ac_ext >&5
28516 eval wx_cv_func_$wx_func=no
28519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28520 conftest$ac_exeext conftest.$ac_ext
28523 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28524 { echo "$as_me:$LINENO: result: $ac_res" >&5
28525 echo "${ECHO_T}$ac_res" >&6; }
28527 if eval test \$wx_cv_func_$wx_func = yes
28529 cat >>confdefs.h <<_ACEOF
28530 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28542 for wx_func in strtoull
28544 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28545 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28546 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28547 echo $ECHO_N "(cached) $ECHO_C" >&6
28550 cat >conftest.$ac_ext <<_ACEOF
28554 cat confdefs.h >>conftest.$ac_ext
28555 cat >>conftest.$ac_ext <<_ACEOF
28556 /* end confdefs.h. */
28559 $ac_includes_default
28575 rm -f conftest.$ac_objext conftest$ac_exeext
28576 if { (ac_try="$ac_link"
28577 case "(($ac_try" in
28578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28579 *) ac_try_echo=$ac_try;;
28581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28582 (eval "$ac_link") 2>conftest.er1
28584 grep -v '^ *+' conftest.er1 >conftest.err
28586 cat conftest.err >&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); } && {
28589 test -z "$ac_cxx_werror_flag" ||
28590 test ! -s conftest.err
28591 } && test -s conftest$ac_exeext &&
28592 $as_test_x conftest$ac_exeext; then
28593 eval wx_cv_func_$wx_func=yes
28595 echo "$as_me: failed program was:" >&5
28596 sed 's/^/| /' conftest.$ac_ext >&5
28598 eval wx_cv_func_$wx_func=no
28601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28602 conftest$ac_exeext conftest.$ac_ext
28605 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28606 { echo "$as_me:$LINENO: result: $ac_res" >&5
28607 echo "${ECHO_T}$ac_res" >&6; }
28609 if eval test \$wx_cv_func_$wx_func = yes
28611 cat >>confdefs.h <<_ACEOF
28612 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28624 ac_cpp='$CPP $CPPFLAGS'
28625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28632 if test "$wxUSE_REGEX" != "no"; then
28633 cat >>confdefs.h <<\_ACEOF
28634 #define wxUSE_REGEX 1
28638 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28639 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28640 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28641 wxUSE_REGEX=builtin
28644 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28645 { echo "$as_me:$LINENO: checking for regex.h" >&5
28646 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28647 if test "${ac_cv_header_regex_h+set}" = set; then
28648 echo $ECHO_N "(cached) $ECHO_C" >&6
28650 cat >conftest.$ac_ext <<_ACEOF
28653 cat confdefs.h >>conftest.$ac_ext
28654 cat >>conftest.$ac_ext <<_ACEOF
28655 /* end confdefs.h. */
28660 rm -f conftest.$ac_objext
28661 if { (ac_try="$ac_compile"
28662 case "(($ac_try" in
28663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28664 *) ac_try_echo=$ac_try;;
28666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28667 (eval "$ac_compile") 2>conftest.er1
28669 grep -v '^ *+' conftest.er1 >conftest.err
28671 cat conftest.err >&5
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); } && {
28674 test -z "$ac_c_werror_flag" ||
28675 test ! -s conftest.err
28676 } && test -s conftest.$ac_objext; then
28677 ac_cv_header_regex_h=yes
28679 echo "$as_me: failed program was:" >&5
28680 sed 's/^/| /' conftest.$ac_ext >&5
28682 ac_cv_header_regex_h=no
28685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28687 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28688 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28689 if test $ac_cv_header_regex_h = yes; then
28692 for ac_func in regcomp re_search
28694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28695 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28697 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28698 echo $ECHO_N "(cached) $ECHO_C" >&6
28700 cat >conftest.$ac_ext <<_ACEOF
28703 cat confdefs.h >>conftest.$ac_ext
28704 cat >>conftest.$ac_ext <<_ACEOF
28705 /* end confdefs.h. */
28706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28708 #define $ac_func innocuous_$ac_func
28710 /* System header to define __stub macros and hopefully few prototypes,
28711 which can conflict with char $ac_func (); below.
28712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28713 <limits.h> exists even on freestanding compilers. */
28716 # include <limits.h>
28718 # include <assert.h>
28723 /* Override any GCC internal prototype to avoid an error.
28724 Use char because int might match the return type of a GCC
28725 builtin and then its argument prototype would still apply. */
28730 /* The GNU C library defines this for functions which it implements
28731 to always fail with ENOSYS. Some functions are actually named
28732 something starting with __ and the normal name is an alias. */
28733 #if defined __stub_$ac_func || defined __stub___$ac_func
28740 return $ac_func ();
28745 rm -f conftest.$ac_objext conftest$ac_exeext
28746 if { (ac_try="$ac_link"
28747 case "(($ac_try" in
28748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28749 *) ac_try_echo=$ac_try;;
28751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28752 (eval "$ac_link") 2>conftest.er1
28754 grep -v '^ *+' conftest.er1 >conftest.err
28756 cat conftest.err >&5
28757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28758 (exit $ac_status); } && {
28759 test -z "$ac_c_werror_flag" ||
28760 test ! -s conftest.err
28761 } && test -s conftest$ac_exeext &&
28762 $as_test_x conftest$ac_exeext; then
28763 eval "$as_ac_var=yes"
28765 echo "$as_me: failed program was:" >&5
28766 sed 's/^/| /' conftest.$ac_ext >&5
28768 eval "$as_ac_var=no"
28771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28772 conftest$ac_exeext conftest.$ac_ext
28774 ac_res=`eval echo '${'$as_ac_var'}'`
28775 { echo "$as_me:$LINENO: result: $ac_res" >&5
28776 echo "${ECHO_T}$ac_res" >&6; }
28777 if test `eval echo '${'$as_ac_var'}'` = yes; then
28778 cat >>confdefs.h <<_ACEOF
28779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28789 if test "x$ac_cv_func_regcomp" != "xyes"; then
28790 if test "$wxUSE_REGEX" = "sys" ; then
28791 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28792 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28793 { (exit 1); exit 1; }; }
28795 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28796 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28797 wxUSE_REGEX=builtin
28801 cat >>confdefs.h <<\_ACEOF
28802 #define WX_NO_REGEX_ADVANCED 1
28811 if test "$wxUSE_ZLIB" != "no" ; then
28812 cat >>confdefs.h <<\_ACEOF
28813 #define wxUSE_ZLIB 1
28817 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28818 if test "$USE_DARWIN" = 1; then
28819 system_zlib_h_ok="yes"
28821 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28822 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28823 if test "${ac_cv_header_zlib_h+set}" = set; then
28824 echo $ECHO_N "(cached) $ECHO_C" >&6
28826 if test "$cross_compiling" = yes; then
28827 unset ac_cv_header_zlib_h
28830 cat >conftest.$ac_ext <<_ACEOF
28833 cat confdefs.h >>conftest.$ac_ext
28834 cat >>conftest.$ac_ext <<_ACEOF
28835 /* end confdefs.h. */
28842 FILE *f=fopen("conftestval", "w");
28845 ZLIB_VERSION[0] == '1' &&
28846 (ZLIB_VERSION[2] > '1' ||
28847 (ZLIB_VERSION[2] == '1' &&
28848 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28853 rm -f conftest$ac_exeext
28854 if { (ac_try="$ac_link"
28855 case "(($ac_try" in
28856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28857 *) ac_try_echo=$ac_try;;
28859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28860 (eval "$ac_link") 2>&5
28862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28864 { (case "(($ac_try" in
28865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28866 *) ac_try_echo=$ac_try;;
28868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28869 (eval "$ac_try") 2>&5
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); }; }; then
28873 ac_cv_header_zlib_h=`cat conftestval`
28875 echo "$as_me: program exited with status $ac_status" >&5
28876 echo "$as_me: failed program was:" >&5
28877 sed 's/^/| /' conftest.$ac_ext >&5
28879 ( exit $ac_status )
28880 ac_cv_header_zlib_h=no
28882 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28888 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28889 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28890 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28891 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28892 if test "${ac_cv_header_zlib_h+set}" = set; then
28893 echo $ECHO_N "(cached) $ECHO_C" >&6
28895 cat >conftest.$ac_ext <<_ACEOF
28898 cat confdefs.h >>conftest.$ac_ext
28899 cat >>conftest.$ac_ext <<_ACEOF
28900 /* end confdefs.h. */
28905 rm -f conftest.$ac_objext
28906 if { (ac_try="$ac_compile"
28907 case "(($ac_try" in
28908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28909 *) ac_try_echo=$ac_try;;
28911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28912 (eval "$ac_compile") 2>conftest.er1
28914 grep -v '^ *+' conftest.er1 >conftest.err
28916 cat conftest.err >&5
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); } && {
28919 test -z "$ac_c_werror_flag" ||
28920 test ! -s conftest.err
28921 } && test -s conftest.$ac_objext; then
28922 ac_cv_header_zlib_h=yes
28924 echo "$as_me: failed program was:" >&5
28925 sed 's/^/| /' conftest.$ac_ext >&5
28927 ac_cv_header_zlib_h=no
28930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28932 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28933 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28937 system_zlib_h_ok=$ac_cv_header_zlib_h
28940 if test "$system_zlib_h_ok" = "yes"; then
28941 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28942 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28943 if test "${ac_cv_lib_z_deflate+set}" = set; then
28944 echo $ECHO_N "(cached) $ECHO_C" >&6
28946 ac_check_lib_save_LIBS=$LIBS
28948 cat >conftest.$ac_ext <<_ACEOF
28951 cat confdefs.h >>conftest.$ac_ext
28952 cat >>conftest.$ac_ext <<_ACEOF
28953 /* end confdefs.h. */
28955 /* Override any GCC internal prototype to avoid an error.
28956 Use char because int might match the return type of a GCC
28957 builtin and then its argument prototype would still apply. */
28970 rm -f conftest.$ac_objext conftest$ac_exeext
28971 if { (ac_try="$ac_link"
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_link") 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_exeext &&
28987 $as_test_x conftest$ac_exeext; then
28988 ac_cv_lib_z_deflate=yes
28990 echo "$as_me: failed program was:" >&5
28991 sed 's/^/| /' conftest.$ac_ext >&5
28993 ac_cv_lib_z_deflate=no
28996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28997 conftest$ac_exeext conftest.$ac_ext
28998 LIBS=$ac_check_lib_save_LIBS
29000 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
29001 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
29002 if test $ac_cv_lib_z_deflate = yes; then
29008 if test "x$ZLIB_LINK" = "x" ; then
29009 if test "$wxUSE_ZLIB" = "sys" ; then
29010 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
29011 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
29012 { (exit 1); exit 1; }; }
29014 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
29015 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
29026 if test "$wxUSE_LIBPNG" != "no" ; then
29027 cat >>confdefs.h <<\_ACEOF
29028 #define wxUSE_LIBPNG 1
29032 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
29033 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
29034 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
29038 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
29039 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
29040 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
29041 wxUSE_LIBPNG=builtin
29044 if test "$wxUSE_MGL" != 1 ; then
29045 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
29046 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
29047 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
29048 if test "${ac_cv_header_png_h+set}" = set; then
29049 echo $ECHO_N "(cached) $ECHO_C" >&6
29051 if test "$cross_compiling" = yes; then
29052 unset ac_cv_header_png_h
29055 cat >conftest.$ac_ext <<_ACEOF
29058 cat confdefs.h >>conftest.$ac_ext
29059 cat >>conftest.$ac_ext <<_ACEOF
29060 /* end confdefs.h. */
29067 FILE *f=fopen("conftestval", "w");
29070 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29075 rm -f conftest$ac_exeext
29076 if { (ac_try="$ac_link"
29077 case "(($ac_try" in
29078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29079 *) ac_try_echo=$ac_try;;
29081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29082 (eval "$ac_link") 2>&5
29084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29085 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29086 { (case "(($ac_try" in
29087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29088 *) ac_try_echo=$ac_try;;
29090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29091 (eval "$ac_try") 2>&5
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); }; }; then
29095 ac_cv_header_png_h=`cat conftestval`
29097 echo "$as_me: program exited with status $ac_status" >&5
29098 echo "$as_me: failed program was:" >&5
29099 sed 's/^/| /' conftest.$ac_ext >&5
29101 ( exit $ac_status )
29102 ac_cv_header_png_h=no
29104 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29110 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29111 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29112 { echo "$as_me:$LINENO: checking for png.h" >&5
29113 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29114 if test "${ac_cv_header_png_h+set}" = set; then
29115 echo $ECHO_N "(cached) $ECHO_C" >&6
29117 cat >conftest.$ac_ext <<_ACEOF
29120 cat confdefs.h >>conftest.$ac_ext
29121 cat >>conftest.$ac_ext <<_ACEOF
29122 /* end confdefs.h. */
29127 rm -f conftest.$ac_objext
29128 if { (ac_try="$ac_compile"
29129 case "(($ac_try" in
29130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29131 *) ac_try_echo=$ac_try;;
29133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29134 (eval "$ac_compile") 2>conftest.er1
29136 grep -v '^ *+' conftest.er1 >conftest.err
29138 cat conftest.err >&5
29139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 (exit $ac_status); } && {
29141 test -z "$ac_c_werror_flag" ||
29142 test ! -s conftest.err
29143 } && test -s conftest.$ac_objext; then
29144 ac_cv_header_png_h=yes
29146 echo "$as_me: failed program was:" >&5
29147 sed 's/^/| /' conftest.$ac_ext >&5
29149 ac_cv_header_png_h=no
29152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29154 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29155 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29159 if test "$ac_cv_header_png_h" = "yes"; then
29160 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29161 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29162 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29163 echo $ECHO_N "(cached) $ECHO_C" >&6
29165 ac_check_lib_save_LIBS=$LIBS
29166 LIBS="-lpng -lz -lm $LIBS"
29167 cat >conftest.$ac_ext <<_ACEOF
29170 cat confdefs.h >>conftest.$ac_ext
29171 cat >>conftest.$ac_ext <<_ACEOF
29172 /* end confdefs.h. */
29174 /* Override any GCC internal prototype to avoid an error.
29175 Use char because int might match the return type of a GCC
29176 builtin and then its argument prototype would still apply. */
29180 char png_check_sig ();
29184 return png_check_sig ();
29189 rm -f conftest.$ac_objext conftest$ac_exeext
29190 if { (ac_try="$ac_link"
29191 case "(($ac_try" in
29192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29193 *) ac_try_echo=$ac_try;;
29195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29196 (eval "$ac_link") 2>conftest.er1
29198 grep -v '^ *+' conftest.er1 >conftest.err
29200 cat conftest.err >&5
29201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 (exit $ac_status); } && {
29203 test -z "$ac_c_werror_flag" ||
29204 test ! -s conftest.err
29205 } && test -s conftest$ac_exeext &&
29206 $as_test_x conftest$ac_exeext; then
29207 ac_cv_lib_png_png_check_sig=yes
29209 echo "$as_me: failed program was:" >&5
29210 sed 's/^/| /' conftest.$ac_ext >&5
29212 ac_cv_lib_png_png_check_sig=no
29215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29216 conftest$ac_exeext conftest.$ac_ext
29217 LIBS=$ac_check_lib_save_LIBS
29219 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29220 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29221 if test $ac_cv_lib_png_png_check_sig = yes; then
29222 PNG_LINK=" -lpng -lz"
29227 if test "x$PNG_LINK" = "x" ; then
29228 if test "$wxUSE_LIBPNG" = "sys" ; then
29229 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29230 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29231 { (exit 1); exit 1; }; }
29233 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29234 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29235 wxUSE_LIBPNG=builtin
29246 if test "$wxUSE_LIBJPEG" != "no" ; then
29247 cat >>confdefs.h <<\_ACEOF
29248 #define wxUSE_LIBJPEG 1
29252 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29253 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29254 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29258 if test "$wxUSE_MGL" != 1 ; then
29259 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29260 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29261 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29262 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29263 echo $ECHO_N "(cached) $ECHO_C" >&6
29265 cat >conftest.$ac_ext <<_ACEOF
29268 cat confdefs.h >>conftest.$ac_ext
29269 cat >>conftest.$ac_ext <<_ACEOF
29270 /* end confdefs.h. */
29272 #undef HAVE_STDLIB_H
29274 #include <jpeglib.h>
29285 rm -f conftest.$ac_objext
29286 if { (ac_try="$ac_compile"
29287 case "(($ac_try" in
29288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29289 *) ac_try_echo=$ac_try;;
29291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29292 (eval "$ac_compile") 2>conftest.er1
29294 grep -v '^ *+' conftest.er1 >conftest.err
29296 cat conftest.err >&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } && {
29299 test -z "$ac_c_werror_flag" ||
29300 test ! -s conftest.err
29301 } && test -s conftest.$ac_objext; then
29302 ac_cv_header_jpeglib_h=yes
29304 echo "$as_me: failed program was:" >&5
29305 sed 's/^/| /' conftest.$ac_ext >&5
29307 ac_cv_header_jpeglib_h=no
29311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29315 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29316 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29318 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29319 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29320 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29321 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29322 echo $ECHO_N "(cached) $ECHO_C" >&6
29324 ac_check_lib_save_LIBS=$LIBS
29325 LIBS="-ljpeg $LIBS"
29326 cat >conftest.$ac_ext <<_ACEOF
29329 cat confdefs.h >>conftest.$ac_ext
29330 cat >>conftest.$ac_ext <<_ACEOF
29331 /* end confdefs.h. */
29333 /* Override any GCC internal prototype to avoid an error.
29334 Use char because int might match the return type of a GCC
29335 builtin and then its argument prototype would still apply. */
29339 char jpeg_read_header ();
29343 return jpeg_read_header ();
29348 rm -f conftest.$ac_objext conftest$ac_exeext
29349 if { (ac_try="$ac_link"
29350 case "(($ac_try" in
29351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29352 *) ac_try_echo=$ac_try;;
29354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29355 (eval "$ac_link") 2>conftest.er1
29357 grep -v '^ *+' conftest.er1 >conftest.err
29359 cat conftest.err >&5
29360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361 (exit $ac_status); } && {
29362 test -z "$ac_c_werror_flag" ||
29363 test ! -s conftest.err
29364 } && test -s conftest$ac_exeext &&
29365 $as_test_x conftest$ac_exeext; then
29366 ac_cv_lib_jpeg_jpeg_read_header=yes
29368 echo "$as_me: failed program was:" >&5
29369 sed 's/^/| /' conftest.$ac_ext >&5
29371 ac_cv_lib_jpeg_jpeg_read_header=no
29374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29375 conftest$ac_exeext conftest.$ac_ext
29376 LIBS=$ac_check_lib_save_LIBS
29378 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29379 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29380 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29381 JPEG_LINK=" -ljpeg"
29386 if test "x$JPEG_LINK" = "x" ; then
29387 if test "$wxUSE_LIBJPEG" = "sys" ; then
29388 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29389 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29390 { (exit 1); exit 1; }; }
29392 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29393 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29394 wxUSE_LIBJPEG=builtin
29399 if test "$wxUSE_MSW" = 1; then
29400 { echo "$as_me:$LINENO: checking for boolean" >&5
29401 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29402 if test "${ac_cv_type_boolean+set}" = set; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29405 cat >conftest.$ac_ext <<_ACEOF
29408 cat confdefs.h >>conftest.$ac_ext
29409 cat >>conftest.$ac_ext <<_ACEOF
29410 /* end confdefs.h. */
29411 #include <windows.h>
29413 typedef boolean ac__type_new_;
29417 if ((ac__type_new_ *) 0)
29419 if (sizeof (ac__type_new_))
29425 rm -f conftest.$ac_objext
29426 if { (ac_try="$ac_compile"
29427 case "(($ac_try" in
29428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29429 *) ac_try_echo=$ac_try;;
29431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29432 (eval "$ac_compile") 2>conftest.er1
29434 grep -v '^ *+' conftest.er1 >conftest.err
29436 cat conftest.err >&5
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); } && {
29439 test -z "$ac_c_werror_flag" ||
29440 test ! -s conftest.err
29441 } && test -s conftest.$ac_objext; then
29442 ac_cv_type_boolean=yes
29444 echo "$as_me: failed program was:" >&5
29445 sed 's/^/| /' conftest.$ac_ext >&5
29447 ac_cv_type_boolean=no
29450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29452 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29453 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29454 if test $ac_cv_type_boolean = yes; then
29456 cat >>confdefs.h <<_ACEOF
29457 #define HAVE_BOOLEAN 1
29461 { echo "$as_me:$LINENO: checking for boolean" >&5
29462 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29463 if test "${ac_cv_type_boolean+set}" = set; then
29464 echo $ECHO_N "(cached) $ECHO_C" >&6
29466 cat >conftest.$ac_ext <<_ACEOF
29469 cat confdefs.h >>conftest.$ac_ext
29470 cat >>conftest.$ac_ext <<_ACEOF
29471 /* end confdefs.h. */
29473 #undef HAVE_BOOLEAN
29475 #include <jpeglib.h>
29478 typedef boolean ac__type_new_;
29482 if ((ac__type_new_ *) 0)
29484 if (sizeof (ac__type_new_))
29490 rm -f conftest.$ac_objext
29491 if { (ac_try="$ac_compile"
29492 case "(($ac_try" in
29493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29494 *) ac_try_echo=$ac_try;;
29496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29497 (eval "$ac_compile") 2>conftest.er1
29499 grep -v '^ *+' conftest.er1 >conftest.err
29501 cat conftest.err >&5
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); } && {
29504 test -z "$ac_c_werror_flag" ||
29505 test ! -s conftest.err
29506 } && test -s conftest.$ac_objext; then
29507 ac_cv_type_boolean=yes
29509 echo "$as_me: failed program was:" >&5
29510 sed 's/^/| /' conftest.$ac_ext >&5
29512 ac_cv_type_boolean=no
29515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29517 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29518 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29520 # The cast to long int works around a bug in the HP C Compiler
29521 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29522 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29523 # This bug is HP SR number 8606223364.
29524 { echo "$as_me:$LINENO: checking size of boolean" >&5
29525 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29526 if test "${ac_cv_sizeof_boolean+set}" = set; then
29527 echo $ECHO_N "(cached) $ECHO_C" >&6
29529 if test "$cross_compiling" = yes; then
29530 # Depending upon the size, compute the lo and hi bounds.
29531 cat >conftest.$ac_ext <<_ACEOF
29534 cat confdefs.h >>conftest.$ac_ext
29535 cat >>conftest.$ac_ext <<_ACEOF
29536 /* end confdefs.h. */
29538 #undef HAVE_BOOLEAN
29540 #include <jpeglib.h>
29543 typedef boolean ac__type_sizeof_;
29547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29554 rm -f conftest.$ac_objext
29555 if { (ac_try="$ac_compile"
29556 case "(($ac_try" in
29557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29558 *) ac_try_echo=$ac_try;;
29560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29561 (eval "$ac_compile") 2>conftest.er1
29563 grep -v '^ *+' conftest.er1 >conftest.err
29565 cat conftest.err >&5
29566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29567 (exit $ac_status); } && {
29568 test -z "$ac_c_werror_flag" ||
29569 test ! -s conftest.err
29570 } && test -s conftest.$ac_objext; then
29573 cat >conftest.$ac_ext <<_ACEOF
29576 cat confdefs.h >>conftest.$ac_ext
29577 cat >>conftest.$ac_ext <<_ACEOF
29578 /* end confdefs.h. */
29580 #undef HAVE_BOOLEAN
29582 #include <jpeglib.h>
29585 typedef boolean ac__type_sizeof_;
29589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29596 rm -f conftest.$ac_objext
29597 if { (ac_try="$ac_compile"
29598 case "(($ac_try" in
29599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29600 *) ac_try_echo=$ac_try;;
29602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29603 (eval "$ac_compile") 2>conftest.er1
29605 grep -v '^ *+' conftest.er1 >conftest.err
29607 cat conftest.err >&5
29608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29609 (exit $ac_status); } && {
29610 test -z "$ac_c_werror_flag" ||
29611 test ! -s conftest.err
29612 } && test -s conftest.$ac_objext; then
29613 ac_hi=$ac_mid; break
29615 echo "$as_me: failed program was:" >&5
29616 sed 's/^/| /' conftest.$ac_ext >&5
29618 ac_lo=`expr $ac_mid + 1`
29619 if test $ac_lo -le $ac_mid; then
29623 ac_mid=`expr 2 '*' $ac_mid + 1`
29626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29629 echo "$as_me: failed program was:" >&5
29630 sed 's/^/| /' conftest.$ac_ext >&5
29632 cat >conftest.$ac_ext <<_ACEOF
29635 cat confdefs.h >>conftest.$ac_ext
29636 cat >>conftest.$ac_ext <<_ACEOF
29637 /* end confdefs.h. */
29639 #undef HAVE_BOOLEAN
29641 #include <jpeglib.h>
29644 typedef boolean ac__type_sizeof_;
29648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29655 rm -f conftest.$ac_objext
29656 if { (ac_try="$ac_compile"
29657 case "(($ac_try" in
29658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29659 *) ac_try_echo=$ac_try;;
29661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29662 (eval "$ac_compile") 2>conftest.er1
29664 grep -v '^ *+' conftest.er1 >conftest.err
29666 cat conftest.err >&5
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); } && {
29669 test -z "$ac_c_werror_flag" ||
29670 test ! -s conftest.err
29671 } && test -s conftest.$ac_objext; then
29674 cat >conftest.$ac_ext <<_ACEOF
29677 cat confdefs.h >>conftest.$ac_ext
29678 cat >>conftest.$ac_ext <<_ACEOF
29679 /* end confdefs.h. */
29681 #undef HAVE_BOOLEAN
29683 #include <jpeglib.h>
29686 typedef boolean ac__type_sizeof_;
29690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29697 rm -f conftest.$ac_objext
29698 if { (ac_try="$ac_compile"
29699 case "(($ac_try" in
29700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29701 *) ac_try_echo=$ac_try;;
29703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29704 (eval "$ac_compile") 2>conftest.er1
29706 grep -v '^ *+' conftest.er1 >conftest.err
29708 cat conftest.err >&5
29709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29710 (exit $ac_status); } && {
29711 test -z "$ac_c_werror_flag" ||
29712 test ! -s conftest.err
29713 } && test -s conftest.$ac_objext; then
29714 ac_lo=$ac_mid; break
29716 echo "$as_me: failed program was:" >&5
29717 sed 's/^/| /' conftest.$ac_ext >&5
29719 ac_hi=`expr '(' $ac_mid ')' - 1`
29720 if test $ac_mid -le $ac_hi; then
29724 ac_mid=`expr 2 '*' $ac_mid`
29727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29730 echo "$as_me: failed program was:" >&5
29731 sed 's/^/| /' conftest.$ac_ext >&5
29736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29740 # Binary search between lo and hi bounds.
29741 while test "x$ac_lo" != "x$ac_hi"; do
29742 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29743 cat >conftest.$ac_ext <<_ACEOF
29746 cat confdefs.h >>conftest.$ac_ext
29747 cat >>conftest.$ac_ext <<_ACEOF
29748 /* end confdefs.h. */
29750 #undef HAVE_BOOLEAN
29752 #include <jpeglib.h>
29755 typedef boolean ac__type_sizeof_;
29759 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29766 rm -f conftest.$ac_objext
29767 if { (ac_try="$ac_compile"
29768 case "(($ac_try" in
29769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29770 *) ac_try_echo=$ac_try;;
29772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29773 (eval "$ac_compile") 2>conftest.er1
29775 grep -v '^ *+' conftest.er1 >conftest.err
29777 cat conftest.err >&5
29778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779 (exit $ac_status); } && {
29780 test -z "$ac_c_werror_flag" ||
29781 test ! -s conftest.err
29782 } && test -s conftest.$ac_objext; then
29785 echo "$as_me: failed program was:" >&5
29786 sed 's/^/| /' conftest.$ac_ext >&5
29788 ac_lo=`expr '(' $ac_mid ')' + 1`
29791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29794 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29795 '') if test "$ac_cv_type_boolean" = yes; then
29796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29797 See \`config.log' for more details." >&5
29798 echo "$as_me: error: cannot compute sizeof (boolean)
29799 See \`config.log' for more details." >&2;}
29800 { (exit 77); exit 77; }; }
29802 ac_cv_sizeof_boolean=0
29806 cat >conftest.$ac_ext <<_ACEOF
29809 cat confdefs.h >>conftest.$ac_ext
29810 cat >>conftest.$ac_ext <<_ACEOF
29811 /* end confdefs.h. */
29813 #undef HAVE_BOOLEAN
29815 #include <jpeglib.h>
29818 typedef boolean ac__type_sizeof_;
29819 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29820 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29822 #include <stdlib.h>
29827 FILE *f = fopen ("conftest.val", "w");
29830 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29832 long int i = longval ();
29833 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29835 fprintf (f, "%ld\n", i);
29839 unsigned long int i = ulongval ();
29840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29842 fprintf (f, "%lu\n", i);
29844 return ferror (f) || fclose (f) != 0;
29850 rm -f conftest$ac_exeext
29851 if { (ac_try="$ac_link"
29852 case "(($ac_try" in
29853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29854 *) ac_try_echo=$ac_try;;
29856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29857 (eval "$ac_link") 2>&5
29859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29861 { (case "(($ac_try" in
29862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29863 *) ac_try_echo=$ac_try;;
29865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29866 (eval "$ac_try") 2>&5
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); }; }; then
29870 ac_cv_sizeof_boolean=`cat conftest.val`
29872 echo "$as_me: program exited with status $ac_status" >&5
29873 echo "$as_me: failed program was:" >&5
29874 sed 's/^/| /' conftest.$ac_ext >&5
29876 ( exit $ac_status )
29877 if test "$ac_cv_type_boolean" = yes; then
29878 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29879 See \`config.log' for more details." >&5
29880 echo "$as_me: error: cannot compute sizeof (boolean)
29881 See \`config.log' for more details." >&2;}
29882 { (exit 77); exit 77; }; }
29884 ac_cv_sizeof_boolean=0
29887 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29891 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29892 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29896 cat >>confdefs.h <<_ACEOF
29897 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29901 cat >>confdefs.h <<_ACEOF
29902 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29916 TIFF_PREREQ_LINKS=-lm
29917 if test "$wxUSE_LIBTIFF" != "no" ; then
29918 cat >>confdefs.h <<\_ACEOF
29919 #define wxUSE_LIBTIFF 1
29923 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29924 if test "$wxUSE_LIBJPEG" = "sys"; then
29925 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29927 if test "$wxUSE_ZLIB" = "sys"; then
29928 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29930 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29931 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29932 if test "${ac_cv_header_tiffio_h+set}" = set; then
29933 echo $ECHO_N "(cached) $ECHO_C" >&6
29935 cat >conftest.$ac_ext <<_ACEOF
29938 cat confdefs.h >>conftest.$ac_ext
29939 cat >>conftest.$ac_ext <<_ACEOF
29940 /* end confdefs.h. */
29944 #include <tiffio.h>
29946 rm -f conftest.$ac_objext
29947 if { (ac_try="$ac_compile"
29948 case "(($ac_try" in
29949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29950 *) ac_try_echo=$ac_try;;
29952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29953 (eval "$ac_compile") 2>conftest.er1
29955 grep -v '^ *+' conftest.er1 >conftest.err
29957 cat conftest.err >&5
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); } && {
29960 test -z "$ac_c_werror_flag" ||
29961 test ! -s conftest.err
29962 } && test -s conftest.$ac_objext; then
29963 ac_cv_header_tiffio_h=yes
29965 echo "$as_me: failed program was:" >&5
29966 sed 's/^/| /' conftest.$ac_ext >&5
29968 ac_cv_header_tiffio_h=no
29971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29973 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29974 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29975 if test $ac_cv_header_tiffio_h = yes; then
29977 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29978 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29979 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29980 echo $ECHO_N "(cached) $ECHO_C" >&6
29982 ac_check_lib_save_LIBS=$LIBS
29983 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29984 cat >conftest.$ac_ext <<_ACEOF
29987 cat confdefs.h >>conftest.$ac_ext
29988 cat >>conftest.$ac_ext <<_ACEOF
29989 /* end confdefs.h. */
29991 /* Override any GCC internal prototype to avoid an error.
29992 Use char because int might match the return type of a GCC
29993 builtin and then its argument prototype would still apply. */
30001 return TIFFError ();
30006 rm -f conftest.$ac_objext conftest$ac_exeext
30007 if { (ac_try="$ac_link"
30008 case "(($ac_try" in
30009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30010 *) ac_try_echo=$ac_try;;
30012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30013 (eval "$ac_link") 2>conftest.er1
30015 grep -v '^ *+' conftest.er1 >conftest.err
30017 cat conftest.err >&5
30018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30019 (exit $ac_status); } && {
30020 test -z "$ac_c_werror_flag" ||
30021 test ! -s conftest.err
30022 } && test -s conftest$ac_exeext &&
30023 $as_test_x conftest$ac_exeext; then
30024 ac_cv_lib_tiff_TIFFError=yes
30026 echo "$as_me: failed program was:" >&5
30027 sed 's/^/| /' conftest.$ac_ext >&5
30029 ac_cv_lib_tiff_TIFFError=no
30032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30033 conftest$ac_exeext conftest.$ac_ext
30034 LIBS=$ac_check_lib_save_LIBS
30036 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
30037 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
30038 if test $ac_cv_lib_tiff_TIFFError = yes; then
30039 TIFF_LINK=" -ltiff"
30047 if test "x$TIFF_LINK" = "x" ; then
30048 if test "$wxUSE_LIBTIFF" = "sys" ; then
30049 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
30050 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
30051 { (exit 1); exit 1; }; }
30053 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
30054 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
30055 wxUSE_LIBTIFF=builtin
30060 if test "$wxUSE_LIBTIFF" = "builtin" ; then
30061 subdirs="$subdirs src/tiff"
30068 if test "$wxUSE_WCHAR_T" != "yes"; then
30069 if test "$wxUSE_EXPAT" != "no"; then
30070 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
30071 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
30074 if test "$wxUSE_XML" != "no"; then
30075 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30076 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30081 if test "$wxUSE_EXPAT" != "no"; then
30083 cat >>confdefs.h <<\_ACEOF
30084 #define wxUSE_EXPAT 1
30087 cat >>confdefs.h <<\_ACEOF
30088 #define wxUSE_XML 1
30092 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30093 { echo "$as_me:$LINENO: checking for expat.h" >&5
30094 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30095 if test "${ac_cv_header_expat_h+set}" = set; then
30096 echo $ECHO_N "(cached) $ECHO_C" >&6
30098 cat >conftest.$ac_ext <<_ACEOF
30101 cat confdefs.h >>conftest.$ac_ext
30102 cat >>conftest.$ac_ext <<_ACEOF
30103 /* end confdefs.h. */
30108 rm -f conftest.$ac_objext
30109 if { (ac_try="$ac_compile"
30110 case "(($ac_try" in
30111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30112 *) ac_try_echo=$ac_try;;
30114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30115 (eval "$ac_compile") 2>conftest.er1
30117 grep -v '^ *+' conftest.er1 >conftest.err
30119 cat conftest.err >&5
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); } && {
30122 test -z "$ac_c_werror_flag" ||
30123 test ! -s conftest.err
30124 } && test -s conftest.$ac_objext; then
30125 ac_cv_header_expat_h=yes
30127 echo "$as_me: failed program was:" >&5
30128 sed 's/^/| /' conftest.$ac_ext >&5
30130 ac_cv_header_expat_h=no
30133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30135 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30136 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30137 if test $ac_cv_header_expat_h = yes; then
30142 if test "x$found_expat_h" = "x1"; then
30143 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30144 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30145 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30146 echo $ECHO_N "(cached) $ECHO_C" >&6
30150 ac_cpp='$CXXCPP $CPPFLAGS'
30151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30155 cat >conftest.$ac_ext <<_ACEOF
30158 cat confdefs.h >>conftest.$ac_ext
30159 cat >>conftest.$ac_ext <<_ACEOF
30160 /* end confdefs.h. */
30170 rm -f conftest.$ac_objext
30171 if { (ac_try="$ac_compile"
30172 case "(($ac_try" in
30173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30174 *) ac_try_echo=$ac_try;;
30176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30177 (eval "$ac_compile") 2>conftest.er1
30179 grep -v '^ *+' conftest.er1 >conftest.err
30181 cat conftest.err >&5
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); } && {
30184 test -z "$ac_cxx_werror_flag" ||
30185 test ! -s conftest.err
30186 } && test -s conftest.$ac_objext; then
30187 wx_cv_expat_is_not_broken=yes
30189 echo "$as_me: failed program was:" >&5
30190 sed 's/^/| /' conftest.$ac_ext >&5
30192 wx_cv_expat_is_not_broken=no
30196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30198 ac_cpp='$CPP $CPPFLAGS'
30199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30206 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30207 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30208 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30209 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30210 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30211 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30212 echo $ECHO_N "(cached) $ECHO_C" >&6
30214 ac_check_lib_save_LIBS=$LIBS
30215 LIBS="-lexpat $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 /* Override any GCC internal prototype to avoid an error.
30224 Use char because int might match the return type of a GCC
30225 builtin and then its argument prototype would still apply. */
30229 char XML_ParserCreate ();
30233 return XML_ParserCreate ();
30238 rm -f conftest.$ac_objext conftest$ac_exeext
30239 if { (ac_try="$ac_link"
30240 case "(($ac_try" in
30241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30242 *) ac_try_echo=$ac_try;;
30244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30245 (eval "$ac_link") 2>conftest.er1
30247 grep -v '^ *+' conftest.er1 >conftest.err
30249 cat conftest.err >&5
30250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30251 (exit $ac_status); } && {
30252 test -z "$ac_c_werror_flag" ||
30253 test ! -s conftest.err
30254 } && test -s conftest$ac_exeext &&
30255 $as_test_x conftest$ac_exeext; then
30256 ac_cv_lib_expat_XML_ParserCreate=yes
30258 echo "$as_me: failed program was:" >&5
30259 sed 's/^/| /' conftest.$ac_ext >&5
30261 ac_cv_lib_expat_XML_ParserCreate=no
30264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30265 conftest$ac_exeext conftest.$ac_ext
30266 LIBS=$ac_check_lib_save_LIBS
30268 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30269 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30270 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30271 EXPAT_LINK=" -lexpat"
30276 if test "x$EXPAT_LINK" = "x" ; then
30277 if test "$wxUSE_EXPAT" = "sys" ; then
30278 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30279 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30280 { (exit 1); exit 1; }; }
30282 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30283 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30284 wxUSE_EXPAT=builtin
30290 if test "$wxUSE_EXPAT" = "builtin" ; then
30291 subdirs="$subdirs src/expat"
30298 if test "$wxUSE_LIBMSPACK" != "no"; then
30299 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30300 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30301 if test "${ac_cv_header_mspack_h+set}" = set; then
30302 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 cat >conftest.$ac_ext <<_ACEOF
30307 cat confdefs.h >>conftest.$ac_ext
30308 cat >>conftest.$ac_ext <<_ACEOF
30309 /* end confdefs.h. */
30312 #include <mspack.h>
30314 rm -f conftest.$ac_objext
30315 if { (ac_try="$ac_compile"
30316 case "(($ac_try" in
30317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30318 *) ac_try_echo=$ac_try;;
30320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30321 (eval "$ac_compile") 2>conftest.er1
30323 grep -v '^ *+' conftest.er1 >conftest.err
30325 cat conftest.err >&5
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); } && {
30328 test -z "$ac_c_werror_flag" ||
30329 test ! -s conftest.err
30330 } && test -s conftest.$ac_objext; then
30331 ac_cv_header_mspack_h=yes
30333 echo "$as_me: failed program was:" >&5
30334 sed 's/^/| /' conftest.$ac_ext >&5
30336 ac_cv_header_mspack_h=no
30339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30341 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30342 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30343 if test $ac_cv_header_mspack_h = yes; then
30348 if test "x$found_mspack_h" = "x1"; then
30349 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30350 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30351 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30352 echo $ECHO_N "(cached) $ECHO_C" >&6
30354 ac_check_lib_save_LIBS=$LIBS
30355 LIBS="-lmspack $LIBS"
30356 cat >conftest.$ac_ext <<_ACEOF
30359 cat confdefs.h >>conftest.$ac_ext
30360 cat >>conftest.$ac_ext <<_ACEOF
30361 /* end confdefs.h. */
30363 /* Override any GCC internal prototype to avoid an error.
30364 Use char because int might match the return type of a GCC
30365 builtin and then its argument prototype would still apply. */
30369 char mspack_create_chm_decompressor ();
30373 return mspack_create_chm_decompressor ();
30378 rm -f conftest.$ac_objext conftest$ac_exeext
30379 if { (ac_try="$ac_link"
30380 case "(($ac_try" in
30381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30382 *) ac_try_echo=$ac_try;;
30384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30385 (eval "$ac_link") 2>conftest.er1
30387 grep -v '^ *+' conftest.er1 >conftest.err
30389 cat conftest.err >&5
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); } && {
30392 test -z "$ac_c_werror_flag" ||
30393 test ! -s conftest.err
30394 } && test -s conftest$ac_exeext &&
30395 $as_test_x conftest$ac_exeext; then
30396 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30398 echo "$as_me: failed program was:" >&5
30399 sed 's/^/| /' conftest.$ac_ext >&5
30401 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30405 conftest$ac_exeext conftest.$ac_ext
30406 LIBS=$ac_check_lib_save_LIBS
30408 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30409 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30410 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30411 MSPACK_LINK=" -lmspack"
30415 if test "x$MSPACK_LINK" = "x" ; then
30420 if test "$wxUSE_LIBMSPACK" != "no"; then
30421 cat >>confdefs.h <<\_ACEOF
30422 #define wxUSE_LIBMSPACK 1
30436 if test "$USE_WIN32" = 1 ; then
30438 for ac_header in w32api.h
30440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30441 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30444 echo $ECHO_N "(cached) $ECHO_C" >&6
30446 cat >conftest.$ac_ext <<_ACEOF
30449 cat confdefs.h >>conftest.$ac_ext
30450 cat >>conftest.$ac_ext <<_ACEOF
30451 /* end confdefs.h. */
30454 #include <$ac_header>
30456 rm -f conftest.$ac_objext
30457 if { (ac_try="$ac_compile"
30458 case "(($ac_try" in
30459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30460 *) ac_try_echo=$ac_try;;
30462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30463 (eval "$ac_compile") 2>conftest.er1
30465 grep -v '^ *+' conftest.er1 >conftest.err
30467 cat conftest.err >&5
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); } && {
30470 test -z "$ac_c_werror_flag" ||
30471 test ! -s conftest.err
30472 } && test -s conftest.$ac_objext; then
30473 eval "$as_ac_Header=yes"
30475 echo "$as_me: failed program was:" >&5
30476 sed 's/^/| /' conftest.$ac_ext >&5
30478 eval "$as_ac_Header=no"
30481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30483 ac_res=`eval echo '${'$as_ac_Header'}'`
30484 { echo "$as_me:$LINENO: result: $ac_res" >&5
30485 echo "${ECHO_T}$ac_res" >&6; }
30486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30487 cat >>confdefs.h <<_ACEOF
30488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30495 { echo "$as_me:$LINENO: checking for windows.h" >&5
30496 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30497 if test "${ac_cv_header_windows_h+set}" = set; then
30498 echo $ECHO_N "(cached) $ECHO_C" >&6
30500 cat >conftest.$ac_ext <<_ACEOF
30503 cat confdefs.h >>conftest.$ac_ext
30504 cat >>conftest.$ac_ext <<_ACEOF
30505 /* end confdefs.h. */
30508 #include <windows.h>
30510 rm -f conftest.$ac_objext
30511 if { (ac_try="$ac_compile"
30512 case "(($ac_try" in
30513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30514 *) ac_try_echo=$ac_try;;
30516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30517 (eval "$ac_compile") 2>conftest.er1
30519 grep -v '^ *+' conftest.er1 >conftest.err
30521 cat conftest.err >&5
30522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523 (exit $ac_status); } && {
30524 test -z "$ac_c_werror_flag" ||
30525 test ! -s conftest.err
30526 } && test -s conftest.$ac_objext; then
30527 ac_cv_header_windows_h=yes
30529 echo "$as_me: failed program was:" >&5
30530 sed 's/^/| /' conftest.$ac_ext >&5
30532 ac_cv_header_windows_h=no
30535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30537 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30538 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30539 if test $ac_cv_header_windows_h = yes; then
30543 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30544 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30545 { (exit 1); exit 1; }; }
30551 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30553 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30554 LIBS="$LIBS -loleacc"
30559 LIBS="$LIBS -lkernel32 -luser32"
30562 if test "$wxUSE_ODBC" = "sys" ; then
30565 if test "$wxUSE_ODBC" = "yes" ; then
30566 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30567 cat >>confdefs.h <<\_ACEOF
30568 #define wxUSE_ODBC 1
30573 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30574 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30576 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30578 WIN32INSTALL=win32install
30580 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30581 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30582 if test "${ac_cv_header_pbt_h+set}" = set; then
30583 echo $ECHO_N "(cached) $ECHO_C" >&6
30585 cat >conftest.$ac_ext <<_ACEOF
30588 cat confdefs.h >>conftest.$ac_ext
30589 cat >>conftest.$ac_ext <<_ACEOF
30590 /* end confdefs.h. */
30595 rm -f conftest.$ac_objext
30596 if { (ac_try="$ac_compile"
30597 case "(($ac_try" in
30598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30599 *) ac_try_echo=$ac_try;;
30601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30602 (eval "$ac_compile") 2>conftest.er1
30604 grep -v '^ *+' conftest.er1 >conftest.err
30606 cat conftest.err >&5
30607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30608 (exit $ac_status); } && {
30609 test -z "$ac_c_werror_flag" ||
30610 test ! -s conftest.err
30611 } && test -s conftest.$ac_objext; then
30612 ac_cv_header_pbt_h=yes
30614 echo "$as_me: failed program was:" >&5
30615 sed 's/^/| /' conftest.$ac_ext >&5
30617 ac_cv_header_pbt_h=no
30620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30622 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30623 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30624 if test $ac_cv_header_pbt_h = yes; then
30627 cat >>confdefs.h <<\_ACEOF
30628 #define NEED_PBT_H 1
30636 if test "$wxUSE_GUI" = "yes"; then
30646 if test "$wxUSE_COCOA" = 1 ; then
30647 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30648 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30649 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30650 wxUSE_PRINTING_ARCHITECTURE=no
30652 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30653 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30654 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30655 wxUSE_DRAG_AND_DROP=no
30657 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30658 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30659 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30664 if test "$wxUSE_MSW" = 1 ; then
30670 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30674 if test "$wxUSE_GTK" = 1; then
30675 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30676 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30678 gtk_version_cached=1
30679 if test "${wx_cv_lib_gtk+set}" = set; then
30680 echo $ECHO_N "(cached) $ECHO_C" >&6
30683 gtk_version_cached=0
30684 { echo "$as_me:$LINENO: result: " >&5
30685 echo "${ECHO_T}" >&6; }
30688 if test "$wxUSE_THREADS" = "yes"; then
30689 GTK_MODULES=gthread
30693 if test "x$wxGTK_VERSION" != "x1"
30697 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30702 # Check whether --enable-gtktest was given.
30703 if test "${enable_gtktest+set}" = set; then
30704 enableval=$enable_gtktest;
30710 pkg_config_args=gtk+-2.0
30711 for module in . $GTK_MODULES
30715 pkg_config_args="$pkg_config_args gthread-2.0"
30722 # Extract the first word of "pkg-config", so it can be a program name with args.
30723 set dummy pkg-config; ac_word=$2
30724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30726 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30727 echo $ECHO_N "(cached) $ECHO_C" >&6
30729 case $PKG_CONFIG in
30731 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30735 for as_dir in $PATH
30738 test -z "$as_dir" && as_dir=.
30739 for ac_exec_ext in '' $ac_executable_extensions; do
30740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30741 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30749 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30753 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30754 if test -n "$PKG_CONFIG"; then
30755 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30756 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30758 { echo "$as_me:$LINENO: result: no" >&5
30759 echo "${ECHO_T}no" >&6; }
30764 if test x$PKG_CONFIG != xno ; then
30765 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30768 echo "*** pkg-config too old; version 0.7 or better required."
30776 min_gtk_version=2.0.0
30777 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30778 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30780 if test x$PKG_CONFIG != xno ; then
30781 ## don't try to run the test against uninstalled libtool libs
30782 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30783 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30787 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30794 if test x"$no_gtk" = x ; then
30795 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30796 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30797 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30798 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30799 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30800 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30801 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30802 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30803 if test "x$enable_gtktest" = "xyes" ; then
30804 ac_save_CFLAGS="$CFLAGS"
30805 ac_save_LIBS="$LIBS"
30806 CFLAGS="$CFLAGS $GTK_CFLAGS"
30807 LIBS="$GTK_LIBS $LIBS"
30809 if test "$cross_compiling" = yes; then
30810 echo $ac_n "cross compiling; assumed OK... $ac_c"
30812 cat >conftest.$ac_ext <<_ACEOF
30815 cat confdefs.h >>conftest.$ac_ext
30816 cat >>conftest.$ac_ext <<_ACEOF
30817 /* end confdefs.h. */
30819 #include <gtk/gtk.h>
30821 #include <stdlib.h>
30826 int major, minor, micro;
30829 system ("touch conf.gtktest");
30831 /* HP/UX 9 (%@#!) writes to sscanf strings */
30832 tmp_version = g_strdup("$min_gtk_version");
30833 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30834 printf("%s, bad version string\n", "$min_gtk_version");
30838 if ((gtk_major_version != $gtk_config_major_version) ||
30839 (gtk_minor_version != $gtk_config_minor_version) ||
30840 (gtk_micro_version != $gtk_config_micro_version))
30842 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30843 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30844 gtk_major_version, gtk_minor_version, gtk_micro_version);
30845 printf ("*** was found! If pkg-config was correct, then it is best\n");
30846 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30847 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30848 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30849 printf("*** required on your system.\n");
30850 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30851 printf("*** to point to the correct configuration files\n");
30853 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30854 (gtk_minor_version != GTK_MINOR_VERSION) ||
30855 (gtk_micro_version != GTK_MICRO_VERSION))
30857 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30858 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30859 printf("*** library (version %d.%d.%d)\n",
30860 gtk_major_version, gtk_minor_version, gtk_micro_version);
30864 if ((gtk_major_version > major) ||
30865 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30866 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30872 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30873 gtk_major_version, gtk_minor_version, gtk_micro_version);
30874 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30875 major, minor, micro);
30876 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30878 printf("*** If you have already installed a sufficiently new version, this error\n");
30879 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30880 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30881 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30882 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30883 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30884 printf("*** so that the correct libraries are found at run-time))\n");
30891 rm -f conftest$ac_exeext
30892 if { (ac_try="$ac_link"
30893 case "(($ac_try" in
30894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30895 *) ac_try_echo=$ac_try;;
30897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30898 (eval "$ac_link") 2>&5
30900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30901 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30902 { (case "(($ac_try" in
30903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30904 *) ac_try_echo=$ac_try;;
30906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30907 (eval "$ac_try") 2>&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; }; then
30913 echo "$as_me: program exited with status $ac_status" >&5
30914 echo "$as_me: failed program was:" >&5
30915 sed 's/^/| /' conftest.$ac_ext >&5
30917 ( exit $ac_status )
30920 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30924 CFLAGS="$ac_save_CFLAGS"
30925 LIBS="$ac_save_LIBS"
30928 if test "x$no_gtk" = x ; then
30929 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30930 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30933 { echo "$as_me:$LINENO: result: no" >&5
30934 echo "${ECHO_T}no" >&6; }
30935 if test "$PKG_CONFIG" = "no" ; then
30936 echo "*** A new enough version of pkg-config was not found."
30937 echo "*** See http://pkgconfig.sourceforge.net"
30939 if test -f conf.gtktest ; then
30942 echo "*** Could not run GTK+ test program, checking why..."
30943 ac_save_CFLAGS="$CFLAGS"
30944 ac_save_LIBS="$LIBS"
30945 CFLAGS="$CFLAGS $GTK_CFLAGS"
30946 LIBS="$LIBS $GTK_LIBS"
30947 cat >conftest.$ac_ext <<_ACEOF
30950 cat confdefs.h >>conftest.$ac_ext
30951 cat >>conftest.$ac_ext <<_ACEOF
30952 /* end confdefs.h. */
30954 #include <gtk/gtk.h>
30960 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30965 rm -f conftest.$ac_objext conftest$ac_exeext
30966 if { (ac_try="$ac_link"
30967 case "(($ac_try" in
30968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30969 *) ac_try_echo=$ac_try;;
30971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30972 (eval "$ac_link") 2>conftest.er1
30974 grep -v '^ *+' conftest.er1 >conftest.err
30976 cat conftest.err >&5
30977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978 (exit $ac_status); } && {
30979 test -z "$ac_c_werror_flag" ||
30980 test ! -s conftest.err
30981 } && test -s conftest$ac_exeext &&
30982 $as_test_x conftest$ac_exeext; then
30983 echo "*** The test program compiled, but did not run. This usually means"
30984 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30985 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30986 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30987 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30988 echo "*** is required on your system"
30990 echo "*** If you have an old version installed, it is best to remove it, although"
30991 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30993 echo "$as_me: failed program was:" >&5
30994 sed 's/^/| /' conftest.$ac_ext >&5
30996 echo "*** The test program failed to compile or link. See the file config.log for the"
30997 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
31000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31001 conftest$ac_exeext conftest.$ac_ext
31002 CFLAGS="$ac_save_CFLAGS"
31003 LIBS="$ac_save_LIBS"
31017 if test "$wxUSE_SHARED" != "yes"; then
31018 GTK_LIBS="$GTK_LIBS -lX11"
31023 if test -z "$wx_cv_lib_gtk"; then
31024 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
31026 # Check whether --with-gtk-prefix was given.
31027 if test "${with_gtk_prefix+set}" = set; then
31028 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31030 gtk_config_prefix=""
31034 # Check whether --with-gtk-exec-prefix was given.
31035 if test "${with_gtk_exec_prefix+set}" = set; then
31036 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31038 gtk_config_exec_prefix=""
31041 # Check whether --enable-gtktest was given.
31042 if test "${enable_gtktest+set}" = set; then
31043 enableval=$enable_gtktest;
31049 for module in . $GTK_MODULES
31053 gtk_config_args="$gtk_config_args gthread"
31058 if test x$gtk_config_exec_prefix != x ; then
31059 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31060 if test x${GTK_CONFIG+set} != xset ; then
31061 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31064 if test x$gtk_config_prefix != x ; then
31065 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31066 if test x${GTK_CONFIG+set} != xset ; then
31067 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31071 # Extract the first word of "gtk-config", so it can be a program name with args.
31072 set dummy gtk-config; ac_word=$2
31073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31075 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31076 echo $ECHO_N "(cached) $ECHO_C" >&6
31078 case $GTK_CONFIG in
31080 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31084 for as_dir in $PATH
31087 test -z "$as_dir" && as_dir=.
31088 for ac_exec_ext in '' $ac_executable_extensions; do
31089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31090 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31098 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31102 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31103 if test -n "$GTK_CONFIG"; then
31104 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31105 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31107 { echo "$as_me:$LINENO: result: no" >&5
31108 echo "${ECHO_T}no" >&6; }
31112 min_gtk_version=1.2.7
31113 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31114 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31116 if test "$GTK_CONFIG" = "no" ; then
31119 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31120 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31121 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31122 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31123 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31125 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31126 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31127 if test "x$enable_gtktest" = "xyes" ; then
31128 ac_save_CFLAGS="$CFLAGS"
31129 ac_save_LIBS="$LIBS"
31130 CFLAGS="$CFLAGS $GTK_CFLAGS"
31131 LIBS="$GTK_LIBS $LIBS"
31133 if test "$cross_compiling" = yes; then
31134 echo $ac_n "cross compiling; assumed OK... $ac_c"
31136 cat >conftest.$ac_ext <<_ACEOF
31139 cat confdefs.h >>conftest.$ac_ext
31140 cat >>conftest.$ac_ext <<_ACEOF
31141 /* end confdefs.h. */
31143 #include <gtk/gtk.h>
31145 #include <stdlib.h>
31150 int major, minor, micro;
31153 system ("touch conf.gtktest");
31155 /* HP/UX 9 (%@#!) writes to sscanf strings */
31156 tmp_version = g_strdup("$min_gtk_version");
31157 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31158 printf("%s, bad version string\n", "$min_gtk_version");
31162 if ((gtk_major_version != $gtk_config_major_version) ||
31163 (gtk_minor_version != $gtk_config_minor_version) ||
31164 (gtk_micro_version != $gtk_config_micro_version))
31166 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31167 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31168 gtk_major_version, gtk_minor_version, gtk_micro_version);
31169 printf ("*** was found! If gtk-config was correct, then it is best\n");
31170 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31171 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31172 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31173 printf("*** required on your system.\n");
31174 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31175 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31176 printf("*** before re-running configure\n");
31178 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31179 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31180 (gtk_minor_version != GTK_MINOR_VERSION) ||
31181 (gtk_micro_version != GTK_MICRO_VERSION))
31183 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31184 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31185 printf("*** library (version %d.%d.%d)\n",
31186 gtk_major_version, gtk_minor_version, gtk_micro_version);
31188 #endif /* defined (GTK_MAJOR_VERSION) ... */
31191 if ((gtk_major_version > major) ||
31192 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31193 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31199 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31200 gtk_major_version, gtk_minor_version, gtk_micro_version);
31201 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31202 major, minor, micro);
31203 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31205 printf("*** If you have already installed a sufficiently new version, this error\n");
31206 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31207 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31208 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31209 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31210 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31211 printf("*** so that the correct libraries are found at run-time))\n");
31218 rm -f conftest$ac_exeext
31219 if { (ac_try="$ac_link"
31220 case "(($ac_try" in
31221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31222 *) ac_try_echo=$ac_try;;
31224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31225 (eval "$ac_link") 2>&5
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31229 { (case "(($ac_try" in
31230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31231 *) ac_try_echo=$ac_try;;
31233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31234 (eval "$ac_try") 2>&5
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); }; }; then
31240 echo "$as_me: program exited with status $ac_status" >&5
31241 echo "$as_me: failed program was:" >&5
31242 sed 's/^/| /' conftest.$ac_ext >&5
31244 ( exit $ac_status )
31247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31251 CFLAGS="$ac_save_CFLAGS"
31252 LIBS="$ac_save_LIBS"
31255 if test "x$no_gtk" = x ; then
31256 { echo "$as_me:$LINENO: result: yes" >&5
31257 echo "${ECHO_T}yes" >&6; }
31258 wx_cv_lib_gtk=1.2.7
31260 { echo "$as_me:$LINENO: result: no" >&5
31261 echo "${ECHO_T}no" >&6; }
31262 if test "$GTK_CONFIG" = "no" ; then
31263 echo "*** The gtk-config script installed by GTK could not be found"
31264 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31265 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31266 echo "*** full path to gtk-config."
31268 if test -f conf.gtktest ; then
31271 echo "*** Could not run GTK test program, checking why..."
31272 CFLAGS="$CFLAGS $GTK_CFLAGS"
31273 LIBS="$LIBS $GTK_LIBS"
31274 cat >conftest.$ac_ext <<_ACEOF
31277 cat confdefs.h >>conftest.$ac_ext
31278 cat >>conftest.$ac_ext <<_ACEOF
31279 /* end confdefs.h. */
31281 #include <gtk/gtk.h>
31287 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31292 rm -f conftest.$ac_objext conftest$ac_exeext
31293 if { (ac_try="$ac_link"
31294 case "(($ac_try" in
31295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31296 *) ac_try_echo=$ac_try;;
31298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31299 (eval "$ac_link") 2>conftest.er1
31301 grep -v '^ *+' conftest.er1 >conftest.err
31303 cat conftest.err >&5
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); } && {
31306 test -z "$ac_c_werror_flag" ||
31307 test ! -s conftest.err
31308 } && test -s conftest$ac_exeext &&
31309 $as_test_x conftest$ac_exeext; then
31310 echo "*** The test program compiled, but did not run. This usually means"
31311 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31312 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31313 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31314 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31315 echo "*** is required on your system"
31317 echo "*** If you have an old version installed, it is best to remove it, although"
31318 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31320 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31321 echo "*** came with the system with the command"
31323 echo "*** rpm --erase --nodeps gtk gtk-devel"
31325 echo "$as_me: failed program was:" >&5
31326 sed 's/^/| /' conftest.$ac_ext >&5
31328 echo "*** The test program failed to compile or link. See the file config.log for the"
31329 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31330 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31331 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31335 conftest$ac_exeext conftest.$ac_ext
31336 CFLAGS="$ac_save_CFLAGS"
31337 LIBS="$ac_save_LIBS"
31349 if test -z "$wx_cv_lib_gtk"; then
31351 # Check whether --with-gtk-prefix was given.
31352 if test "${with_gtk_prefix+set}" = set; then
31353 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31355 gtk_config_prefix=""
31359 # Check whether --with-gtk-exec-prefix was given.
31360 if test "${with_gtk_exec_prefix+set}" = set; then
31361 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31363 gtk_config_exec_prefix=""
31366 # Check whether --enable-gtktest was given.
31367 if test "${enable_gtktest+set}" = set; then
31368 enableval=$enable_gtktest;
31374 for module in . $GTK_MODULES
31378 gtk_config_args="$gtk_config_args gthread"
31383 if test x$gtk_config_exec_prefix != x ; then
31384 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31385 if test x${GTK_CONFIG+set} != xset ; then
31386 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31389 if test x$gtk_config_prefix != x ; then
31390 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31391 if test x${GTK_CONFIG+set} != xset ; then
31392 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31396 # Extract the first word of "gtk-config", so it can be a program name with args.
31397 set dummy gtk-config; ac_word=$2
31398 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31400 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31401 echo $ECHO_N "(cached) $ECHO_C" >&6
31403 case $GTK_CONFIG in
31405 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31409 for as_dir in $PATH
31412 test -z "$as_dir" && as_dir=.
31413 for ac_exec_ext in '' $ac_executable_extensions; do
31414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31415 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31423 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31427 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31428 if test -n "$GTK_CONFIG"; then
31429 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31430 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31432 { echo "$as_me:$LINENO: result: no" >&5
31433 echo "${ECHO_T}no" >&6; }
31437 min_gtk_version=1.2.3
31438 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31439 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31441 if test "$GTK_CONFIG" = "no" ; then
31444 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31445 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31446 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31448 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31450 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31451 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31452 if test "x$enable_gtktest" = "xyes" ; then
31453 ac_save_CFLAGS="$CFLAGS"
31454 ac_save_LIBS="$LIBS"
31455 CFLAGS="$CFLAGS $GTK_CFLAGS"
31456 LIBS="$GTK_LIBS $LIBS"
31458 if test "$cross_compiling" = yes; then
31459 echo $ac_n "cross compiling; assumed OK... $ac_c"
31461 cat >conftest.$ac_ext <<_ACEOF
31464 cat confdefs.h >>conftest.$ac_ext
31465 cat >>conftest.$ac_ext <<_ACEOF
31466 /* end confdefs.h. */
31468 #include <gtk/gtk.h>
31470 #include <stdlib.h>
31475 int major, minor, micro;
31478 system ("touch conf.gtktest");
31480 /* HP/UX 9 (%@#!) writes to sscanf strings */
31481 tmp_version = g_strdup("$min_gtk_version");
31482 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31483 printf("%s, bad version string\n", "$min_gtk_version");
31487 if ((gtk_major_version != $gtk_config_major_version) ||
31488 (gtk_minor_version != $gtk_config_minor_version) ||
31489 (gtk_micro_version != $gtk_config_micro_version))
31491 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31492 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31493 gtk_major_version, gtk_minor_version, gtk_micro_version);
31494 printf ("*** was found! If gtk-config was correct, then it is best\n");
31495 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31496 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31497 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31498 printf("*** required on your system.\n");
31499 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31500 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31501 printf("*** before re-running configure\n");
31503 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31504 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31505 (gtk_minor_version != GTK_MINOR_VERSION) ||
31506 (gtk_micro_version != GTK_MICRO_VERSION))
31508 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31509 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31510 printf("*** library (version %d.%d.%d)\n",
31511 gtk_major_version, gtk_minor_version, gtk_micro_version);
31513 #endif /* defined (GTK_MAJOR_VERSION) ... */
31516 if ((gtk_major_version > major) ||
31517 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31518 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31524 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31525 gtk_major_version, gtk_minor_version, gtk_micro_version);
31526 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31527 major, minor, micro);
31528 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31530 printf("*** If you have already installed a sufficiently new version, this error\n");
31531 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31532 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31533 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31534 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31535 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31536 printf("*** so that the correct libraries are found at run-time))\n");
31543 rm -f conftest$ac_exeext
31544 if { (ac_try="$ac_link"
31545 case "(($ac_try" in
31546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31547 *) ac_try_echo=$ac_try;;
31549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31550 (eval "$ac_link") 2>&5
31552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31553 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31554 { (case "(($ac_try" in
31555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31556 *) ac_try_echo=$ac_try;;
31558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31559 (eval "$ac_try") 2>&5
31561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31562 (exit $ac_status); }; }; then
31565 echo "$as_me: program exited with status $ac_status" >&5
31566 echo "$as_me: failed program was:" >&5
31567 sed 's/^/| /' conftest.$ac_ext >&5
31569 ( exit $ac_status )
31572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31576 CFLAGS="$ac_save_CFLAGS"
31577 LIBS="$ac_save_LIBS"
31580 if test "x$no_gtk" = x ; then
31581 { echo "$as_me:$LINENO: result: yes" >&5
31582 echo "${ECHO_T}yes" >&6; }
31583 wx_cv_lib_gtk=1.2.3
31585 { echo "$as_me:$LINENO: result: no" >&5
31586 echo "${ECHO_T}no" >&6; }
31587 if test "$GTK_CONFIG" = "no" ; then
31588 echo "*** The gtk-config script installed by GTK could not be found"
31589 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31590 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31591 echo "*** full path to gtk-config."
31593 if test -f conf.gtktest ; then
31596 echo "*** Could not run GTK test program, checking why..."
31597 CFLAGS="$CFLAGS $GTK_CFLAGS"
31598 LIBS="$LIBS $GTK_LIBS"
31599 cat >conftest.$ac_ext <<_ACEOF
31602 cat confdefs.h >>conftest.$ac_ext
31603 cat >>conftest.$ac_ext <<_ACEOF
31604 /* end confdefs.h. */
31606 #include <gtk/gtk.h>
31612 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31617 rm -f conftest.$ac_objext conftest$ac_exeext
31618 if { (ac_try="$ac_link"
31619 case "(($ac_try" in
31620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31621 *) ac_try_echo=$ac_try;;
31623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31624 (eval "$ac_link") 2>conftest.er1
31626 grep -v '^ *+' conftest.er1 >conftest.err
31628 cat conftest.err >&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); } && {
31631 test -z "$ac_c_werror_flag" ||
31632 test ! -s conftest.err
31633 } && test -s conftest$ac_exeext &&
31634 $as_test_x conftest$ac_exeext; then
31635 echo "*** The test program compiled, but did not run. This usually means"
31636 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31637 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31638 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31639 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31640 echo "*** is required on your system"
31642 echo "*** If you have an old version installed, it is best to remove it, although"
31643 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31645 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31646 echo "*** came with the system with the command"
31648 echo "*** rpm --erase --nodeps gtk gtk-devel"
31650 echo "$as_me: failed program was:" >&5
31651 sed 's/^/| /' conftest.$ac_ext >&5
31653 echo "*** The test program failed to compile or link. See the file config.log for the"
31654 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31655 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31656 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31660 conftest$ac_exeext conftest.$ac_ext
31661 CFLAGS="$ac_save_CFLAGS"
31662 LIBS="$ac_save_LIBS"
31677 if test -z "$wx_cv_lib_gtk"; then
31680 wx_cv_cflags_gtk=$GTK_CFLAGS
31681 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31688 if test "$gtk_version_cached" = 1; then
31689 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31690 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31693 case "$wx_cv_lib_gtk" in
31702 *) { { echo "$as_me:$LINENO: error:
31703 The development files for GTK+ were not found. For GTK+ 2, please
31704 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31705 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31706 and that the version is 1.2.3 or above. Also check that the
31707 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31708 --libs' are in the LD_LIBRARY_PATH or equivalent.
31710 echo "$as_me: error:
31711 The development files for GTK+ were not found. For GTK+ 2, please
31712 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31713 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31714 and that the version is 1.2.3 or above. Also check that the
31715 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31716 --libs' are in the LD_LIBRARY_PATH or equivalent.
31718 { (exit 1); exit 1; }; }
31722 if test "$WXGTK20" = 1; then
31723 save_CFLAGS="$CFLAGS"
31725 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31726 LIBS="$LIBS $wx_cv_libs_gtk"
31728 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31729 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31730 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31731 echo $ECHO_N "(cached) $ECHO_C" >&6
31733 cat >conftest.$ac_ext <<_ACEOF
31736 cat confdefs.h >>conftest.$ac_ext
31737 cat >>conftest.$ac_ext <<_ACEOF
31738 /* end confdefs.h. */
31739 #include <gtk/gtk.h>
31744 #ifndef gtk_icon_size_lookup
31745 (void) gtk_icon_size_lookup;
31752 rm -f conftest.$ac_objext
31753 if { (ac_try="$ac_compile"
31754 case "(($ac_try" in
31755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31756 *) ac_try_echo=$ac_try;;
31758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31759 (eval "$ac_compile") 2>conftest.er1
31761 grep -v '^ *+' conftest.er1 >conftest.err
31763 cat conftest.err >&5
31764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31765 (exit $ac_status); } && {
31766 test -z "$ac_c_werror_flag" ||
31767 test ! -s conftest.err
31768 } && test -s conftest.$ac_objext; then
31769 ac_cv_have_decl_gtk_icon_size_lookup=yes
31771 echo "$as_me: failed program was:" >&5
31772 sed 's/^/| /' conftest.$ac_ext >&5
31774 ac_cv_have_decl_gtk_icon_size_lookup=no
31777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31779 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31780 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31781 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31783 cat >>confdefs.h <<_ACEOF
31784 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31789 cat >>confdefs.h <<_ACEOF
31790 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31793 cat >>confdefs.h <<\_ACEOF
31794 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31802 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31803 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31804 cat >conftest.$ac_ext <<_ACEOF
31807 cat confdefs.h >>conftest.$ac_ext
31808 cat >>conftest.$ac_ext <<_ACEOF
31809 /* end confdefs.h. */
31811 #include <gtk/gtk.h>
31817 #if !GTK_CHECK_VERSION(2,10,0)
31825 rm -f conftest.$ac_objext
31826 if { (ac_try="$ac_compile"
31827 case "(($ac_try" in
31828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31829 *) ac_try_echo=$ac_try;;
31831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31832 (eval "$ac_compile") 2>conftest.er1
31834 grep -v '^ *+' conftest.er1 >conftest.err
31836 cat conftest.err >&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); } && {
31839 test -z "$ac_c_werror_flag" ||
31840 test ! -s conftest.err
31841 } && test -s conftest.$ac_objext; then
31843 cat >>confdefs.h <<\_ACEOF
31844 #define __WXGTK210__ 1
31847 cat >>confdefs.h <<\_ACEOF
31848 #define __WXGTK26__ 1
31851 cat >>confdefs.h <<\_ACEOF
31852 #define __WXGTK24__ 1
31855 { echo "$as_me:$LINENO: result: yes" >&5
31856 echo "${ECHO_T}yes" >&6; }
31860 echo "$as_me: failed program was:" >&5
31861 sed 's/^/| /' conftest.$ac_ext >&5
31864 { echo "$as_me:$LINENO: result: no" >&5
31865 echo "${ECHO_T}no" >&6; }
31870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31872 if test "$ac_wxgtk210" = 0; then
31873 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31874 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31875 cat >conftest.$ac_ext <<_ACEOF
31878 cat confdefs.h >>conftest.$ac_ext
31879 cat >>conftest.$ac_ext <<_ACEOF
31880 /* end confdefs.h. */
31882 #include <gtk/gtk.h>
31888 #if !GTK_CHECK_VERSION(2,6,0)
31896 rm -f conftest.$ac_objext
31897 if { (ac_try="$ac_compile"
31898 case "(($ac_try" in
31899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31900 *) ac_try_echo=$ac_try;;
31902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31903 (eval "$ac_compile") 2>conftest.er1
31905 grep -v '^ *+' conftest.er1 >conftest.err
31907 cat conftest.err >&5
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); } && {
31910 test -z "$ac_c_werror_flag" ||
31911 test ! -s conftest.err
31912 } && test -s conftest.$ac_objext; then
31914 cat >>confdefs.h <<\_ACEOF
31915 #define __WXGTK26__ 1
31918 cat >>confdefs.h <<\_ACEOF
31919 #define __WXGTK24__ 1
31922 { echo "$as_me:$LINENO: result: yes" >&5
31923 echo "${ECHO_T}yes" >&6; }
31927 echo "$as_me: failed program was:" >&5
31928 sed 's/^/| /' conftest.$ac_ext >&5
31931 { echo "$as_me:$LINENO: result: no" >&5
31932 echo "${ECHO_T}no" >&6; }
31937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31940 if test "$ac_wxgtk26" = 0; then
31941 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31942 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31943 cat >conftest.$ac_ext <<_ACEOF
31946 cat confdefs.h >>conftest.$ac_ext
31947 cat >>conftest.$ac_ext <<_ACEOF
31948 /* end confdefs.h. */
31950 #include <gtk/gtk.h>
31956 #if !GTK_CHECK_VERSION(2,4,0)
31964 rm -f conftest.$ac_objext
31965 if { (ac_try="$ac_compile"
31966 case "(($ac_try" in
31967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31968 *) ac_try_echo=$ac_try;;
31970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31971 (eval "$ac_compile") 2>conftest.er1
31973 grep -v '^ *+' conftest.er1 >conftest.err
31975 cat conftest.err >&5
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); } && {
31978 test -z "$ac_c_werror_flag" ||
31979 test ! -s conftest.err
31980 } && test -s conftest.$ac_objext; then
31982 cat >>confdefs.h <<\_ACEOF
31983 #define __WXGTK24__ 1
31986 { echo "$as_me:$LINENO: result: yes" >&5
31987 echo "${ECHO_T}yes" >&6; }
31990 echo "$as_me: failed program was:" >&5
31991 sed 's/^/| /' conftest.$ac_ext >&5
31994 { echo "$as_me:$LINENO: result: no" >&5
31995 echo "${ECHO_T}no" >&6; }
31999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32002 CFLAGS="$save_CFLAGS"
32005 if test "$wxUSE_UNICODE" = "yes"; then
32006 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
32007 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
32011 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
32012 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
32013 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
32014 echo $ECHO_N "(cached) $ECHO_C" >&6
32016 ac_check_lib_save_LIBS=$LIBS
32018 cat >conftest.$ac_ext <<_ACEOF
32021 cat confdefs.h >>conftest.$ac_ext
32022 cat >>conftest.$ac_ext <<_ACEOF
32023 /* end confdefs.h. */
32025 /* Override any GCC internal prototype to avoid an error.
32026 Use char because int might match the return type of a GCC
32027 builtin and then its argument prototype would still apply. */
32031 char gdk_im_open ();
32035 return gdk_im_open ();
32040 rm -f conftest.$ac_objext conftest$ac_exeext
32041 if { (ac_try="$ac_link"
32042 case "(($ac_try" in
32043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32044 *) ac_try_echo=$ac_try;;
32046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32047 (eval "$ac_link") 2>conftest.er1
32049 grep -v '^ *+' conftest.er1 >conftest.err
32051 cat conftest.err >&5
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); } && {
32054 test -z "$ac_c_werror_flag" ||
32055 test ! -s conftest.err
32056 } && test -s conftest$ac_exeext &&
32057 $as_test_x conftest$ac_exeext; then
32058 ac_cv_lib_gdk_gdk_im_open=yes
32060 echo "$as_me: failed program was:" >&5
32061 sed 's/^/| /' conftest.$ac_ext >&5
32063 ac_cv_lib_gdk_gdk_im_open=no
32066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32067 conftest$ac_exeext conftest.$ac_ext
32068 LIBS=$ac_check_lib_save_LIBS
32070 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
32071 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
32072 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
32073 cat >>confdefs.h <<\_ACEOF
32080 if test "$USE_DARWIN" != 1; then
32082 for ac_func in poll
32084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32085 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32087 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32088 echo $ECHO_N "(cached) $ECHO_C" >&6
32090 cat >conftest.$ac_ext <<_ACEOF
32093 cat confdefs.h >>conftest.$ac_ext
32094 cat >>conftest.$ac_ext <<_ACEOF
32095 /* end confdefs.h. */
32096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32098 #define $ac_func innocuous_$ac_func
32100 /* System header to define __stub macros and hopefully few prototypes,
32101 which can conflict with char $ac_func (); below.
32102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32103 <limits.h> exists even on freestanding compilers. */
32106 # include <limits.h>
32108 # include <assert.h>
32113 /* Override any GCC internal prototype to avoid an error.
32114 Use char because int might match the return type of a GCC
32115 builtin and then its argument prototype would still apply. */
32120 /* The GNU C library defines this for functions which it implements
32121 to always fail with ENOSYS. Some functions are actually named
32122 something starting with __ and the normal name is an alias. */
32123 #if defined __stub_$ac_func || defined __stub___$ac_func
32130 return $ac_func ();
32135 rm -f conftest.$ac_objext conftest$ac_exeext
32136 if { (ac_try="$ac_link"
32137 case "(($ac_try" in
32138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32139 *) ac_try_echo=$ac_try;;
32141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32142 (eval "$ac_link") 2>conftest.er1
32144 grep -v '^ *+' conftest.er1 >conftest.err
32146 cat conftest.err >&5
32147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32148 (exit $ac_status); } && {
32149 test -z "$ac_c_werror_flag" ||
32150 test ! -s conftest.err
32151 } && test -s conftest$ac_exeext &&
32152 $as_test_x conftest$ac_exeext; then
32153 eval "$as_ac_var=yes"
32155 echo "$as_me: failed program was:" >&5
32156 sed 's/^/| /' conftest.$ac_ext >&5
32158 eval "$as_ac_var=no"
32161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32162 conftest$ac_exeext conftest.$ac_ext
32164 ac_res=`eval echo '${'$as_ac_var'}'`
32165 { echo "$as_me:$LINENO: result: $ac_res" >&5
32166 echo "${ECHO_T}$ac_res" >&6; }
32167 if test `eval echo '${'$as_ac_var'}'` = yes; then
32168 cat >>confdefs.h <<_ACEOF
32169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32178 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32179 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32181 AFMINSTALL=afminstall
32185 if test "$wxUSE_GPE" = "yes"; then
32186 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32187 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32190 for ac_dir in $SEARCH_LIB;
32192 for ac_extension in a so sl dylib dll.a; do
32193 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32194 ac_find_libraries=$ac_dir
32200 if test "$ac_find_libraries" != "" ; then
32202 if test "$ac_find_libraries" = "default location"; then
32205 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32207 if test $result = 0; then
32210 ac_path_to_link=" -L$ac_find_libraries"
32214 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32216 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32217 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32219 { echo "$as_me:$LINENO: result: not found" >&5
32220 echo "${ECHO_T}not found" >&6; }
32226 if test "$wxUSE_MGL" = 1; then
32227 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32228 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32229 if test "x$MGL_ROOT" = x ; then
32230 { echo "$as_me:$LINENO: result: not found" >&5
32231 echo "${ECHO_T}not found" >&6; }
32232 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32233 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32234 { (exit 1); exit 1; }; }
32236 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32237 echo "${ECHO_T}$MGL_ROOT" >&6; }
32240 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32241 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32244 if test "x$wxUSE_SHARED" = xyes ; then
32245 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32247 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32251 mgl_os_candidates="dos32/dj2"
32254 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32255 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32256 { (exit 1); exit 1; }; }
32262 for mgl_os_i in $mgl_os_candidates ; do
32263 if test "x$mgl_os" = x ; then
32264 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32265 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32266 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32271 if test "x$mgl_lib_type" = x ; then
32272 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32273 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32274 mgl_lib_type=release
32281 if test "x$mgl_os" = x ; then
32282 { echo "$as_me:$LINENO: result: not found" >&5
32283 echo "${ECHO_T}not found" >&6; }
32284 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32285 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32286 { (exit 1); exit 1; }; }
32288 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32289 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32291 wxUSE_UNIVERSAL="yes"
32293 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32294 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32296 AFMINSTALL=afminstall
32301 if test "$wxUSE_DFB" = 1; then
32304 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32305 if test -n "$ac_tool_prefix"; then
32306 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32307 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32310 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32311 echo $ECHO_N "(cached) $ECHO_C" >&6
32313 case $PKG_CONFIG in
32315 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32319 for as_dir in $PATH
32322 test -z "$as_dir" && as_dir=.
32323 for ac_exec_ext in '' $ac_executable_extensions; do
32324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32325 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32336 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32337 if test -n "$PKG_CONFIG"; then
32338 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32339 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32341 { echo "$as_me:$LINENO: result: no" >&5
32342 echo "${ECHO_T}no" >&6; }
32347 if test -z "$ac_cv_path_PKG_CONFIG"; then
32348 ac_pt_PKG_CONFIG=$PKG_CONFIG
32349 # Extract the first word of "pkg-config", so it can be a program name with args.
32350 set dummy pkg-config; ac_word=$2
32351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32353 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32354 echo $ECHO_N "(cached) $ECHO_C" >&6
32356 case $ac_pt_PKG_CONFIG in
32358 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32362 for as_dir in $PATH
32365 test -z "$as_dir" && as_dir=.
32366 for ac_exec_ext in '' $ac_executable_extensions; do
32367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32368 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32379 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32380 if test -n "$ac_pt_PKG_CONFIG"; then
32381 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32382 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32384 { echo "$as_me:$LINENO: result: no" >&5
32385 echo "${ECHO_T}no" >&6; }
32388 if test "x$ac_pt_PKG_CONFIG" = x; then
32391 case $cross_compiling:$ac_tool_warned in
32393 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32394 whose name does not start with the host triplet. If you think this
32395 configuration is useful to you, please write to autoconf@gnu.org." >&5
32396 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32397 whose name does not start with the host triplet. If you think this
32398 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32399 ac_tool_warned=yes ;;
32401 PKG_CONFIG=$ac_pt_PKG_CONFIG
32404 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32408 if test -n "$PKG_CONFIG"; then
32409 _pkg_min_version=0.9.0
32410 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32411 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32412 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32413 { echo "$as_me:$LINENO: result: yes" >&5
32414 echo "${ECHO_T}yes" >&6; }
32416 { echo "$as_me:$LINENO: result: no" >&5
32417 echo "${ECHO_T}no" >&6; }
32425 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32426 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32428 if test -n "$PKG_CONFIG"; then
32429 if test -n "$DIRECTFB_CFLAGS"; then
32430 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32432 if test -n "$PKG_CONFIG" && \
32433 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32434 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); }; then
32438 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32446 if test -n "$PKG_CONFIG"; then
32447 if test -n "$DIRECTFB_LIBS"; then
32448 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32450 if test -n "$PKG_CONFIG" && \
32451 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32452 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32455 (exit $ac_status); }; then
32456 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32467 if test $pkg_failed = yes; then
32469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32470 _pkg_short_errors_supported=yes
32472 _pkg_short_errors_supported=no
32474 if test $_pkg_short_errors_supported = yes; then
32475 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32477 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32479 # Put the nasty error message in config.log where it belongs
32480 echo "$DIRECTFB_PKG_ERRORS" >&5
32483 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32484 echo "$as_me: error: DirectFB not found." >&2;}
32485 { (exit 1); exit 1; }; }
32488 elif test $pkg_failed = untried; then
32490 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32491 echo "$as_me: error: DirectFB not found." >&2;}
32492 { (exit 1); exit 1; }; }
32496 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32497 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32498 { echo "$as_me:$LINENO: result: yes" >&5
32499 echo "${ECHO_T}yes" >&6; }
32501 wxUSE_UNIVERSAL="yes"
32502 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32503 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32510 if test "$wxUSE_MICROWIN" = 1; then
32511 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32512 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32513 if test "x$MICROWINDOWS" = x ; then
32514 { echo "$as_me:$LINENO: result: not found" >&5
32515 echo "${ECHO_T}not found" >&6; }
32516 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32517 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32518 { (exit 1); exit 1; }; }
32520 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32521 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32524 if test -f $MICROWINDOWS/lib/libmwin.a; then
32525 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32526 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32528 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32529 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32530 { (exit 1); exit 1; }; }
32533 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32534 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32536 wxUSE_UNIVERSAL="yes"
32538 AFMINSTALL=afminstall
32540 GUIDIST=MICROWIN_DIST
32542 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32545 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32546 { echo "$as_me:$LINENO: checking for X" >&5
32547 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32550 # Check whether --with-x was given.
32551 if test "${with_x+set}" = set; then
32555 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32556 if test "x$with_x" = xno; then
32557 # The user explicitly disabled X.
32560 case $x_includes,$x_libraries in #(
32561 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32562 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32563 { (exit 1); exit 1; }; };; #(
32564 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32565 echo $ECHO_N "(cached) $ECHO_C" >&6
32567 # One or both of the vars are not set, and there is no cached value.
32568 ac_x_includes=no ac_x_libraries=no
32569 rm -f -r conftest.dir
32570 if mkdir conftest.dir; then
32572 cat >Imakefile <<'_ACEOF'
32574 @echo incroot='${INCROOT}'
32576 @echo usrlibdir='${USRLIBDIR}'
32578 @echo libdir='${LIBDIR}'
32580 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32581 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32582 for ac_var in incroot usrlibdir libdir; do
32583 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32585 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32586 for ac_extension in a so sl; do
32587 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32588 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32589 ac_im_usrlibdir=$ac_im_libdir; break
32592 # Screen out bogus values from the imake configuration. They are
32593 # bogus both because they are the default anyway, and because
32594 # using them would break gcc on systems where it needs fixed includes.
32595 case $ac_im_incroot in
32596 /usr/include) ac_x_includes= ;;
32597 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32599 case $ac_im_usrlibdir in
32600 /usr/lib | /lib) ;;
32601 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32605 rm -f -r conftest.dir
32608 # Standard set of common directories for X headers.
32609 # Check X11 before X11Rn because it is often a symlink to the current release.
32621 /usr/local/X11/include
32622 /usr/local/X11R6/include
32623 /usr/local/X11R5/include
32624 /usr/local/X11R4/include
32626 /usr/local/include/X11
32627 /usr/local/include/X11R6
32628 /usr/local/include/X11R5
32629 /usr/local/include/X11R4
32633 /usr/XFree86/include/X11
32637 /usr/unsupported/include
32638 /usr/athena/include
32639 /usr/local/x11r5/include
32640 /usr/lpp/Xamples/include
32642 /usr/openwin/include
32643 /usr/openwin/share/include'
32645 if test "$ac_x_includes" = no; then
32646 # Guess where to find include files, by looking for Xlib.h.
32647 # First, try using that file with no special directory specified.
32648 cat >conftest.$ac_ext <<_ACEOF
32651 cat confdefs.h >>conftest.$ac_ext
32652 cat >>conftest.$ac_ext <<_ACEOF
32653 /* end confdefs.h. */
32654 #include <X11/Xlib.h>
32656 if { (ac_try="$ac_cpp conftest.$ac_ext"
32657 case "(($ac_try" in
32658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32659 *) ac_try_echo=$ac_try;;
32661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32664 grep -v '^ *+' conftest.er1 >conftest.err
32666 cat conftest.err >&5
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); } >/dev/null && {
32669 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32670 test ! -s conftest.err
32672 # We can compile using X headers with no special include directory.
32675 echo "$as_me: failed program was:" >&5
32676 sed 's/^/| /' conftest.$ac_ext >&5
32678 for ac_dir in $ac_x_header_dirs; do
32679 if test -r "$ac_dir/X11/Xlib.h"; then
32680 ac_x_includes=$ac_dir
32686 rm -f conftest.err conftest.$ac_ext
32687 fi # $ac_x_includes = no
32689 if test "$ac_x_libraries" = no; then
32690 # Check for the libraries.
32691 # See if we find them without any special options.
32692 # Don't add to $LIBS permanently.
32695 cat >conftest.$ac_ext <<_ACEOF
32698 cat confdefs.h >>conftest.$ac_ext
32699 cat >>conftest.$ac_ext <<_ACEOF
32700 /* end confdefs.h. */
32701 #include <X11/Xlib.h>
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
32729 # We can link X programs with no special library path.
32732 echo "$as_me: failed program was:" >&5
32733 sed 's/^/| /' conftest.$ac_ext >&5
32736 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32738 # Don't even attempt the hair of trying to link an X program!
32739 for ac_extension in a so sl; do
32740 if test -r "$ac_dir/libX11.$ac_extension"; then
32741 ac_x_libraries=$ac_dir
32748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32749 conftest$ac_exeext conftest.$ac_ext
32750 fi # $ac_x_libraries = no
32752 case $ac_x_includes,$ac_x_libraries in #(
32753 no,* | *,no | *\'*)
32754 # Didn't find X, or a directory has "'" in its name.
32755 ac_cv_have_x="have_x=no";; #(
32757 # Record where we found X for the cache.
32758 ac_cv_have_x="have_x=yes\
32759 ac_x_includes='$ac_x_includes'\
32760 ac_x_libraries='$ac_x_libraries'"
32766 eval "$ac_cv_have_x"
32769 if test "$have_x" != yes; then
32770 { echo "$as_me:$LINENO: result: $have_x" >&5
32771 echo "${ECHO_T}$have_x" >&6; }
32774 # If each of the values was on the command line, it overrides each guess.
32775 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32776 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32777 # Update the cache value to reflect the command line values.
32778 ac_cv_have_x="have_x=yes\
32779 ac_x_includes='$x_includes'\
32780 ac_x_libraries='$x_libraries'"
32781 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32782 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32785 if test "$no_x" = yes; then
32786 # Not all programs may use this symbol, but it does not hurt to define it.
32788 cat >>confdefs.h <<\_ACEOF
32789 #define X_DISPLAY_MISSING 1
32792 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32794 if test -n "$x_includes"; then
32795 X_CFLAGS="$X_CFLAGS -I$x_includes"
32798 # It would also be nice to do this for all -L options, not just this one.
32799 if test -n "$x_libraries"; then
32800 X_LIBS="$X_LIBS -L$x_libraries"
32801 # For Solaris; some versions of Sun CC require a space after -R and
32802 # others require no space. Words are not sufficient . . . .
32803 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32804 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32805 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32806 ac_xsave_c_werror_flag=$ac_c_werror_flag
32807 ac_c_werror_flag=yes
32808 cat >conftest.$ac_ext <<_ACEOF
32811 cat confdefs.h >>conftest.$ac_ext
32812 cat >>conftest.$ac_ext <<_ACEOF
32813 /* end confdefs.h. */
32823 rm -f conftest.$ac_objext conftest$ac_exeext
32824 if { (ac_try="$ac_link"
32825 case "(($ac_try" in
32826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32827 *) ac_try_echo=$ac_try;;
32829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32830 (eval "$ac_link") 2>conftest.er1
32832 grep -v '^ *+' conftest.er1 >conftest.err
32834 cat conftest.err >&5
32835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32836 (exit $ac_status); } && {
32837 test -z "$ac_c_werror_flag" ||
32838 test ! -s conftest.err
32839 } && test -s conftest$ac_exeext &&
32840 $as_test_x conftest$ac_exeext; then
32841 { echo "$as_me:$LINENO: result: no" >&5
32842 echo "${ECHO_T}no" >&6; }
32843 X_LIBS="$X_LIBS -R$x_libraries"
32845 echo "$as_me: failed program was:" >&5
32846 sed 's/^/| /' conftest.$ac_ext >&5
32848 LIBS="$ac_xsave_LIBS -R $x_libraries"
32849 cat >conftest.$ac_ext <<_ACEOF
32852 cat confdefs.h >>conftest.$ac_ext
32853 cat >>conftest.$ac_ext <<_ACEOF
32854 /* end confdefs.h. */
32864 rm -f conftest.$ac_objext conftest$ac_exeext
32865 if { (ac_try="$ac_link"
32866 case "(($ac_try" in
32867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32868 *) ac_try_echo=$ac_try;;
32870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32871 (eval "$ac_link") 2>conftest.er1
32873 grep -v '^ *+' conftest.er1 >conftest.err
32875 cat conftest.err >&5
32876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32877 (exit $ac_status); } && {
32878 test -z "$ac_c_werror_flag" ||
32879 test ! -s conftest.err
32880 } && test -s conftest$ac_exeext &&
32881 $as_test_x conftest$ac_exeext; then
32882 { echo "$as_me:$LINENO: result: yes" >&5
32883 echo "${ECHO_T}yes" >&6; }
32884 X_LIBS="$X_LIBS -R $x_libraries"
32886 echo "$as_me: failed program was:" >&5
32887 sed 's/^/| /' conftest.$ac_ext >&5
32889 { echo "$as_me:$LINENO: result: neither works" >&5
32890 echo "${ECHO_T}neither works" >&6; }
32893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32894 conftest$ac_exeext conftest.$ac_ext
32897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32898 conftest$ac_exeext conftest.$ac_ext
32899 ac_c_werror_flag=$ac_xsave_c_werror_flag
32900 LIBS=$ac_xsave_LIBS
32903 # Check for system-dependent libraries X programs must link with.
32904 # Do this before checking for the system-independent R6 libraries
32905 # (-lICE), since we may need -lsocket or whatever for X linking.
32907 if test "$ISC" = yes; then
32908 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32910 # Martyn Johnson says this is needed for Ultrix, if the X
32911 # libraries were built with DECnet support. And Karl Berry says
32912 # the Alpha needs dnet_stub (dnet does not exist).
32913 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32914 cat >conftest.$ac_ext <<_ACEOF
32917 cat confdefs.h >>conftest.$ac_ext
32918 cat >>conftest.$ac_ext <<_ACEOF
32919 /* end confdefs.h. */
32921 /* Override any GCC internal prototype to avoid an error.
32922 Use char because int might match the return type of a GCC
32923 builtin and then its argument prototype would still apply. */
32927 char XOpenDisplay ();
32931 return XOpenDisplay ();
32936 rm -f conftest.$ac_objext conftest$ac_exeext
32937 if { (ac_try="$ac_link"
32938 case "(($ac_try" in
32939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32940 *) ac_try_echo=$ac_try;;
32942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32943 (eval "$ac_link") 2>conftest.er1
32945 grep -v '^ *+' conftest.er1 >conftest.err
32947 cat conftest.err >&5
32948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32949 (exit $ac_status); } && {
32950 test -z "$ac_c_werror_flag" ||
32951 test ! -s conftest.err
32952 } && test -s conftest$ac_exeext &&
32953 $as_test_x conftest$ac_exeext; then
32956 echo "$as_me: failed program was:" >&5
32957 sed 's/^/| /' conftest.$ac_ext >&5
32959 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32960 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32961 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32962 echo $ECHO_N "(cached) $ECHO_C" >&6
32964 ac_check_lib_save_LIBS=$LIBS
32965 LIBS="-ldnet $LIBS"
32966 cat >conftest.$ac_ext <<_ACEOF
32969 cat confdefs.h >>conftest.$ac_ext
32970 cat >>conftest.$ac_ext <<_ACEOF
32971 /* end confdefs.h. */
32973 /* Override any GCC internal prototype to avoid an error.
32974 Use char because int might match the return type of a GCC
32975 builtin and then its argument prototype would still apply. */
32983 return dnet_ntoa ();
32988 rm -f conftest.$ac_objext conftest$ac_exeext
32989 if { (ac_try="$ac_link"
32990 case "(($ac_try" in
32991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32992 *) ac_try_echo=$ac_try;;
32994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32995 (eval "$ac_link") 2>conftest.er1
32997 grep -v '^ *+' conftest.er1 >conftest.err
32999 cat conftest.err >&5
33000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33001 (exit $ac_status); } && {
33002 test -z "$ac_c_werror_flag" ||
33003 test ! -s conftest.err
33004 } && test -s conftest$ac_exeext &&
33005 $as_test_x conftest$ac_exeext; then
33006 ac_cv_lib_dnet_dnet_ntoa=yes
33008 echo "$as_me: failed program was:" >&5
33009 sed 's/^/| /' conftest.$ac_ext >&5
33011 ac_cv_lib_dnet_dnet_ntoa=no
33014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33015 conftest$ac_exeext conftest.$ac_ext
33016 LIBS=$ac_check_lib_save_LIBS
33018 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
33019 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
33020 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
33021 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
33024 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
33025 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
33026 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
33027 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
33028 echo $ECHO_N "(cached) $ECHO_C" >&6
33030 ac_check_lib_save_LIBS=$LIBS
33031 LIBS="-ldnet_stub $LIBS"
33032 cat >conftest.$ac_ext <<_ACEOF
33035 cat confdefs.h >>conftest.$ac_ext
33036 cat >>conftest.$ac_ext <<_ACEOF
33037 /* end confdefs.h. */
33039 /* Override any GCC internal prototype to avoid an error.
33040 Use char because int might match the return type of a GCC
33041 builtin and then its argument prototype would still apply. */
33049 return dnet_ntoa ();
33054 rm -f conftest.$ac_objext conftest$ac_exeext
33055 if { (ac_try="$ac_link"
33056 case "(($ac_try" in
33057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33058 *) ac_try_echo=$ac_try;;
33060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33061 (eval "$ac_link") 2>conftest.er1
33063 grep -v '^ *+' conftest.er1 >conftest.err
33065 cat conftest.err >&5
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); } && {
33068 test -z "$ac_c_werror_flag" ||
33069 test ! -s conftest.err
33070 } && test -s conftest$ac_exeext &&
33071 $as_test_x conftest$ac_exeext; then
33072 ac_cv_lib_dnet_stub_dnet_ntoa=yes
33074 echo "$as_me: failed program was:" >&5
33075 sed 's/^/| /' conftest.$ac_ext >&5
33077 ac_cv_lib_dnet_stub_dnet_ntoa=no
33080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33081 conftest$ac_exeext conftest.$ac_ext
33082 LIBS=$ac_check_lib_save_LIBS
33084 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
33085 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
33086 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
33087 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
33093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33094 conftest$ac_exeext conftest.$ac_ext
33095 LIBS="$ac_xsave_LIBS"
33097 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33098 # to get the SysV transport functions.
33099 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33101 # The nsl library prevents programs from opening the X display
33102 # on Irix 5.2, according to T.E. Dickey.
33103 # The functions gethostbyname, getservbyname, and inet_addr are
33104 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33105 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33106 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33107 if test "${ac_cv_func_gethostbyname+set}" = set; then
33108 echo $ECHO_N "(cached) $ECHO_C" >&6
33110 cat >conftest.$ac_ext <<_ACEOF
33113 cat confdefs.h >>conftest.$ac_ext
33114 cat >>conftest.$ac_ext <<_ACEOF
33115 /* end confdefs.h. */
33116 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33118 #define gethostbyname innocuous_gethostbyname
33120 /* System header to define __stub macros and hopefully few prototypes,
33121 which can conflict with char gethostbyname (); below.
33122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33123 <limits.h> exists even on freestanding compilers. */
33126 # include <limits.h>
33128 # include <assert.h>
33131 #undef gethostbyname
33133 /* Override any GCC internal prototype to avoid an error.
33134 Use char because int might match the return type of a GCC
33135 builtin and then its argument prototype would still apply. */
33139 char gethostbyname ();
33140 /* The GNU C library defines this for functions which it implements
33141 to always fail with ENOSYS. Some functions are actually named
33142 something starting with __ and the normal name is an alias. */
33143 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33150 return gethostbyname ();
33155 rm -f conftest.$ac_objext conftest$ac_exeext
33156 if { (ac_try="$ac_link"
33157 case "(($ac_try" in
33158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33159 *) ac_try_echo=$ac_try;;
33161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33162 (eval "$ac_link") 2>conftest.er1
33164 grep -v '^ *+' conftest.er1 >conftest.err
33166 cat conftest.err >&5
33167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33168 (exit $ac_status); } && {
33169 test -z "$ac_c_werror_flag" ||
33170 test ! -s conftest.err
33171 } && test -s conftest$ac_exeext &&
33172 $as_test_x conftest$ac_exeext; then
33173 ac_cv_func_gethostbyname=yes
33175 echo "$as_me: failed program was:" >&5
33176 sed 's/^/| /' conftest.$ac_ext >&5
33178 ac_cv_func_gethostbyname=no
33181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33182 conftest$ac_exeext conftest.$ac_ext
33184 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33185 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33187 if test $ac_cv_func_gethostbyname = no; then
33188 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33189 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33190 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33191 echo $ECHO_N "(cached) $ECHO_C" >&6
33193 ac_check_lib_save_LIBS=$LIBS
33195 cat >conftest.$ac_ext <<_ACEOF
33198 cat confdefs.h >>conftest.$ac_ext
33199 cat >>conftest.$ac_ext <<_ACEOF
33200 /* end confdefs.h. */
33202 /* Override any GCC internal prototype to avoid an error.
33203 Use char because int might match the return type of a GCC
33204 builtin and then its argument prototype would still apply. */
33208 char gethostbyname ();
33212 return gethostbyname ();
33217 rm -f conftest.$ac_objext conftest$ac_exeext
33218 if { (ac_try="$ac_link"
33219 case "(($ac_try" in
33220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33221 *) ac_try_echo=$ac_try;;
33223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33224 (eval "$ac_link") 2>conftest.er1
33226 grep -v '^ *+' conftest.er1 >conftest.err
33228 cat conftest.err >&5
33229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33230 (exit $ac_status); } && {
33231 test -z "$ac_c_werror_flag" ||
33232 test ! -s conftest.err
33233 } && test -s conftest$ac_exeext &&
33234 $as_test_x conftest$ac_exeext; then
33235 ac_cv_lib_nsl_gethostbyname=yes
33237 echo "$as_me: failed program was:" >&5
33238 sed 's/^/| /' conftest.$ac_ext >&5
33240 ac_cv_lib_nsl_gethostbyname=no
33243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33244 conftest$ac_exeext conftest.$ac_ext
33245 LIBS=$ac_check_lib_save_LIBS
33247 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33248 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33249 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33250 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33253 if test $ac_cv_lib_nsl_gethostbyname = no; then
33254 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33255 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33256 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33257 echo $ECHO_N "(cached) $ECHO_C" >&6
33259 ac_check_lib_save_LIBS=$LIBS
33261 cat >conftest.$ac_ext <<_ACEOF
33264 cat confdefs.h >>conftest.$ac_ext
33265 cat >>conftest.$ac_ext <<_ACEOF
33266 /* end confdefs.h. */
33268 /* Override any GCC internal prototype to avoid an error.
33269 Use char because int might match the return type of a GCC
33270 builtin and then its argument prototype would still apply. */
33274 char gethostbyname ();
33278 return gethostbyname ();
33283 rm -f conftest.$ac_objext conftest$ac_exeext
33284 if { (ac_try="$ac_link"
33285 case "(($ac_try" in
33286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33287 *) ac_try_echo=$ac_try;;
33289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33290 (eval "$ac_link") 2>conftest.er1
33292 grep -v '^ *+' conftest.er1 >conftest.err
33294 cat conftest.err >&5
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); } && {
33297 test -z "$ac_c_werror_flag" ||
33298 test ! -s conftest.err
33299 } && test -s conftest$ac_exeext &&
33300 $as_test_x conftest$ac_exeext; then
33301 ac_cv_lib_bsd_gethostbyname=yes
33303 echo "$as_me: failed program was:" >&5
33304 sed 's/^/| /' conftest.$ac_ext >&5
33306 ac_cv_lib_bsd_gethostbyname=no
33309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33310 conftest$ac_exeext conftest.$ac_ext
33311 LIBS=$ac_check_lib_save_LIBS
33313 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33314 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33315 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33316 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33322 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33323 # socket/setsockopt and other routines are undefined under SCO ODT
33324 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33325 # on later versions), says Simon Leinen: it contains gethostby*
33326 # variants that don't use the name server (or something). -lsocket
33327 # must be given before -lnsl if both are needed. We assume that
33328 # if connect needs -lnsl, so does gethostbyname.
33329 { echo "$as_me:$LINENO: checking for connect" >&5
33330 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33331 if test "${ac_cv_func_connect+set}" = set; then
33332 echo $ECHO_N "(cached) $ECHO_C" >&6
33334 cat >conftest.$ac_ext <<_ACEOF
33337 cat confdefs.h >>conftest.$ac_ext
33338 cat >>conftest.$ac_ext <<_ACEOF
33339 /* end confdefs.h. */
33340 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33342 #define connect innocuous_connect
33344 /* System header to define __stub macros and hopefully few prototypes,
33345 which can conflict with char connect (); below.
33346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33347 <limits.h> exists even on freestanding compilers. */
33350 # include <limits.h>
33352 # include <assert.h>
33357 /* Override any GCC internal prototype to avoid an error.
33358 Use char because int might match the return type of a GCC
33359 builtin and then its argument prototype would still apply. */
33364 /* The GNU C library defines this for functions which it implements
33365 to always fail with ENOSYS. Some functions are actually named
33366 something starting with __ and the normal name is an alias. */
33367 #if defined __stub_connect || defined __stub___connect
33379 rm -f conftest.$ac_objext conftest$ac_exeext
33380 if { (ac_try="$ac_link"
33381 case "(($ac_try" in
33382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33383 *) ac_try_echo=$ac_try;;
33385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33386 (eval "$ac_link") 2>conftest.er1
33388 grep -v '^ *+' conftest.er1 >conftest.err
33390 cat conftest.err >&5
33391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33392 (exit $ac_status); } && {
33393 test -z "$ac_c_werror_flag" ||
33394 test ! -s conftest.err
33395 } && test -s conftest$ac_exeext &&
33396 $as_test_x conftest$ac_exeext; then
33397 ac_cv_func_connect=yes
33399 echo "$as_me: failed program was:" >&5
33400 sed 's/^/| /' conftest.$ac_ext >&5
33402 ac_cv_func_connect=no
33405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33406 conftest$ac_exeext conftest.$ac_ext
33408 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33409 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33411 if test $ac_cv_func_connect = no; then
33412 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33413 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33414 if test "${ac_cv_lib_socket_connect+set}" = set; then
33415 echo $ECHO_N "(cached) $ECHO_C" >&6
33417 ac_check_lib_save_LIBS=$LIBS
33418 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33419 cat >conftest.$ac_ext <<_ACEOF
33422 cat confdefs.h >>conftest.$ac_ext
33423 cat >>conftest.$ac_ext <<_ACEOF
33424 /* end confdefs.h. */
33426 /* Override any GCC internal prototype to avoid an error.
33427 Use char because int might match the return type of a GCC
33428 builtin and then its argument prototype would still apply. */
33441 rm -f conftest.$ac_objext conftest$ac_exeext
33442 if { (ac_try="$ac_link"
33443 case "(($ac_try" in
33444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33445 *) ac_try_echo=$ac_try;;
33447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33448 (eval "$ac_link") 2>conftest.er1
33450 grep -v '^ *+' conftest.er1 >conftest.err
33452 cat conftest.err >&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); } && {
33455 test -z "$ac_c_werror_flag" ||
33456 test ! -s conftest.err
33457 } && test -s conftest$ac_exeext &&
33458 $as_test_x conftest$ac_exeext; then
33459 ac_cv_lib_socket_connect=yes
33461 echo "$as_me: failed program was:" >&5
33462 sed 's/^/| /' conftest.$ac_ext >&5
33464 ac_cv_lib_socket_connect=no
33467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33468 conftest$ac_exeext conftest.$ac_ext
33469 LIBS=$ac_check_lib_save_LIBS
33471 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33472 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33473 if test $ac_cv_lib_socket_connect = yes; then
33474 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33479 # Guillermo Gomez says -lposix is necessary on A/UX.
33480 { echo "$as_me:$LINENO: checking for remove" >&5
33481 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33482 if test "${ac_cv_func_remove+set}" = set; then
33483 echo $ECHO_N "(cached) $ECHO_C" >&6
33485 cat >conftest.$ac_ext <<_ACEOF
33488 cat confdefs.h >>conftest.$ac_ext
33489 cat >>conftest.$ac_ext <<_ACEOF
33490 /* end confdefs.h. */
33491 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33493 #define remove innocuous_remove
33495 /* System header to define __stub macros and hopefully few prototypes,
33496 which can conflict with char remove (); below.
33497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33498 <limits.h> exists even on freestanding compilers. */
33501 # include <limits.h>
33503 # include <assert.h>
33508 /* Override any GCC internal prototype to avoid an error.
33509 Use char because int might match the return type of a GCC
33510 builtin and then its argument prototype would still apply. */
33515 /* The GNU C library defines this for functions which it implements
33516 to always fail with ENOSYS. Some functions are actually named
33517 something starting with __ and the normal name is an alias. */
33518 #if defined __stub_remove || defined __stub___remove
33530 rm -f conftest.$ac_objext conftest$ac_exeext
33531 if { (ac_try="$ac_link"
33532 case "(($ac_try" in
33533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33534 *) ac_try_echo=$ac_try;;
33536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33537 (eval "$ac_link") 2>conftest.er1
33539 grep -v '^ *+' conftest.er1 >conftest.err
33541 cat conftest.err >&5
33542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33543 (exit $ac_status); } && {
33544 test -z "$ac_c_werror_flag" ||
33545 test ! -s conftest.err
33546 } && test -s conftest$ac_exeext &&
33547 $as_test_x conftest$ac_exeext; then
33548 ac_cv_func_remove=yes
33550 echo "$as_me: failed program was:" >&5
33551 sed 's/^/| /' conftest.$ac_ext >&5
33553 ac_cv_func_remove=no
33556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33557 conftest$ac_exeext conftest.$ac_ext
33559 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33560 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33562 if test $ac_cv_func_remove = no; then
33563 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33564 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33565 if test "${ac_cv_lib_posix_remove+set}" = set; then
33566 echo $ECHO_N "(cached) $ECHO_C" >&6
33568 ac_check_lib_save_LIBS=$LIBS
33569 LIBS="-lposix $LIBS"
33570 cat >conftest.$ac_ext <<_ACEOF
33573 cat confdefs.h >>conftest.$ac_ext
33574 cat >>conftest.$ac_ext <<_ACEOF
33575 /* end confdefs.h. */
33577 /* Override any GCC internal prototype to avoid an error.
33578 Use char because int might match the return type of a GCC
33579 builtin and then its argument prototype would still apply. */
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 ac_cv_lib_posix_remove=yes
33612 echo "$as_me: failed program was:" >&5
33613 sed 's/^/| /' conftest.$ac_ext >&5
33615 ac_cv_lib_posix_remove=no
33618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33619 conftest$ac_exeext conftest.$ac_ext
33620 LIBS=$ac_check_lib_save_LIBS
33622 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33623 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33624 if test $ac_cv_lib_posix_remove = yes; then
33625 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33630 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33631 { echo "$as_me:$LINENO: checking for shmat" >&5
33632 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33633 if test "${ac_cv_func_shmat+set}" = set; then
33634 echo $ECHO_N "(cached) $ECHO_C" >&6
33636 cat >conftest.$ac_ext <<_ACEOF
33639 cat confdefs.h >>conftest.$ac_ext
33640 cat >>conftest.$ac_ext <<_ACEOF
33641 /* end confdefs.h. */
33642 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33644 #define shmat innocuous_shmat
33646 /* System header to define __stub macros and hopefully few prototypes,
33647 which can conflict with char shmat (); below.
33648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33649 <limits.h> exists even on freestanding compilers. */
33652 # include <limits.h>
33654 # include <assert.h>
33659 /* Override any GCC internal prototype to avoid an error.
33660 Use char because int might match the return type of a GCC
33661 builtin and then its argument prototype would still apply. */
33666 /* The GNU C library defines this for functions which it implements
33667 to always fail with ENOSYS. Some functions are actually named
33668 something starting with __ and the normal name is an alias. */
33669 #if defined __stub_shmat || defined __stub___shmat
33681 rm -f conftest.$ac_objext conftest$ac_exeext
33682 if { (ac_try="$ac_link"
33683 case "(($ac_try" in
33684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33685 *) ac_try_echo=$ac_try;;
33687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33688 (eval "$ac_link") 2>conftest.er1
33690 grep -v '^ *+' conftest.er1 >conftest.err
33692 cat conftest.err >&5
33693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33694 (exit $ac_status); } && {
33695 test -z "$ac_c_werror_flag" ||
33696 test ! -s conftest.err
33697 } && test -s conftest$ac_exeext &&
33698 $as_test_x conftest$ac_exeext; then
33699 ac_cv_func_shmat=yes
33701 echo "$as_me: failed program was:" >&5
33702 sed 's/^/| /' conftest.$ac_ext >&5
33704 ac_cv_func_shmat=no
33707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33708 conftest$ac_exeext conftest.$ac_ext
33710 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33711 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33713 if test $ac_cv_func_shmat = no; then
33714 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33715 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33716 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33717 echo $ECHO_N "(cached) $ECHO_C" >&6
33719 ac_check_lib_save_LIBS=$LIBS
33721 cat >conftest.$ac_ext <<_ACEOF
33724 cat confdefs.h >>conftest.$ac_ext
33725 cat >>conftest.$ac_ext <<_ACEOF
33726 /* end confdefs.h. */
33728 /* Override any GCC internal prototype to avoid an error.
33729 Use char because int might match the return type of a GCC
33730 builtin and then its argument prototype would still apply. */
33743 rm -f conftest.$ac_objext conftest$ac_exeext
33744 if { (ac_try="$ac_link"
33745 case "(($ac_try" in
33746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33747 *) ac_try_echo=$ac_try;;
33749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33750 (eval "$ac_link") 2>conftest.er1
33752 grep -v '^ *+' conftest.er1 >conftest.err
33754 cat conftest.err >&5
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); } && {
33757 test -z "$ac_c_werror_flag" ||
33758 test ! -s conftest.err
33759 } && test -s conftest$ac_exeext &&
33760 $as_test_x conftest$ac_exeext; then
33761 ac_cv_lib_ipc_shmat=yes
33763 echo "$as_me: failed program was:" >&5
33764 sed 's/^/| /' conftest.$ac_ext >&5
33766 ac_cv_lib_ipc_shmat=no
33769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33770 conftest$ac_exeext conftest.$ac_ext
33771 LIBS=$ac_check_lib_save_LIBS
33773 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33774 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33775 if test $ac_cv_lib_ipc_shmat = yes; then
33776 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33782 # Check for libraries that X11R6 Xt/Xaw programs need.
33783 ac_save_LDFLAGS=$LDFLAGS
33784 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33785 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33786 # check for ICE first), but we must link in the order -lSM -lICE or
33787 # we get undefined symbols. So assume we have SM if we have ICE.
33788 # These have to be linked with before -lX11, unlike the other
33789 # libraries we check for below, so use a different variable.
33790 # John Interrante, Karl Berry
33791 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33792 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33793 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33794 echo $ECHO_N "(cached) $ECHO_C" >&6
33796 ac_check_lib_save_LIBS=$LIBS
33797 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33798 cat >conftest.$ac_ext <<_ACEOF
33801 cat confdefs.h >>conftest.$ac_ext
33802 cat >>conftest.$ac_ext <<_ACEOF
33803 /* end confdefs.h. */
33805 /* Override any GCC internal prototype to avoid an error.
33806 Use char because int might match the return type of a GCC
33807 builtin and then its argument prototype would still apply. */
33811 char IceConnectionNumber ();
33815 return IceConnectionNumber ();
33820 rm -f conftest.$ac_objext conftest$ac_exeext
33821 if { (ac_try="$ac_link"
33822 case "(($ac_try" in
33823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33824 *) ac_try_echo=$ac_try;;
33826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33827 (eval "$ac_link") 2>conftest.er1
33829 grep -v '^ *+' conftest.er1 >conftest.err
33831 cat conftest.err >&5
33832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833 (exit $ac_status); } && {
33834 test -z "$ac_c_werror_flag" ||
33835 test ! -s conftest.err
33836 } && test -s conftest$ac_exeext &&
33837 $as_test_x conftest$ac_exeext; then
33838 ac_cv_lib_ICE_IceConnectionNumber=yes
33840 echo "$as_me: failed program was:" >&5
33841 sed 's/^/| /' conftest.$ac_ext >&5
33843 ac_cv_lib_ICE_IceConnectionNumber=no
33846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33847 conftest$ac_exeext conftest.$ac_ext
33848 LIBS=$ac_check_lib_save_LIBS
33850 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33851 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33852 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33853 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33856 LDFLAGS=$ac_save_LDFLAGS
33861 if test "$no_x" = "yes"; then
33862 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33863 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33864 { (exit 1); exit 1; }; }
33867 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33868 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33869 AFMINSTALL=afminstall
33870 COMPILED_X_PROGRAM=0
33874 if test "$wxUSE_X11" = 1; then
33875 if test "$wxUSE_NANOX" = "yes"; then
33876 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33877 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33878 if test "x$MICROWIN" = x ; then
33879 { echo "$as_me:$LINENO: result: not found" >&5
33880 echo "${ECHO_T}not found" >&6; }
33881 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33882 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33883 { (exit 1); exit 1; }; }
33885 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33886 echo "${ECHO_T}$MICROWIN" >&6; }
33887 cat >>confdefs.h <<\_ACEOF
33888 #define wxUSE_NANOX 1
33894 if test "$wxUSE_UNICODE" = "yes"; then
33897 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33898 if test -n "$ac_tool_prefix"; then
33899 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33900 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33903 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33904 echo $ECHO_N "(cached) $ECHO_C" >&6
33906 case $PKG_CONFIG in
33908 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33912 for as_dir in $PATH
33915 test -z "$as_dir" && as_dir=.
33916 for ac_exec_ext in '' $ac_executable_extensions; do
33917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33918 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33929 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33930 if test -n "$PKG_CONFIG"; then
33931 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33932 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33934 { echo "$as_me:$LINENO: result: no" >&5
33935 echo "${ECHO_T}no" >&6; }
33940 if test -z "$ac_cv_path_PKG_CONFIG"; then
33941 ac_pt_PKG_CONFIG=$PKG_CONFIG
33942 # Extract the first word of "pkg-config", so it can be a program name with args.
33943 set dummy pkg-config; ac_word=$2
33944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33946 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33947 echo $ECHO_N "(cached) $ECHO_C" >&6
33949 case $ac_pt_PKG_CONFIG in
33951 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33955 for as_dir in $PATH
33958 test -z "$as_dir" && as_dir=.
33959 for ac_exec_ext in '' $ac_executable_extensions; do
33960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33961 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33972 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33973 if test -n "$ac_pt_PKG_CONFIG"; then
33974 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33975 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33977 { echo "$as_me:$LINENO: result: no" >&5
33978 echo "${ECHO_T}no" >&6; }
33981 if test "x$ac_pt_PKG_CONFIG" = x; then
33984 case $cross_compiling:$ac_tool_warned in
33986 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33987 whose name does not start with the host triplet. If you think this
33988 configuration is useful to you, please write to autoconf@gnu.org." >&5
33989 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33990 whose name does not start with the host triplet. If you think this
33991 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33992 ac_tool_warned=yes ;;
33994 PKG_CONFIG=$ac_pt_PKG_CONFIG
33997 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34001 if test -n "$PKG_CONFIG"; then
34002 _pkg_min_version=0.9.0
34003 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34004 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34005 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34006 { echo "$as_me:$LINENO: result: yes" >&5
34007 echo "${ECHO_T}yes" >&6; }
34009 { echo "$as_me:$LINENO: result: no" >&5
34010 echo "${ECHO_T}no" >&6; }
34018 { echo "$as_me:$LINENO: checking for PANGOX" >&5
34019 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
34021 if test -n "$PKG_CONFIG"; then
34022 if test -n "$PANGOX_CFLAGS"; then
34023 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
34025 if test -n "$PKG_CONFIG" && \
34026 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34027 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34030 (exit $ac_status); }; then
34031 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
34039 if test -n "$PKG_CONFIG"; then
34040 if test -n "$PANGOX_LIBS"; then
34041 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
34043 if test -n "$PKG_CONFIG" && \
34044 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34045 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34048 (exit $ac_status); }; then
34049 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
34060 if test $pkg_failed = yes; then
34062 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34063 _pkg_short_errors_supported=yes
34065 _pkg_short_errors_supported=no
34067 if test $_pkg_short_errors_supported = yes; then
34068 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
34070 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
34072 # Put the nasty error message in config.log where it belongs
34073 echo "$PANGOX_PKG_ERRORS" >&5
34076 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34077 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34078 { (exit 1); exit 1; }; }
34081 elif test $pkg_failed = untried; then
34083 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34084 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34085 { (exit 1); exit 1; }; }
34089 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
34090 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
34091 { echo "$as_me:$LINENO: result: yes" >&5
34092 echo "${ECHO_T}yes" >&6; }
34094 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
34095 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
34096 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
34101 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34102 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34104 if test -n "$PKG_CONFIG"; then
34105 if test -n "$PANGOFT2_CFLAGS"; then
34106 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
34108 if test -n "$PKG_CONFIG" && \
34109 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34110 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34113 (exit $ac_status); }; then
34114 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34122 if test -n "$PKG_CONFIG"; then
34123 if test -n "$PANGOFT2_LIBS"; then
34124 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
34126 if test -n "$PKG_CONFIG" && \
34127 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34128 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34131 (exit $ac_status); }; then
34132 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34143 if test $pkg_failed = yes; then
34145 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34146 _pkg_short_errors_supported=yes
34148 _pkg_short_errors_supported=no
34150 if test $_pkg_short_errors_supported = yes; then
34151 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34153 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34155 # Put the nasty error message in config.log where it belongs
34156 echo "$PANGOFT2_PKG_ERRORS" >&5
34159 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34160 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34161 wxUSE_PRINTING_ARCHITECTURE="no"
34164 elif test $pkg_failed = untried; then
34166 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34167 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34168 wxUSE_PRINTING_ARCHITECTURE="no"
34172 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
34173 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
34174 { echo "$as_me:$LINENO: result: yes" >&5
34175 echo "${ECHO_T}yes" >&6; }
34177 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
34178 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
34179 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34184 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34185 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34187 if test -n "$PKG_CONFIG"; then
34188 if test -n "$PANGOXFT_CFLAGS"; then
34189 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
34191 if test -n "$PKG_CONFIG" && \
34192 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34193 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34196 (exit $ac_status); }; then
34197 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34205 if test -n "$PKG_CONFIG"; then
34206 if test -n "$PANGOXFT_LIBS"; then
34207 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34209 if test -n "$PKG_CONFIG" && \
34210 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34211 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); }; then
34215 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34226 if test $pkg_failed = yes; then
34228 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34229 _pkg_short_errors_supported=yes
34231 _pkg_short_errors_supported=no
34233 if test $_pkg_short_errors_supported = yes; then
34234 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34236 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34238 # Put the nasty error message in config.log where it belongs
34239 echo "$PANGOXFT_PKG_ERRORS" >&5
34242 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34243 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34246 elif test $pkg_failed = untried; then
34248 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34249 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34253 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34254 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34255 { echo "$as_me:$LINENO: result: yes" >&5
34256 echo "${ECHO_T}yes" >&6; }
34258 cat >>confdefs.h <<\_ACEOF
34259 #define HAVE_PANGO_XFT 1
34262 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34263 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34264 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34268 LIBS="$LIBS $PANGOX_LIBS"
34270 for ac_func in pango_font_family_is_monospace
34272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34273 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34275 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34276 echo $ECHO_N "(cached) $ECHO_C" >&6
34278 cat >conftest.$ac_ext <<_ACEOF
34281 cat confdefs.h >>conftest.$ac_ext
34282 cat >>conftest.$ac_ext <<_ACEOF
34283 /* end confdefs.h. */
34284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34286 #define $ac_func innocuous_$ac_func
34288 /* System header to define __stub macros and hopefully few prototypes,
34289 which can conflict with char $ac_func (); below.
34290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34291 <limits.h> exists even on freestanding compilers. */
34294 # include <limits.h>
34296 # include <assert.h>
34301 /* Override any GCC internal prototype to avoid an error.
34302 Use char because int might match the return type of a GCC
34303 builtin and then its argument prototype would still apply. */
34308 /* The GNU C library defines this for functions which it implements
34309 to always fail with ENOSYS. Some functions are actually named
34310 something starting with __ and the normal name is an alias. */
34311 #if defined __stub_$ac_func || defined __stub___$ac_func
34318 return $ac_func ();
34323 rm -f conftest.$ac_objext conftest$ac_exeext
34324 if { (ac_try="$ac_link"
34325 case "(($ac_try" in
34326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34327 *) ac_try_echo=$ac_try;;
34329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34330 (eval "$ac_link") 2>conftest.er1
34332 grep -v '^ *+' conftest.er1 >conftest.err
34334 cat conftest.err >&5
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); } && {
34337 test -z "$ac_c_werror_flag" ||
34338 test ! -s conftest.err
34339 } && test -s conftest$ac_exeext &&
34340 $as_test_x conftest$ac_exeext; then
34341 eval "$as_ac_var=yes"
34343 echo "$as_me: failed program was:" >&5
34344 sed 's/^/| /' conftest.$ac_ext >&5
34346 eval "$as_ac_var=no"
34349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34350 conftest$ac_exeext conftest.$ac_ext
34352 ac_res=`eval echo '${'$as_ac_var'}'`
34353 { echo "$as_me:$LINENO: result: $ac_res" >&5
34354 echo "${ECHO_T}$ac_res" >&6; }
34355 if test `eval echo '${'$as_ac_var'}'` = yes; then
34356 cat >>confdefs.h <<_ACEOF
34357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34366 wxUSE_UNIVERSAL="yes"
34368 if test "$wxUSE_NANOX" = "yes"; then
34369 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34370 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"
34371 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34373 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34380 if test "$wxUSE_MOTIF" = 1; then
34381 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34382 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34385 for ac_dir in $SEARCH_INCLUDE /usr/include;
34387 if test -f "$ac_dir/Xm/Xm.h"; then
34388 ac_find_includes=$ac_dir
34393 if test "$ac_find_includes" != "" ; then
34394 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34395 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34397 if test "x$ac_find_includes" = "x/usr/include"; then
34398 ac_path_to_include=""
34400 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34402 if test $result = 0; then
34403 ac_path_to_include=""
34405 ac_path_to_include=" -I$ac_find_includes"
34409 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34411 save_CFLAGS=$CFLAGS
34412 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34414 cat >conftest.$ac_ext <<_ACEOF
34417 cat confdefs.h >>conftest.$ac_ext
34418 cat >>conftest.$ac_ext <<_ACEOF
34419 /* end confdefs.h. */
34428 version = xmUseVersion;
34434 rm -f conftest.$ac_objext
34435 if { (ac_try="$ac_compile"
34436 case "(($ac_try" in
34437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34438 *) ac_try_echo=$ac_try;;
34440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34441 (eval "$ac_compile") 2>conftest.er1
34443 grep -v '^ *+' conftest.er1 >conftest.err
34445 cat conftest.err >&5
34446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34447 (exit $ac_status); } && {
34448 test -z "$ac_c_werror_flag" ||
34449 test ! -s conftest.err
34450 } && test -s conftest.$ac_objext; then
34452 { echo "$as_me:$LINENO: result: found in default search path" >&5
34453 echo "${ECHO_T}found in default search path" >&6; }
34454 COMPILED_X_PROGRAM=1
34457 echo "$as_me: failed program was:" >&5
34458 sed 's/^/| /' conftest.$ac_ext >&5
34461 { echo "$as_me:$LINENO: result: no" >&5
34462 echo "${ECHO_T}no" >&6; }
34463 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34464 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34465 { (exit 1); exit 1; }; }
34470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34472 CFLAGS=$save_CFLAGS
34476 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34477 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34480 for ac_dir in $SEARCH_LIB;
34482 for ac_extension in a so sl dylib dll.a; do
34483 if test -f "$ac_dir/libXm.$ac_extension"; then
34484 ac_find_libraries=$ac_dir
34491 if test "x$ac_find_libraries" != "x" ; then
34492 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34493 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34496 if test "$ac_find_libraries" = "default location"; then
34499 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34501 if test $result = 0; then
34504 ac_path_to_link=" -L$ac_find_libraries"
34508 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34510 save_CFLAGS=$CFLAGS
34511 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34513 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34515 cat >conftest.$ac_ext <<_ACEOF
34518 cat confdefs.h >>conftest.$ac_ext
34519 cat >>conftest.$ac_ext <<_ACEOF
34520 /* end confdefs.h. */
34529 version = xmUseVersion;
34535 rm -f conftest.$ac_objext conftest$ac_exeext
34536 if { (ac_try="$ac_link"
34537 case "(($ac_try" in
34538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34539 *) ac_try_echo=$ac_try;;
34541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34542 (eval "$ac_link") 2>conftest.er1
34544 grep -v '^ *+' conftest.er1 >conftest.err
34546 cat conftest.err >&5
34547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34548 (exit $ac_status); } && {
34549 test -z "$ac_c_werror_flag" ||
34550 test ! -s conftest.err
34551 } && test -s conftest$ac_exeext &&
34552 $as_test_x conftest$ac_exeext; then
34554 { echo "$as_me:$LINENO: result: found in default search path" >&5
34555 echo "${ECHO_T}found in default search path" >&6; }
34556 COMPILED_X_PROGRAM=1
34559 echo "$as_me: failed program was:" >&5
34560 sed 's/^/| /' conftest.$ac_ext >&5
34563 { echo "$as_me:$LINENO: result: no" >&5
34564 echo "${ECHO_T}no" >&6; }
34565 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34566 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34567 { (exit 1); exit 1; }; }
34572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34573 conftest$ac_exeext conftest.$ac_ext
34575 CFLAGS=$save_CFLAGS
34579 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34580 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34584 for libp in "" " -lXp"; do
34585 if test "$libs_found" = "0"; then
34586 for libsm_ice in "" " -lSM -lICE"; do
34587 if test "$libs_found" = "0"; then
34589 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34590 save_CFLAGS=$CFLAGS
34591 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34593 cat >conftest.$ac_ext <<_ACEOF
34596 cat confdefs.h >>conftest.$ac_ext
34597 cat >>conftest.$ac_ext <<_ACEOF
34598 /* end confdefs.h. */
34601 #include <Xm/List.h>
34607 XmString string = NULL;
34610 XmListAddItem(w, string, position);
34616 rm -f conftest.$ac_objext conftest$ac_exeext
34617 if { (ac_try="$ac_link"
34618 case "(($ac_try" in
34619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34620 *) ac_try_echo=$ac_try;;
34622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34623 (eval "$ac_link") 2>conftest.er1
34625 grep -v '^ *+' conftest.er1 >conftest.err
34627 cat conftest.err >&5
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); } && {
34630 test -z "$ac_c_werror_flag" ||
34631 test ! -s conftest.err
34632 } && test -s conftest$ac_exeext &&
34633 $as_test_x conftest$ac_exeext; then
34636 libsm_ice_link="$libsm_ice"
34637 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34638 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34642 echo "$as_me: failed program was:" >&5
34643 sed 's/^/| /' conftest.$ac_ext >&5
34649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34650 conftest$ac_exeext conftest.$ac_ext
34653 CFLAGS=$save_CFLAGS
34659 if test "$libs_found" = "0"; then
34660 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34661 echo "${ECHO_T}can't find the right libraries" >&6; }
34662 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34663 echo "$as_me: error: can't link a simple motif program" >&2;}
34664 { (exit 1); exit 1; }; }
34667 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34668 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34669 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34670 echo $ECHO_N "(cached) $ECHO_C" >&6
34672 ac_check_lib_save_LIBS=$LIBS
34674 cat >conftest.$ac_ext <<_ACEOF
34677 cat confdefs.h >>conftest.$ac_ext
34678 cat >>conftest.$ac_ext <<_ACEOF
34679 /* end confdefs.h. */
34681 /* Override any GCC internal prototype to avoid an error.
34682 Use char because int might match the return type of a GCC
34683 builtin and then its argument prototype would still apply. */
34687 char SgCreateList ();
34691 return SgCreateList ();
34696 rm -f conftest.$ac_objext conftest$ac_exeext
34697 if { (ac_try="$ac_link"
34698 case "(($ac_try" in
34699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34700 *) ac_try_echo=$ac_try;;
34702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34703 (eval "$ac_link") 2>conftest.er1
34705 grep -v '^ *+' conftest.er1 >conftest.err
34707 cat conftest.err >&5
34708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34709 (exit $ac_status); } && {
34710 test -z "$ac_c_werror_flag" ||
34711 test ! -s conftest.err
34712 } && test -s conftest$ac_exeext &&
34713 $as_test_x conftest$ac_exeext; then
34714 ac_cv_lib_Sgm_SgCreateList=yes
34716 echo "$as_me: failed program was:" >&5
34717 sed 's/^/| /' conftest.$ac_ext >&5
34719 ac_cv_lib_Sgm_SgCreateList=no
34722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34723 conftest$ac_exeext conftest.$ac_ext
34724 LIBS=$ac_check_lib_save_LIBS
34726 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34727 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34728 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34729 libsgm_link=" -lSgm"
34733 save_CFLAGS=$CFLAGS
34734 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34736 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34737 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34738 if test "${wx_cv_lib_motif2+set}" = set; then
34739 echo $ECHO_N "(cached) $ECHO_C" >&6
34741 cat >conftest.$ac_ext <<_ACEOF
34744 cat confdefs.h >>conftest.$ac_ext
34745 cat >>conftest.$ac_ext <<_ACEOF
34746 /* end confdefs.h. */
34754 #if XmVersion < 2000
34762 rm -f conftest.$ac_objext
34763 if { (ac_try="$ac_compile"
34764 case "(($ac_try" in
34765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34766 *) ac_try_echo=$ac_try;;
34768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34769 (eval "$ac_compile") 2>conftest.er1
34771 grep -v '^ *+' conftest.er1 >conftest.err
34773 cat conftest.err >&5
34774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34775 (exit $ac_status); } && {
34776 test -z "$ac_c_werror_flag" ||
34777 test ! -s conftest.err
34778 } && test -s conftest.$ac_objext; then
34779 wx_cv_lib_motif2="yes"
34781 echo "$as_me: failed program was:" >&5
34782 sed 's/^/| /' conftest.$ac_ext >&5
34784 wx_cv_lib_motif2="no"
34787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34789 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34790 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34791 if test "$wx_cv_lib_motif2" = "yes"; then
34792 cat >>confdefs.h <<\_ACEOF
34793 #define __WXMOTIF20__ 1
34797 cat >>confdefs.h <<\_ACEOF
34798 #define __WXMOTIF20__ 0
34803 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34804 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34805 if test "${wx_cv_lib_lesstif+set}" = set; then
34806 echo $ECHO_N "(cached) $ECHO_C" >&6
34808 cat >conftest.$ac_ext <<_ACEOF
34811 cat confdefs.h >>conftest.$ac_ext
34812 cat >>conftest.$ac_ext <<_ACEOF
34813 /* end confdefs.h. */
34821 #if !defined(LesstifVersion) || LesstifVersion <= 0
34829 rm -f conftest.$ac_objext
34830 if { (ac_try="$ac_compile"
34831 case "(($ac_try" in
34832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34833 *) ac_try_echo=$ac_try;;
34835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34836 (eval "$ac_compile") 2>conftest.er1
34838 grep -v '^ *+' conftest.er1 >conftest.err
34840 cat conftest.err >&5
34841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34842 (exit $ac_status); } && {
34843 test -z "$ac_c_werror_flag" ||
34844 test ! -s conftest.err
34845 } && test -s conftest.$ac_objext; then
34846 wx_cv_lib_lesstif="yes"
34848 echo "$as_me: failed program was:" >&5
34849 sed 's/^/| /' conftest.$ac_ext >&5
34851 wx_cv_lib_lesstif="no"
34854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34857 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34858 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34859 if test "$wx_cv_lib_lesstif" = "yes"; then
34860 cat >>confdefs.h <<\_ACEOF
34861 #define __WXLESSTIF__ 1
34865 cat >>confdefs.h <<\_ACEOF
34866 #define __WXLESSTIF__ 0
34871 CFLAGS=$save_CFLAGS
34873 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34878 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34879 if test "$wxUSE_LIBXPM" = "sys"; then
34880 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34881 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34884 for ac_dir in $SEARCH_LIB;
34886 for ac_extension in a so sl dylib dll.a; do
34887 if test -f "$ac_dir/libXpm.$ac_extension"; then
34888 ac_find_libraries=$ac_dir
34894 if test "$ac_find_libraries" != "" ; then
34896 if test "$ac_find_libraries" = "default location"; then
34899 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34901 if test $result = 0; then
34904 ac_path_to_link=" -L$ac_find_libraries"
34908 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34909 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34910 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34912 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34913 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34914 if test "${wx_cv_x11_xpm_h+set}" = set; then
34915 echo $ECHO_N "(cached) $ECHO_C" >&6
34918 save_CFLAGS=$CFLAGS
34919 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34921 cat >conftest.$ac_ext <<_ACEOF
34924 cat confdefs.h >>conftest.$ac_ext
34925 cat >>conftest.$ac_ext <<_ACEOF
34926 /* end confdefs.h. */
34928 #include <X11/xpm.h>
34935 version = XpmLibraryVersion();
34941 rm -f conftest.$ac_objext
34942 if { (ac_try="$ac_compile"
34943 case "(($ac_try" in
34944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34945 *) ac_try_echo=$ac_try;;
34947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34948 (eval "$ac_compile") 2>conftest.er1
34950 grep -v '^ *+' conftest.er1 >conftest.err
34952 cat conftest.err >&5
34953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34954 (exit $ac_status); } && {
34955 test -z "$ac_c_werror_flag" ||
34956 test ! -s conftest.err
34957 } && test -s conftest.$ac_objext; then
34958 wx_cv_x11_xpm_h=yes
34960 echo "$as_me: failed program was:" >&5
34961 sed 's/^/| /' conftest.$ac_ext >&5
34967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34969 CFLAGS=$save_CFLAGS
34973 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34974 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34976 if test $wx_cv_x11_xpm_h = "yes"; then
34977 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34978 cat >>confdefs.h <<\_ACEOF
34979 #define wxHAVE_LIB_XPM 1
34983 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34984 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34990 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34991 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34992 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34993 echo $ECHO_N "(cached) $ECHO_C" >&6
34995 ac_check_lib_save_LIBS=$LIBS
34996 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34997 cat >conftest.$ac_ext <<_ACEOF
35000 cat confdefs.h >>conftest.$ac_ext
35001 cat >>conftest.$ac_ext <<_ACEOF
35002 /* end confdefs.h. */
35004 /* Override any GCC internal prototype to avoid an error.
35005 Use char because int might match the return type of a GCC
35006 builtin and then its argument prototype would still apply. */
35010 char XShapeQueryExtension ();
35014 return XShapeQueryExtension ();
35019 rm -f conftest.$ac_objext conftest$ac_exeext
35020 if { (ac_try="$ac_link"
35021 case "(($ac_try" in
35022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35023 *) ac_try_echo=$ac_try;;
35025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35026 (eval "$ac_link") 2>conftest.er1
35028 grep -v '^ *+' conftest.er1 >conftest.err
35030 cat conftest.err >&5
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); } && {
35033 test -z "$ac_c_werror_flag" ||
35034 test ! -s conftest.err
35035 } && test -s conftest$ac_exeext &&
35036 $as_test_x conftest$ac_exeext; then
35037 ac_cv_lib_Xext_XShapeQueryExtension=yes
35039 echo "$as_me: failed program was:" >&5
35040 sed 's/^/| /' conftest.$ac_ext >&5
35042 ac_cv_lib_Xext_XShapeQueryExtension=no
35045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35046 conftest$ac_exeext conftest.$ac_ext
35047 LIBS=$ac_check_lib_save_LIBS
35049 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
35050 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
35051 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
35053 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
35059 if test "$wxHAVE_XEXT_LIB" = 1; then
35060 save_CFLAGS="$CFLAGS"
35061 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35063 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
35064 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
35065 cat >conftest.$ac_ext <<_ACEOF
35068 cat confdefs.h >>conftest.$ac_ext
35069 cat >>conftest.$ac_ext <<_ACEOF
35070 /* end confdefs.h. */
35072 #include <X11/Xlib.h>
35073 #include <X11/extensions/shape.h>
35079 int dummy1, dummy2;
35080 XShapeQueryExtension((Display*)NULL,
35081 (int*)NULL, (int*)NULL);
35087 rm -f conftest.$ac_objext
35088 if { (ac_try="$ac_compile"
35089 case "(($ac_try" in
35090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35091 *) ac_try_echo=$ac_try;;
35093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35094 (eval "$ac_compile") 2>conftest.er1
35096 grep -v '^ *+' conftest.er1 >conftest.err
35098 cat conftest.err >&5
35099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35100 (exit $ac_status); } && {
35101 test -z "$ac_c_werror_flag" ||
35102 test ! -s conftest.err
35103 } && test -s conftest.$ac_objext; then
35105 cat >>confdefs.h <<\_ACEOF
35106 #define HAVE_XSHAPE 1
35109 { echo "$as_me:$LINENO: result: found" >&5
35110 echo "${ECHO_T}found" >&6; }
35113 echo "$as_me: failed program was:" >&5
35114 sed 's/^/| /' conftest.$ac_ext >&5
35117 { echo "$as_me:$LINENO: result: not found" >&5
35118 echo "${ECHO_T}not found" >&6; }
35122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35123 CFLAGS="$save_CFLAGS"
35128 if test "$wxUSE_MAC" = 1; then
35129 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35130 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35131 if test "$GCC" = yes; then
35132 { echo "$as_me:$LINENO: result: gcc" >&5
35133 echo "${ECHO_T}gcc" >&6; }
35134 CPPFLAGS_PASCAL="-fpascal-strings"
35135 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35136 { echo "$as_me:$LINENO: result: xlc" >&5
35137 echo "${ECHO_T}xlc" >&6; }
35138 CPPFLAGS_PASCAL="-qmacpstr"
35140 { echo "$as_me:$LINENO: result: none" >&5
35141 echo "${ECHO_T}none" >&6; }
35144 if test "x$wxUSE_UNIX" = "xyes"; then
35145 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35147 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35152 WXBASEPORT="_carbon"
35155 if test "$wxUSE_COCOA" = 1; then
35160 if test "$wxUSE_PM" = 1; then
35163 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35164 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35165 if test "${wx_cv_spbcdata+set}" = set; then
35166 echo $ECHO_N "(cached) $ECHO_C" >&6
35169 cat >conftest.$ac_ext <<_ACEOF
35172 cat confdefs.h >>conftest.$ac_ext
35173 cat >>conftest.$ac_ext <<_ACEOF
35174 /* end confdefs.h. */
35189 rm -f conftest.$ac_objext
35190 if { (ac_try="$ac_compile"
35191 case "(($ac_try" in
35192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35193 *) ac_try_echo=$ac_try;;
35195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35196 (eval "$ac_compile") 2>conftest.er1
35198 grep -v '^ *+' conftest.er1 >conftest.err
35200 cat conftest.err >&5
35201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35202 (exit $ac_status); } && {
35203 test -z "$ac_c_werror_flag" ||
35204 test ! -s conftest.err
35205 } && test -s conftest.$ac_objext; then
35208 echo "$as_me: failed program was:" >&5
35209 sed 's/^/| /' conftest.$ac_ext >&5
35215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35219 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35220 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35222 if test $wx_cv_spbcdata = "yes"; then
35223 cat >>confdefs.h <<\_ACEOF
35224 #define HAVE_SPBCDATA 1
35230 if test "$TOOLKIT" = "PM" ; then
35233 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35236 if test "$wxUSE_UNIVERSAL" = "yes"; then
35237 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35241 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35242 DISTDIR="wx\$(TOOLKIT)"
35248 if test "$USE_WIN32" = 1 ; then
35252 GUIDIST="BASE_DIST"
35258 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35259 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35260 wxUSE_UNICODE_UTF8=yes
35261 elif test "$USE_OS2" = "1" ; then
35262 wxUSE_UNICODE_UTF8=yes
35264 wxUSE_UNICODE_UTF8=no
35269 if test "$wxUSE_GUI" = "yes"; then
35270 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35272 for ac_header in X11/Xlib.h
35274 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35275 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35278 echo $ECHO_N "(cached) $ECHO_C" >&6
35280 cat >conftest.$ac_ext <<_ACEOF
35283 cat confdefs.h >>conftest.$ac_ext
35284 cat >>conftest.$ac_ext <<_ACEOF
35285 /* end confdefs.h. */
35288 #include <$ac_header>
35290 rm -f conftest.$ac_objext
35291 if { (ac_try="$ac_compile"
35292 case "(($ac_try" in
35293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35294 *) ac_try_echo=$ac_try;;
35296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35297 (eval "$ac_compile") 2>conftest.er1
35299 grep -v '^ *+' conftest.er1 >conftest.err
35301 cat conftest.err >&5
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); } && {
35304 test -z "$ac_c_werror_flag" ||
35305 test ! -s conftest.err
35306 } && test -s conftest.$ac_objext; then
35307 eval "$as_ac_Header=yes"
35309 echo "$as_me: failed program was:" >&5
35310 sed 's/^/| /' conftest.$ac_ext >&5
35312 eval "$as_ac_Header=no"
35315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35317 ac_res=`eval echo '${'$as_ac_Header'}'`
35318 { echo "$as_me:$LINENO: result: $ac_res" >&5
35319 echo "${ECHO_T}$ac_res" >&6; }
35320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35321 cat >>confdefs.h <<_ACEOF
35322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35330 for ac_header in X11/XKBlib.h
35332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35333 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35335 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35336 echo $ECHO_N "(cached) $ECHO_C" >&6
35338 cat >conftest.$ac_ext <<_ACEOF
35341 cat confdefs.h >>conftest.$ac_ext
35342 cat >>conftest.$ac_ext <<_ACEOF
35343 /* end confdefs.h. */
35345 #if HAVE_X11_XLIB_H
35346 #include <X11/Xlib.h>
35350 #include <$ac_header>
35352 rm -f conftest.$ac_objext
35353 if { (ac_try="$ac_compile"
35354 case "(($ac_try" in
35355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35356 *) ac_try_echo=$ac_try;;
35358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35359 (eval "$ac_compile") 2>conftest.er1
35361 grep -v '^ *+' conftest.er1 >conftest.err
35363 cat conftest.err >&5
35364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35365 (exit $ac_status); } && {
35366 test -z "$ac_c_werror_flag" ||
35367 test ! -s conftest.err
35368 } && test -s conftest.$ac_objext; then
35369 eval "$as_ac_Header=yes"
35371 echo "$as_me: failed program was:" >&5
35372 sed 's/^/| /' conftest.$ac_ext >&5
35374 eval "$as_ac_Header=no"
35377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35379 ac_res=`eval echo '${'$as_ac_Header'}'`
35380 { echo "$as_me:$LINENO: result: $ac_res" >&5
35381 echo "${ECHO_T}$ac_res" >&6; }
35382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35383 cat >>confdefs.h <<_ACEOF
35384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35399 if test "$TOOLKIT" != "MSW" ; then
35401 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35403 { echo "$as_me:$LINENO: checking for sql.h" >&5
35404 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35405 if test "${ac_cv_header_sql_h+set}" = set; then
35406 echo $ECHO_N "(cached) $ECHO_C" >&6
35408 cat >conftest.$ac_ext <<_ACEOF
35411 cat confdefs.h >>conftest.$ac_ext
35412 cat >>conftest.$ac_ext <<_ACEOF
35413 /* end confdefs.h. */
35418 rm -f conftest.$ac_objext
35419 if { (ac_try="$ac_compile"
35420 case "(($ac_try" in
35421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35422 *) ac_try_echo=$ac_try;;
35424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35425 (eval "$ac_compile") 2>conftest.er1
35427 grep -v '^ *+' conftest.er1 >conftest.err
35429 cat conftest.err >&5
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); } && {
35432 test -z "$ac_c_werror_flag" ||
35433 test ! -s conftest.err
35434 } && test -s conftest.$ac_objext; then
35435 ac_cv_header_sql_h=yes
35437 echo "$as_me: failed program was:" >&5
35438 sed 's/^/| /' conftest.$ac_ext >&5
35440 ac_cv_header_sql_h=no
35443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35445 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35446 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35447 if test $ac_cv_header_sql_h = yes; then
35452 if test "x$found_sql_h" = "x1" ; then
35453 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35454 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35455 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35456 echo $ECHO_N "(cached) $ECHO_C" >&6
35458 ac_check_lib_save_LIBS=$LIBS
35459 LIBS="-liodbc $LIBS"
35460 cat >conftest.$ac_ext <<_ACEOF
35463 cat confdefs.h >>conftest.$ac_ext
35464 cat >>conftest.$ac_ext <<_ACEOF
35465 /* end confdefs.h. */
35467 /* Override any GCC internal prototype to avoid an error.
35468 Use char because int might match the return type of a GCC
35469 builtin and then its argument prototype would still apply. */
35473 char SQLAllocEnv ();
35477 return SQLAllocEnv ();
35482 rm -f conftest.$ac_objext conftest$ac_exeext
35483 if { (ac_try="$ac_link"
35484 case "(($ac_try" in
35485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35486 *) ac_try_echo=$ac_try;;
35488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35489 (eval "$ac_link") 2>conftest.er1
35491 grep -v '^ *+' conftest.er1 >conftest.err
35493 cat conftest.err >&5
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); } && {
35496 test -z "$ac_c_werror_flag" ||
35497 test ! -s conftest.err
35498 } && test -s conftest$ac_exeext &&
35499 $as_test_x conftest$ac_exeext; then
35500 ac_cv_lib_iodbc_SQLAllocEnv=yes
35502 echo "$as_me: failed program was:" >&5
35503 sed 's/^/| /' conftest.$ac_ext >&5
35505 ac_cv_lib_iodbc_SQLAllocEnv=no
35508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35509 conftest$ac_exeext conftest.$ac_ext
35510 LIBS=$ac_check_lib_save_LIBS
35512 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35513 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35514 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35515 ODBC_LINK=" -liodbc"
35518 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35519 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35520 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35521 echo $ECHO_N "(cached) $ECHO_C" >&6
35523 ac_check_lib_save_LIBS=$LIBS
35524 LIBS="-lunixodbc $LIBS"
35525 cat >conftest.$ac_ext <<_ACEOF
35528 cat confdefs.h >>conftest.$ac_ext
35529 cat >>conftest.$ac_ext <<_ACEOF
35530 /* end confdefs.h. */
35532 /* Override any GCC internal prototype to avoid an error.
35533 Use char because int might match the return type of a GCC
35534 builtin and then its argument prototype would still apply. */
35538 char SQLAllocEnv ();
35542 return SQLAllocEnv ();
35547 rm -f conftest.$ac_objext conftest$ac_exeext
35548 if { (ac_try="$ac_link"
35549 case "(($ac_try" in
35550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35551 *) ac_try_echo=$ac_try;;
35553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35554 (eval "$ac_link") 2>conftest.er1
35556 grep -v '^ *+' conftest.er1 >conftest.err
35558 cat conftest.err >&5
35559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35560 (exit $ac_status); } && {
35561 test -z "$ac_c_werror_flag" ||
35562 test ! -s conftest.err
35563 } && test -s conftest$ac_exeext &&
35564 $as_test_x conftest$ac_exeext; then
35565 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35567 echo "$as_me: failed program was:" >&5
35568 sed 's/^/| /' conftest.$ac_ext >&5
35570 ac_cv_lib_unixodbc_SQLAllocEnv=no
35573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35574 conftest$ac_exeext conftest.$ac_ext
35575 LIBS=$ac_check_lib_save_LIBS
35577 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35578 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35579 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35580 ODBC_LINK=" -lunixodbc"
35583 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35584 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35585 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35586 echo $ECHO_N "(cached) $ECHO_C" >&6
35588 ac_check_lib_save_LIBS=$LIBS
35589 LIBS="-lodbc $LIBS"
35590 cat >conftest.$ac_ext <<_ACEOF
35593 cat confdefs.h >>conftest.$ac_ext
35594 cat >>conftest.$ac_ext <<_ACEOF
35595 /* end confdefs.h. */
35597 /* Override any GCC internal prototype to avoid an error.
35598 Use char because int might match the return type of a GCC
35599 builtin and then its argument prototype would still apply. */
35603 char SQLAllocEnv ();
35607 return SQLAllocEnv ();
35612 rm -f conftest.$ac_objext conftest$ac_exeext
35613 if { (ac_try="$ac_link"
35614 case "(($ac_try" in
35615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35616 *) ac_try_echo=$ac_try;;
35618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35619 (eval "$ac_link") 2>conftest.er1
35621 grep -v '^ *+' conftest.er1 >conftest.err
35623 cat conftest.err >&5
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); } && {
35626 test -z "$ac_c_werror_flag" ||
35627 test ! -s conftest.err
35628 } && test -s conftest$ac_exeext &&
35629 $as_test_x conftest$ac_exeext; then
35630 ac_cv_lib_odbc_SQLAllocEnv=yes
35632 echo "$as_me: failed program was:" >&5
35633 sed 's/^/| /' conftest.$ac_ext >&5
35635 ac_cv_lib_odbc_SQLAllocEnv=no
35638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35639 conftest$ac_exeext conftest.$ac_ext
35640 LIBS=$ac_check_lib_save_LIBS
35642 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35643 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35644 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35645 ODBC_LINK=" -lodbc"
35655 if test "x$ODBC_LINK" = "x" ; then
35656 if test "$wxUSE_ODBC" = "sys" ; then
35657 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35658 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35659 { (exit 1); exit 1; }; }
35661 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35662 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35670 if test "$wxUSE_ODBC" = "builtin" ; then
35671 cat >>confdefs.h <<\_ACEOF
35672 #define wxUSE_BUILTIN_IODBC 1
35678 if test "$wxUSE_ODBC" != "no" ; then
35679 cat >>confdefs.h <<\_ACEOF
35680 #define wxUSE_ODBC 1
35683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35685 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35689 if test "$wxUSE_DISPLAY" = "yes"; then
35690 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35691 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35692 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35695 for ac_dir in $SEARCH_LIB;
35697 for ac_extension in a so sl dylib dll.a; do
35698 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35699 ac_find_libraries=$ac_dir
35705 if test "$ac_find_libraries" != "" ; then
35707 if test "$ac_find_libraries" = "default location"; then
35710 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35712 if test $result = 0; then
35715 ac_path_to_link=" -L$ac_find_libraries"
35719 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35720 LDFLAGS="$LDFLAGS $ac_path_to_link"
35722 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35723 { echo "$as_me:$LINENO: result: yes" >&5
35724 echo "${ECHO_T}yes" >&6; }
35726 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35727 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35730 for ac_dir in $SEARCH_LIB;
35732 for ac_extension in a so sl dylib dll.a; do
35733 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35734 ac_find_libraries=$ac_dir
35740 if test "$ac_find_libraries" != "" ; then
35741 { echo "$as_me:$LINENO: result: yes" >&5
35742 echo "${ECHO_T}yes" >&6; }
35744 for ac_header in X11/extensions/xf86vmode.h
35746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35747 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35749 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35750 echo $ECHO_N "(cached) $ECHO_C" >&6
35752 cat >conftest.$ac_ext <<_ACEOF
35755 cat confdefs.h >>conftest.$ac_ext
35756 cat >>conftest.$ac_ext <<_ACEOF
35757 /* end confdefs.h. */
35759 #if HAVE_X11_XLIB_H
35760 #include <X11/Xlib.h>
35764 #include <$ac_header>
35766 rm -f conftest.$ac_objext
35767 if { (ac_try="$ac_compile"
35768 case "(($ac_try" in
35769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35770 *) ac_try_echo=$ac_try;;
35772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35773 (eval "$ac_compile") 2>conftest.er1
35775 grep -v '^ *+' conftest.er1 >conftest.err
35777 cat conftest.err >&5
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); } && {
35780 test -z "$ac_c_werror_flag" ||
35781 test ! -s conftest.err
35782 } && test -s conftest.$ac_objext; then
35783 eval "$as_ac_Header=yes"
35785 echo "$as_me: failed program was:" >&5
35786 sed 's/^/| /' conftest.$ac_ext >&5
35788 eval "$as_ac_Header=no"
35791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35793 ac_res=`eval echo '${'$as_ac_Header'}'`
35794 { echo "$as_me:$LINENO: result: $ac_res" >&5
35795 echo "${ECHO_T}$ac_res" >&6; }
35796 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35797 cat >>confdefs.h <<_ACEOF
35798 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35801 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35808 { echo "$as_me:$LINENO: result: no" >&5
35809 echo "${ECHO_T}no" >&6; }
35813 { echo "$as_me:$LINENO: result: no" >&5
35814 echo "${ECHO_T}no" >&6; }
35815 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35816 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35819 elif test "$wxUSE_MSW" = 1; then
35820 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35821 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35822 if test "${ac_cv_header_ddraw_h+set}" = set; then
35823 echo $ECHO_N "(cached) $ECHO_C" >&6
35825 cat >conftest.$ac_ext <<_ACEOF
35828 cat confdefs.h >>conftest.$ac_ext
35829 cat >>conftest.$ac_ext <<_ACEOF
35830 /* end confdefs.h. */
35831 #include <windows.h>
35835 rm -f conftest.$ac_objext
35836 if { (ac_try="$ac_compile"
35837 case "(($ac_try" in
35838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35839 *) ac_try_echo=$ac_try;;
35841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35842 (eval "$ac_compile") 2>conftest.er1
35844 grep -v '^ *+' conftest.er1 >conftest.err
35846 cat conftest.err >&5
35847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35848 (exit $ac_status); } && {
35849 test -z "$ac_c_werror_flag" ||
35850 test ! -s conftest.err
35851 } && test -s conftest.$ac_objext; then
35852 ac_cv_header_ddraw_h=yes
35854 echo "$as_me: failed program was:" >&5
35855 sed 's/^/| /' conftest.$ac_ext >&5
35857 ac_cv_header_ddraw_h=no
35860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35862 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35863 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35869 if test "$wxUSE_DETECT_SM" = "yes"; then
35870 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35871 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35872 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35875 for ac_dir in $SEARCH_LIB;
35877 for ac_extension in a so sl dylib dll.a; do
35878 if test -f "$ac_dir/libSM.$ac_extension"; then
35879 ac_find_libraries=$ac_dir
35885 if test "$ac_find_libraries" != "" ; then
35887 if test "$ac_find_libraries" = "default location"; then
35890 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35892 if test $result = 0; then
35895 ac_path_to_link=" -L$ac_find_libraries"
35899 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35900 LDFLAGS="$LDFLAGS $ac_path_to_link"
35902 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35903 { echo "$as_me:$LINENO: result: yes" >&5
35904 echo "${ECHO_T}yes" >&6; }
35906 { echo "$as_me:$LINENO: result: no" >&5
35907 echo "${ECHO_T}no" >&6; }
35908 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35909 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35910 wxUSE_DETECT_SM="no"
35913 wxUSE_DETECT_SM="no"
35920 if test "$wxUSE_OPENGL" = "yes"; then
35921 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35922 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35923 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35925 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35926 OPENGL_LIBS="-framework OpenGL -framework AGL"
35927 elif test "$wxUSE_MSW" = 1; then
35928 OPENGL_LIBS="-lopengl32 -lglu32"
35930 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35931 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35934 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35936 if test -f "$ac_dir/GL/gl.h"; then
35937 ac_find_includes=$ac_dir
35942 if test "$ac_find_includes" != "" ; then
35943 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35944 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35946 if test "x$ac_find_includes" = "x/usr/include"; then
35947 ac_path_to_include=""
35949 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35951 if test $result = 0; then
35952 ac_path_to_include=""
35954 ac_path_to_include=" -I$ac_find_includes"
35958 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35960 { echo "$as_me:$LINENO: result: not found" >&5
35961 echo "${ECHO_T}not found" >&6; }
35964 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35965 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35966 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35967 echo $ECHO_N "(cached) $ECHO_C" >&6
35969 cat >conftest.$ac_ext <<_ACEOF
35972 cat confdefs.h >>conftest.$ac_ext
35973 cat >>conftest.$ac_ext <<_ACEOF
35974 /* end confdefs.h. */
35979 rm -f conftest.$ac_objext
35980 if { (ac_try="$ac_compile"
35981 case "(($ac_try" in
35982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35983 *) ac_try_echo=$ac_try;;
35985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35986 (eval "$ac_compile") 2>conftest.er1
35988 grep -v '^ *+' conftest.er1 >conftest.err
35990 cat conftest.err >&5
35991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35992 (exit $ac_status); } && {
35993 test -z "$ac_c_werror_flag" ||
35994 test ! -s conftest.err
35995 } && test -s conftest.$ac_objext; then
35996 ac_cv_header_GL_gl_h=yes
35998 echo "$as_me: failed program was:" >&5
35999 sed 's/^/| /' conftest.$ac_ext >&5
36001 ac_cv_header_GL_gl_h=no
36004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36006 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
36007 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
36008 if test $ac_cv_header_GL_gl_h = yes; then
36010 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36011 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36012 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36013 echo $ECHO_N "(cached) $ECHO_C" >&6
36015 cat >conftest.$ac_ext <<_ACEOF
36018 cat confdefs.h >>conftest.$ac_ext
36019 cat >>conftest.$ac_ext <<_ACEOF
36020 /* end confdefs.h. */
36023 #include <GL/glu.h>
36025 rm -f conftest.$ac_objext
36026 if { (ac_try="$ac_compile"
36027 case "(($ac_try" in
36028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36029 *) ac_try_echo=$ac_try;;
36031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36032 (eval "$ac_compile") 2>conftest.er1
36034 grep -v '^ *+' conftest.er1 >conftest.err
36036 cat conftest.err >&5
36037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038 (exit $ac_status); } && {
36039 test -z "$ac_c_werror_flag" ||
36040 test ! -s conftest.err
36041 } && test -s conftest.$ac_objext; then
36042 ac_cv_header_GL_glu_h=yes
36044 echo "$as_me: failed program was:" >&5
36045 sed 's/^/| /' conftest.$ac_ext >&5
36047 ac_cv_header_GL_glu_h=no
36050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36052 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36053 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36054 if test $ac_cv_header_GL_glu_h = yes; then
36058 { echo "$as_me:$LINENO: checking for -lGL" >&5
36059 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
36062 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
36064 for ac_extension in a so sl dylib dll.a; do
36065 if test -f "$ac_dir/libGL.$ac_extension"; then
36066 ac_find_libraries=$ac_dir
36072 if test "$ac_find_libraries" != "" ; then
36073 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36074 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36077 if test "$ac_find_libraries" = "default location"; then
36080 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36082 if test $result = 0; then
36085 ac_path_to_link=" -L$ac_find_libraries"
36089 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36090 LDFLAGS_GL="$ac_path_to_link"
36093 { echo "$as_me:$LINENO: checking for -lGLU" >&5
36094 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
36097 for ac_dir in $SEARCH_LIB;
36099 for ac_extension in a so sl dylib dll.a; do
36100 if test -f "$ac_dir/libGLU.$ac_extension"; then
36101 ac_find_libraries=$ac_dir
36107 if test "$ac_find_libraries" != "" ; then
36109 if test "$ac_find_libraries" = "default location"; then
36112 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36114 if test $result = 0; then
36117 ac_path_to_link=" -L$ac_find_libraries"
36121 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36122 "$ac_path_to_link" != "$LDFLAGS_GL"; then
36123 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36127 OPENGL_LIBS="-lGL -lGLU"
36128 { echo "$as_me:$LINENO: result: yes" >&5
36129 echo "${ECHO_T}yes" >&6; }
36131 { echo "$as_me:$LINENO: result: no" >&5
36132 echo "${ECHO_T}no" >&6; }
36135 { echo "$as_me:$LINENO: result: no" >&5
36136 echo "${ECHO_T}no" >&6; }
36139 if test "$found_gl" != 1; then
36140 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
36141 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
36144 for ac_dir in $SEARCH_LIB;
36146 for ac_extension in a so sl dylib dll.a; do
36147 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
36148 ac_find_libraries=$ac_dir
36154 if test "$ac_find_libraries" != "" ; then
36156 if test "$ac_find_libraries" = "default location"; then
36159 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36161 if test $result = 0; then
36164 ac_path_to_link=" -L$ac_find_libraries"
36168 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
36169 OPENGL_LIBS="-lMesaGL -lMesaGLU"
36170 { echo "$as_me:$LINENO: result: yes" >&5
36171 echo "${ECHO_T}yes" >&6; }
36173 { echo "$as_me:$LINENO: result: no" >&5
36174 echo "${ECHO_T}no" >&6; }
36186 if test "x$OPENGL_LIBS" = "x"; then
36187 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
36188 echo "$as_me: error: OpenGL libraries not available" >&2;}
36189 { (exit 1); exit 1; }; }
36193 if test "$wxUSE_OPENGL" = "yes"; then
36195 cat >>confdefs.h <<\_ACEOF
36196 #define wxUSE_OPENGL 1
36199 cat >>confdefs.h <<\_ACEOF
36200 #define wxUSE_GLCANVAS 1
36203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36208 if test -n "$TOOLKIT" ; then
36209 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36214 if test "$wxUSE_SHARED" = "yes"; then
36218 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36219 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36224 if test "$wxUSE_SHARED" = "yes"; then
36228 *-*-cygwin* | *-*-mingw* )
36229 wx_cv_version_script=no
36233 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36234 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36235 if test "${wx_cv_version_script+set}" = set; then
36236 echo $ECHO_N "(cached) $ECHO_C" >&6
36239 echo "VER_1 { *; };" >conftest.sym
36240 echo "int main() { return 0; }" >conftest.cpp
36243 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36244 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36246 (eval $ac_try) 2>&5
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); }; } ; then
36250 if test -s conftest.stderr ; then
36251 wx_cv_version_script=no
36253 wx_cv_version_script=yes
36256 wx_cv_version_script=no
36259 if test $wx_cv_version_script = yes
36261 echo "struct B { virtual ~B() { } }; \
36262 struct D : public B { }; \
36263 void F() { D d; }" > conftest.cpp
36266 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36267 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36269 (eval $ac_try) 2>&5
36271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36272 (exit $ac_status); }; } &&
36274 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36275 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36277 (eval $ac_try) 2>&5
36279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36280 (exit $ac_status); }; }
36283 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36284 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36286 (eval $ac_try) 2>&5
36288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36289 (exit $ac_status); }; }
36291 wx_cv_version_script=yes
36293 wx_cv_version_script=no
36298 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36299 rm -f conftest1.output conftest2.output conftest3.output
36302 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36303 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36305 if test $wx_cv_version_script = yes ; then
36306 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36312 if test "$wxUSE_VISIBILITY" != "no"; then
36315 if test -n "$GCC"; then
36316 CFLAGS_VISIBILITY="-fvisibility=hidden"
36317 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36318 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36319 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36320 if test "${wx_cv_cc_visibility+set}" = set; then
36321 echo $ECHO_N "(cached) $ECHO_C" >&6
36324 wx_save_CXXFLAGS="$CXXFLAGS"
36325 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36327 ac_cpp='$CXXCPP $CPPFLAGS'
36328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36332 cat >conftest.$ac_ext <<_ACEOF
36335 cat confdefs.h >>conftest.$ac_ext
36336 cat >>conftest.$ac_ext <<_ACEOF
36337 /* end confdefs.h. */
36339 /* we need gcc >= 4.0, older versions with visibility support
36340 didn't have class visibility: */
36341 #if defined(__GNUC__) && __GNUC__ < 4
36342 error this gcc is too old;
36345 /* visibility only makes sense for ELF shared libs: */
36346 #if !defined(__ELF__) && !defined(__APPLE__)
36347 error this platform has no visibility;
36350 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36351 extern __attribute__((__visibility__("default"))) int exportedvar;
36352 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36353 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36354 class __attribute__((__visibility__("default"))) Foo {
36366 rm -f conftest.$ac_objext
36367 if { (ac_try="$ac_compile"
36368 case "(($ac_try" in
36369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36370 *) ac_try_echo=$ac_try;;
36372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36373 (eval "$ac_compile") 2>conftest.er1
36375 grep -v '^ *+' conftest.er1 >conftest.err
36377 cat conftest.err >&5
36378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36379 (exit $ac_status); } && {
36380 test -z "$ac_cxx_werror_flag" ||
36381 test ! -s conftest.err
36382 } && test -s conftest.$ac_objext; then
36383 wx_cv_cc_visibility=yes
36385 echo "$as_me: failed program was:" >&5
36386 sed 's/^/| /' conftest.$ac_ext >&5
36388 wx_cv_cc_visibility=no
36391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36393 ac_cpp='$CPP $CPPFLAGS'
36394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36398 CXXFLAGS="$wx_save_CXXFLAGS"
36401 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36402 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36403 if test $wx_cv_cc_visibility = yes; then
36404 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36405 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36406 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36407 echo $ECHO_N "(cached) $ECHO_C" >&6
36410 wx_save_CXXFLAGS="$CXXFLAGS"
36411 wx_save_LDFLAGS="$LDFLAGS"
36412 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36413 LDFLAGS="$LDFLAGS -shared -fPIC"
36415 ac_cpp='$CXXCPP $CPPFLAGS'
36416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36420 cat >conftest.$ac_ext <<_ACEOF
36423 cat confdefs.h >>conftest.$ac_ext
36424 cat >>conftest.$ac_ext <<_ACEOF
36425 /* end confdefs.h. */
36433 std::string s("hello");
36440 rm -f conftest.$ac_objext conftest$ac_exeext
36441 if { (ac_try="$ac_link"
36442 case "(($ac_try" in
36443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36444 *) ac_try_echo=$ac_try;;
36446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36447 (eval "$ac_link") 2>conftest.er1
36449 grep -v '^ *+' conftest.er1 >conftest.err
36451 cat conftest.err >&5
36452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36453 (exit $ac_status); } && {
36454 test -z "$ac_cxx_werror_flag" ||
36455 test ! -s conftest.err
36456 } && test -s conftest$ac_exeext &&
36457 $as_test_x conftest$ac_exeext; then
36458 wx_cv_cc_broken_libstdcxx_visibility=no
36460 echo "$as_me: failed program was:" >&5
36461 sed 's/^/| /' conftest.$ac_ext >&5
36463 wx_cv_cc_broken_libstdcxx_visibility=yes
36466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36467 conftest$ac_exeext conftest.$ac_ext
36469 ac_cpp='$CPP $CPPFLAGS'
36470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36474 CXXFLAGS="$wx_save_CXXFLAGS"
36475 LDFLAGS="$wx_save_LDFLAGS"
36478 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36479 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36481 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36482 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
36483 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
36484 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
36485 echo $ECHO_N "(cached) $ECHO_C" >&6
36489 ac_cpp='$CXXCPP $CPPFLAGS'
36490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36494 cat >conftest.$ac_ext <<_ACEOF
36497 cat confdefs.h >>conftest.$ac_ext
36498 cat >>conftest.$ac_ext <<_ACEOF
36499 /* end confdefs.h. */
36501 #pragma GCC visibility push(default)
36503 #pragma GCC visibility pop
36509 std::string s("hello");
36516 rm -f conftest.$ac_objext conftest$ac_exeext
36517 if { (ac_try="$ac_link"
36518 case "(($ac_try" in
36519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36520 *) ac_try_echo=$ac_try;;
36522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36523 (eval "$ac_link") 2>conftest.er1
36525 grep -v '^ *+' conftest.er1 >conftest.err
36527 cat conftest.err >&5
36528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36529 (exit $ac_status); } && {
36530 test -z "$ac_cxx_werror_flag" ||
36531 test ! -s conftest.err
36532 } && test -s conftest$ac_exeext &&
36533 $as_test_x conftest$ac_exeext; then
36534 wx_cv_cc_visibility_workaround=no
36536 echo "$as_me: failed program was:" >&5
36537 sed 's/^/| /' conftest.$ac_ext >&5
36539 wx_cv_cc_visibility_workaround=yes
36542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36543 conftest$ac_exeext conftest.$ac_ext
36545 ac_cpp='$CPP $CPPFLAGS'
36546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36553 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
36554 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
36556 if test $wx_cv_cc_visibility_workaround = no; then
36557 wx_cv_cc_visibility=no
36562 if test $wx_cv_cc_visibility = yes; then
36563 cat >>confdefs.h <<\_ACEOF
36564 #define HAVE_VISIBILITY 1
36567 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36568 cat >>confdefs.h <<\_ACEOF
36569 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36574 CFLAGS_VISIBILITY=""
36575 CXXFLAGS_VISIBILITY=""
36583 if test "x$SUNCXX" = xyes; then
36584 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36585 WXCONFIG_RPATH="-R\$libdir"
36588 *-*-linux* | *-*-gnu* )
36589 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36590 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36595 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36597 saveLdflags="$LDFLAGS"
36598 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36599 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36600 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36601 cat >conftest.$ac_ext <<_ACEOF
36604 cat confdefs.h >>conftest.$ac_ext
36605 cat >>conftest.$ac_ext <<_ACEOF
36606 /* end confdefs.h. */
36616 rm -f conftest.$ac_objext conftest$ac_exeext
36617 if { (ac_try="$ac_link"
36618 case "(($ac_try" in
36619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36620 *) ac_try_echo=$ac_try;;
36622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36623 (eval "$ac_link") 2>conftest.er1
36625 grep -v '^ *+' conftest.er1 >conftest.err
36627 cat conftest.err >&5
36628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36629 (exit $ac_status); } && {
36630 test -z "$ac_c_werror_flag" ||
36631 test ! -s conftest.err
36632 } && test -s conftest$ac_exeext &&
36633 $as_test_x conftest$ac_exeext; then
36635 { echo "$as_me:$LINENO: result: yes" >&5
36636 echo "${ECHO_T}yes" >&6; }
36637 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36638 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36641 echo "$as_me: failed program was:" >&5
36642 sed 's/^/| /' conftest.$ac_ext >&5
36645 { echo "$as_me:$LINENO: result: no" >&5
36646 echo "${ECHO_T}no" >&6; }
36647 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36648 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36649 LDFLAGS="$saveLdflags -Wl,-R,/"
36650 cat >conftest.$ac_ext <<_ACEOF
36653 cat confdefs.h >>conftest.$ac_ext
36654 cat >>conftest.$ac_ext <<_ACEOF
36655 /* end confdefs.h. */
36665 rm -f conftest.$ac_objext conftest$ac_exeext
36666 if { (ac_try="$ac_link"
36667 case "(($ac_try" in
36668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36669 *) ac_try_echo=$ac_try;;
36671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36672 (eval "$ac_link") 2>conftest.er1
36674 grep -v '^ *+' conftest.er1 >conftest.err
36676 cat conftest.err >&5
36677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36678 (exit $ac_status); } && {
36679 test -z "$ac_c_werror_flag" ||
36680 test ! -s conftest.err
36681 } && test -s conftest$ac_exeext &&
36682 $as_test_x conftest$ac_exeext; then
36684 { echo "$as_me:$LINENO: result: yes" >&5
36685 echo "${ECHO_T}yes" >&6; }
36686 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36687 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36690 echo "$as_me: failed program was:" >&5
36691 sed 's/^/| /' conftest.$ac_ext >&5
36694 { echo "$as_me:$LINENO: result: no" >&5
36695 echo "${ECHO_T}no" >&6; }
36699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36700 conftest$ac_exeext conftest.$ac_ext
36704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36705 conftest$ac_exeext conftest.$ac_ext
36706 LDFLAGS="$saveLdflags"
36710 install_name_tool=`which install_name_tool`
36711 if test "$install_name_tool" -a -x "$install_name_tool"; then
36712 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36713 cat <<EOF >change-install-names
36715 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36716 inst_cmd="install_name_tool "
36717 for i in \${libnames} ; do
36718 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36722 chmod +x change-install-names
36726 *-*-cygwin* | *-*-mingw32* )
36730 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36731 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36737 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36739 if test $wxUSE_RPATH = "no"; then
36740 SAMPLES_RPATH_FLAG=''
36741 SAMPLES_RPATH_POSTLINK=''
36749 config_linkage_component="-static"
36756 lib_unicode_suffix=
36758 if test "$wxUSE_UNICODE" = "yes"; then
36759 lib_unicode_suffix=u
36760 WX_CHARTYPE="unicode"
36765 WX_DEBUGTYPE="release"
36767 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36769 WX_DEBUGTYPE="debug"
36773 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36774 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36777 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36781 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36783 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36785 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36787 if test "$cross_compiling" = "yes"; then
36788 HOST_SUFFIX="-$host_alias"
36789 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36790 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36793 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36794 if test "${TOOLKIT_DIR}" = "os2"; then
36795 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36797 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36802 if test "$wxUSE_COCOA" = 1; then
36805 ac_cpp='$CPP $CPPFLAGS'
36806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36812 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36813 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36814 cat >conftest.$ac_ext <<_ACEOF
36817 cat confdefs.h >>conftest.$ac_ext
36818 cat >>conftest.$ac_ext <<_ACEOF
36819 /* end confdefs.h. */
36820 #include <AppKit/NSEvent.h>
36821 #include <CoreFoundation/CoreFoundation.h>
36831 rm -f conftest.$ac_objext
36832 if { (ac_try="$ac_compile"
36833 case "(($ac_try" in
36834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36835 *) ac_try_echo=$ac_try;;
36837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36838 (eval "$ac_compile") 2>conftest.er1
36840 grep -v '^ *+' conftest.er1 >conftest.err
36842 cat conftest.err >&5
36843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36844 (exit $ac_status); } && {
36845 test -z "$ac_c_werror_flag" ||
36846 test ! -s conftest.err
36847 } && test -s conftest.$ac_objext; then
36848 { echo "$as_me:$LINENO: result: no" >&5
36849 echo "${ECHO_T}no" >&6; }
36851 echo "$as_me: failed program was:" >&5
36852 sed 's/^/| /' conftest.$ac_ext >&5
36854 { echo "$as_me:$LINENO: result: yes" >&5
36855 echo "${ECHO_T}yes" >&6; }
36856 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36857 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36858 cat >conftest.$ac_ext <<_ACEOF
36861 cat confdefs.h >>conftest.$ac_ext
36862 cat >>conftest.$ac_ext <<_ACEOF
36863 /* end confdefs.h. */
36864 #define __Point__ 1
36865 #include <AppKit/NSEvent.h>
36866 #include <CoreFoundation/CoreFoundation.h>
36876 rm -f conftest.$ac_objext
36877 if { (ac_try="$ac_compile"
36878 case "(($ac_try" in
36879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36880 *) ac_try_echo=$ac_try;;
36882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36883 (eval "$ac_compile") 2>conftest.er1
36885 grep -v '^ *+' conftest.er1 >conftest.err
36887 cat conftest.err >&5
36888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36889 (exit $ac_status); } && {
36890 test -z "$ac_c_werror_flag" ||
36891 test ! -s conftest.err
36892 } && test -s conftest.$ac_objext; then
36893 { echo "$as_me:$LINENO: result: yes" >&5
36894 echo "${ECHO_T}yes" >&6; }
36895 cat >>confdefs.h <<\_ACEOF
36896 #define __Point__ 1
36901 echo "$as_me: failed program was:" >&5
36902 sed 's/^/| /' conftest.$ac_ext >&5
36904 { { echo "$as_me:$LINENO: error: no
36905 See \`config.log' for more details." >&5
36906 echo "$as_me: error: no
36907 See \`config.log' for more details." >&2;}
36908 { (exit 1); exit 1; }; }
36912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36918 ac_cpp='$CPP $CPPFLAGS'
36919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36926 { echo "$as_me:$LINENO: checking for mode_t" >&5
36927 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36928 if test "${ac_cv_type_mode_t+set}" = set; then
36929 echo $ECHO_N "(cached) $ECHO_C" >&6
36931 cat >conftest.$ac_ext <<_ACEOF
36934 cat confdefs.h >>conftest.$ac_ext
36935 cat >>conftest.$ac_ext <<_ACEOF
36936 /* end confdefs.h. */
36937 $ac_includes_default
36938 typedef mode_t ac__type_new_;
36942 if ((ac__type_new_ *) 0)
36944 if (sizeof (ac__type_new_))
36950 rm -f conftest.$ac_objext
36951 if { (ac_try="$ac_compile"
36952 case "(($ac_try" in
36953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36954 *) ac_try_echo=$ac_try;;
36956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36957 (eval "$ac_compile") 2>conftest.er1
36959 grep -v '^ *+' conftest.er1 >conftest.err
36961 cat conftest.err >&5
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); } && {
36964 test -z "$ac_c_werror_flag" ||
36965 test ! -s conftest.err
36966 } && test -s conftest.$ac_objext; then
36967 ac_cv_type_mode_t=yes
36969 echo "$as_me: failed program was:" >&5
36970 sed 's/^/| /' conftest.$ac_ext >&5
36972 ac_cv_type_mode_t=no
36975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36977 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36978 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36979 if test $ac_cv_type_mode_t = yes; then
36983 cat >>confdefs.h <<_ACEOF
36989 { echo "$as_me:$LINENO: checking for off_t" >&5
36990 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36991 if test "${ac_cv_type_off_t+set}" = set; then
36992 echo $ECHO_N "(cached) $ECHO_C" >&6
36994 cat >conftest.$ac_ext <<_ACEOF
36997 cat confdefs.h >>conftest.$ac_ext
36998 cat >>conftest.$ac_ext <<_ACEOF
36999 /* end confdefs.h. */
37000 $ac_includes_default
37001 typedef off_t ac__type_new_;
37005 if ((ac__type_new_ *) 0)
37007 if (sizeof (ac__type_new_))
37013 rm -f conftest.$ac_objext
37014 if { (ac_try="$ac_compile"
37015 case "(($ac_try" in
37016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37017 *) ac_try_echo=$ac_try;;
37019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37020 (eval "$ac_compile") 2>conftest.er1
37022 grep -v '^ *+' conftest.er1 >conftest.err
37024 cat conftest.err >&5
37025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37026 (exit $ac_status); } && {
37027 test -z "$ac_c_werror_flag" ||
37028 test ! -s conftest.err
37029 } && test -s conftest.$ac_objext; then
37030 ac_cv_type_off_t=yes
37032 echo "$as_me: failed program was:" >&5
37033 sed 's/^/| /' conftest.$ac_ext >&5
37035 ac_cv_type_off_t=no
37038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37040 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
37041 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
37042 if test $ac_cv_type_off_t = yes; then
37046 cat >>confdefs.h <<_ACEOF
37047 #define off_t long int
37052 { echo "$as_me:$LINENO: checking for pid_t" >&5
37053 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
37054 if test "${ac_cv_type_pid_t+set}" = set; then
37055 echo $ECHO_N "(cached) $ECHO_C" >&6
37057 cat >conftest.$ac_ext <<_ACEOF
37060 cat confdefs.h >>conftest.$ac_ext
37061 cat >>conftest.$ac_ext <<_ACEOF
37062 /* end confdefs.h. */
37063 $ac_includes_default
37064 typedef pid_t ac__type_new_;
37068 if ((ac__type_new_ *) 0)
37070 if (sizeof (ac__type_new_))
37076 rm -f conftest.$ac_objext
37077 if { (ac_try="$ac_compile"
37078 case "(($ac_try" in
37079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37080 *) ac_try_echo=$ac_try;;
37082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37083 (eval "$ac_compile") 2>conftest.er1
37085 grep -v '^ *+' conftest.er1 >conftest.err
37087 cat conftest.err >&5
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); } && {
37090 test -z "$ac_c_werror_flag" ||
37091 test ! -s conftest.err
37092 } && test -s conftest.$ac_objext; then
37093 ac_cv_type_pid_t=yes
37095 echo "$as_me: failed program was:" >&5
37096 sed 's/^/| /' conftest.$ac_ext >&5
37098 ac_cv_type_pid_t=no
37101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37103 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
37104 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
37105 if test $ac_cv_type_pid_t = yes; then
37109 cat >>confdefs.h <<_ACEOF
37115 { echo "$as_me:$LINENO: checking for size_t" >&5
37116 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
37117 if test "${ac_cv_type_size_t+set}" = set; then
37118 echo $ECHO_N "(cached) $ECHO_C" >&6
37120 cat >conftest.$ac_ext <<_ACEOF
37123 cat confdefs.h >>conftest.$ac_ext
37124 cat >>conftest.$ac_ext <<_ACEOF
37125 /* end confdefs.h. */
37126 $ac_includes_default
37127 typedef size_t ac__type_new_;
37131 if ((ac__type_new_ *) 0)
37133 if (sizeof (ac__type_new_))
37139 rm -f conftest.$ac_objext
37140 if { (ac_try="$ac_compile"
37141 case "(($ac_try" in
37142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37143 *) ac_try_echo=$ac_try;;
37145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37146 (eval "$ac_compile") 2>conftest.er1
37148 grep -v '^ *+' conftest.er1 >conftest.err
37150 cat conftest.err >&5
37151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37152 (exit $ac_status); } && {
37153 test -z "$ac_c_werror_flag" ||
37154 test ! -s conftest.err
37155 } && test -s conftest.$ac_objext; then
37156 ac_cv_type_size_t=yes
37158 echo "$as_me: failed program was:" >&5
37159 sed 's/^/| /' conftest.$ac_ext >&5
37161 ac_cv_type_size_t=no
37164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37166 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
37167 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
37168 if test $ac_cv_type_size_t = yes; then
37172 cat >>confdefs.h <<_ACEOF
37173 #define size_t unsigned int
37178 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
37179 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
37180 if test "${ac_cv_type_uid_t+set}" = set; then
37181 echo $ECHO_N "(cached) $ECHO_C" >&6
37183 cat >conftest.$ac_ext <<_ACEOF
37186 cat confdefs.h >>conftest.$ac_ext
37187 cat >>conftest.$ac_ext <<_ACEOF
37188 /* end confdefs.h. */
37189 #include <sys/types.h>
37192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37193 $EGREP "uid_t" >/dev/null 2>&1; then
37194 ac_cv_type_uid_t=yes
37196 ac_cv_type_uid_t=no
37201 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
37202 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37203 if test $ac_cv_type_uid_t = no; then
37205 cat >>confdefs.h <<\_ACEOF
37210 cat >>confdefs.h <<\_ACEOF
37217 { echo "$as_me:$LINENO: checking for ssize_t" >&5
37218 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
37219 if test "${ac_cv_type_ssize_t+set}" = set; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37222 cat >conftest.$ac_ext <<_ACEOF
37225 cat confdefs.h >>conftest.$ac_ext
37226 cat >>conftest.$ac_ext <<_ACEOF
37227 /* end confdefs.h. */
37228 $ac_includes_default
37229 typedef ssize_t ac__type_new_;
37233 if ((ac__type_new_ *) 0)
37235 if (sizeof (ac__type_new_))
37241 rm -f conftest.$ac_objext
37242 if { (ac_try="$ac_compile"
37243 case "(($ac_try" in
37244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37245 *) ac_try_echo=$ac_try;;
37247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37248 (eval "$ac_compile") 2>conftest.er1
37250 grep -v '^ *+' conftest.er1 >conftest.err
37252 cat conftest.err >&5
37253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37254 (exit $ac_status); } && {
37255 test -z "$ac_c_werror_flag" ||
37256 test ! -s conftest.err
37257 } && test -s conftest.$ac_objext; then
37258 ac_cv_type_ssize_t=yes
37260 echo "$as_me: failed program was:" >&5
37261 sed 's/^/| /' conftest.$ac_ext >&5
37263 ac_cv_type_ssize_t=no
37266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37268 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37269 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37270 if test $ac_cv_type_ssize_t = yes; then
37272 cat >>confdefs.h <<_ACEOF
37273 #define HAVE_SSIZE_T 1
37281 ac_cpp='$CXXCPP $CPPFLAGS'
37282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37285 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37286 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37287 if test "${wx_cv_size_t_is_uint+set}" = set; then
37288 echo $ECHO_N "(cached) $ECHO_C" >&6
37291 cat >conftest.$ac_ext <<_ACEOF
37294 cat confdefs.h >>conftest.$ac_ext
37295 cat >>conftest.$ac_ext <<_ACEOF
37296 /* end confdefs.h. */
37297 #include <stddef.h>
37304 struct Foo { void foo(size_t); void foo(unsigned int); };
37312 rm -f conftest.$ac_objext
37313 if { (ac_try="$ac_compile"
37314 case "(($ac_try" in
37315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37316 *) ac_try_echo=$ac_try;;
37318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37319 (eval "$ac_compile") 2>conftest.er1
37321 grep -v '^ *+' conftest.er1 >conftest.err
37323 cat conftest.err >&5
37324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37325 (exit $ac_status); } && {
37326 test -z "$ac_cxx_werror_flag" ||
37327 test ! -s conftest.err
37328 } && test -s conftest.$ac_objext; then
37329 wx_cv_size_t_is_uint=no
37331 echo "$as_me: failed program was:" >&5
37332 sed 's/^/| /' conftest.$ac_ext >&5
37334 wx_cv_size_t_is_uint=yes
37338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37342 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37343 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37345 if test "$wx_cv_size_t_is_uint" = "yes"; then
37346 cat >>confdefs.h <<\_ACEOF
37347 #define wxSIZE_T_IS_UINT 1
37351 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37352 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37353 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37354 echo $ECHO_N "(cached) $ECHO_C" >&6
37356 cat >conftest.$ac_ext <<_ACEOF
37359 cat confdefs.h >>conftest.$ac_ext
37360 cat >>conftest.$ac_ext <<_ACEOF
37361 /* end confdefs.h. */
37362 #include <stddef.h>
37369 struct Foo { void foo(size_t); void foo(unsigned long); };
37377 rm -f conftest.$ac_objext
37378 if { (ac_try="$ac_compile"
37379 case "(($ac_try" in
37380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37381 *) ac_try_echo=$ac_try;;
37383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37384 (eval "$ac_compile") 2>conftest.er1
37386 grep -v '^ *+' conftest.er1 >conftest.err
37388 cat conftest.err >&5
37389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37390 (exit $ac_status); } && {
37391 test -z "$ac_cxx_werror_flag" ||
37392 test ! -s conftest.err
37393 } && test -s conftest.$ac_objext; then
37394 wx_cv_size_t_is_ulong=no
37396 echo "$as_me: failed program was:" >&5
37397 sed 's/^/| /' conftest.$ac_ext >&5
37399 wx_cv_size_t_is_ulong=yes
37403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37406 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37407 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37409 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37410 cat >>confdefs.h <<\_ACEOF
37411 #define wxSIZE_T_IS_ULONG 1
37417 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37418 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37419 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37420 echo $ECHO_N "(cached) $ECHO_C" >&6
37422 cat >conftest.$ac_ext <<_ACEOF
37425 cat confdefs.h >>conftest.$ac_ext
37426 cat >>conftest.$ac_ext <<_ACEOF
37427 /* end confdefs.h. */
37435 struct Foo { void foo(wchar_t);
37436 void foo(unsigned short);
37437 void foo(unsigned int);
37438 void foo(unsigned long); };
37446 rm -f conftest.$ac_objext
37447 if { (ac_try="$ac_compile"
37448 case "(($ac_try" in
37449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37450 *) ac_try_echo=$ac_try;;
37452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37453 (eval "$ac_compile") 2>conftest.er1
37455 grep -v '^ *+' conftest.er1 >conftest.err
37457 cat conftest.err >&5
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); } && {
37460 test -z "$ac_cxx_werror_flag" ||
37461 test ! -s conftest.err
37462 } && test -s conftest.$ac_objext; then
37463 wx_cv_wchar_t_is_separate_type=yes
37465 echo "$as_me: failed program was:" >&5
37466 sed 's/^/| /' conftest.$ac_ext >&5
37468 wx_cv_wchar_t_is_separate_type=no
37472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37475 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37476 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37478 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37479 cat >>confdefs.h <<\_ACEOF
37480 #define wxWCHAR_T_IS_REAL_TYPE 1
37484 cat >>confdefs.h <<\_ACEOF
37485 #define wxWCHAR_T_IS_REAL_TYPE 0
37491 ac_cpp='$CPP $CPPFLAGS'
37492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37497 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37498 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37499 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37500 echo $ECHO_N "(cached) $ECHO_C" >&6
37503 cat >conftest.$ac_ext <<_ACEOF
37506 cat confdefs.h >>conftest.$ac_ext
37507 cat >>conftest.$ac_ext <<_ACEOF
37508 /* end confdefs.h. */
37522 rm -f conftest.$ac_objext
37523 if { (ac_try="$ac_compile"
37524 case "(($ac_try" in
37525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37526 *) ac_try_echo=$ac_try;;
37528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37529 (eval "$ac_compile") 2>conftest.er1
37531 grep -v '^ *+' conftest.er1 >conftest.err
37533 cat conftest.err >&5
37534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37535 (exit $ac_status); } && {
37536 test -z "$ac_c_werror_flag" ||
37537 test ! -s conftest.err
37538 } && test -s conftest.$ac_objext; then
37540 wx_cv_struct_pw_gecos=yes
37543 echo "$as_me: failed program was:" >&5
37544 sed 's/^/| /' conftest.$ac_ext >&5
37547 wx_cv_struct_pw_gecos=no
37552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37556 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37557 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37559 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37560 cat >>confdefs.h <<\_ACEOF
37561 #define HAVE_PW_GECOS 1
37567 if test "$wxUSE_WCHAR_T" = "yes"; then
37568 cat >>confdefs.h <<\_ACEOF
37569 #define wxUSE_WCHAR_T 1
37576 for ac_func in wcslen
37578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37579 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37581 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37582 echo $ECHO_N "(cached) $ECHO_C" >&6
37584 cat >conftest.$ac_ext <<_ACEOF
37587 cat confdefs.h >>conftest.$ac_ext
37588 cat >>conftest.$ac_ext <<_ACEOF
37589 /* end confdefs.h. */
37590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37592 #define $ac_func innocuous_$ac_func
37594 /* System header to define __stub macros and hopefully few prototypes,
37595 which can conflict with char $ac_func (); below.
37596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37597 <limits.h> exists even on freestanding compilers. */
37600 # include <limits.h>
37602 # include <assert.h>
37607 /* Override any GCC internal prototype to avoid an error.
37608 Use char because int might match the return type of a GCC
37609 builtin and then its argument prototype would still apply. */
37614 /* The GNU C library defines this for functions which it implements
37615 to always fail with ENOSYS. Some functions are actually named
37616 something starting with __ and the normal name is an alias. */
37617 #if defined __stub_$ac_func || defined __stub___$ac_func
37624 return $ac_func ();
37629 rm -f conftest.$ac_objext conftest$ac_exeext
37630 if { (ac_try="$ac_link"
37631 case "(($ac_try" in
37632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37633 *) ac_try_echo=$ac_try;;
37635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37636 (eval "$ac_link") 2>conftest.er1
37638 grep -v '^ *+' conftest.er1 >conftest.err
37640 cat conftest.err >&5
37641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37642 (exit $ac_status); } && {
37643 test -z "$ac_c_werror_flag" ||
37644 test ! -s conftest.err
37645 } && test -s conftest$ac_exeext &&
37646 $as_test_x conftest$ac_exeext; then
37647 eval "$as_ac_var=yes"
37649 echo "$as_me: failed program was:" >&5
37650 sed 's/^/| /' conftest.$ac_ext >&5
37652 eval "$as_ac_var=no"
37655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37656 conftest$ac_exeext conftest.$ac_ext
37658 ac_res=`eval echo '${'$as_ac_var'}'`
37659 { echo "$as_me:$LINENO: result: $ac_res" >&5
37660 echo "${ECHO_T}$ac_res" >&6; }
37661 if test `eval echo '${'$as_ac_var'}'` = yes; then
37662 cat >>confdefs.h <<_ACEOF
37663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37670 if test "$WCSLEN_FOUND" = 0; then
37671 if test "$TOOLKIT" = "MSW"; then
37672 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37673 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37674 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37675 echo $ECHO_N "(cached) $ECHO_C" >&6
37677 ac_check_lib_save_LIBS=$LIBS
37678 LIBS="-lmsvcrt $LIBS"
37679 cat >conftest.$ac_ext <<_ACEOF
37682 cat confdefs.h >>conftest.$ac_ext
37683 cat >>conftest.$ac_ext <<_ACEOF
37684 /* end confdefs.h. */
37686 /* Override any GCC internal prototype to avoid an error.
37687 Use char because int might match the return type of a GCC
37688 builtin and then its argument prototype would still apply. */
37701 rm -f conftest.$ac_objext conftest$ac_exeext
37702 if { (ac_try="$ac_link"
37703 case "(($ac_try" in
37704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37705 *) ac_try_echo=$ac_try;;
37707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37708 (eval "$ac_link") 2>conftest.er1
37710 grep -v '^ *+' conftest.er1 >conftest.err
37712 cat conftest.err >&5
37713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37714 (exit $ac_status); } && {
37715 test -z "$ac_c_werror_flag" ||
37716 test ! -s conftest.err
37717 } && test -s conftest$ac_exeext &&
37718 $as_test_x conftest$ac_exeext; then
37719 ac_cv_lib_msvcrt_wcslen=yes
37721 echo "$as_me: failed program was:" >&5
37722 sed 's/^/| /' conftest.$ac_ext >&5
37724 ac_cv_lib_msvcrt_wcslen=no
37727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37728 conftest$ac_exeext conftest.$ac_ext
37729 LIBS=$ac_check_lib_save_LIBS
37731 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37732 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37733 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37738 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37739 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37740 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37741 echo $ECHO_N "(cached) $ECHO_C" >&6
37743 ac_check_lib_save_LIBS=$LIBS
37745 cat >conftest.$ac_ext <<_ACEOF
37748 cat confdefs.h >>conftest.$ac_ext
37749 cat >>conftest.$ac_ext <<_ACEOF
37750 /* end confdefs.h. */
37752 /* Override any GCC internal prototype to avoid an error.
37753 Use char because int might match the return type of a GCC
37754 builtin and then its argument prototype would still apply. */
37767 rm -f conftest.$ac_objext conftest$ac_exeext
37768 if { (ac_try="$ac_link"
37769 case "(($ac_try" in
37770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37771 *) ac_try_echo=$ac_try;;
37773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37774 (eval "$ac_link") 2>conftest.er1
37776 grep -v '^ *+' conftest.er1 >conftest.err
37778 cat conftest.err >&5
37779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37780 (exit $ac_status); } && {
37781 test -z "$ac_c_werror_flag" ||
37782 test ! -s conftest.err
37783 } && test -s conftest$ac_exeext &&
37784 $as_test_x conftest$ac_exeext; then
37785 ac_cv_lib_w_wcslen=yes
37787 echo "$as_me: failed program was:" >&5
37788 sed 's/^/| /' conftest.$ac_ext >&5
37790 ac_cv_lib_w_wcslen=no
37793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37794 conftest$ac_exeext conftest.$ac_ext
37795 LIBS=$ac_check_lib_save_LIBS
37797 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37798 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37799 if test $ac_cv_lib_w_wcslen = yes; then
37809 if test "$WCSLEN_FOUND" = 1; then
37810 cat >>confdefs.h <<\_ACEOF
37811 #define HAVE_WCSLEN 1
37817 for ac_func in wcsdup
37819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37820 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37822 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37823 echo $ECHO_N "(cached) $ECHO_C" >&6
37825 cat >conftest.$ac_ext <<_ACEOF
37828 cat confdefs.h >>conftest.$ac_ext
37829 cat >>conftest.$ac_ext <<_ACEOF
37830 /* end confdefs.h. */
37831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37833 #define $ac_func innocuous_$ac_func
37835 /* System header to define __stub macros and hopefully few prototypes,
37836 which can conflict with char $ac_func (); below.
37837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37838 <limits.h> exists even on freestanding compilers. */
37841 # include <limits.h>
37843 # include <assert.h>
37848 /* Override any GCC internal prototype to avoid an error.
37849 Use char because int might match the return type of a GCC
37850 builtin and then its argument prototype would still apply. */
37855 /* The GNU C library defines this for functions which it implements
37856 to always fail with ENOSYS. Some functions are actually named
37857 something starting with __ and the normal name is an alias. */
37858 #if defined __stub_$ac_func || defined __stub___$ac_func
37865 return $ac_func ();
37870 rm -f conftest.$ac_objext conftest$ac_exeext
37871 if { (ac_try="$ac_link"
37872 case "(($ac_try" in
37873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37874 *) ac_try_echo=$ac_try;;
37876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37877 (eval "$ac_link") 2>conftest.er1
37879 grep -v '^ *+' conftest.er1 >conftest.err
37881 cat conftest.err >&5
37882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883 (exit $ac_status); } && {
37884 test -z "$ac_c_werror_flag" ||
37885 test ! -s conftest.err
37886 } && test -s conftest$ac_exeext &&
37887 $as_test_x conftest$ac_exeext; then
37888 eval "$as_ac_var=yes"
37890 echo "$as_me: failed program was:" >&5
37891 sed 's/^/| /' conftest.$ac_ext >&5
37893 eval "$as_ac_var=no"
37896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37897 conftest$ac_exeext conftest.$ac_ext
37899 ac_res=`eval echo '${'$as_ac_var'}'`
37900 { echo "$as_me:$LINENO: result: $ac_res" >&5
37901 echo "${ECHO_T}$ac_res" >&6; }
37902 if test `eval echo '${'$as_ac_var'}'` = yes; then
37903 cat >>confdefs.h <<_ACEOF
37904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37911 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37912 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37915 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37916 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37917 if test "${ac_cv_type_mbstate_t+set}" = set; then
37918 echo $ECHO_N "(cached) $ECHO_C" >&6
37920 cat >conftest.$ac_ext <<_ACEOF
37923 cat confdefs.h >>conftest.$ac_ext
37924 cat >>conftest.$ac_ext <<_ACEOF
37925 /* end confdefs.h. */
37928 typedef mbstate_t ac__type_new_;
37932 if ((ac__type_new_ *) 0)
37934 if (sizeof (ac__type_new_))
37940 rm -f conftest.$ac_objext
37941 if { (ac_try="$ac_compile"
37942 case "(($ac_try" in
37943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37944 *) ac_try_echo=$ac_try;;
37946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37947 (eval "$ac_compile") 2>conftest.er1
37949 grep -v '^ *+' conftest.er1 >conftest.err
37951 cat conftest.err >&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } && {
37954 test -z "$ac_c_werror_flag" ||
37955 test ! -s conftest.err
37956 } && test -s conftest.$ac_objext; then
37957 ac_cv_type_mbstate_t=yes
37959 echo "$as_me: failed program was:" >&5
37960 sed 's/^/| /' conftest.$ac_ext >&5
37962 ac_cv_type_mbstate_t=no
37965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37967 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37968 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37969 if test $ac_cv_type_mbstate_t = yes; then
37971 cat >>confdefs.h <<_ACEOF
37972 #define HAVE_MBSTATE_T 1
37976 for ac_func in wcsrtombs
37978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37979 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37981 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37982 echo $ECHO_N "(cached) $ECHO_C" >&6
37984 cat >conftest.$ac_ext <<_ACEOF
37987 cat confdefs.h >>conftest.$ac_ext
37988 cat >>conftest.$ac_ext <<_ACEOF
37989 /* end confdefs.h. */
37990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37992 #define $ac_func innocuous_$ac_func
37994 /* System header to define __stub macros and hopefully few prototypes,
37995 which can conflict with char $ac_func (); below.
37996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37997 <limits.h> exists even on freestanding compilers. */
38000 # include <limits.h>
38002 # include <assert.h>
38007 /* Override any GCC internal prototype to avoid an error.
38008 Use char because int might match the return type of a GCC
38009 builtin and then its argument prototype would still apply. */
38014 /* The GNU C library defines this for functions which it implements
38015 to always fail with ENOSYS. Some functions are actually named
38016 something starting with __ and the normal name is an alias. */
38017 #if defined __stub_$ac_func || defined __stub___$ac_func
38024 return $ac_func ();
38029 rm -f conftest.$ac_objext conftest$ac_exeext
38030 if { (ac_try="$ac_link"
38031 case "(($ac_try" in
38032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38033 *) ac_try_echo=$ac_try;;
38035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38036 (eval "$ac_link") 2>conftest.er1
38038 grep -v '^ *+' conftest.er1 >conftest.err
38040 cat conftest.err >&5
38041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042 (exit $ac_status); } && {
38043 test -z "$ac_c_werror_flag" ||
38044 test ! -s conftest.err
38045 } && test -s conftest$ac_exeext &&
38046 $as_test_x conftest$ac_exeext; then
38047 eval "$as_ac_var=yes"
38049 echo "$as_me: failed program was:" >&5
38050 sed 's/^/| /' conftest.$ac_ext >&5
38052 eval "$as_ac_var=no"
38055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38056 conftest$ac_exeext conftest.$ac_ext
38058 ac_res=`eval echo '${'$as_ac_var'}'`
38059 { echo "$as_me:$LINENO: result: $ac_res" >&5
38060 echo "${ECHO_T}$ac_res" >&6; }
38061 if test `eval echo '${'$as_ac_var'}'` = yes; then
38062 cat >>confdefs.h <<_ACEOF
38063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38072 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
38073 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
38078 for ac_func in snprintf vsnprintf
38080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38081 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38083 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38084 echo $ECHO_N "(cached) $ECHO_C" >&6
38086 cat >conftest.$ac_ext <<_ACEOF
38089 cat confdefs.h >>conftest.$ac_ext
38090 cat >>conftest.$ac_ext <<_ACEOF
38091 /* end confdefs.h. */
38092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38094 #define $ac_func innocuous_$ac_func
38096 /* System header to define __stub macros and hopefully few prototypes,
38097 which can conflict with char $ac_func (); below.
38098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38099 <limits.h> exists even on freestanding compilers. */
38102 # include <limits.h>
38104 # include <assert.h>
38109 /* Override any GCC internal prototype to avoid an error.
38110 Use char because int might match the return type of a GCC
38111 builtin and then its argument prototype would still apply. */
38116 /* The GNU C library defines this for functions which it implements
38117 to always fail with ENOSYS. Some functions are actually named
38118 something starting with __ and the normal name is an alias. */
38119 #if defined __stub_$ac_func || defined __stub___$ac_func
38126 return $ac_func ();
38131 rm -f conftest.$ac_objext conftest$ac_exeext
38132 if { (ac_try="$ac_link"
38133 case "(($ac_try" in
38134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38135 *) ac_try_echo=$ac_try;;
38137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38138 (eval "$ac_link") 2>conftest.er1
38140 grep -v '^ *+' conftest.er1 >conftest.err
38142 cat conftest.err >&5
38143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38144 (exit $ac_status); } && {
38145 test -z "$ac_c_werror_flag" ||
38146 test ! -s conftest.err
38147 } && test -s conftest$ac_exeext &&
38148 $as_test_x conftest$ac_exeext; then
38149 eval "$as_ac_var=yes"
38151 echo "$as_me: failed program was:" >&5
38152 sed 's/^/| /' conftest.$ac_ext >&5
38154 eval "$as_ac_var=no"
38157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38158 conftest$ac_exeext conftest.$ac_ext
38160 ac_res=`eval echo '${'$as_ac_var'}'`
38161 { echo "$as_me:$LINENO: result: $ac_res" >&5
38162 echo "${ECHO_T}$ac_res" >&6; }
38163 if test `eval echo '${'$as_ac_var'}'` = yes; then
38164 cat >>confdefs.h <<_ACEOF
38165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38172 if test "$ac_cv_func_vsnprintf" = "yes"; then
38173 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
38174 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
38175 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
38176 echo $ECHO_N "(cached) $ECHO_C" >&6
38179 cat >conftest.$ac_ext <<_ACEOF
38182 cat confdefs.h >>conftest.$ac_ext
38183 cat >>conftest.$ac_ext <<_ACEOF
38184 /* end confdefs.h. */
38187 #include <stdarg.h>
38189 #if __MSL__ >= 0x6000
38191 using namespace std;
38201 vsnprintf(buf, 10u, "%s", ap);
38207 rm -f conftest.$ac_objext
38208 if { (ac_try="$ac_compile"
38209 case "(($ac_try" in
38210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38211 *) ac_try_echo=$ac_try;;
38213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38214 (eval "$ac_compile") 2>conftest.er1
38216 grep -v '^ *+' conftest.er1 >conftest.err
38218 cat conftest.err >&5
38219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38220 (exit $ac_status); } && {
38221 test -z "$ac_c_werror_flag" ||
38222 test ! -s conftest.err
38223 } && test -s conftest.$ac_objext; then
38224 wx_cv_func_vsnprintf_decl=yes
38226 echo "$as_me: failed program was:" >&5
38227 sed 's/^/| /' conftest.$ac_ext >&5
38229 wx_cv_func_vsnprintf_decl=no
38233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38237 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
38238 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38240 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38241 cat >>confdefs.h <<\_ACEOF
38242 #define HAVE_VSNPRINTF_DECL 1
38246 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
38247 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
38248 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38249 echo $ECHO_N "(cached) $ECHO_C" >&6
38252 cat >conftest.$ac_ext <<_ACEOF
38255 cat confdefs.h >>conftest.$ac_ext
38256 cat >>conftest.$ac_ext <<_ACEOF
38257 /* end confdefs.h. */
38260 #include <stdarg.h>
38262 #if __MSL__ >= 0x6000
38264 using namespace std;
38274 const char *fmt = "%s";
38275 vsnprintf(buf, 10u, fmt, ap);
38281 rm -f conftest.$ac_objext
38282 if { (ac_try="$ac_compile"
38283 case "(($ac_try" in
38284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38285 *) ac_try_echo=$ac_try;;
38287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38288 (eval "$ac_compile") 2>conftest.er1
38290 grep -v '^ *+' conftest.er1 >conftest.err
38292 cat conftest.err >&5
38293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38294 (exit $ac_status); } && {
38295 test -z "$ac_c_werror_flag" ||
38296 test ! -s conftest.err
38297 } && test -s conftest.$ac_objext; then
38298 wx_cv_func_broken_vsnprintf_decl=no
38300 echo "$as_me: failed program was:" >&5
38301 sed 's/^/| /' conftest.$ac_ext >&5
38303 wx_cv_func_broken_vsnprintf_decl=yes
38307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38311 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38312 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38314 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38315 cat >>confdefs.h <<\_ACEOF
38316 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38323 if test "$ac_cv_func_snprintf" = "yes"; then
38324 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38325 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38326 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38327 echo $ECHO_N "(cached) $ECHO_C" >&6
38330 cat >conftest.$ac_ext <<_ACEOF
38333 cat confdefs.h >>conftest.$ac_ext
38334 cat >>conftest.$ac_ext <<_ACEOF
38335 /* end confdefs.h. */
38338 #include <stdarg.h>
38340 #if __MSL__ >= 0x6000
38342 using namespace std;
38351 snprintf(buf, 10u, "%s", "wx");
38357 rm -f conftest.$ac_objext
38358 if { (ac_try="$ac_compile"
38359 case "(($ac_try" in
38360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38361 *) ac_try_echo=$ac_try;;
38363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38364 (eval "$ac_compile") 2>conftest.er1
38366 grep -v '^ *+' conftest.er1 >conftest.err
38368 cat conftest.err >&5
38369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38370 (exit $ac_status); } && {
38371 test -z "$ac_c_werror_flag" ||
38372 test ! -s conftest.err
38373 } && test -s conftest.$ac_objext; then
38374 wx_cv_func_snprintf_decl=yes
38376 echo "$as_me: failed program was:" >&5
38377 sed 's/^/| /' conftest.$ac_ext >&5
38379 wx_cv_func_snprintf_decl=no
38383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38387 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38388 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38390 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38391 cat >>confdefs.h <<\_ACEOF
38392 #define HAVE_SNPRINTF_DECL 1
38397 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38399 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38400 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38401 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38402 echo $ECHO_N "(cached) $ECHO_C" >&6
38405 if test "$cross_compiling" = yes; then
38407 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38408 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38409 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38410 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38411 wx_cv_func_snprintf_pos_params=no
38415 cat >conftest.$ac_ext <<_ACEOF
38418 cat confdefs.h >>conftest.$ac_ext
38419 cat >>conftest.$ac_ext <<_ACEOF
38420 /* end confdefs.h. */
38427 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38428 if (strcmp ("2 3 1", buffer) == 0)
38434 rm -f conftest$ac_exeext
38435 if { (ac_try="$ac_link"
38436 case "(($ac_try" in
38437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38438 *) ac_try_echo=$ac_try;;
38440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38441 (eval "$ac_link") 2>&5
38443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38444 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38445 { (case "(($ac_try" in
38446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38447 *) ac_try_echo=$ac_try;;
38449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38450 (eval "$ac_try") 2>&5
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); }; }; then
38454 wx_cv_func_snprintf_pos_params=no
38456 echo "$as_me: program exited with status $ac_status" >&5
38457 echo "$as_me: failed program was:" >&5
38458 sed 's/^/| /' conftest.$ac_ext >&5
38460 ( exit $ac_status )
38461 wx_cv_func_snprintf_pos_params=yes
38463 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38470 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38471 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38473 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38474 cat >>confdefs.h <<\_ACEOF
38475 #define HAVE_UNIX98_PRINTF 1
38482 if test "$wxUSE_UNICODE" = yes; then
38484 wchar_headers="#include <stdio.h>
38485 #include <wchar.h>"
38489 for ac_header in widec.h
38491 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38495 echo $ECHO_N "(cached) $ECHO_C" >&6
38497 cat >conftest.$ac_ext <<_ACEOF
38500 cat confdefs.h >>conftest.$ac_ext
38501 cat >>conftest.$ac_ext <<_ACEOF
38502 /* end confdefs.h. */
38503 $ac_includes_default
38505 #include <$ac_header>
38507 rm -f conftest.$ac_objext
38508 if { (ac_try="$ac_compile"
38509 case "(($ac_try" in
38510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38511 *) ac_try_echo=$ac_try;;
38513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38514 (eval "$ac_compile") 2>conftest.er1
38516 grep -v '^ *+' conftest.er1 >conftest.err
38518 cat conftest.err >&5
38519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38520 (exit $ac_status); } && {
38521 test -z "$ac_c_werror_flag" ||
38522 test ! -s conftest.err
38523 } && test -s conftest.$ac_objext; then
38524 eval "$as_ac_Header=yes"
38526 echo "$as_me: failed program was:" >&5
38527 sed 's/^/| /' conftest.$ac_ext >&5
38529 eval "$as_ac_Header=no"
38532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38534 ac_res=`eval echo '${'$as_ac_Header'}'`
38535 { echo "$as_me:$LINENO: result: $ac_res" >&5
38536 echo "${ECHO_T}$ac_res" >&6; }
38537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38538 cat >>confdefs.h <<_ACEOF
38539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38546 if test "$ac_cv_header_widec_h" = "yes"; then
38547 wchar_headers="$wchar_headers
38548 #include <widec.h>"
38553 for wx_func in putws fputws wprintf vswprintf
38555 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38556 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38557 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38558 echo $ECHO_N "(cached) $ECHO_C" >&6
38561 cat >conftest.$ac_ext <<_ACEOF
38565 cat confdefs.h >>conftest.$ac_ext
38566 cat >>conftest.$ac_ext <<_ACEOF
38567 /* end confdefs.h. */
38570 $ac_includes_default
38586 rm -f conftest.$ac_objext conftest$ac_exeext
38587 if { (ac_try="$ac_link"
38588 case "(($ac_try" in
38589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38590 *) ac_try_echo=$ac_try;;
38592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38593 (eval "$ac_link") 2>conftest.er1
38595 grep -v '^ *+' conftest.er1 >conftest.err
38597 cat conftest.err >&5
38598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38599 (exit $ac_status); } && {
38600 test -z "$ac_c_werror_flag" ||
38601 test ! -s conftest.err
38602 } && test -s conftest$ac_exeext &&
38603 $as_test_x conftest$ac_exeext; then
38604 eval wx_cv_func_$wx_func=yes
38606 echo "$as_me: failed program was:" >&5
38607 sed 's/^/| /' conftest.$ac_ext >&5
38609 eval wx_cv_func_$wx_func=no
38612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38613 conftest$ac_exeext conftest.$ac_ext
38616 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38617 { echo "$as_me:$LINENO: result: $ac_res" >&5
38618 echo "${ECHO_T}$ac_res" >&6; }
38620 if eval test \$wx_cv_func_$wx_func = yes
38622 cat >>confdefs.h <<_ACEOF
38623 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38634 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38635 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38636 cat >conftest.$ac_ext <<_ACEOF
38639 cat confdefs.h >>conftest.$ac_ext
38640 cat >>conftest.$ac_ext <<_ACEOF
38641 /* end confdefs.h. */
38651 rm -f conftest.$ac_objext
38652 if { (ac_try="$ac_compile"
38653 case "(($ac_try" in
38654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38655 *) ac_try_echo=$ac_try;;
38657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38658 (eval "$ac_compile") 2>conftest.er1
38660 grep -v '^ *+' conftest.er1 >conftest.err
38662 cat conftest.err >&5
38663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38664 (exit $ac_status); } && {
38665 test -z "$ac_c_werror_flag" ||
38666 test ! -s conftest.err
38667 } && test -s conftest.$ac_objext; then
38668 { echo "$as_me:$LINENO: result: yes" >&5
38669 echo "${ECHO_T}yes" >&6; }
38670 cat >>confdefs.h <<\_ACEOF
38671 #define HAVE__VSNWPRINTF 1
38675 echo "$as_me: failed program was:" >&5
38676 sed 's/^/| /' conftest.$ac_ext >&5
38678 { echo "$as_me:$LINENO: result: no" >&5
38679 echo "${ECHO_T}no" >&6; }
38682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38685 if test "$wxUSE_FILE" = "yes"; then
38687 for wx_func in fsync
38689 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38690 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38691 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38692 echo $ECHO_N "(cached) $ECHO_C" >&6
38695 cat >conftest.$ac_ext <<_ACEOF
38699 cat confdefs.h >>conftest.$ac_ext
38700 cat >>conftest.$ac_ext <<_ACEOF
38701 /* end confdefs.h. */
38704 $ac_includes_default
38720 rm -f conftest.$ac_objext conftest$ac_exeext
38721 if { (ac_try="$ac_link"
38722 case "(($ac_try" in
38723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38724 *) ac_try_echo=$ac_try;;
38726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38727 (eval "$ac_link") 2>conftest.er1
38729 grep -v '^ *+' conftest.er1 >conftest.err
38731 cat conftest.err >&5
38732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38733 (exit $ac_status); } && {
38734 test -z "$ac_c_werror_flag" ||
38735 test ! -s conftest.err
38736 } && test -s conftest$ac_exeext &&
38737 $as_test_x conftest$ac_exeext; then
38738 eval wx_cv_func_$wx_func=yes
38740 echo "$as_me: failed program was:" >&5
38741 sed 's/^/| /' conftest.$ac_ext >&5
38743 eval wx_cv_func_$wx_func=no
38746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38747 conftest$ac_exeext conftest.$ac_ext
38750 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38751 { echo "$as_me:$LINENO: result: $ac_res" >&5
38752 echo "${ECHO_T}$ac_res" >&6; }
38754 if eval test \$wx_cv_func_$wx_func = yes
38756 cat >>confdefs.h <<_ACEOF
38757 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38770 ac_cpp='$CXXCPP $CPPFLAGS'
38771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38776 for wx_func in round
38778 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38779 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38780 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38781 echo $ECHO_N "(cached) $ECHO_C" >&6
38784 cat >conftest.$ac_ext <<_ACEOF
38788 cat confdefs.h >>conftest.$ac_ext
38789 cat >>conftest.$ac_ext <<_ACEOF
38790 /* end confdefs.h. */
38793 $ac_includes_default
38809 rm -f conftest.$ac_objext conftest$ac_exeext
38810 if { (ac_try="$ac_link"
38811 case "(($ac_try" in
38812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38813 *) ac_try_echo=$ac_try;;
38815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38816 (eval "$ac_link") 2>conftest.er1
38818 grep -v '^ *+' conftest.er1 >conftest.err
38820 cat conftest.err >&5
38821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38822 (exit $ac_status); } && {
38823 test -z "$ac_cxx_werror_flag" ||
38824 test ! -s conftest.err
38825 } && test -s conftest$ac_exeext &&
38826 $as_test_x conftest$ac_exeext; then
38827 eval wx_cv_func_$wx_func=yes
38829 echo "$as_me: failed program was:" >&5
38830 sed 's/^/| /' conftest.$ac_ext >&5
38832 eval wx_cv_func_$wx_func=no
38835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38836 conftest$ac_exeext conftest.$ac_ext
38839 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38840 { echo "$as_me:$LINENO: result: $ac_res" >&5
38841 echo "${ECHO_T}$ac_res" >&6; }
38843 if eval test \$wx_cv_func_$wx_func = yes
38845 cat >>confdefs.h <<_ACEOF
38846 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38857 ac_cpp='$CPP $CPPFLAGS'
38858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38863 if test "$TOOLKIT" != "MSW"; then
38869 # Check whether --with-libiconv-prefix was given.
38870 if test "${with_libiconv_prefix+set}" = set; then
38871 withval=$with_libiconv_prefix;
38872 for dir in `echo "$withval" | tr : ' '`; do
38873 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38874 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38880 { echo "$as_me:$LINENO: checking for iconv" >&5
38881 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38882 if test "${am_cv_func_iconv+set}" = set; then
38883 echo $ECHO_N "(cached) $ECHO_C" >&6
38886 am_cv_func_iconv="no, consider installing GNU libiconv"
38888 cat >conftest.$ac_ext <<_ACEOF
38891 cat confdefs.h >>conftest.$ac_ext
38892 cat >>conftest.$ac_ext <<_ACEOF
38893 /* end confdefs.h. */
38894 #include <stdlib.h>
38899 iconv_t cd = iconv_open("","");
38900 iconv(cd,NULL,NULL,NULL,NULL);
38906 rm -f conftest.$ac_objext conftest$ac_exeext
38907 if { (ac_try="$ac_link"
38908 case "(($ac_try" in
38909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38910 *) ac_try_echo=$ac_try;;
38912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38913 (eval "$ac_link") 2>conftest.er1
38915 grep -v '^ *+' conftest.er1 >conftest.err
38917 cat conftest.err >&5
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); } && {
38920 test -z "$ac_c_werror_flag" ||
38921 test ! -s conftest.err
38922 } && test -s conftest$ac_exeext &&
38923 $as_test_x conftest$ac_exeext; then
38924 am_cv_func_iconv=yes
38926 echo "$as_me: failed program was:" >&5
38927 sed 's/^/| /' conftest.$ac_ext >&5
38932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38933 conftest$ac_exeext conftest.$ac_ext
38934 if test "$am_cv_func_iconv" != yes; then
38935 am_save_LIBS="$LIBS"
38936 LIBS="$LIBS -liconv"
38937 cat >conftest.$ac_ext <<_ACEOF
38940 cat confdefs.h >>conftest.$ac_ext
38941 cat >>conftest.$ac_ext <<_ACEOF
38942 /* end confdefs.h. */
38943 #include <stdlib.h>
38948 iconv_t cd = iconv_open("","");
38949 iconv(cd,NULL,NULL,NULL,NULL);
38955 rm -f conftest.$ac_objext conftest$ac_exeext
38956 if { (ac_try="$ac_link"
38957 case "(($ac_try" in
38958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38959 *) ac_try_echo=$ac_try;;
38961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38962 (eval "$ac_link") 2>conftest.er1
38964 grep -v '^ *+' conftest.er1 >conftest.err
38966 cat conftest.err >&5
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); } && {
38969 test -z "$ac_c_werror_flag" ||
38970 test ! -s conftest.err
38971 } && test -s conftest$ac_exeext &&
38972 $as_test_x conftest$ac_exeext; then
38973 am_cv_lib_iconv=yes
38974 am_cv_func_iconv=yes
38976 echo "$as_me: failed program was:" >&5
38977 sed 's/^/| /' conftest.$ac_ext >&5
38982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38983 conftest$ac_exeext conftest.$ac_ext
38984 LIBS="$am_save_LIBS"
38988 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38989 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38990 if test "$am_cv_func_iconv" = yes; then
38992 cat >>confdefs.h <<\_ACEOF
38993 #define HAVE_ICONV 1
38996 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38997 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38998 if test "${wx_cv_func_iconv_const+set}" = set; then
38999 echo $ECHO_N "(cached) $ECHO_C" >&6
39001 cat >conftest.$ac_ext <<_ACEOF
39004 cat confdefs.h >>conftest.$ac_ext
39005 cat >>conftest.$ac_ext <<_ACEOF
39006 /* end confdefs.h. */
39008 #include <stdlib.h>
39014 #if defined(__STDC__) || defined(__cplusplus)
39015 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39028 rm -f conftest.$ac_objext
39029 if { (ac_try="$ac_compile"
39030 case "(($ac_try" in
39031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39032 *) ac_try_echo=$ac_try;;
39034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39035 (eval "$ac_compile") 2>conftest.er1
39037 grep -v '^ *+' conftest.er1 >conftest.err
39039 cat conftest.err >&5
39040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39041 (exit $ac_status); } && {
39042 test -z "$ac_c_werror_flag" ||
39043 test ! -s conftest.err
39044 } && test -s conftest.$ac_objext; then
39045 wx_cv_func_iconv_const="no"
39047 echo "$as_me: failed program was:" >&5
39048 sed 's/^/| /' conftest.$ac_ext >&5
39050 wx_cv_func_iconv_const="yes"
39054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39057 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39058 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39061 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39062 iconv_const="const"
39066 cat >>confdefs.h <<_ACEOF
39067 #define ICONV_CONST $iconv_const
39072 if test "$am_cv_lib_iconv" = yes; then
39077 LIBS="$LIBICONV $LIBS"
39079 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39081 for ac_func in sigaction
39083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39084 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39086 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39087 echo $ECHO_N "(cached) $ECHO_C" >&6
39089 cat >conftest.$ac_ext <<_ACEOF
39092 cat confdefs.h >>conftest.$ac_ext
39093 cat >>conftest.$ac_ext <<_ACEOF
39094 /* end confdefs.h. */
39095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39097 #define $ac_func innocuous_$ac_func
39099 /* System header to define __stub macros and hopefully few prototypes,
39100 which can conflict with char $ac_func (); below.
39101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39102 <limits.h> exists even on freestanding compilers. */
39105 # include <limits.h>
39107 # include <assert.h>
39112 /* Override any GCC internal prototype to avoid an error.
39113 Use char because int might match the return type of a GCC
39114 builtin and then its argument prototype would still apply. */
39119 /* The GNU C library defines this for functions which it implements
39120 to always fail with ENOSYS. Some functions are actually named
39121 something starting with __ and the normal name is an alias. */
39122 #if defined __stub_$ac_func || defined __stub___$ac_func
39129 return $ac_func ();
39134 rm -f conftest.$ac_objext conftest$ac_exeext
39135 if { (ac_try="$ac_link"
39136 case "(($ac_try" in
39137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39138 *) ac_try_echo=$ac_try;;
39140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39141 (eval "$ac_link") 2>conftest.er1
39143 grep -v '^ *+' conftest.er1 >conftest.err
39145 cat conftest.err >&5
39146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147 (exit $ac_status); } && {
39148 test -z "$ac_c_werror_flag" ||
39149 test ! -s conftest.err
39150 } && test -s conftest$ac_exeext &&
39151 $as_test_x conftest$ac_exeext; then
39152 eval "$as_ac_var=yes"
39154 echo "$as_me: failed program was:" >&5
39155 sed 's/^/| /' conftest.$ac_ext >&5
39157 eval "$as_ac_var=no"
39160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39161 conftest$ac_exeext conftest.$ac_ext
39163 ac_res=`eval echo '${'$as_ac_var'}'`
39164 { echo "$as_me:$LINENO: result: $ac_res" >&5
39165 echo "${ECHO_T}$ac_res" >&6; }
39166 if test `eval echo '${'$as_ac_var'}'` = yes; then
39167 cat >>confdefs.h <<_ACEOF
39168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39175 if test "$ac_cv_func_sigaction" = "no"; then
39176 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39177 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39178 wxUSE_ON_FATAL_EXCEPTION=no
39181 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39182 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39183 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39184 if test "${wx_cv_type_sa_handler+set}" = set; then
39185 echo $ECHO_N "(cached) $ECHO_C" >&6
39189 ac_cpp='$CXXCPP $CPPFLAGS'
39190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39194 cat >conftest.$ac_ext <<_ACEOF
39197 cat confdefs.h >>conftest.$ac_ext
39198 cat >>conftest.$ac_ext <<_ACEOF
39199 /* end confdefs.h. */
39200 #include <signal.h>
39205 extern void testSigHandler(int);
39207 struct sigaction sa;
39208 sa.sa_handler = testSigHandler;
39214 rm -f conftest.$ac_objext
39215 if { (ac_try="$ac_compile"
39216 case "(($ac_try" in
39217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39218 *) ac_try_echo=$ac_try;;
39220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39221 (eval "$ac_compile") 2>conftest.er1
39223 grep -v '^ *+' conftest.er1 >conftest.err
39225 cat conftest.err >&5
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); } && {
39228 test -z "$ac_cxx_werror_flag" ||
39229 test ! -s conftest.err
39230 } && test -s conftest.$ac_objext; then
39232 wx_cv_type_sa_handler=int
39235 echo "$as_me: failed program was:" >&5
39236 sed 's/^/| /' conftest.$ac_ext >&5
39239 wx_cv_type_sa_handler=void
39243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39245 ac_cpp='$CPP $CPPFLAGS'
39246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39252 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39253 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39255 cat >>confdefs.h <<_ACEOF
39256 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39262 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39263 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39264 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39265 if test "${wx_cv_func_backtrace+set}" = set; then
39266 echo $ECHO_N "(cached) $ECHO_C" >&6
39270 ac_cpp='$CXXCPP $CPPFLAGS'
39271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39275 cat >conftest.$ac_ext <<_ACEOF
39278 cat confdefs.h >>conftest.$ac_ext
39279 cat >>conftest.$ac_ext <<_ACEOF
39280 /* end confdefs.h. */
39281 #include <execinfo.h>
39289 backtrace(trace, 1);
39290 messages = backtrace_symbols(trace, 1);
39296 rm -f conftest.$ac_objext
39297 if { (ac_try="$ac_compile"
39298 case "(($ac_try" in
39299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39300 *) ac_try_echo=$ac_try;;
39302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39303 (eval "$ac_compile") 2>conftest.er1
39305 grep -v '^ *+' conftest.er1 >conftest.err
39307 cat conftest.err >&5
39308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39309 (exit $ac_status); } && {
39310 test -z "$ac_cxx_werror_flag" ||
39311 test ! -s conftest.err
39312 } && test -s conftest.$ac_objext; then
39313 wx_cv_func_backtrace=yes
39315 echo "$as_me: failed program was:" >&5
39316 sed 's/^/| /' conftest.$ac_ext >&5
39318 wx_cv_func_backtrace=no
39322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39324 ac_cpp='$CPP $CPPFLAGS'
39325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39332 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39333 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39336 if test "$wx_cv_func_backtrace" = "no"; then
39337 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39338 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39339 wxUSE_STACKWALKER=no
39341 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39342 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39343 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39344 echo $ECHO_N "(cached) $ECHO_C" >&6
39348 ac_cpp='$CXXCPP $CPPFLAGS'
39349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39353 cat >conftest.$ac_ext <<_ACEOF
39356 cat confdefs.h >>conftest.$ac_ext
39357 cat >>conftest.$ac_ext <<_ACEOF
39358 /* end confdefs.h. */
39359 #include <cxxabi.h>
39365 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39371 rm -f conftest.$ac_objext conftest$ac_exeext
39372 if { (ac_try="$ac_link"
39373 case "(($ac_try" in
39374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39375 *) ac_try_echo=$ac_try;;
39377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39378 (eval "$ac_link") 2>conftest.er1
39380 grep -v '^ *+' conftest.er1 >conftest.err
39382 cat conftest.err >&5
39383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39384 (exit $ac_status); } && {
39385 test -z "$ac_cxx_werror_flag" ||
39386 test ! -s conftest.err
39387 } && test -s conftest$ac_exeext &&
39388 $as_test_x conftest$ac_exeext; then
39389 wx_cv_func_cxa_demangle=yes
39391 echo "$as_me: failed program was:" >&5
39392 sed 's/^/| /' conftest.$ac_ext >&5
39394 wx_cv_func_cxa_demangle=no
39398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39399 conftest$ac_exeext conftest.$ac_ext
39401 ac_cpp='$CPP $CPPFLAGS'
39402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39409 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39410 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39412 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39413 cat >>confdefs.h <<\_ACEOF
39414 #define HAVE_CXA_DEMANGLE 1
39421 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39422 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39423 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39424 wxUSE_STACKWALKER=no
39430 for ac_func in mkstemp mktemp
39432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39433 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39435 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39436 echo $ECHO_N "(cached) $ECHO_C" >&6
39438 cat >conftest.$ac_ext <<_ACEOF
39441 cat confdefs.h >>conftest.$ac_ext
39442 cat >>conftest.$ac_ext <<_ACEOF
39443 /* end confdefs.h. */
39444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39446 #define $ac_func innocuous_$ac_func
39448 /* System header to define __stub macros and hopefully few prototypes,
39449 which can conflict with char $ac_func (); below.
39450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39451 <limits.h> exists even on freestanding compilers. */
39454 # include <limits.h>
39456 # include <assert.h>
39461 /* Override any GCC internal prototype to avoid an error.
39462 Use char because int might match the return type of a GCC
39463 builtin and then its argument prototype would still apply. */
39468 /* The GNU C library defines this for functions which it implements
39469 to always fail with ENOSYS. Some functions are actually named
39470 something starting with __ and the normal name is an alias. */
39471 #if defined __stub_$ac_func || defined __stub___$ac_func
39478 return $ac_func ();
39483 rm -f conftest.$ac_objext conftest$ac_exeext
39484 if { (ac_try="$ac_link"
39485 case "(($ac_try" in
39486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39487 *) ac_try_echo=$ac_try;;
39489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39490 (eval "$ac_link") 2>conftest.er1
39492 grep -v '^ *+' conftest.er1 >conftest.err
39494 cat conftest.err >&5
39495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39496 (exit $ac_status); } && {
39497 test -z "$ac_c_werror_flag" ||
39498 test ! -s conftest.err
39499 } && test -s conftest$ac_exeext &&
39500 $as_test_x conftest$ac_exeext; then
39501 eval "$as_ac_var=yes"
39503 echo "$as_me: failed program was:" >&5
39504 sed 's/^/| /' conftest.$ac_ext >&5
39506 eval "$as_ac_var=no"
39509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39510 conftest$ac_exeext conftest.$ac_ext
39512 ac_res=`eval echo '${'$as_ac_var'}'`
39513 { echo "$as_me:$LINENO: result: $ac_res" >&5
39514 echo "${ECHO_T}$ac_res" >&6; }
39515 if test `eval echo '${'$as_ac_var'}'` = yes; then
39516 cat >>confdefs.h <<_ACEOF
39517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39524 { echo "$as_me:$LINENO: checking for statfs" >&5
39525 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39526 if test "${wx_cv_func_statfs+set}" = set; then
39527 echo $ECHO_N "(cached) $ECHO_C" >&6
39529 cat >conftest.$ac_ext <<_ACEOF
39532 cat confdefs.h >>conftest.$ac_ext
39533 cat >>conftest.$ac_ext <<_ACEOF
39534 /* end confdefs.h. */
39536 #if defined(__BSD__)
39537 #include <sys/param.h>
39538 #include <sys/mount.h>
39540 #include <sys/vfs.h>
39558 rm -f conftest.$ac_objext
39559 if { (ac_try="$ac_compile"
39560 case "(($ac_try" in
39561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39562 *) ac_try_echo=$ac_try;;
39564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39565 (eval "$ac_compile") 2>conftest.er1
39567 grep -v '^ *+' conftest.er1 >conftest.err
39569 cat conftest.err >&5
39570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39571 (exit $ac_status); } && {
39572 test -z "$ac_c_werror_flag" ||
39573 test ! -s conftest.err
39574 } && test -s conftest.$ac_objext; then
39575 wx_cv_func_statfs=yes
39577 echo "$as_me: failed program was:" >&5
39578 sed 's/^/| /' conftest.$ac_ext >&5
39580 wx_cv_func_statfs=no
39584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39587 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39588 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39590 if test "$wx_cv_func_statfs" = "yes"; then
39591 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39592 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39593 if test "${wx_cv_func_statfs_decl+set}" = set; then
39594 echo $ECHO_N "(cached) $ECHO_C" >&6
39597 ac_cpp='$CXXCPP $CPPFLAGS'
39598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39602 cat >conftest.$ac_ext <<_ACEOF
39605 cat confdefs.h >>conftest.$ac_ext
39606 cat >>conftest.$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39609 #if defined(__BSD__)
39610 #include <sys/param.h>
39611 #include <sys/mount.h>
39613 #include <sys/vfs.h>
39627 rm -f conftest.$ac_objext
39628 if { (ac_try="$ac_compile"
39629 case "(($ac_try" in
39630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39631 *) ac_try_echo=$ac_try;;
39633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39634 (eval "$ac_compile") 2>conftest.er1
39636 grep -v '^ *+' conftest.er1 >conftest.err
39638 cat conftest.err >&5
39639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39640 (exit $ac_status); } && {
39641 test -z "$ac_cxx_werror_flag" ||
39642 test ! -s conftest.err
39643 } && test -s conftest.$ac_objext; then
39644 wx_cv_func_statfs_decl=yes
39646 echo "$as_me: failed program was:" >&5
39647 sed 's/^/| /' conftest.$ac_ext >&5
39649 wx_cv_func_statfs_decl=no
39653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39655 ac_cpp='$CPP $CPPFLAGS'
39656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39662 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39663 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39665 if test "$wx_cv_func_statfs_decl" = "yes"; then
39666 cat >>confdefs.h <<\_ACEOF
39667 #define HAVE_STATFS_DECL 1
39672 wx_cv_type_statvfs_t="struct statfs"
39673 cat >>confdefs.h <<\_ACEOF
39674 #define HAVE_STATFS 1
39678 { echo "$as_me:$LINENO: checking for statvfs" >&5
39679 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39680 if test "${wx_cv_func_statvfs+set}" = set; then
39681 echo $ECHO_N "(cached) $ECHO_C" >&6
39683 cat >conftest.$ac_ext <<_ACEOF
39686 cat confdefs.h >>conftest.$ac_ext
39687 cat >>conftest.$ac_ext <<_ACEOF
39688 /* end confdefs.h. */
39690 #include <stddef.h>
39691 #include <sys/statvfs.h>
39697 statvfs("/", NULL);
39703 rm -f conftest.$ac_objext
39704 if { (ac_try="$ac_compile"
39705 case "(($ac_try" in
39706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39707 *) ac_try_echo=$ac_try;;
39709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39710 (eval "$ac_compile") 2>conftest.er1
39712 grep -v '^ *+' conftest.er1 >conftest.err
39714 cat conftest.err >&5
39715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39716 (exit $ac_status); } && {
39717 test -z "$ac_c_werror_flag" ||
39718 test ! -s conftest.err
39719 } && test -s conftest.$ac_objext; then
39720 wx_cv_func_statvfs=yes
39722 echo "$as_me: failed program was:" >&5
39723 sed 's/^/| /' conftest.$ac_ext >&5
39725 wx_cv_func_statvfs=no
39729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39732 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39733 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39735 if test "$wx_cv_func_statvfs" = "yes"; then
39736 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39737 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39738 if test "${wx_cv_type_statvfs_t+set}" = set; then
39739 echo $ECHO_N "(cached) $ECHO_C" >&6
39742 ac_cpp='$CXXCPP $CPPFLAGS'
39743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39747 cat >conftest.$ac_ext <<_ACEOF
39750 cat confdefs.h >>conftest.$ac_ext
39751 cat >>conftest.$ac_ext <<_ACEOF
39752 /* end confdefs.h. */
39754 #include <sys/statvfs.h>
39771 rm -f conftest.$ac_objext
39772 if { (ac_try="$ac_compile"
39773 case "(($ac_try" in
39774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39775 *) ac_try_echo=$ac_try;;
39777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39778 (eval "$ac_compile") 2>conftest.er1
39780 grep -v '^ *+' conftest.er1 >conftest.err
39782 cat conftest.err >&5
39783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39784 (exit $ac_status); } && {
39785 test -z "$ac_cxx_werror_flag" ||
39786 test ! -s conftest.err
39787 } && test -s conftest.$ac_objext; then
39788 wx_cv_type_statvfs_t=statvfs_t
39790 echo "$as_me: failed program was:" >&5
39791 sed 's/^/| /' conftest.$ac_ext >&5
39794 cat >conftest.$ac_ext <<_ACEOF
39797 cat confdefs.h >>conftest.$ac_ext
39798 cat >>conftest.$ac_ext <<_ACEOF
39799 /* end confdefs.h. */
39801 #include <sys/statvfs.h>
39818 rm -f conftest.$ac_objext
39819 if { (ac_try="$ac_compile"
39820 case "(($ac_try" in
39821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39822 *) ac_try_echo=$ac_try;;
39824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39825 (eval "$ac_compile") 2>conftest.er1
39827 grep -v '^ *+' conftest.er1 >conftest.err
39829 cat conftest.err >&5
39830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39831 (exit $ac_status); } && {
39832 test -z "$ac_cxx_werror_flag" ||
39833 test ! -s conftest.err
39834 } && test -s conftest.$ac_objext; then
39835 wx_cv_type_statvfs_t="struct statvfs"
39837 echo "$as_me: failed program was:" >&5
39838 sed 's/^/| /' conftest.$ac_ext >&5
39840 wx_cv_type_statvfs_t="unknown"
39844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39851 ac_cpp='$CPP $CPPFLAGS'
39852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39858 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39859 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39861 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39862 cat >>confdefs.h <<\_ACEOF
39863 #define HAVE_STATVFS 1
39868 wx_cv_type_statvfs_t="unknown"
39872 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39873 cat >>confdefs.h <<_ACEOF
39874 #define WX_STATFS_T $wx_cv_type_statvfs_t
39878 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39879 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39882 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39885 for ac_func in fcntl flock
39887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39888 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39890 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39891 echo $ECHO_N "(cached) $ECHO_C" >&6
39893 cat >conftest.$ac_ext <<_ACEOF
39896 cat confdefs.h >>conftest.$ac_ext
39897 cat >>conftest.$ac_ext <<_ACEOF
39898 /* end confdefs.h. */
39899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39901 #define $ac_func innocuous_$ac_func
39903 /* System header to define __stub macros and hopefully few prototypes,
39904 which can conflict with char $ac_func (); below.
39905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39906 <limits.h> exists even on freestanding compilers. */
39909 # include <limits.h>
39911 # include <assert.h>
39916 /* Override any GCC internal prototype to avoid an error.
39917 Use char because int might match the return type of a GCC
39918 builtin and then its argument prototype would still apply. */
39923 /* The GNU C library defines this for functions which it implements
39924 to always fail with ENOSYS. Some functions are actually named
39925 something starting with __ and the normal name is an alias. */
39926 #if defined __stub_$ac_func || defined __stub___$ac_func
39933 return $ac_func ();
39938 rm -f conftest.$ac_objext conftest$ac_exeext
39939 if { (ac_try="$ac_link"
39940 case "(($ac_try" in
39941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39942 *) ac_try_echo=$ac_try;;
39944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39945 (eval "$ac_link") 2>conftest.er1
39947 grep -v '^ *+' conftest.er1 >conftest.err
39949 cat conftest.err >&5
39950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39951 (exit $ac_status); } && {
39952 test -z "$ac_c_werror_flag" ||
39953 test ! -s conftest.err
39954 } && test -s conftest$ac_exeext &&
39955 $as_test_x conftest$ac_exeext; then
39956 eval "$as_ac_var=yes"
39958 echo "$as_me: failed program was:" >&5
39959 sed 's/^/| /' conftest.$ac_ext >&5
39961 eval "$as_ac_var=no"
39964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39965 conftest$ac_exeext conftest.$ac_ext
39967 ac_res=`eval echo '${'$as_ac_var'}'`
39968 { echo "$as_me:$LINENO: result: $ac_res" >&5
39969 echo "${ECHO_T}$ac_res" >&6; }
39970 if test `eval echo '${'$as_ac_var'}'` = yes; then
39971 cat >>confdefs.h <<_ACEOF
39972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39979 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39980 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39981 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39982 wxUSE_SNGLINST_CHECKER=no
39988 for ac_func in setenv putenv
39990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39991 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39993 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39994 echo $ECHO_N "(cached) $ECHO_C" >&6
39996 cat >conftest.$ac_ext <<_ACEOF
39999 cat confdefs.h >>conftest.$ac_ext
40000 cat >>conftest.$ac_ext <<_ACEOF
40001 /* end confdefs.h. */
40002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40004 #define $ac_func innocuous_$ac_func
40006 /* System header to define __stub macros and hopefully few prototypes,
40007 which can conflict with char $ac_func (); below.
40008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40009 <limits.h> exists even on freestanding compilers. */
40012 # include <limits.h>
40014 # include <assert.h>
40019 /* Override any GCC internal prototype to avoid an error.
40020 Use char because int might match the return type of a GCC
40021 builtin and then its argument prototype would still apply. */
40026 /* The GNU C library defines this for functions which it implements
40027 to always fail with ENOSYS. Some functions are actually named
40028 something starting with __ and the normal name is an alias. */
40029 #if defined __stub_$ac_func || defined __stub___$ac_func
40036 return $ac_func ();
40041 rm -f conftest.$ac_objext conftest$ac_exeext
40042 if { (ac_try="$ac_link"
40043 case "(($ac_try" in
40044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40045 *) ac_try_echo=$ac_try;;
40047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40048 (eval "$ac_link") 2>conftest.er1
40050 grep -v '^ *+' conftest.er1 >conftest.err
40052 cat conftest.err >&5
40053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40054 (exit $ac_status); } && {
40055 test -z "$ac_c_werror_flag" ||
40056 test ! -s conftest.err
40057 } && test -s conftest$ac_exeext &&
40058 $as_test_x conftest$ac_exeext; then
40059 eval "$as_ac_var=yes"
40061 echo "$as_me: failed program was:" >&5
40062 sed 's/^/| /' conftest.$ac_ext >&5
40064 eval "$as_ac_var=no"
40067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40068 conftest$ac_exeext conftest.$ac_ext
40070 ac_res=`eval echo '${'$as_ac_var'}'`
40071 { echo "$as_me:$LINENO: result: $ac_res" >&5
40072 echo "${ECHO_T}$ac_res" >&6; }
40073 if test `eval echo '${'$as_ac_var'}'` = yes; then
40074 cat >>confdefs.h <<_ACEOF
40075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40081 if test "$ac_cv_func_setenv" = "yes"; then
40083 for ac_func in unsetenv
40085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40089 echo $ECHO_N "(cached) $ECHO_C" >&6
40091 cat >conftest.$ac_ext <<_ACEOF
40094 cat confdefs.h >>conftest.$ac_ext
40095 cat >>conftest.$ac_ext <<_ACEOF
40096 /* end confdefs.h. */
40097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40099 #define $ac_func innocuous_$ac_func
40101 /* System header to define __stub macros and hopefully few prototypes,
40102 which can conflict with char $ac_func (); below.
40103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40104 <limits.h> exists even on freestanding compilers. */
40107 # include <limits.h>
40109 # include <assert.h>
40114 /* Override any GCC internal prototype to avoid an error.
40115 Use char because int might match the return type of a GCC
40116 builtin and then its argument prototype would still apply. */
40121 /* The GNU C library defines this for functions which it implements
40122 to always fail with ENOSYS. Some functions are actually named
40123 something starting with __ and the normal name is an alias. */
40124 #if defined __stub_$ac_func || defined __stub___$ac_func
40131 return $ac_func ();
40136 rm -f conftest.$ac_objext conftest$ac_exeext
40137 if { (ac_try="$ac_link"
40138 case "(($ac_try" in
40139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40140 *) ac_try_echo=$ac_try;;
40142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40143 (eval "$ac_link") 2>conftest.er1
40145 grep -v '^ *+' conftest.er1 >conftest.err
40147 cat conftest.err >&5
40148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40149 (exit $ac_status); } && {
40150 test -z "$ac_c_werror_flag" ||
40151 test ! -s conftest.err
40152 } && test -s conftest$ac_exeext &&
40153 $as_test_x conftest$ac_exeext; then
40154 eval "$as_ac_var=yes"
40156 echo "$as_me: failed program was:" >&5
40157 sed 's/^/| /' conftest.$ac_ext >&5
40159 eval "$as_ac_var=no"
40162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40163 conftest$ac_exeext conftest.$ac_ext
40165 ac_res=`eval echo '${'$as_ac_var'}'`
40166 { echo "$as_me:$LINENO: result: $ac_res" >&5
40167 echo "${ECHO_T}$ac_res" >&6; }
40168 if test `eval echo '${'$as_ac_var'}'` = yes; then
40169 cat >>confdefs.h <<_ACEOF
40170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40178 HAVE_SOME_SLEEP_FUNC=0
40179 if test "$USE_BEOS" = 1; then
40180 cat >>confdefs.h <<\_ACEOF
40181 #define HAVE_SLEEP 1
40184 HAVE_SOME_SLEEP_FUNC=1
40187 if test "$USE_DARWIN" = 1; then
40188 cat >>confdefs.h <<\_ACEOF
40189 #define HAVE_USLEEP 1
40192 HAVE_SOME_SLEEP_FUNC=1
40195 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40198 for ac_func in nanosleep
40200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40201 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40203 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40204 echo $ECHO_N "(cached) $ECHO_C" >&6
40206 cat >conftest.$ac_ext <<_ACEOF
40209 cat confdefs.h >>conftest.$ac_ext
40210 cat >>conftest.$ac_ext <<_ACEOF
40211 /* end confdefs.h. */
40212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40214 #define $ac_func innocuous_$ac_func
40216 /* System header to define __stub macros and hopefully few prototypes,
40217 which can conflict with char $ac_func (); below.
40218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40219 <limits.h> exists even on freestanding compilers. */
40222 # include <limits.h>
40224 # include <assert.h>
40229 /* Override any GCC internal prototype to avoid an error.
40230 Use char because int might match the return type of a GCC
40231 builtin and then its argument prototype would still apply. */
40236 /* The GNU C library defines this for functions which it implements
40237 to always fail with ENOSYS. Some functions are actually named
40238 something starting with __ and the normal name is an alias. */
40239 #if defined __stub_$ac_func || defined __stub___$ac_func
40246 return $ac_func ();
40251 rm -f conftest.$ac_objext conftest$ac_exeext
40252 if { (ac_try="$ac_link"
40253 case "(($ac_try" in
40254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40255 *) ac_try_echo=$ac_try;;
40257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40258 (eval "$ac_link") 2>conftest.er1
40260 grep -v '^ *+' conftest.er1 >conftest.err
40262 cat conftest.err >&5
40263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40264 (exit $ac_status); } && {
40265 test -z "$ac_c_werror_flag" ||
40266 test ! -s conftest.err
40267 } && test -s conftest$ac_exeext &&
40268 $as_test_x conftest$ac_exeext; then
40269 eval "$as_ac_var=yes"
40271 echo "$as_me: failed program was:" >&5
40272 sed 's/^/| /' conftest.$ac_ext >&5
40274 eval "$as_ac_var=no"
40277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40278 conftest$ac_exeext conftest.$ac_ext
40280 ac_res=`eval echo '${'$as_ac_var'}'`
40281 { echo "$as_me:$LINENO: result: $ac_res" >&5
40282 echo "${ECHO_T}$ac_res" >&6; }
40283 if test `eval echo '${'$as_ac_var'}'` = yes; then
40284 cat >>confdefs.h <<_ACEOF
40285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40287 cat >>confdefs.h <<\_ACEOF
40288 #define HAVE_NANOSLEEP 1
40293 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40294 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40295 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40296 echo $ECHO_N "(cached) $ECHO_C" >&6
40298 ac_check_lib_save_LIBS=$LIBS
40299 LIBS="-lposix4 $LIBS"
40300 cat >conftest.$ac_ext <<_ACEOF
40303 cat confdefs.h >>conftest.$ac_ext
40304 cat >>conftest.$ac_ext <<_ACEOF
40305 /* end confdefs.h. */
40307 /* Override any GCC internal prototype to avoid an error.
40308 Use char because int might match the return type of a GCC
40309 builtin and then its argument prototype would still apply. */
40317 return nanosleep ();
40322 rm -f conftest.$ac_objext conftest$ac_exeext
40323 if { (ac_try="$ac_link"
40324 case "(($ac_try" in
40325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40326 *) ac_try_echo=$ac_try;;
40328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40329 (eval "$ac_link") 2>conftest.er1
40331 grep -v '^ *+' conftest.er1 >conftest.err
40333 cat conftest.err >&5
40334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335 (exit $ac_status); } && {
40336 test -z "$ac_c_werror_flag" ||
40337 test ! -s conftest.err
40338 } && test -s conftest$ac_exeext &&
40339 $as_test_x conftest$ac_exeext; then
40340 ac_cv_lib_posix4_nanosleep=yes
40342 echo "$as_me: failed program was:" >&5
40343 sed 's/^/| /' conftest.$ac_ext >&5
40345 ac_cv_lib_posix4_nanosleep=no
40348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40349 conftest$ac_exeext conftest.$ac_ext
40350 LIBS=$ac_check_lib_save_LIBS
40352 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40353 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40354 if test $ac_cv_lib_posix4_nanosleep = yes; then
40356 cat >>confdefs.h <<\_ACEOF
40357 #define HAVE_NANOSLEEP 1
40360 POSIX4_LINK=" -lposix4"
40365 for wx_func in usleep
40367 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40368 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40369 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40370 echo $ECHO_N "(cached) $ECHO_C" >&6
40373 cat >conftest.$ac_ext <<_ACEOF
40377 cat confdefs.h >>conftest.$ac_ext
40378 cat >>conftest.$ac_ext <<_ACEOF
40379 /* end confdefs.h. */
40382 $ac_includes_default
40398 rm -f conftest.$ac_objext conftest$ac_exeext
40399 if { (ac_try="$ac_link"
40400 case "(($ac_try" in
40401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40402 *) ac_try_echo=$ac_try;;
40404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40405 (eval "$ac_link") 2>conftest.er1
40407 grep -v '^ *+' conftest.er1 >conftest.err
40409 cat conftest.err >&5
40410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40411 (exit $ac_status); } && {
40412 test -z "$ac_c_werror_flag" ||
40413 test ! -s conftest.err
40414 } && test -s conftest$ac_exeext &&
40415 $as_test_x conftest$ac_exeext; then
40416 eval wx_cv_func_$wx_func=yes
40418 echo "$as_me: failed program was:" >&5
40419 sed 's/^/| /' conftest.$ac_ext >&5
40421 eval wx_cv_func_$wx_func=no
40424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40425 conftest$ac_exeext conftest.$ac_ext
40428 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40429 { echo "$as_me:$LINENO: result: $ac_res" >&5
40430 echo "${ECHO_T}$ac_res" >&6; }
40432 if eval test \$wx_cv_func_$wx_func = yes
40434 cat >>confdefs.h <<_ACEOF
40435 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40441 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40442 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40459 for wx_func in uname
40461 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40462 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40463 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40464 echo $ECHO_N "(cached) $ECHO_C" >&6
40467 cat >conftest.$ac_ext <<_ACEOF
40471 cat confdefs.h >>conftest.$ac_ext
40472 cat >>conftest.$ac_ext <<_ACEOF
40473 /* end confdefs.h. */
40475 #include <sys/utsname.h>
40476 $ac_includes_default
40492 rm -f conftest.$ac_objext conftest$ac_exeext
40493 if { (ac_try="$ac_link"
40494 case "(($ac_try" in
40495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40496 *) ac_try_echo=$ac_try;;
40498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40499 (eval "$ac_link") 2>conftest.er1
40501 grep -v '^ *+' conftest.er1 >conftest.err
40503 cat conftest.err >&5
40504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505 (exit $ac_status); } && {
40506 test -z "$ac_c_werror_flag" ||
40507 test ! -s conftest.err
40508 } && test -s conftest$ac_exeext &&
40509 $as_test_x conftest$ac_exeext; then
40510 eval wx_cv_func_$wx_func=yes
40512 echo "$as_me: failed program was:" >&5
40513 sed 's/^/| /' conftest.$ac_ext >&5
40515 eval wx_cv_func_$wx_func=no
40518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40519 conftest$ac_exeext conftest.$ac_ext
40522 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40523 { echo "$as_me:$LINENO: result: $ac_res" >&5
40524 echo "${ECHO_T}$ac_res" >&6; }
40526 if eval test \$wx_cv_func_$wx_func = yes
40528 cat >>confdefs.h <<_ACEOF
40529 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40539 if test "$wx_cv_func_uname" != yes; then
40541 for wx_func in gethostname
40543 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40544 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40545 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40546 echo $ECHO_N "(cached) $ECHO_C" >&6
40549 cat >conftest.$ac_ext <<_ACEOF
40553 cat confdefs.h >>conftest.$ac_ext
40554 cat >>conftest.$ac_ext <<_ACEOF
40555 /* end confdefs.h. */
40558 $ac_includes_default
40574 rm -f conftest.$ac_objext conftest$ac_exeext
40575 if { (ac_try="$ac_link"
40576 case "(($ac_try" in
40577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40578 *) ac_try_echo=$ac_try;;
40580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40581 (eval "$ac_link") 2>conftest.er1
40583 grep -v '^ *+' conftest.er1 >conftest.err
40585 cat conftest.err >&5
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); } && {
40588 test -z "$ac_c_werror_flag" ||
40589 test ! -s conftest.err
40590 } && test -s conftest$ac_exeext &&
40591 $as_test_x conftest$ac_exeext; then
40592 eval wx_cv_func_$wx_func=yes
40594 echo "$as_me: failed program was:" >&5
40595 sed 's/^/| /' conftest.$ac_ext >&5
40597 eval wx_cv_func_$wx_func=no
40600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40601 conftest$ac_exeext conftest.$ac_ext
40604 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40605 { echo "$as_me:$LINENO: result: $ac_res" >&5
40606 echo "${ECHO_T}$ac_res" >&6; }
40608 if eval test \$wx_cv_func_$wx_func = yes
40610 cat >>confdefs.h <<_ACEOF
40611 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40624 for wx_func in strtok_r
40626 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40627 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40628 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40629 echo $ECHO_N "(cached) $ECHO_C" >&6
40632 cat >conftest.$ac_ext <<_ACEOF
40636 cat confdefs.h >>conftest.$ac_ext
40637 cat >>conftest.$ac_ext <<_ACEOF
40638 /* end confdefs.h. */
40641 $ac_includes_default
40657 rm -f conftest.$ac_objext conftest$ac_exeext
40658 if { (ac_try="$ac_link"
40659 case "(($ac_try" in
40660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40661 *) ac_try_echo=$ac_try;;
40663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40664 (eval "$ac_link") 2>conftest.er1
40666 grep -v '^ *+' conftest.er1 >conftest.err
40668 cat conftest.err >&5
40669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40670 (exit $ac_status); } && {
40671 test -z "$ac_c_werror_flag" ||
40672 test ! -s conftest.err
40673 } && test -s conftest$ac_exeext &&
40674 $as_test_x conftest$ac_exeext; then
40675 eval wx_cv_func_$wx_func=yes
40677 echo "$as_me: failed program was:" >&5
40678 sed 's/^/| /' conftest.$ac_ext >&5
40680 eval wx_cv_func_$wx_func=no
40683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40684 conftest$ac_exeext conftest.$ac_ext
40687 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40688 { echo "$as_me:$LINENO: result: $ac_res" >&5
40689 echo "${ECHO_T}$ac_res" >&6; }
40691 if eval test \$wx_cv_func_$wx_func = yes
40693 cat >>confdefs.h <<_ACEOF
40694 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40707 for ac_func in inet_addr
40709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40712 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40713 echo $ECHO_N "(cached) $ECHO_C" >&6
40715 cat >conftest.$ac_ext <<_ACEOF
40718 cat confdefs.h >>conftest.$ac_ext
40719 cat >>conftest.$ac_ext <<_ACEOF
40720 /* end confdefs.h. */
40721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40723 #define $ac_func innocuous_$ac_func
40725 /* System header to define __stub macros and hopefully few prototypes,
40726 which can conflict with char $ac_func (); below.
40727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40728 <limits.h> exists even on freestanding compilers. */
40731 # include <limits.h>
40733 # include <assert.h>
40738 /* Override any GCC internal prototype to avoid an error.
40739 Use char because int might match the return type of a GCC
40740 builtin and then its argument prototype would still apply. */
40745 /* The GNU C library defines this for functions which it implements
40746 to always fail with ENOSYS. Some functions are actually named
40747 something starting with __ and the normal name is an alias. */
40748 #if defined __stub_$ac_func || defined __stub___$ac_func
40755 return $ac_func ();
40760 rm -f conftest.$ac_objext conftest$ac_exeext
40761 if { (ac_try="$ac_link"
40762 case "(($ac_try" in
40763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40764 *) ac_try_echo=$ac_try;;
40766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40767 (eval "$ac_link") 2>conftest.er1
40769 grep -v '^ *+' conftest.er1 >conftest.err
40771 cat conftest.err >&5
40772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40773 (exit $ac_status); } && {
40774 test -z "$ac_c_werror_flag" ||
40775 test ! -s conftest.err
40776 } && test -s conftest$ac_exeext &&
40777 $as_test_x conftest$ac_exeext; then
40778 eval "$as_ac_var=yes"
40780 echo "$as_me: failed program was:" >&5
40781 sed 's/^/| /' conftest.$ac_ext >&5
40783 eval "$as_ac_var=no"
40786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40787 conftest$ac_exeext conftest.$ac_ext
40789 ac_res=`eval echo '${'$as_ac_var'}'`
40790 { echo "$as_me:$LINENO: result: $ac_res" >&5
40791 echo "${ECHO_T}$ac_res" >&6; }
40792 if test `eval echo '${'$as_ac_var'}'` = yes; then
40793 cat >>confdefs.h <<_ACEOF
40794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40796 cat >>confdefs.h <<\_ACEOF
40797 #define HAVE_INET_ADDR 1
40802 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40803 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40804 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40805 echo $ECHO_N "(cached) $ECHO_C" >&6
40807 ac_check_lib_save_LIBS=$LIBS
40809 cat >conftest.$ac_ext <<_ACEOF
40812 cat confdefs.h >>conftest.$ac_ext
40813 cat >>conftest.$ac_ext <<_ACEOF
40814 /* end confdefs.h. */
40816 /* Override any GCC internal prototype to avoid an error.
40817 Use char because int might match the return type of a GCC
40818 builtin and then its argument prototype would still apply. */
40826 return inet_addr ();
40831 rm -f conftest.$ac_objext conftest$ac_exeext
40832 if { (ac_try="$ac_link"
40833 case "(($ac_try" in
40834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40835 *) ac_try_echo=$ac_try;;
40837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40838 (eval "$ac_link") 2>conftest.er1
40840 grep -v '^ *+' conftest.er1 >conftest.err
40842 cat conftest.err >&5
40843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844 (exit $ac_status); } && {
40845 test -z "$ac_c_werror_flag" ||
40846 test ! -s conftest.err
40847 } && test -s conftest$ac_exeext &&
40848 $as_test_x conftest$ac_exeext; then
40849 ac_cv_lib_nsl_inet_addr=yes
40851 echo "$as_me: failed program was:" >&5
40852 sed 's/^/| /' conftest.$ac_ext >&5
40854 ac_cv_lib_nsl_inet_addr=no
40857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40858 conftest$ac_exeext conftest.$ac_ext
40859 LIBS=$ac_check_lib_save_LIBS
40861 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40862 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40863 if test $ac_cv_lib_nsl_inet_addr = yes; then
40867 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40868 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40869 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40870 echo $ECHO_N "(cached) $ECHO_C" >&6
40872 ac_check_lib_save_LIBS=$LIBS
40873 LIBS="-lresolv $LIBS"
40874 cat >conftest.$ac_ext <<_ACEOF
40877 cat confdefs.h >>conftest.$ac_ext
40878 cat >>conftest.$ac_ext <<_ACEOF
40879 /* end confdefs.h. */
40881 /* Override any GCC internal prototype to avoid an error.
40882 Use char because int might match the return type of a GCC
40883 builtin and then its argument prototype would still apply. */
40891 return inet_addr ();
40896 rm -f conftest.$ac_objext conftest$ac_exeext
40897 if { (ac_try="$ac_link"
40898 case "(($ac_try" in
40899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40900 *) ac_try_echo=$ac_try;;
40902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40903 (eval "$ac_link") 2>conftest.er1
40905 grep -v '^ *+' conftest.er1 >conftest.err
40907 cat conftest.err >&5
40908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909 (exit $ac_status); } && {
40910 test -z "$ac_c_werror_flag" ||
40911 test ! -s conftest.err
40912 } && test -s conftest$ac_exeext &&
40913 $as_test_x conftest$ac_exeext; then
40914 ac_cv_lib_resolv_inet_addr=yes
40916 echo "$as_me: failed program was:" >&5
40917 sed 's/^/| /' conftest.$ac_ext >&5
40919 ac_cv_lib_resolv_inet_addr=no
40922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40923 conftest$ac_exeext conftest.$ac_ext
40924 LIBS=$ac_check_lib_save_LIBS
40926 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40927 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40928 if test $ac_cv_lib_resolv_inet_addr = yes; then
40932 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40933 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40934 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40935 echo $ECHO_N "(cached) $ECHO_C" >&6
40937 ac_check_lib_save_LIBS=$LIBS
40938 LIBS="-lsocket $LIBS"
40939 cat >conftest.$ac_ext <<_ACEOF
40942 cat confdefs.h >>conftest.$ac_ext
40943 cat >>conftest.$ac_ext <<_ACEOF
40944 /* end confdefs.h. */
40946 /* Override any GCC internal prototype to avoid an error.
40947 Use char because int might match the return type of a GCC
40948 builtin and then its argument prototype would still apply. */
40956 return inet_addr ();
40961 rm -f conftest.$ac_objext conftest$ac_exeext
40962 if { (ac_try="$ac_link"
40963 case "(($ac_try" in
40964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40965 *) ac_try_echo=$ac_try;;
40967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40968 (eval "$ac_link") 2>conftest.er1
40970 grep -v '^ *+' conftest.er1 >conftest.err
40972 cat conftest.err >&5
40973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40974 (exit $ac_status); } && {
40975 test -z "$ac_c_werror_flag" ||
40976 test ! -s conftest.err
40977 } && test -s conftest$ac_exeext &&
40978 $as_test_x conftest$ac_exeext; then
40979 ac_cv_lib_socket_inet_addr=yes
40981 echo "$as_me: failed program was:" >&5
40982 sed 's/^/| /' conftest.$ac_ext >&5
40984 ac_cv_lib_socket_inet_addr=no
40987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40988 conftest$ac_exeext conftest.$ac_ext
40989 LIBS=$ac_check_lib_save_LIBS
40991 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40992 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40993 if test $ac_cv_lib_socket_inet_addr = yes; then
41013 for ac_func in inet_aton
41015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41016 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41018 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41019 echo $ECHO_N "(cached) $ECHO_C" >&6
41021 cat >conftest.$ac_ext <<_ACEOF
41024 cat confdefs.h >>conftest.$ac_ext
41025 cat >>conftest.$ac_ext <<_ACEOF
41026 /* end confdefs.h. */
41027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41029 #define $ac_func innocuous_$ac_func
41031 /* System header to define __stub macros and hopefully few prototypes,
41032 which can conflict with char $ac_func (); below.
41033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41034 <limits.h> exists even on freestanding compilers. */
41037 # include <limits.h>
41039 # include <assert.h>
41044 /* Override any GCC internal prototype to avoid an error.
41045 Use char because int might match the return type of a GCC
41046 builtin and then its argument prototype would still apply. */
41051 /* The GNU C library defines this for functions which it implements
41052 to always fail with ENOSYS. Some functions are actually named
41053 something starting with __ and the normal name is an alias. */
41054 #if defined __stub_$ac_func || defined __stub___$ac_func
41061 return $ac_func ();
41066 rm -f conftest.$ac_objext conftest$ac_exeext
41067 if { (ac_try="$ac_link"
41068 case "(($ac_try" in
41069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41070 *) ac_try_echo=$ac_try;;
41072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41073 (eval "$ac_link") 2>conftest.er1
41075 grep -v '^ *+' conftest.er1 >conftest.err
41077 cat conftest.err >&5
41078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41079 (exit $ac_status); } && {
41080 test -z "$ac_c_werror_flag" ||
41081 test ! -s conftest.err
41082 } && test -s conftest$ac_exeext &&
41083 $as_test_x conftest$ac_exeext; then
41084 eval "$as_ac_var=yes"
41086 echo "$as_me: failed program was:" >&5
41087 sed 's/^/| /' conftest.$ac_ext >&5
41089 eval "$as_ac_var=no"
41092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41093 conftest$ac_exeext conftest.$ac_ext
41095 ac_res=`eval echo '${'$as_ac_var'}'`
41096 { echo "$as_me:$LINENO: result: $ac_res" >&5
41097 echo "${ECHO_T}$ac_res" >&6; }
41098 if test `eval echo '${'$as_ac_var'}'` = yes; then
41099 cat >>confdefs.h <<_ACEOF
41100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41102 cat >>confdefs.h <<\_ACEOF
41103 #define HAVE_INET_ATON 1
41108 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41109 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41110 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41111 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41112 echo $ECHO_N "(cached) $ECHO_C" >&6
41114 ac_check_lib_save_LIBS=$LIBS
41115 LIBS="-l$INET_LINK $LIBS"
41116 cat >conftest.$ac_ext <<_ACEOF
41119 cat confdefs.h >>conftest.$ac_ext
41120 cat >>conftest.$ac_ext <<_ACEOF
41121 /* end confdefs.h. */
41123 /* Override any GCC internal prototype to avoid an error.
41124 Use char because int might match the return type of a GCC
41125 builtin and then its argument prototype would still apply. */
41133 return inet_aton ();
41138 rm -f conftest.$ac_objext conftest$ac_exeext
41139 if { (ac_try="$ac_link"
41140 case "(($ac_try" in
41141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41142 *) ac_try_echo=$ac_try;;
41144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41145 (eval "$ac_link") 2>conftest.er1
41147 grep -v '^ *+' conftest.er1 >conftest.err
41149 cat conftest.err >&5
41150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41151 (exit $ac_status); } && {
41152 test -z "$ac_c_werror_flag" ||
41153 test ! -s conftest.err
41154 } && test -s conftest$ac_exeext &&
41155 $as_test_x conftest$ac_exeext; then
41156 eval "$as_ac_Lib=yes"
41158 echo "$as_me: failed program was:" >&5
41159 sed 's/^/| /' conftest.$ac_ext >&5
41161 eval "$as_ac_Lib=no"
41164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41165 conftest$ac_exeext conftest.$ac_ext
41166 LIBS=$ac_check_lib_save_LIBS
41168 ac_res=`eval echo '${'$as_ac_Lib'}'`
41169 { echo "$as_me:$LINENO: result: $ac_res" >&5
41170 echo "${ECHO_T}$ac_res" >&6; }
41171 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41172 cat >>confdefs.h <<\_ACEOF
41173 #define HAVE_INET_ATON 1
41183 if test "x$INET_LINK" != "x"; then
41184 cat >>confdefs.h <<\_ACEOF
41185 #define HAVE_INET_ADDR 1
41188 INET_LINK=" -l$INET_LINK"
41192 for wx_func in fdopen
41194 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41195 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41196 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41197 echo $ECHO_N "(cached) $ECHO_C" >&6
41200 cat >conftest.$ac_ext <<_ACEOF
41204 cat confdefs.h >>conftest.$ac_ext
41205 cat >>conftest.$ac_ext <<_ACEOF
41206 /* end confdefs.h. */
41209 $ac_includes_default
41225 rm -f conftest.$ac_objext conftest$ac_exeext
41226 if { (ac_try="$ac_link"
41227 case "(($ac_try" in
41228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41229 *) ac_try_echo=$ac_try;;
41231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41232 (eval "$ac_link") 2>conftest.er1
41234 grep -v '^ *+' conftest.er1 >conftest.err
41236 cat conftest.err >&5
41237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41238 (exit $ac_status); } && {
41239 test -z "$ac_c_werror_flag" ||
41240 test ! -s conftest.err
41241 } && test -s conftest$ac_exeext &&
41242 $as_test_x conftest$ac_exeext; then
41243 eval wx_cv_func_$wx_func=yes
41245 echo "$as_me: failed program was:" >&5
41246 sed 's/^/| /' conftest.$ac_ext >&5
41248 eval wx_cv_func_$wx_func=no
41251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41252 conftest$ac_exeext conftest.$ac_ext
41255 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41256 { echo "$as_me:$LINENO: result: $ac_res" >&5
41257 echo "${ECHO_T}$ac_res" >&6; }
41259 if eval test \$wx_cv_func_$wx_func = yes
41261 cat >>confdefs.h <<_ACEOF
41262 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41273 if test "$wxUSE_TARSTREAM" = "yes"; then
41275 for wx_func in sysconf
41277 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41278 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41279 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41280 echo $ECHO_N "(cached) $ECHO_C" >&6
41283 cat >conftest.$ac_ext <<_ACEOF
41287 cat confdefs.h >>conftest.$ac_ext
41288 cat >>conftest.$ac_ext <<_ACEOF
41289 /* end confdefs.h. */
41292 $ac_includes_default
41308 rm -f conftest.$ac_objext conftest$ac_exeext
41309 if { (ac_try="$ac_link"
41310 case "(($ac_try" in
41311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41312 *) ac_try_echo=$ac_try;;
41314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41315 (eval "$ac_link") 2>conftest.er1
41317 grep -v '^ *+' conftest.er1 >conftest.err
41319 cat conftest.err >&5
41320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41321 (exit $ac_status); } && {
41322 test -z "$ac_c_werror_flag" ||
41323 test ! -s conftest.err
41324 } && test -s conftest$ac_exeext &&
41325 $as_test_x conftest$ac_exeext; then
41326 eval wx_cv_func_$wx_func=yes
41328 echo "$as_me: failed program was:" >&5
41329 sed 's/^/| /' conftest.$ac_ext >&5
41331 eval wx_cv_func_$wx_func=no
41334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41335 conftest$ac_exeext conftest.$ac_ext
41338 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41339 { echo "$as_me:$LINENO: result: $ac_res" >&5
41340 echo "${ECHO_T}$ac_res" >&6; }
41342 if eval test \$wx_cv_func_$wx_func = yes
41344 cat >>confdefs.h <<_ACEOF
41345 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41357 for wx_func in getpwuid_r
41359 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41360 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41361 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41362 echo $ECHO_N "(cached) $ECHO_C" >&6
41365 cat >conftest.$ac_ext <<_ACEOF
41369 cat confdefs.h >>conftest.$ac_ext
41370 cat >>conftest.$ac_ext <<_ACEOF
41371 /* end confdefs.h. */
41377 $ac_includes_default
41387 struct passwd pw, *ppw;
41389 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
41397 rm -f conftest.$ac_objext conftest$ac_exeext
41398 if { (ac_try="$ac_link"
41399 case "(($ac_try" in
41400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41401 *) ac_try_echo=$ac_try;;
41403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41404 (eval "$ac_link") 2>conftest.er1
41406 grep -v '^ *+' conftest.er1 >conftest.err
41408 cat conftest.err >&5
41409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41410 (exit $ac_status); } && {
41411 test -z "$ac_c_werror_flag" ||
41412 test ! -s conftest.err
41413 } && test -s conftest$ac_exeext &&
41414 $as_test_x conftest$ac_exeext; then
41415 eval wx_cv_func_$wx_func=yes
41417 echo "$as_me: failed program was:" >&5
41418 sed 's/^/| /' conftest.$ac_ext >&5
41420 eval wx_cv_func_$wx_func=no
41423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41424 conftest$ac_exeext conftest.$ac_ext
41427 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41428 { echo "$as_me:$LINENO: result: $ac_res" >&5
41429 echo "${ECHO_T}$ac_res" >&6; }
41431 if eval test \$wx_cv_func_$wx_func = yes
41433 cat >>confdefs.h <<_ACEOF
41434 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41446 for wx_func in getgrgid_r
41448 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41449 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41450 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41451 echo $ECHO_N "(cached) $ECHO_C" >&6
41454 cat >conftest.$ac_ext <<_ACEOF
41458 cat confdefs.h >>conftest.$ac_ext
41459 cat >>conftest.$ac_ext <<_ACEOF
41460 /* end confdefs.h. */
41466 $ac_includes_default
41476 struct group grp, *pgrp;
41478 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
41486 rm -f conftest.$ac_objext conftest$ac_exeext
41487 if { (ac_try="$ac_link"
41488 case "(($ac_try" in
41489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41490 *) ac_try_echo=$ac_try;;
41492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41493 (eval "$ac_link") 2>conftest.er1
41495 grep -v '^ *+' conftest.er1 >conftest.err
41497 cat conftest.err >&5
41498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41499 (exit $ac_status); } && {
41500 test -z "$ac_c_werror_flag" ||
41501 test ! -s conftest.err
41502 } && test -s conftest$ac_exeext &&
41503 $as_test_x conftest$ac_exeext; then
41504 eval wx_cv_func_$wx_func=yes
41506 echo "$as_me: failed program was:" >&5
41507 sed 's/^/| /' conftest.$ac_ext >&5
41509 eval wx_cv_func_$wx_func=no
41512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41513 conftest$ac_exeext conftest.$ac_ext
41516 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41517 { echo "$as_me:$LINENO: result: $ac_res" >&5
41518 echo "${ECHO_T}$ac_res" >&6; }
41520 if eval test \$wx_cv_func_$wx_func = yes
41522 cat >>confdefs.h <<_ACEOF
41523 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41539 cat >confcache <<\_ACEOF
41540 # This file is a shell script that caches the results of configure
41541 # tests run on this system so they can be shared between configure
41542 # scripts and configure runs, see configure's option --config-cache.
41543 # It is not useful on other systems. If it contains results you don't
41544 # want to keep, you may remove or edit it.
41546 # config.status only pays attention to the cache file if you give it
41547 # the --recheck option to rerun configure.
41549 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41550 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41551 # following values.
41555 # The following way of writing the cache mishandles newlines in values,
41556 # but we know of no workaround that is simple, portable, and efficient.
41557 # So, we kill variables containing newlines.
41558 # Ultrix sh set writes to stderr and can't be redirected directly,
41559 # and sets the high bit in the cache file unless we assign to the vars.
41561 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41562 eval ac_val=\$$ac_var
41566 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41567 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41570 _ | IFS | as_nl) ;; #(
41571 *) $as_unset $ac_var ;;
41577 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41578 *${as_nl}ac_space=\ *)
41579 # `set' does not quote correctly, so add quotes (double-quote
41580 # substitution turns \\\\ into \\, and sed turns \\ into \).
41583 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41586 # `set' quotes correctly as required by POSIX, so do not add quotes.
41587 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41596 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41598 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41600 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41601 if test -w "$cache_file"; then
41602 test "x$cache_file" != "x/dev/null" &&
41603 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41604 echo "$as_me: updating cache $cache_file" >&6;}
41605 cat confcache >$cache_file
41607 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41608 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41614 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41620 if test "$wxUSE_THREADS" = "yes" ; then
41621 if test "$USE_BEOS" = 1; then
41622 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41623 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41628 if test "$wxUSE_THREADS" = "yes" ; then
41631 THREAD_OPTS="-pthread"
41632 if test "x$SUNCXX" = xyes; then
41633 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41637 *-*-solaris2* | *-*-sunos4* )
41638 if test "x$GCC" = "xyes"; then
41639 THREAD_OPTS="-pthreads $THREAD_OPTS"
41643 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41645 *-*-darwin* | *-*-cygwin* )
41649 THREAD_OPTS="pthreads"
41652 if test "x$GCC" = "xyes"; then
41653 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41661 if test "x$GCC" = "xyes"; then
41667 if test "x$GCC" != "xyes"; then
41668 THREAD_OPTS="-Ethread"
41673 THREAD_OPTS="$THREAD_OPTS pthread none"
41676 for flag in $THREAD_OPTS; do
41679 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41680 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41684 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41685 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41686 THREADS_CFLAGS="$flag"
41690 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41691 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41692 THREADS_LINK="-l$flag"
41697 save_CFLAGS="$CFLAGS"
41698 LIBS="$THREADS_LINK $LIBS"
41699 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41701 cat >conftest.$ac_ext <<_ACEOF
41704 cat confdefs.h >>conftest.$ac_ext
41705 cat >>conftest.$ac_ext <<_ACEOF
41706 /* end confdefs.h. */
41707 #include <pthread.h>
41711 pthread_create(0,0,0,0);
41716 rm -f conftest.$ac_objext conftest$ac_exeext
41717 if { (ac_try="$ac_link"
41718 case "(($ac_try" in
41719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41720 *) ac_try_echo=$ac_try;;
41722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41723 (eval "$ac_link") 2>conftest.er1
41725 grep -v '^ *+' conftest.er1 >conftest.err
41727 cat conftest.err >&5
41728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41729 (exit $ac_status); } && {
41730 test -z "$ac_c_werror_flag" ||
41731 test ! -s conftest.err
41732 } && test -s conftest$ac_exeext &&
41733 $as_test_x conftest$ac_exeext; then
41736 echo "$as_me: failed program was:" >&5
41737 sed 's/^/| /' conftest.$ac_ext >&5
41742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41743 conftest$ac_exeext conftest.$ac_ext
41746 CFLAGS="$save_CFLAGS"
41748 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41749 echo "${ECHO_T}$THREADS_OK" >&6; }
41750 if test "x$THREADS_OK" = "xyes"; then
41758 if test "x$THREADS_OK" != "xyes"; then
41760 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41761 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41763 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41764 LIBS="$THREADS_LINK $LIBS"
41766 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41767 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41771 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41772 flag="-D_THREAD_SAFE"
41775 flag="-D_THREAD_SAFE"
41778 flag="-D_REENTRANT"
41779 if test "x$GCC" != "xyes"; then
41780 flag="$flag -D_RWSTD_MULTI_THREAD"
41783 *solaris* | alpha*-osf*)
41784 flag="-D_REENTRANT"
41787 { echo "$as_me:$LINENO: result: ${flag}" >&5
41788 echo "${ECHO_T}${flag}" >&6; }
41789 if test "x$flag" != xno; then
41790 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41793 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41797 if test "$wxUSE_THREADS" = "yes" ; then
41799 for ac_func in thr_setconcurrency
41801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41802 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41804 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41805 echo $ECHO_N "(cached) $ECHO_C" >&6
41807 cat >conftest.$ac_ext <<_ACEOF
41810 cat confdefs.h >>conftest.$ac_ext
41811 cat >>conftest.$ac_ext <<_ACEOF
41812 /* end confdefs.h. */
41813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41815 #define $ac_func innocuous_$ac_func
41817 /* System header to define __stub macros and hopefully few prototypes,
41818 which can conflict with char $ac_func (); below.
41819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41820 <limits.h> exists even on freestanding compilers. */
41823 # include <limits.h>
41825 # include <assert.h>
41830 /* Override any GCC internal prototype to avoid an error.
41831 Use char because int might match the return type of a GCC
41832 builtin and then its argument prototype would still apply. */
41837 /* The GNU C library defines this for functions which it implements
41838 to always fail with ENOSYS. Some functions are actually named
41839 something starting with __ and the normal name is an alias. */
41840 #if defined __stub_$ac_func || defined __stub___$ac_func
41847 return $ac_func ();
41852 rm -f conftest.$ac_objext conftest$ac_exeext
41853 if { (ac_try="$ac_link"
41854 case "(($ac_try" in
41855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41856 *) ac_try_echo=$ac_try;;
41858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41859 (eval "$ac_link") 2>conftest.er1
41861 grep -v '^ *+' conftest.er1 >conftest.err
41863 cat conftest.err >&5
41864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41865 (exit $ac_status); } && {
41866 test -z "$ac_c_werror_flag" ||
41867 test ! -s conftest.err
41868 } && test -s conftest$ac_exeext &&
41869 $as_test_x conftest$ac_exeext; then
41870 eval "$as_ac_var=yes"
41872 echo "$as_me: failed program was:" >&5
41873 sed 's/^/| /' conftest.$ac_ext >&5
41875 eval "$as_ac_var=no"
41878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41879 conftest$ac_exeext conftest.$ac_ext
41881 ac_res=`eval echo '${'$as_ac_var'}'`
41882 { echo "$as_me:$LINENO: result: $ac_res" >&5
41883 echo "${ECHO_T}$ac_res" >&6; }
41884 if test `eval echo '${'$as_ac_var'}'` = yes; then
41885 cat >>confdefs.h <<_ACEOF
41886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41893 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41894 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41895 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41896 echo $ECHO_N "(cached) $ECHO_C" >&6
41900 ac_cpp='$CXXCPP $CPPFLAGS'
41901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41905 cat >conftest.$ac_ext <<_ACEOF
41908 cat confdefs.h >>conftest.$ac_ext
41909 cat >>conftest.$ac_ext <<_ACEOF
41910 /* end confdefs.h. */
41911 #include <pthread.h>
41912 void ThreadCleanupFunc(void *p);
41919 pthread_cleanup_push(ThreadCleanupFunc, p);
41920 pthread_cleanup_pop(0);
41926 rm -f conftest.$ac_objext
41927 if { (ac_try="$ac_compile"
41928 case "(($ac_try" in
41929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41930 *) ac_try_echo=$ac_try;;
41932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41933 (eval "$ac_compile") 2>conftest.er1
41935 grep -v '^ *+' conftest.er1 >conftest.err
41937 cat conftest.err >&5
41938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939 (exit $ac_status); } && {
41940 test -z "$ac_cxx_werror_flag" ||
41941 test ! -s conftest.err
41942 } && test -s conftest.$ac_objext; then
41944 wx_cv_func_pthread_cleanup=yes
41947 echo "$as_me: failed program was:" >&5
41948 sed 's/^/| /' conftest.$ac_ext >&5
41951 wx_cv_func_pthread_cleanup=no
41956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41958 ac_cpp='$CPP $CPPFLAGS'
41959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41965 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41966 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41967 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41968 cat >>confdefs.h <<\_ACEOF
41969 #define wxHAVE_PTHREAD_CLEANUP 1
41975 for ac_header in sched.h
41977 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41978 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41980 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41981 echo $ECHO_N "(cached) $ECHO_C" >&6
41983 cat >conftest.$ac_ext <<_ACEOF
41986 cat confdefs.h >>conftest.$ac_ext
41987 cat >>conftest.$ac_ext <<_ACEOF
41988 /* end confdefs.h. */
41989 $ac_includes_default
41991 #include <$ac_header>
41993 rm -f conftest.$ac_objext
41994 if { (ac_try="$ac_compile"
41995 case "(($ac_try" in
41996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41997 *) ac_try_echo=$ac_try;;
41999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42000 (eval "$ac_compile") 2>conftest.er1
42002 grep -v '^ *+' conftest.er1 >conftest.err
42004 cat conftest.err >&5
42005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42006 (exit $ac_status); } && {
42007 test -z "$ac_c_werror_flag" ||
42008 test ! -s conftest.err
42009 } && test -s conftest.$ac_objext; then
42010 eval "$as_ac_Header=yes"
42012 echo "$as_me: failed program was:" >&5
42013 sed 's/^/| /' conftest.$ac_ext >&5
42015 eval "$as_ac_Header=no"
42018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42020 ac_res=`eval echo '${'$as_ac_Header'}'`
42021 { echo "$as_me:$LINENO: result: $ac_res" >&5
42022 echo "${ECHO_T}$ac_res" >&6; }
42023 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42024 cat >>confdefs.h <<_ACEOF
42025 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42032 if test "$ac_cv_header_sched_h" = "yes"; then
42033 { echo "$as_me:$LINENO: checking for sched_yield" >&5
42034 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
42035 if test "${ac_cv_func_sched_yield+set}" = set; then
42036 echo $ECHO_N "(cached) $ECHO_C" >&6
42038 cat >conftest.$ac_ext <<_ACEOF
42041 cat confdefs.h >>conftest.$ac_ext
42042 cat >>conftest.$ac_ext <<_ACEOF
42043 /* end confdefs.h. */
42044 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
42045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42046 #define sched_yield innocuous_sched_yield
42048 /* System header to define __stub macros and hopefully few prototypes,
42049 which can conflict with char sched_yield (); below.
42050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42051 <limits.h> exists even on freestanding compilers. */
42054 # include <limits.h>
42056 # include <assert.h>
42061 /* Override any GCC internal prototype to avoid an error.
42062 Use char because int might match the return type of a GCC
42063 builtin and then its argument prototype would still apply. */
42067 char sched_yield ();
42068 /* The GNU C library defines this for functions which it implements
42069 to always fail with ENOSYS. Some functions are actually named
42070 something starting with __ and the normal name is an alias. */
42071 #if defined __stub_sched_yield || defined __stub___sched_yield
42078 return sched_yield ();
42083 rm -f conftest.$ac_objext conftest$ac_exeext
42084 if { (ac_try="$ac_link"
42085 case "(($ac_try" in
42086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42087 *) ac_try_echo=$ac_try;;
42089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42090 (eval "$ac_link") 2>conftest.er1
42092 grep -v '^ *+' conftest.er1 >conftest.err
42094 cat conftest.err >&5
42095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42096 (exit $ac_status); } && {
42097 test -z "$ac_c_werror_flag" ||
42098 test ! -s conftest.err
42099 } && test -s conftest$ac_exeext &&
42100 $as_test_x conftest$ac_exeext; then
42101 ac_cv_func_sched_yield=yes
42103 echo "$as_me: failed program was:" >&5
42104 sed 's/^/| /' conftest.$ac_ext >&5
42106 ac_cv_func_sched_yield=no
42109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42110 conftest$ac_exeext conftest.$ac_ext
42112 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
42113 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
42114 if test $ac_cv_func_sched_yield = yes; then
42115 cat >>confdefs.h <<\_ACEOF
42116 #define HAVE_SCHED_YIELD 1
42121 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
42122 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
42123 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
42124 echo $ECHO_N "(cached) $ECHO_C" >&6
42126 ac_check_lib_save_LIBS=$LIBS
42127 LIBS="-lposix4 $LIBS"
42128 cat >conftest.$ac_ext <<_ACEOF
42131 cat confdefs.h >>conftest.$ac_ext
42132 cat >>conftest.$ac_ext <<_ACEOF
42133 /* end confdefs.h. */
42135 /* Override any GCC internal prototype to avoid an error.
42136 Use char because int might match the return type of a GCC
42137 builtin and then its argument prototype would still apply. */
42141 char sched_yield ();
42145 return sched_yield ();
42150 rm -f conftest.$ac_objext conftest$ac_exeext
42151 if { (ac_try="$ac_link"
42152 case "(($ac_try" in
42153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42154 *) ac_try_echo=$ac_try;;
42156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42157 (eval "$ac_link") 2>conftest.er1
42159 grep -v '^ *+' conftest.er1 >conftest.err
42161 cat conftest.err >&5
42162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42163 (exit $ac_status); } && {
42164 test -z "$ac_c_werror_flag" ||
42165 test ! -s conftest.err
42166 } && test -s conftest$ac_exeext &&
42167 $as_test_x conftest$ac_exeext; then
42168 ac_cv_lib_posix4_sched_yield=yes
42170 echo "$as_me: failed program was:" >&5
42171 sed 's/^/| /' conftest.$ac_ext >&5
42173 ac_cv_lib_posix4_sched_yield=no
42176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42177 conftest$ac_exeext conftest.$ac_ext
42178 LIBS=$ac_check_lib_save_LIBS
42180 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42181 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42182 if test $ac_cv_lib_posix4_sched_yield = yes; then
42183 cat >>confdefs.h <<\_ACEOF
42184 #define HAVE_SCHED_YIELD 1
42186 POSIX4_LINK=" -lposix4"
42188 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42189 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42200 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42201 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42202 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42203 echo $ECHO_N "(cached) $ECHO_C" >&6
42205 cat >conftest.$ac_ext <<_ACEOF
42208 cat confdefs.h >>conftest.$ac_ext
42209 cat >>conftest.$ac_ext <<_ACEOF
42210 /* end confdefs.h. */
42211 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42213 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42215 /* System header to define __stub macros and hopefully few prototypes,
42216 which can conflict with char pthread_attr_getschedpolicy (); below.
42217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42218 <limits.h> exists even on freestanding compilers. */
42221 # include <limits.h>
42223 # include <assert.h>
42226 #undef pthread_attr_getschedpolicy
42228 /* Override any GCC internal prototype to avoid an error.
42229 Use char because int might match the return type of a GCC
42230 builtin and then its argument prototype would still apply. */
42234 char pthread_attr_getschedpolicy ();
42235 /* The GNU C library defines this for functions which it implements
42236 to always fail with ENOSYS. Some functions are actually named
42237 something starting with __ and the normal name is an alias. */
42238 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42245 return pthread_attr_getschedpolicy ();
42250 rm -f conftest.$ac_objext conftest$ac_exeext
42251 if { (ac_try="$ac_link"
42252 case "(($ac_try" in
42253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42254 *) ac_try_echo=$ac_try;;
42256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42257 (eval "$ac_link") 2>conftest.er1
42259 grep -v '^ *+' conftest.er1 >conftest.err
42261 cat conftest.err >&5
42262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42263 (exit $ac_status); } && {
42264 test -z "$ac_c_werror_flag" ||
42265 test ! -s conftest.err
42266 } && test -s conftest$ac_exeext &&
42267 $as_test_x conftest$ac_exeext; then
42268 ac_cv_func_pthread_attr_getschedpolicy=yes
42270 echo "$as_me: failed program was:" >&5
42271 sed 's/^/| /' conftest.$ac_ext >&5
42273 ac_cv_func_pthread_attr_getschedpolicy=no
42276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42277 conftest$ac_exeext conftest.$ac_ext
42279 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42280 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42281 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42282 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42283 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42284 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42285 echo $ECHO_N "(cached) $ECHO_C" >&6
42287 cat >conftest.$ac_ext <<_ACEOF
42290 cat confdefs.h >>conftest.$ac_ext
42291 cat >>conftest.$ac_ext <<_ACEOF
42292 /* end confdefs.h. */
42293 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42295 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42297 /* System header to define __stub macros and hopefully few prototypes,
42298 which can conflict with char pthread_attr_setschedparam (); below.
42299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42300 <limits.h> exists even on freestanding compilers. */
42303 # include <limits.h>
42305 # include <assert.h>
42308 #undef pthread_attr_setschedparam
42310 /* Override any GCC internal prototype to avoid an error.
42311 Use char because int might match the return type of a GCC
42312 builtin and then its argument prototype would still apply. */
42316 char pthread_attr_setschedparam ();
42317 /* The GNU C library defines this for functions which it implements
42318 to always fail with ENOSYS. Some functions are actually named
42319 something starting with __ and the normal name is an alias. */
42320 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42327 return pthread_attr_setschedparam ();
42332 rm -f conftest.$ac_objext conftest$ac_exeext
42333 if { (ac_try="$ac_link"
42334 case "(($ac_try" in
42335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42336 *) ac_try_echo=$ac_try;;
42338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42339 (eval "$ac_link") 2>conftest.er1
42341 grep -v '^ *+' conftest.er1 >conftest.err
42343 cat conftest.err >&5
42344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42345 (exit $ac_status); } && {
42346 test -z "$ac_c_werror_flag" ||
42347 test ! -s conftest.err
42348 } && test -s conftest$ac_exeext &&
42349 $as_test_x conftest$ac_exeext; then
42350 ac_cv_func_pthread_attr_setschedparam=yes
42352 echo "$as_me: failed program was:" >&5
42353 sed 's/^/| /' conftest.$ac_ext >&5
42355 ac_cv_func_pthread_attr_setschedparam=no
42358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42359 conftest$ac_exeext conftest.$ac_ext
42361 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42362 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42363 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42364 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42365 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42366 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42367 echo $ECHO_N "(cached) $ECHO_C" >&6
42369 cat >conftest.$ac_ext <<_ACEOF
42372 cat confdefs.h >>conftest.$ac_ext
42373 cat >>conftest.$ac_ext <<_ACEOF
42374 /* end confdefs.h. */
42375 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42377 #define sched_get_priority_max innocuous_sched_get_priority_max
42379 /* System header to define __stub macros and hopefully few prototypes,
42380 which can conflict with char sched_get_priority_max (); below.
42381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42382 <limits.h> exists even on freestanding compilers. */
42385 # include <limits.h>
42387 # include <assert.h>
42390 #undef sched_get_priority_max
42392 /* Override any GCC internal prototype to avoid an error.
42393 Use char because int might match the return type of a GCC
42394 builtin and then its argument prototype would still apply. */
42398 char sched_get_priority_max ();
42399 /* The GNU C library defines this for functions which it implements
42400 to always fail with ENOSYS. Some functions are actually named
42401 something starting with __ and the normal name is an alias. */
42402 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42409 return sched_get_priority_max ();
42414 rm -f conftest.$ac_objext conftest$ac_exeext
42415 if { (ac_try="$ac_link"
42416 case "(($ac_try" in
42417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42418 *) ac_try_echo=$ac_try;;
42420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42421 (eval "$ac_link") 2>conftest.er1
42423 grep -v '^ *+' conftest.er1 >conftest.err
42425 cat conftest.err >&5
42426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42427 (exit $ac_status); } && {
42428 test -z "$ac_c_werror_flag" ||
42429 test ! -s conftest.err
42430 } && test -s conftest$ac_exeext &&
42431 $as_test_x conftest$ac_exeext; then
42432 ac_cv_func_sched_get_priority_max=yes
42434 echo "$as_me: failed program was:" >&5
42435 sed 's/^/| /' conftest.$ac_ext >&5
42437 ac_cv_func_sched_get_priority_max=no
42440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42441 conftest$ac_exeext conftest.$ac_ext
42443 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42444 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42445 if test $ac_cv_func_sched_get_priority_max = yes; then
42448 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42449 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42450 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42451 echo $ECHO_N "(cached) $ECHO_C" >&6
42453 ac_check_lib_save_LIBS=$LIBS
42454 LIBS="-lposix4 $LIBS"
42455 cat >conftest.$ac_ext <<_ACEOF
42458 cat confdefs.h >>conftest.$ac_ext
42459 cat >>conftest.$ac_ext <<_ACEOF
42460 /* end confdefs.h. */
42462 /* Override any GCC internal prototype to avoid an error.
42463 Use char because int might match the return type of a GCC
42464 builtin and then its argument prototype would still apply. */
42468 char sched_get_priority_max ();
42472 return sched_get_priority_max ();
42477 rm -f conftest.$ac_objext conftest$ac_exeext
42478 if { (ac_try="$ac_link"
42479 case "(($ac_try" in
42480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42481 *) ac_try_echo=$ac_try;;
42483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42484 (eval "$ac_link") 2>conftest.er1
42486 grep -v '^ *+' conftest.er1 >conftest.err
42488 cat conftest.err >&5
42489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42490 (exit $ac_status); } && {
42491 test -z "$ac_c_werror_flag" ||
42492 test ! -s conftest.err
42493 } && test -s conftest$ac_exeext &&
42494 $as_test_x conftest$ac_exeext; then
42495 ac_cv_lib_posix4_sched_get_priority_max=yes
42497 echo "$as_me: failed program was:" >&5
42498 sed 's/^/| /' conftest.$ac_ext >&5
42500 ac_cv_lib_posix4_sched_get_priority_max=no
42503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42504 conftest$ac_exeext conftest.$ac_ext
42505 LIBS=$ac_check_lib_save_LIBS
42507 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42508 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42509 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42512 POSIX4_LINK=" -lposix4"
42526 if test "$HAVE_PRIOR_FUNCS" = 1; then
42527 cat >>confdefs.h <<\_ACEOF
42528 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42532 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42533 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42536 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42537 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42538 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42539 echo $ECHO_N "(cached) $ECHO_C" >&6
42541 cat >conftest.$ac_ext <<_ACEOF
42544 cat confdefs.h >>conftest.$ac_ext
42545 cat >>conftest.$ac_ext <<_ACEOF
42546 /* end confdefs.h. */
42547 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42549 #define pthread_cancel innocuous_pthread_cancel
42551 /* System header to define __stub macros and hopefully few prototypes,
42552 which can conflict with char pthread_cancel (); below.
42553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42554 <limits.h> exists even on freestanding compilers. */
42557 # include <limits.h>
42559 # include <assert.h>
42562 #undef pthread_cancel
42564 /* Override any GCC internal prototype to avoid an error.
42565 Use char because int might match the return type of a GCC
42566 builtin and then its argument prototype would still apply. */
42570 char pthread_cancel ();
42571 /* The GNU C library defines this for functions which it implements
42572 to always fail with ENOSYS. Some functions are actually named
42573 something starting with __ and the normal name is an alias. */
42574 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42581 return pthread_cancel ();
42586 rm -f conftest.$ac_objext conftest$ac_exeext
42587 if { (ac_try="$ac_link"
42588 case "(($ac_try" in
42589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42590 *) ac_try_echo=$ac_try;;
42592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42593 (eval "$ac_link") 2>conftest.er1
42595 grep -v '^ *+' conftest.er1 >conftest.err
42597 cat conftest.err >&5
42598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42599 (exit $ac_status); } && {
42600 test -z "$ac_c_werror_flag" ||
42601 test ! -s conftest.err
42602 } && test -s conftest$ac_exeext &&
42603 $as_test_x conftest$ac_exeext; then
42604 ac_cv_func_pthread_cancel=yes
42606 echo "$as_me: failed program was:" >&5
42607 sed 's/^/| /' conftest.$ac_ext >&5
42609 ac_cv_func_pthread_cancel=no
42612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42613 conftest$ac_exeext conftest.$ac_ext
42615 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42616 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42617 if test $ac_cv_func_pthread_cancel = yes; then
42618 cat >>confdefs.h <<\_ACEOF
42619 #define HAVE_PTHREAD_CANCEL 1
42623 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42624 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42628 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42629 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42630 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42631 echo $ECHO_N "(cached) $ECHO_C" >&6
42633 cat >conftest.$ac_ext <<_ACEOF
42636 cat confdefs.h >>conftest.$ac_ext
42637 cat >>conftest.$ac_ext <<_ACEOF
42638 /* end confdefs.h. */
42639 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42641 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42643 /* System header to define __stub macros and hopefully few prototypes,
42644 which can conflict with char pthread_mutex_timedlock (); below.
42645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42646 <limits.h> exists even on freestanding compilers. */
42649 # include <limits.h>
42651 # include <assert.h>
42654 #undef pthread_mutex_timedlock
42656 /* Override any GCC internal prototype to avoid an error.
42657 Use char because int might match the return type of a GCC
42658 builtin and then its argument prototype would still apply. */
42662 char pthread_mutex_timedlock ();
42663 /* The GNU C library defines this for functions which it implements
42664 to always fail with ENOSYS. Some functions are actually named
42665 something starting with __ and the normal name is an alias. */
42666 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42673 return pthread_mutex_timedlock ();
42678 rm -f conftest.$ac_objext conftest$ac_exeext
42679 if { (ac_try="$ac_link"
42680 case "(($ac_try" in
42681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42682 *) ac_try_echo=$ac_try;;
42684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42685 (eval "$ac_link") 2>conftest.er1
42687 grep -v '^ *+' conftest.er1 >conftest.err
42689 cat conftest.err >&5
42690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42691 (exit $ac_status); } && {
42692 test -z "$ac_c_werror_flag" ||
42693 test ! -s conftest.err
42694 } && test -s conftest$ac_exeext &&
42695 $as_test_x conftest$ac_exeext; then
42696 ac_cv_func_pthread_mutex_timedlock=yes
42698 echo "$as_me: failed program was:" >&5
42699 sed 's/^/| /' conftest.$ac_ext >&5
42701 ac_cv_func_pthread_mutex_timedlock=no
42704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42705 conftest$ac_exeext conftest.$ac_ext
42707 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42708 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42709 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42710 cat >>confdefs.h <<\_ACEOF
42711 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42715 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42716 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42720 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42721 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42722 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42723 echo $ECHO_N "(cached) $ECHO_C" >&6
42725 cat >conftest.$ac_ext <<_ACEOF
42728 cat confdefs.h >>conftest.$ac_ext
42729 cat >>conftest.$ac_ext <<_ACEOF
42730 /* end confdefs.h. */
42731 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42733 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42735 /* System header to define __stub macros and hopefully few prototypes,
42736 which can conflict with char pthread_attr_setstacksize (); below.
42737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42738 <limits.h> exists even on freestanding compilers. */
42741 # include <limits.h>
42743 # include <assert.h>
42746 #undef pthread_attr_setstacksize
42748 /* Override any GCC internal prototype to avoid an error.
42749 Use char because int might match the return type of a GCC
42750 builtin and then its argument prototype would still apply. */
42754 char pthread_attr_setstacksize ();
42755 /* The GNU C library defines this for functions which it implements
42756 to always fail with ENOSYS. Some functions are actually named
42757 something starting with __ and the normal name is an alias. */
42758 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42765 return pthread_attr_setstacksize ();
42770 rm -f conftest.$ac_objext conftest$ac_exeext
42771 if { (ac_try="$ac_link"
42772 case "(($ac_try" in
42773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42774 *) ac_try_echo=$ac_try;;
42776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42777 (eval "$ac_link") 2>conftest.er1
42779 grep -v '^ *+' conftest.er1 >conftest.err
42781 cat conftest.err >&5
42782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42783 (exit $ac_status); } && {
42784 test -z "$ac_c_werror_flag" ||
42785 test ! -s conftest.err
42786 } && test -s conftest$ac_exeext &&
42787 $as_test_x conftest$ac_exeext; then
42788 ac_cv_func_pthread_attr_setstacksize=yes
42790 echo "$as_me: failed program was:" >&5
42791 sed 's/^/| /' conftest.$ac_ext >&5
42793 ac_cv_func_pthread_attr_setstacksize=no
42796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42797 conftest$ac_exeext conftest.$ac_ext
42799 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42800 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42801 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42802 cat >>confdefs.h <<\_ACEOF
42803 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42810 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42811 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42812 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42813 echo $ECHO_N "(cached) $ECHO_C" >&6
42816 cat >conftest.$ac_ext <<_ACEOF
42819 cat confdefs.h >>conftest.$ac_ext
42820 cat >>conftest.$ac_ext <<_ACEOF
42821 /* end confdefs.h. */
42822 #include <pthread.h>
42827 pthread_mutexattr_t attr;
42828 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42834 rm -f conftest.$ac_objext
42835 if { (ac_try="$ac_compile"
42836 case "(($ac_try" in
42837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42838 *) ac_try_echo=$ac_try;;
42840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42841 (eval "$ac_compile") 2>conftest.er1
42843 grep -v '^ *+' conftest.er1 >conftest.err
42845 cat conftest.err >&5
42846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42847 (exit $ac_status); } && {
42848 test -z "$ac_c_werror_flag" ||
42849 test ! -s conftest.err
42850 } && test -s conftest.$ac_objext; then
42851 wx_cv_type_pthread_mutexattr_t=yes
42853 echo "$as_me: failed program was:" >&5
42854 sed 's/^/| /' conftest.$ac_ext >&5
42856 wx_cv_type_pthread_mutexattr_t=no
42860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42863 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42864 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42866 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42867 cat >>confdefs.h <<\_ACEOF
42868 #define HAVE_PTHREAD_MUTEXATTR_T 1
42872 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42873 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42874 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42875 echo $ECHO_N "(cached) $ECHO_C" >&6
42878 cat >conftest.$ac_ext <<_ACEOF
42881 cat confdefs.h >>conftest.$ac_ext
42882 cat >>conftest.$ac_ext <<_ACEOF
42883 /* end confdefs.h. */
42884 #include <pthread.h>
42889 pthread_mutexattr_t attr;
42890 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42896 rm -f conftest.$ac_objext
42897 if { (ac_try="$ac_compile"
42898 case "(($ac_try" in
42899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42900 *) ac_try_echo=$ac_try;;
42902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42903 (eval "$ac_compile") 2>conftest.er1
42905 grep -v '^ *+' conftest.er1 >conftest.err
42907 cat conftest.err >&5
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); } && {
42910 test -z "$ac_c_werror_flag" ||
42911 test ! -s conftest.err
42912 } && test -s conftest.$ac_objext; then
42913 wx_cv_func_pthread_mutexattr_settype_decl=yes
42915 echo "$as_me: failed program was:" >&5
42916 sed 's/^/| /' conftest.$ac_ext >&5
42918 wx_cv_func_pthread_mutexattr_settype_decl=no
42922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42925 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42926 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42927 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42928 cat >>confdefs.h <<\_ACEOF
42929 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42934 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42935 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42936 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42937 echo $ECHO_N "(cached) $ECHO_C" >&6
42940 cat >conftest.$ac_ext <<_ACEOF
42943 cat confdefs.h >>conftest.$ac_ext
42944 cat >>conftest.$ac_ext <<_ACEOF
42945 /* end confdefs.h. */
42946 #include <pthread.h>
42951 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42957 rm -f conftest.$ac_objext
42958 if { (ac_try="$ac_compile"
42959 case "(($ac_try" in
42960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42961 *) ac_try_echo=$ac_try;;
42963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42964 (eval "$ac_compile") 2>conftest.er1
42966 grep -v '^ *+' conftest.er1 >conftest.err
42968 cat conftest.err >&5
42969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42970 (exit $ac_status); } && {
42971 test -z "$ac_c_werror_flag" ||
42972 test ! -s conftest.err
42973 } && test -s conftest.$ac_objext; then
42975 wx_cv_type_pthread_rec_mutex_init=yes
42978 echo "$as_me: failed program was:" >&5
42979 sed 's/^/| /' conftest.$ac_ext >&5
42982 wx_cv_type_pthread_rec_mutex_init=no
42987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42990 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42991 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42992 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42993 cat >>confdefs.h <<\_ACEOF
42994 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42998 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42999 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
43005 if test "$wxUSE_THREADS" = "yes" ; then
43008 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
43009 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
43010 if test "${wx_cv_cflags_mthread+set}" = set; then
43011 echo $ECHO_N "(cached) $ECHO_C" >&6
43014 CFLAGS_OLD="$CFLAGS"
43015 CFLAGS="-mthreads $CFLAGS"
43016 cat >conftest.$ac_ext <<_ACEOF
43019 cat confdefs.h >>conftest.$ac_ext
43020 cat >>conftest.$ac_ext <<_ACEOF
43021 /* end confdefs.h. */
43031 rm -f conftest.$ac_objext
43032 if { (ac_try="$ac_compile"
43033 case "(($ac_try" in
43034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43035 *) ac_try_echo=$ac_try;;
43037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43038 (eval "$ac_compile") 2>conftest.er1
43040 grep -v '^ *+' conftest.er1 >conftest.err
43042 cat conftest.err >&5
43043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43044 (exit $ac_status); } && {
43045 test -z "$ac_c_werror_flag" ||
43046 test ! -s conftest.err
43047 } && test -s conftest.$ac_objext; then
43048 wx_cv_cflags_mthread=yes
43050 echo "$as_me: failed program was:" >&5
43051 sed 's/^/| /' conftest.$ac_ext >&5
43053 wx_cv_cflags_mthread=no
43057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43061 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
43062 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
43064 if test "$wx_cv_cflags_mthread" = "yes"; then
43065 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
43066 LDFLAGS="$LDFLAGS -mthreads"
43068 CFLAGS="$CFLAGS_OLD"
43072 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
43073 LDFLAGS="$LDFLAGS -Zmt"
43079 { echo "$as_me:$LINENO: checking for localtime_r" >&5
43080 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
43081 if test "${ac_cv_func_localtime_r+set}" = set; then
43082 echo $ECHO_N "(cached) $ECHO_C" >&6
43084 cat >conftest.$ac_ext <<_ACEOF
43087 cat confdefs.h >>conftest.$ac_ext
43088 cat >>conftest.$ac_ext <<_ACEOF
43089 /* end confdefs.h. */
43090 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
43091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43092 #define localtime_r innocuous_localtime_r
43094 /* System header to define __stub macros and hopefully few prototypes,
43095 which can conflict with char localtime_r (); below.
43096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43097 <limits.h> exists even on freestanding compilers. */
43100 # include <limits.h>
43102 # include <assert.h>
43107 /* Override any GCC internal prototype to avoid an error.
43108 Use char because int might match the return type of a GCC
43109 builtin and then its argument prototype would still apply. */
43113 char localtime_r ();
43114 /* The GNU C library defines this for functions which it implements
43115 to always fail with ENOSYS. Some functions are actually named
43116 something starting with __ and the normal name is an alias. */
43117 #if defined __stub_localtime_r || defined __stub___localtime_r
43124 return localtime_r ();
43129 rm -f conftest.$ac_objext conftest$ac_exeext
43130 if { (ac_try="$ac_link"
43131 case "(($ac_try" in
43132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43133 *) ac_try_echo=$ac_try;;
43135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43136 (eval "$ac_link") 2>conftest.er1
43138 grep -v '^ *+' conftest.er1 >conftest.err
43140 cat conftest.err >&5
43141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43142 (exit $ac_status); } && {
43143 test -z "$ac_c_werror_flag" ||
43144 test ! -s conftest.err
43145 } && test -s conftest$ac_exeext &&
43146 $as_test_x conftest$ac_exeext; then
43147 ac_cv_func_localtime_r=yes
43149 echo "$as_me: failed program was:" >&5
43150 sed 's/^/| /' conftest.$ac_ext >&5
43152 ac_cv_func_localtime_r=no
43155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43156 conftest$ac_exeext conftest.$ac_ext
43158 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43159 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43160 if test $ac_cv_func_localtime_r = yes; then
43161 cat >>confdefs.h <<\_ACEOF
43162 #define HAVE_LOCALTIME_R 1
43167 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43168 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43169 if test "${ac_cv_func_gmtime_r+set}" = set; then
43170 echo $ECHO_N "(cached) $ECHO_C" >&6
43172 cat >conftest.$ac_ext <<_ACEOF
43175 cat confdefs.h >>conftest.$ac_ext
43176 cat >>conftest.$ac_ext <<_ACEOF
43177 /* end confdefs.h. */
43178 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43180 #define gmtime_r innocuous_gmtime_r
43182 /* System header to define __stub macros and hopefully few prototypes,
43183 which can conflict with char gmtime_r (); below.
43184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43185 <limits.h> exists even on freestanding compilers. */
43188 # include <limits.h>
43190 # include <assert.h>
43195 /* Override any GCC internal prototype to avoid an error.
43196 Use char because int might match the return type of a GCC
43197 builtin and then its argument prototype would still apply. */
43202 /* The GNU C library defines this for functions which it implements
43203 to always fail with ENOSYS. Some functions are actually named
43204 something starting with __ and the normal name is an alias. */
43205 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43212 return gmtime_r ();
43217 rm -f conftest.$ac_objext conftest$ac_exeext
43218 if { (ac_try="$ac_link"
43219 case "(($ac_try" in
43220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43221 *) ac_try_echo=$ac_try;;
43223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43224 (eval "$ac_link") 2>conftest.er1
43226 grep -v '^ *+' conftest.er1 >conftest.err
43228 cat conftest.err >&5
43229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43230 (exit $ac_status); } && {
43231 test -z "$ac_c_werror_flag" ||
43232 test ! -s conftest.err
43233 } && test -s conftest$ac_exeext &&
43234 $as_test_x conftest$ac_exeext; then
43235 ac_cv_func_gmtime_r=yes
43237 echo "$as_me: failed program was:" >&5
43238 sed 's/^/| /' conftest.$ac_ext >&5
43240 ac_cv_func_gmtime_r=no
43243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43244 conftest$ac_exeext conftest.$ac_ext
43246 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43247 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43248 if test $ac_cv_func_gmtime_r = yes; then
43249 cat >>confdefs.h <<\_ACEOF
43250 #define HAVE_GMTIME_R 1
43259 ac_cpp='$CPP $CPPFLAGS'
43260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43264 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43265 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43267 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43268 echo $ECHO_N "(cached) $ECHO_C" >&6
43272 ################################################################
43274 ac_cv_func_which_gethostbyname_r=unknown
43277 # ONE ARGUMENT (sanity check)
43280 # This should fail, as there is no variant of gethostbyname_r() that takes
43281 # a single argument. If it actually compiles, then we can assume that
43282 # netdb.h is not declaring the function, and the compiler is thereby
43283 # assuming an implicit prototype. In which case, we're out of luck.
43285 cat >conftest.$ac_ext <<_ACEOF
43288 cat confdefs.h >>conftest.$ac_ext
43289 cat >>conftest.$ac_ext <<_ACEOF
43290 /* end confdefs.h. */
43296 char *name = "www.gnu.org";
43297 (void)gethostbyname_r(name) /* ; */
43303 rm -f conftest.$ac_objext
43304 if { (ac_try="$ac_compile"
43305 case "(($ac_try" in
43306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43307 *) ac_try_echo=$ac_try;;
43309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43310 (eval "$ac_compile") 2>conftest.er1
43312 grep -v '^ *+' conftest.er1 >conftest.err
43314 cat conftest.err >&5
43315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43316 (exit $ac_status); } && {
43317 test -z "$ac_c_werror_flag" ||
43318 test ! -s conftest.err
43319 } && test -s conftest.$ac_objext; then
43320 ac_cv_func_which_gethostbyname_r=no
43322 echo "$as_me: failed program was:" >&5
43323 sed 's/^/| /' conftest.$ac_ext >&5
43328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43335 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43337 cat >conftest.$ac_ext <<_ACEOF
43340 cat confdefs.h >>conftest.$ac_ext
43341 cat >>conftest.$ac_ext <<_ACEOF
43342 /* end confdefs.h. */
43348 char *name = "www.gnu.org";
43349 struct hostent ret, *retp;
43353 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43359 rm -f conftest.$ac_objext
43360 if { (ac_try="$ac_compile"
43361 case "(($ac_try" in
43362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43363 *) ac_try_echo=$ac_try;;
43365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43366 (eval "$ac_compile") 2>conftest.er1
43368 grep -v '^ *+' conftest.er1 >conftest.err
43370 cat conftest.err >&5
43371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43372 (exit $ac_status); } && {
43373 test -z "$ac_c_werror_flag" ||
43374 test ! -s conftest.err
43375 } && test -s conftest.$ac_objext; then
43376 ac_cv_func_which_gethostbyname_r=six
43378 echo "$as_me: failed program was:" >&5
43379 sed 's/^/| /' conftest.$ac_ext >&5
43384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43393 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43395 cat >conftest.$ac_ext <<_ACEOF
43398 cat confdefs.h >>conftest.$ac_ext
43399 cat >>conftest.$ac_ext <<_ACEOF
43400 /* end confdefs.h. */
43406 char *name = "www.gnu.org";
43407 struct hostent ret;
43411 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43417 rm -f conftest.$ac_objext
43418 if { (ac_try="$ac_compile"
43419 case "(($ac_try" in
43420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43421 *) ac_try_echo=$ac_try;;
43423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43424 (eval "$ac_compile") 2>conftest.er1
43426 grep -v '^ *+' conftest.er1 >conftest.err
43428 cat conftest.err >&5
43429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43430 (exit $ac_status); } && {
43431 test -z "$ac_c_werror_flag" ||
43432 test ! -s conftest.err
43433 } && test -s conftest.$ac_objext; then
43434 ac_cv_func_which_gethostbyname_r=five
43436 echo "$as_me: failed program was:" >&5
43437 sed 's/^/| /' conftest.$ac_ext >&5
43442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43448 # (e.g. AIX, HP-UX, Tru64)
43451 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43453 cat >conftest.$ac_ext <<_ACEOF
43456 cat confdefs.h >>conftest.$ac_ext
43457 cat >>conftest.$ac_ext <<_ACEOF
43458 /* end confdefs.h. */
43464 char *name = "www.gnu.org";
43465 struct hostent ret;
43466 struct hostent_data data;
43467 (void)gethostbyname_r(name, &ret, &data) /* ; */
43473 rm -f conftest.$ac_objext
43474 if { (ac_try="$ac_compile"
43475 case "(($ac_try" in
43476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43477 *) ac_try_echo=$ac_try;;
43479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43480 (eval "$ac_compile") 2>conftest.er1
43482 grep -v '^ *+' conftest.er1 >conftest.err
43484 cat conftest.err >&5
43485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43486 (exit $ac_status); } && {
43487 test -z "$ac_c_werror_flag" ||
43488 test ! -s conftest.err
43489 } && test -s conftest.$ac_objext; then
43490 ac_cv_func_which_gethostbyname_r=three
43492 echo "$as_me: failed program was:" >&5
43493 sed 's/^/| /' conftest.$ac_ext >&5
43498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43502 ################################################################
43507 case "$ac_cv_func_which_gethostbyname_r" in
43509 { echo "$as_me:$LINENO: result: three" >&5
43510 echo "${ECHO_T}three" >&6; }
43511 cat >>confdefs.h <<\_ACEOF
43512 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43518 { echo "$as_me:$LINENO: result: five" >&5
43519 echo "${ECHO_T}five" >&6; }
43520 cat >>confdefs.h <<\_ACEOF
43521 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43527 { echo "$as_me:$LINENO: result: six" >&5
43528 echo "${ECHO_T}six" >&6; }
43529 cat >>confdefs.h <<\_ACEOF
43530 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43536 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43537 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43541 { echo "$as_me:$LINENO: result: can't tell" >&5
43542 echo "${ECHO_T}can't tell" >&6; }
43546 { { echo "$as_me:$LINENO: error: internal error" >&5
43547 echo "$as_me: error: internal error" >&2;}
43548 { (exit 1); exit 1; }; }
43553 ac_cpp='$CPP $CPPFLAGS'
43554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43560 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43561 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43562 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43563 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43564 if test "${ac_cv_func_gethostbyname+set}" = set; then
43565 echo $ECHO_N "(cached) $ECHO_C" >&6
43567 cat >conftest.$ac_ext <<_ACEOF
43570 cat confdefs.h >>conftest.$ac_ext
43571 cat >>conftest.$ac_ext <<_ACEOF
43572 /* end confdefs.h. */
43573 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43575 #define gethostbyname innocuous_gethostbyname
43577 /* System header to define __stub macros and hopefully few prototypes,
43578 which can conflict with char gethostbyname (); below.
43579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43580 <limits.h> exists even on freestanding compilers. */
43583 # include <limits.h>
43585 # include <assert.h>
43588 #undef gethostbyname
43590 /* Override any GCC internal prototype to avoid an error.
43591 Use char because int might match the return type of a GCC
43592 builtin and then its argument prototype would still apply. */
43596 char gethostbyname ();
43597 /* The GNU C library defines this for functions which it implements
43598 to always fail with ENOSYS. Some functions are actually named
43599 something starting with __ and the normal name is an alias. */
43600 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43607 return gethostbyname ();
43612 rm -f conftest.$ac_objext conftest$ac_exeext
43613 if { (ac_try="$ac_link"
43614 case "(($ac_try" in
43615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43616 *) ac_try_echo=$ac_try;;
43618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43619 (eval "$ac_link") 2>conftest.er1
43621 grep -v '^ *+' conftest.er1 >conftest.err
43623 cat conftest.err >&5
43624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43625 (exit $ac_status); } && {
43626 test -z "$ac_c_werror_flag" ||
43627 test ! -s conftest.err
43628 } && test -s conftest$ac_exeext &&
43629 $as_test_x conftest$ac_exeext; then
43630 ac_cv_func_gethostbyname=yes
43632 echo "$as_me: failed program was:" >&5
43633 sed 's/^/| /' conftest.$ac_ext >&5
43635 ac_cv_func_gethostbyname=no
43638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43639 conftest$ac_exeext conftest.$ac_ext
43641 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43642 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43643 if test $ac_cv_func_gethostbyname = yes; then
43644 cat >>confdefs.h <<\_ACEOF
43645 #define HAVE_GETHOSTBYNAME 1
43652 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43653 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43654 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43655 echo $ECHO_N "(cached) $ECHO_C" >&6
43659 ac_cpp='$CXXCPP $CPPFLAGS'
43660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43665 cat >conftest.$ac_ext <<_ACEOF
43668 cat confdefs.h >>conftest.$ac_ext
43669 cat >>conftest.$ac_ext <<_ACEOF
43670 /* end confdefs.h. */
43678 struct servent *se, *res;
43681 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43687 rm -f conftest.$ac_objext
43688 if { (ac_try="$ac_compile"
43689 case "(($ac_try" in
43690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43691 *) ac_try_echo=$ac_try;;
43693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43694 (eval "$ac_compile") 2>conftest.er1
43696 grep -v '^ *+' conftest.er1 >conftest.err
43698 cat conftest.err >&5
43699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43700 (exit $ac_status); } && {
43701 test -z "$ac_cxx_werror_flag" ||
43702 test ! -s conftest.err
43703 } && test -s conftest.$ac_objext; then
43704 ac_cv_func_which_getservbyname_r=six
43706 echo "$as_me: failed program was:" >&5
43707 sed 's/^/| /' conftest.$ac_ext >&5
43710 cat >conftest.$ac_ext <<_ACEOF
43713 cat confdefs.h >>conftest.$ac_ext
43714 cat >>conftest.$ac_ext <<_ACEOF
43715 /* end confdefs.h. */
43723 struct servent *se;
43726 (void) getservbyname_r(name, proto, se, buffer, buflen)
43732 rm -f conftest.$ac_objext
43733 if { (ac_try="$ac_compile"
43734 case "(($ac_try" in
43735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43736 *) ac_try_echo=$ac_try;;
43738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43739 (eval "$ac_compile") 2>conftest.er1
43741 grep -v '^ *+' conftest.er1 >conftest.err
43743 cat conftest.err >&5
43744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43745 (exit $ac_status); } && {
43746 test -z "$ac_cxx_werror_flag" ||
43747 test ! -s conftest.err
43748 } && test -s conftest.$ac_objext; then
43749 ac_cv_func_which_getservbyname_r=five
43751 echo "$as_me: failed program was:" >&5
43752 sed 's/^/| /' conftest.$ac_ext >&5
43755 cat >conftest.$ac_ext <<_ACEOF
43758 cat confdefs.h >>conftest.$ac_ext
43759 cat >>conftest.$ac_ext <<_ACEOF
43760 /* end confdefs.h. */
43768 struct servent *se;
43769 struct servent_data data;
43770 (void) getservbyname_r(name, proto, se, &data);
43776 rm -f conftest.$ac_objext
43777 if { (ac_try="$ac_compile"
43778 case "(($ac_try" in
43779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43780 *) ac_try_echo=$ac_try;;
43782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43783 (eval "$ac_compile") 2>conftest.er1
43785 grep -v '^ *+' conftest.er1 >conftest.err
43787 cat conftest.err >&5
43788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43789 (exit $ac_status); } && {
43790 test -z "$ac_cxx_werror_flag" ||
43791 test ! -s conftest.err
43792 } && test -s conftest.$ac_objext; then
43793 ac_cv_func_which_getservbyname_r=four
43795 echo "$as_me: failed program was:" >&5
43796 sed 's/^/| /' conftest.$ac_ext >&5
43798 ac_cv_func_which_getservbyname_r=no
43802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43814 ac_cpp='$CPP $CPPFLAGS'
43815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43822 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43823 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43825 if test $ac_cv_func_which_getservbyname_r = six; then
43826 cat >>confdefs.h <<\_ACEOF
43827 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43830 elif test $ac_cv_func_which_getservbyname_r = five; then
43831 cat >>confdefs.h <<\_ACEOF
43832 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43835 elif test $ac_cv_func_which_getservbyname_r = four; then
43836 cat >>confdefs.h <<\_ACEOF
43837 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43843 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43844 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43846 for ac_func in getservbyname
43848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43849 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43851 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43852 echo $ECHO_N "(cached) $ECHO_C" >&6
43854 cat >conftest.$ac_ext <<_ACEOF
43857 cat confdefs.h >>conftest.$ac_ext
43858 cat >>conftest.$ac_ext <<_ACEOF
43859 /* end confdefs.h. */
43860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43862 #define $ac_func innocuous_$ac_func
43864 /* System header to define __stub macros and hopefully few prototypes,
43865 which can conflict with char $ac_func (); below.
43866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43867 <limits.h> exists even on freestanding compilers. */
43870 # include <limits.h>
43872 # include <assert.h>
43877 /* Override any GCC internal prototype to avoid an error.
43878 Use char because int might match the return type of a GCC
43879 builtin and then its argument prototype would still apply. */
43884 /* The GNU C library defines this for functions which it implements
43885 to always fail with ENOSYS. Some functions are actually named
43886 something starting with __ and the normal name is an alias. */
43887 #if defined __stub_$ac_func || defined __stub___$ac_func
43894 return $ac_func ();
43899 rm -f conftest.$ac_objext conftest$ac_exeext
43900 if { (ac_try="$ac_link"
43901 case "(($ac_try" in
43902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43903 *) ac_try_echo=$ac_try;;
43905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43906 (eval "$ac_link") 2>conftest.er1
43908 grep -v '^ *+' conftest.er1 >conftest.err
43910 cat conftest.err >&5
43911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43912 (exit $ac_status); } && {
43913 test -z "$ac_c_werror_flag" ||
43914 test ! -s conftest.err
43915 } && test -s conftest$ac_exeext &&
43916 $as_test_x conftest$ac_exeext; then
43917 eval "$as_ac_var=yes"
43919 echo "$as_me: failed program was:" >&5
43920 sed 's/^/| /' conftest.$ac_ext >&5
43922 eval "$as_ac_var=no"
43925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43926 conftest$ac_exeext conftest.$ac_ext
43928 ac_res=`eval echo '${'$as_ac_var'}'`
43929 { echo "$as_me:$LINENO: result: $ac_res" >&5
43930 echo "${ECHO_T}$ac_res" >&6; }
43931 if test `eval echo '${'$as_ac_var'}'` = yes; then
43932 cat >>confdefs.h <<_ACEOF
43933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43935 cat >>confdefs.h <<\_ACEOF
43936 #define HAVE_GETSERVBYNAME 1
43944 if test "$wxUSE_THREADS" = "yes"; then
43945 cat >>confdefs.h <<\_ACEOF
43946 #define wxUSE_THREADS 1
43950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43952 if test "$wx_cv_func_strtok_r" = "yes"; then
43953 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43954 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43955 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43956 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43957 { echo "$as_me:$LINENO: result: yes" >&5
43958 echo "${ECHO_T}yes" >&6; }
43960 { echo "$as_me:$LINENO: result: no" >&5
43961 echo "${ECHO_T}no" >&6; }
43966 if test "$WXGTK20" = 1 ; then
43967 cat >>confdefs.h <<_ACEOF
43968 #define __WXGTK20__ $WXGTK20
43974 if test "$WXGTK12" = 1 ; then
43975 cat >>confdefs.h <<_ACEOF
43976 #define __WXGTK12__ $WXGTK12
43981 if test "$WXGTK127" = 1 ; then
43982 cat >>confdefs.h <<_ACEOF
43983 #define __WXGTK127__ $WXGTK127
43988 if test "$WXGPE" = 1 ; then
43989 cat >>confdefs.h <<_ACEOF
43990 #define __WXGPE__ $WXGPE
43996 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
44001 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
44002 wxUSE_DEBUG_INFO=yes
44003 if test "$GCC" = yes; then
44004 DEBUG_CFLAGS="-ggdb"
44008 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
44009 cat >>confdefs.h <<\_ACEOF
44013 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
44015 if test "$wxUSE_GTK" = 1 ; then
44016 if test "x$wxGTK_VERSION" = "x1" ; then
44017 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
44022 if test "$wxUSE_MEM_TRACING" = "yes" ; then
44023 cat >>confdefs.h <<\_ACEOF
44024 #define wxUSE_MEMORY_TRACING 1
44027 cat >>confdefs.h <<\_ACEOF
44028 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
44031 cat >>confdefs.h <<\_ACEOF
44032 #define wxUSE_DEBUG_NEW_ALWAYS 1
44035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
44038 if test "$wxUSE_DMALLOC" = "yes" ; then
44039 DMALLOC_LIBS="-ldmallocthcxx"
44043 if test "$wxUSE_PROFILE" = "yes" ; then
44044 PROFILE_FLAGS=" -pg"
44047 if test "$GCC" = "yes" ; then
44048 if test "$wxUSE_NO_RTTI" = "yes" ; then
44049 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44051 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44052 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44054 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44055 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44060 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44063 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44069 if test "$wxUSE_OPTIMISE" = "no" ; then
44070 if test "$GCC" = yes ; then
44071 OPTIMISE_CFLAGS="-O0"
44074 if test "$GCC" = yes ; then
44076 *-pc-os2_emx | *-pc-os2-emx )
44077 OPTIMISE_CFLAGS="-O2"
44080 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44084 OPTIMISE_CFLAGS="-O"
44089 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44090 cat >>confdefs.h <<\_ACEOF
44091 #define WXWIN_COMPATIBILITY_2_6 1
44095 WXWIN_COMPATIBILITY_2_8="yes"
44098 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44099 cat >>confdefs.h <<\_ACEOF
44100 #define WXWIN_COMPATIBILITY_2_8 1
44106 if test "$wxUSE_GUI" = "yes"; then
44107 cat >>confdefs.h <<\_ACEOF
44108 #define wxUSE_GUI 1
44115 if test "$wxUSE_UNIX" = "yes"; then
44116 cat >>confdefs.h <<\_ACEOF
44117 #define wxUSE_UNIX 1
44123 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44127 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44128 if test "$USE_DARWIN" = 1; then
44130 elif test "$USE_DOS" = 1; then
44134 for ac_func in dlopen
44136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44137 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44139 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44140 echo $ECHO_N "(cached) $ECHO_C" >&6
44142 cat >conftest.$ac_ext <<_ACEOF
44145 cat confdefs.h >>conftest.$ac_ext
44146 cat >>conftest.$ac_ext <<_ACEOF
44147 /* end confdefs.h. */
44148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44150 #define $ac_func innocuous_$ac_func
44152 /* System header to define __stub macros and hopefully few prototypes,
44153 which can conflict with char $ac_func (); below.
44154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44155 <limits.h> exists even on freestanding compilers. */
44158 # include <limits.h>
44160 # include <assert.h>
44165 /* Override any GCC internal prototype to avoid an error.
44166 Use char because int might match the return type of a GCC
44167 builtin and then its argument prototype would still apply. */
44172 /* The GNU C library defines this for functions which it implements
44173 to always fail with ENOSYS. Some functions are actually named
44174 something starting with __ and the normal name is an alias. */
44175 #if defined __stub_$ac_func || defined __stub___$ac_func
44182 return $ac_func ();
44187 rm -f conftest.$ac_objext conftest$ac_exeext
44188 if { (ac_try="$ac_link"
44189 case "(($ac_try" in
44190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44191 *) ac_try_echo=$ac_try;;
44193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44194 (eval "$ac_link") 2>conftest.er1
44196 grep -v '^ *+' conftest.er1 >conftest.err
44198 cat conftest.err >&5
44199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44200 (exit $ac_status); } && {
44201 test -z "$ac_c_werror_flag" ||
44202 test ! -s conftest.err
44203 } && test -s conftest$ac_exeext &&
44204 $as_test_x conftest$ac_exeext; then
44205 eval "$as_ac_var=yes"
44207 echo "$as_me: failed program was:" >&5
44208 sed 's/^/| /' conftest.$ac_ext >&5
44210 eval "$as_ac_var=no"
44213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44214 conftest$ac_exeext conftest.$ac_ext
44216 ac_res=`eval echo '${'$as_ac_var'}'`
44217 { echo "$as_me:$LINENO: result: $ac_res" >&5
44218 echo "${ECHO_T}$ac_res" >&6; }
44219 if test `eval echo '${'$as_ac_var'}'` = yes; then
44220 cat >>confdefs.h <<_ACEOF
44221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44224 cat >>confdefs.h <<\_ACEOF
44225 #define HAVE_DLOPEN 1
44232 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44233 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44234 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44235 echo $ECHO_N "(cached) $ECHO_C" >&6
44237 ac_check_lib_save_LIBS=$LIBS
44239 cat >conftest.$ac_ext <<_ACEOF
44242 cat confdefs.h >>conftest.$ac_ext
44243 cat >>conftest.$ac_ext <<_ACEOF
44244 /* end confdefs.h. */
44246 /* Override any GCC internal prototype to avoid an error.
44247 Use char because int might match the return type of a GCC
44248 builtin and then its argument prototype would still apply. */
44261 rm -f conftest.$ac_objext conftest$ac_exeext
44262 if { (ac_try="$ac_link"
44263 case "(($ac_try" in
44264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44265 *) ac_try_echo=$ac_try;;
44267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44268 (eval "$ac_link") 2>conftest.er1
44270 grep -v '^ *+' conftest.er1 >conftest.err
44272 cat conftest.err >&5
44273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44274 (exit $ac_status); } && {
44275 test -z "$ac_c_werror_flag" ||
44276 test ! -s conftest.err
44277 } && test -s conftest$ac_exeext &&
44278 $as_test_x conftest$ac_exeext; then
44279 ac_cv_lib_dl_dlopen=yes
44281 echo "$as_me: failed program was:" >&5
44282 sed 's/^/| /' conftest.$ac_ext >&5
44284 ac_cv_lib_dl_dlopen=no
44287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44288 conftest$ac_exeext conftest.$ac_ext
44289 LIBS=$ac_check_lib_save_LIBS
44291 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44292 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44293 if test $ac_cv_lib_dl_dlopen = yes; then
44295 cat >>confdefs.h <<\_ACEOF
44296 #define HAVE_DLOPEN 1
44300 DL_LINK=" -ldl$DL_LINK"
44305 for ac_func in shl_load
44307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44308 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44310 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44311 echo $ECHO_N "(cached) $ECHO_C" >&6
44313 cat >conftest.$ac_ext <<_ACEOF
44316 cat confdefs.h >>conftest.$ac_ext
44317 cat >>conftest.$ac_ext <<_ACEOF
44318 /* end confdefs.h. */
44319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44321 #define $ac_func innocuous_$ac_func
44323 /* System header to define __stub macros and hopefully few prototypes,
44324 which can conflict with char $ac_func (); below.
44325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44326 <limits.h> exists even on freestanding compilers. */
44329 # include <limits.h>
44331 # include <assert.h>
44336 /* Override any GCC internal prototype to avoid an error.
44337 Use char because int might match the return type of a GCC
44338 builtin and then its argument prototype would still apply. */
44343 /* The GNU C library defines this for functions which it implements
44344 to always fail with ENOSYS. Some functions are actually named
44345 something starting with __ and the normal name is an alias. */
44346 #if defined __stub_$ac_func || defined __stub___$ac_func
44353 return $ac_func ();
44358 rm -f conftest.$ac_objext conftest$ac_exeext
44359 if { (ac_try="$ac_link"
44360 case "(($ac_try" in
44361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44362 *) ac_try_echo=$ac_try;;
44364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44365 (eval "$ac_link") 2>conftest.er1
44367 grep -v '^ *+' conftest.er1 >conftest.err
44369 cat conftest.err >&5
44370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44371 (exit $ac_status); } && {
44372 test -z "$ac_c_werror_flag" ||
44373 test ! -s conftest.err
44374 } && test -s conftest$ac_exeext &&
44375 $as_test_x conftest$ac_exeext; then
44376 eval "$as_ac_var=yes"
44378 echo "$as_me: failed program was:" >&5
44379 sed 's/^/| /' conftest.$ac_ext >&5
44381 eval "$as_ac_var=no"
44384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44385 conftest$ac_exeext conftest.$ac_ext
44387 ac_res=`eval echo '${'$as_ac_var'}'`
44388 { echo "$as_me:$LINENO: result: $ac_res" >&5
44389 echo "${ECHO_T}$ac_res" >&6; }
44390 if test `eval echo '${'$as_ac_var'}'` = yes; then
44391 cat >>confdefs.h <<_ACEOF
44392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44395 cat >>confdefs.h <<\_ACEOF
44396 #define HAVE_SHL_LOAD 1
44403 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44404 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44405 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44406 echo $ECHO_N "(cached) $ECHO_C" >&6
44408 ac_check_lib_save_LIBS=$LIBS
44409 LIBS="-lshl_load $LIBS"
44410 cat >conftest.$ac_ext <<_ACEOF
44413 cat confdefs.h >>conftest.$ac_ext
44414 cat >>conftest.$ac_ext <<_ACEOF
44415 /* end confdefs.h. */
44417 /* Override any GCC internal prototype to avoid an error.
44418 Use char because int might match the return type of a GCC
44419 builtin and then its argument prototype would still apply. */
44432 rm -f conftest.$ac_objext conftest$ac_exeext
44433 if { (ac_try="$ac_link"
44434 case "(($ac_try" in
44435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44436 *) ac_try_echo=$ac_try;;
44438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44439 (eval "$ac_link") 2>conftest.er1
44441 grep -v '^ *+' conftest.er1 >conftest.err
44443 cat conftest.err >&5
44444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44445 (exit $ac_status); } && {
44446 test -z "$ac_c_werror_flag" ||
44447 test ! -s conftest.err
44448 } && test -s conftest$ac_exeext &&
44449 $as_test_x conftest$ac_exeext; then
44450 ac_cv_lib_shl_load_dld=yes
44452 echo "$as_me: failed program was:" >&5
44453 sed 's/^/| /' conftest.$ac_ext >&5
44455 ac_cv_lib_shl_load_dld=no
44458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44459 conftest$ac_exeext conftest.$ac_ext
44460 LIBS=$ac_check_lib_save_LIBS
44462 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44463 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44464 if test $ac_cv_lib_shl_load_dld = yes; then
44467 DL_LINK=" -ldld$DL_LINK"
44483 if test "$HAVE_DL_FUNCS" = 1; then
44485 for ac_func in dlerror
44487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44488 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44490 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44491 echo $ECHO_N "(cached) $ECHO_C" >&6
44493 cat >conftest.$ac_ext <<_ACEOF
44496 cat confdefs.h >>conftest.$ac_ext
44497 cat >>conftest.$ac_ext <<_ACEOF
44498 /* end confdefs.h. */
44499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44501 #define $ac_func innocuous_$ac_func
44503 /* System header to define __stub macros and hopefully few prototypes,
44504 which can conflict with char $ac_func (); below.
44505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44506 <limits.h> exists even on freestanding compilers. */
44509 # include <limits.h>
44511 # include <assert.h>
44516 /* Override any GCC internal prototype to avoid an error.
44517 Use char because int might match the return type of a GCC
44518 builtin and then its argument prototype would still apply. */
44523 /* The GNU C library defines this for functions which it implements
44524 to always fail with ENOSYS. Some functions are actually named
44525 something starting with __ and the normal name is an alias. */
44526 #if defined __stub_$ac_func || defined __stub___$ac_func
44533 return $ac_func ();
44538 rm -f conftest.$ac_objext conftest$ac_exeext
44539 if { (ac_try="$ac_link"
44540 case "(($ac_try" in
44541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44542 *) ac_try_echo=$ac_try;;
44544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44545 (eval "$ac_link") 2>conftest.er1
44547 grep -v '^ *+' conftest.er1 >conftest.err
44549 cat conftest.err >&5
44550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44551 (exit $ac_status); } && {
44552 test -z "$ac_c_werror_flag" ||
44553 test ! -s conftest.err
44554 } && test -s conftest$ac_exeext &&
44555 $as_test_x conftest$ac_exeext; then
44556 eval "$as_ac_var=yes"
44558 echo "$as_me: failed program was:" >&5
44559 sed 's/^/| /' conftest.$ac_ext >&5
44561 eval "$as_ac_var=no"
44564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44565 conftest$ac_exeext conftest.$ac_ext
44567 ac_res=`eval echo '${'$as_ac_var'}'`
44568 { echo "$as_me:$LINENO: result: $ac_res" >&5
44569 echo "${ECHO_T}$ac_res" >&6; }
44570 if test `eval echo '${'$as_ac_var'}'` = yes; then
44571 cat >>confdefs.h <<_ACEOF
44572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44574 cat >>confdefs.h <<\_ACEOF
44575 #define HAVE_DLERROR 1
44580 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44581 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44582 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44583 echo $ECHO_N "(cached) $ECHO_C" >&6
44585 ac_check_lib_save_LIBS=$LIBS
44587 cat >conftest.$ac_ext <<_ACEOF
44590 cat confdefs.h >>conftest.$ac_ext
44591 cat >>conftest.$ac_ext <<_ACEOF
44592 /* end confdefs.h. */
44594 /* Override any GCC internal prototype to avoid an error.
44595 Use char because int might match the return type of a GCC
44596 builtin and then its argument prototype would still apply. */
44609 rm -f conftest.$ac_objext conftest$ac_exeext
44610 if { (ac_try="$ac_link"
44611 case "(($ac_try" in
44612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44613 *) ac_try_echo=$ac_try;;
44615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44616 (eval "$ac_link") 2>conftest.er1
44618 grep -v '^ *+' conftest.er1 >conftest.err
44620 cat conftest.err >&5
44621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44622 (exit $ac_status); } && {
44623 test -z "$ac_c_werror_flag" ||
44624 test ! -s conftest.err
44625 } && test -s conftest$ac_exeext &&
44626 $as_test_x conftest$ac_exeext; then
44627 ac_cv_lib_dl_dlerror=yes
44629 echo "$as_me: failed program was:" >&5
44630 sed 's/^/| /' conftest.$ac_ext >&5
44632 ac_cv_lib_dl_dlerror=no
44635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44636 conftest$ac_exeext conftest.$ac_ext
44637 LIBS=$ac_check_lib_save_LIBS
44639 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44640 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44641 if test $ac_cv_lib_dl_dlerror = yes; then
44642 cat >>confdefs.h <<\_ACEOF
44643 #define HAVE_DLERROR 1
44656 if test "$HAVE_DL_FUNCS" = 0; then
44657 if test "$HAVE_SHL_FUNCS" = 0; then
44658 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44659 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44660 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44661 wxUSE_DYNAMIC_LOADER=no
44662 wxUSE_DYNLIB_CLASS=no
44664 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44665 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44672 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44673 cat >>confdefs.h <<\_ACEOF
44674 #define wxUSE_DYNAMIC_LOADER 1
44678 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44679 cat >>confdefs.h <<\_ACEOF
44680 #define wxUSE_DYNLIB_CLASS 1
44687 if test "$wxUSE_PLUGINS" = "yes" ; then
44688 if test "$wxUSE_SHARED" = "no" ; then
44689 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44690 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44693 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44694 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44695 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44698 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44699 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44700 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44703 if test "$wxUSE_PLUGINS" = "yes" ; then
44704 cat >>confdefs.h <<\_ACEOF
44705 #define wxUSE_PLUGINS 1
44712 if test "$wxUSE_STL" = "yes"; then
44713 cat >>confdefs.h <<\_ACEOF
44714 #define wxUSE_STL 1
44719 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44720 cat >>confdefs.h <<\_ACEOF
44721 #define wxUSE_EXTENDED_RTTI 1
44726 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44727 cat >>confdefs.h <<\_ACEOF
44728 #define wxUSE_APPLE_IEEE 1
44733 if test "$wxUSE_TIMER" = "yes"; then
44734 cat >>confdefs.h <<\_ACEOF
44735 #define wxUSE_TIMER 1
44740 if test "$USE_UNIX" = "1" ; then
44741 if test "$wxUSE_MGL" != 1; then
44742 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44743 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44744 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44745 echo $ECHO_N "(cached) $ECHO_C" >&6
44748 cat >conftest.$ac_ext <<_ACEOF
44751 cat confdefs.h >>conftest.$ac_ext
44752 cat >>conftest.$ac_ext <<_ACEOF
44753 /* end confdefs.h. */
44755 #include <sys/ioctl.h>
44756 #include <sys/soundcard.h>
44762 ioctl(0, SNDCTL_DSP_SPEED, 0);
44768 rm -f conftest.$ac_objext conftest$ac_exeext
44769 if { (ac_try="$ac_link"
44770 case "(($ac_try" in
44771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44772 *) ac_try_echo=$ac_try;;
44774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44775 (eval "$ac_link") 2>conftest.er1
44777 grep -v '^ *+' conftest.er1 >conftest.err
44779 cat conftest.err >&5
44780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44781 (exit $ac_status); } && {
44782 test -z "$ac_c_werror_flag" ||
44783 test ! -s conftest.err
44784 } && test -s conftest$ac_exeext &&
44785 $as_test_x conftest$ac_exeext; then
44786 ac_cv_header_sys_soundcard=yes
44788 echo "$as_me: failed program was:" >&5
44789 sed 's/^/| /' conftest.$ac_ext >&5
44793 LIBS="$saveLibs -lossaudio"
44794 cat >conftest.$ac_ext <<_ACEOF
44797 cat confdefs.h >>conftest.$ac_ext
44798 cat >>conftest.$ac_ext <<_ACEOF
44799 /* end confdefs.h. */
44801 #include <sys/ioctl.h>
44802 #include <sys/soundcard.h>
44808 ioctl(0, SNDCTL_DSP_SPEED, 0);
44814 rm -f conftest.$ac_objext conftest$ac_exeext
44815 if { (ac_try="$ac_link"
44816 case "(($ac_try" in
44817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44818 *) ac_try_echo=$ac_try;;
44820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44821 (eval "$ac_link") 2>conftest.er1
44823 grep -v '^ *+' conftest.er1 >conftest.err
44825 cat conftest.err >&5
44826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44827 (exit $ac_status); } && {
44828 test -z "$ac_c_werror_flag" ||
44829 test ! -s conftest.err
44830 } && test -s conftest$ac_exeext &&
44831 $as_test_x conftest$ac_exeext; then
44832 ac_cv_header_sys_soundcard=yes
44834 echo "$as_me: failed program was:" >&5
44835 sed 's/^/| /' conftest.$ac_ext >&5
44839 ac_cv_header_sys_soundcard=no
44844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44845 conftest$ac_exeext conftest.$ac_ext
44850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44851 conftest$ac_exeext conftest.$ac_ext
44854 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44855 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44858 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44859 cat >>confdefs.h <<\_ACEOF
44860 #define HAVE_SYS_SOUNDCARD_H 1
44867 if test "$wxUSE_SOUND" = "yes"; then
44868 if test "$USE_UNIX" = "1" ; then
44869 if test "$wxUSE_LIBSDL" != "no"; then
44871 # Check whether --with-sdl-prefix was given.
44872 if test "${with_sdl_prefix+set}" = set; then
44873 withval=$with_sdl_prefix; sdl_prefix="$withval"
44879 # Check whether --with-sdl-exec-prefix was given.
44880 if test "${with_sdl_exec_prefix+set}" = set; then
44881 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44886 # Check whether --enable-sdltest was given.
44887 if test "${enable_sdltest+set}" = set; then
44888 enableval=$enable_sdltest;
44894 if test x$sdl_exec_prefix != x ; then
44895 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44896 if test x${SDL_CONFIG+set} != xset ; then
44897 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44900 if test x$sdl_prefix != x ; then
44901 sdl_args="$sdl_args --prefix=$sdl_prefix"
44902 if test x${SDL_CONFIG+set} != xset ; then
44903 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44907 if test "x$prefix" != xNONE; then
44908 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44910 # Extract the first word of "sdl-config", so it can be a program name with args.
44911 set dummy sdl-config; ac_word=$2
44912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44914 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44915 echo $ECHO_N "(cached) $ECHO_C" >&6
44917 case $SDL_CONFIG in
44919 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44923 for as_dir in $PATH
44926 test -z "$as_dir" && as_dir=.
44927 for ac_exec_ext in '' $ac_executable_extensions; do
44928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44929 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44937 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44941 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44942 if test -n "$SDL_CONFIG"; then
44943 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44944 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44946 { echo "$as_me:$LINENO: result: no" >&5
44947 echo "${ECHO_T}no" >&6; }
44951 min_sdl_version=1.2.0
44952 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44953 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44955 if test "$SDL_CONFIG" = "no" ; then
44958 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44959 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44961 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44962 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44963 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44964 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44965 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44966 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44967 if test "x$enable_sdltest" = "xyes" ; then
44968 ac_save_CFLAGS="$CFLAGS"
44969 ac_save_CXXFLAGS="$CXXFLAGS"
44970 ac_save_LIBS="$LIBS"
44971 CFLAGS="$CFLAGS $SDL_CFLAGS"
44972 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44973 LIBS="$LIBS $SDL_LIBS"
44975 if test "$cross_compiling" = yes; then
44976 echo $ac_n "cross compiling; assumed OK... $ac_c"
44978 cat >conftest.$ac_ext <<_ACEOF
44981 cat confdefs.h >>conftest.$ac_ext
44982 cat >>conftest.$ac_ext <<_ACEOF
44983 /* end confdefs.h. */
44986 #include <stdlib.h>
44987 #include <string.h>
44991 my_strdup (char *str)
44997 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44998 strcpy (new_str, str);
45006 int main (int argc, char *argv[])
45008 int major, minor, micro;
45011 /* This hangs on some systems (?)
45012 system ("touch conf.sdltest");
45014 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
45016 /* HP/UX 9 (%@#!) writes to sscanf strings */
45017 tmp_version = my_strdup("$min_sdl_version");
45018 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
45019 printf("%s, bad version string\n", "$min_sdl_version");
45023 if (($sdl_major_version > major) ||
45024 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
45025 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
45031 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
45032 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
45033 printf("*** best to upgrade to the required version.\n");
45034 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
45035 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
45036 printf("*** config.cache before re-running configure\n");
45043 rm -f conftest$ac_exeext
45044 if { (ac_try="$ac_link"
45045 case "(($ac_try" in
45046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45047 *) ac_try_echo=$ac_try;;
45049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45050 (eval "$ac_link") 2>&5
45052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45053 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45054 { (case "(($ac_try" in
45055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45056 *) ac_try_echo=$ac_try;;
45058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45059 (eval "$ac_try") 2>&5
45061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45062 (exit $ac_status); }; }; then
45065 echo "$as_me: program exited with status $ac_status" >&5
45066 echo "$as_me: failed program was:" >&5
45067 sed 's/^/| /' conftest.$ac_ext >&5
45069 ( exit $ac_status )
45072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45076 CFLAGS="$ac_save_CFLAGS"
45077 CXXFLAGS="$ac_save_CXXFLAGS"
45078 LIBS="$ac_save_LIBS"
45081 if test "x$no_sdl" = x ; then
45082 { echo "$as_me:$LINENO: result: yes" >&5
45083 echo "${ECHO_T}yes" >&6; }
45085 EXTRALIBS_SDL="$SDL_LIBS"
45086 CFLAGS="$SDL_CFLAGS $CFLAGS"
45087 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45088 cat >>confdefs.h <<\_ACEOF
45089 #define wxUSE_LIBSDL 1
45094 { echo "$as_me:$LINENO: result: no" >&5
45095 echo "${ECHO_T}no" >&6; }
45096 if test "$SDL_CONFIG" = "no" ; then
45097 echo "*** The sdl-config script installed by SDL could not be found"
45098 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45099 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45100 echo "*** full path to sdl-config."
45102 if test -f conf.sdltest ; then
45105 echo "*** Could not run SDL test program, checking why..."
45106 CFLAGS="$CFLAGS $SDL_CFLAGS"
45107 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45108 LIBS="$LIBS $SDL_LIBS"
45109 cat >conftest.$ac_ext <<_ACEOF
45112 cat confdefs.h >>conftest.$ac_ext
45113 cat >>conftest.$ac_ext <<_ACEOF
45114 /* end confdefs.h. */
45119 int main(int argc, char *argv[])
45122 #define main K_and_R_C_main
45132 rm -f conftest.$ac_objext conftest$ac_exeext
45133 if { (ac_try="$ac_link"
45134 case "(($ac_try" in
45135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45136 *) ac_try_echo=$ac_try;;
45138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45139 (eval "$ac_link") 2>conftest.er1
45141 grep -v '^ *+' conftest.er1 >conftest.err
45143 cat conftest.err >&5
45144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45145 (exit $ac_status); } && {
45146 test -z "$ac_c_werror_flag" ||
45147 test ! -s conftest.err
45148 } && test -s conftest$ac_exeext &&
45149 $as_test_x conftest$ac_exeext; then
45150 echo "*** The test program compiled, but did not run. This usually means"
45151 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45152 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45153 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45154 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45155 echo "*** is required on your system"
45157 echo "*** If you have an old version installed, it is best to remove it, although"
45158 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45160 echo "$as_me: failed program was:" >&5
45161 sed 's/^/| /' conftest.$ac_ext >&5
45163 echo "*** The test program failed to compile or link. See the file config.log for the"
45164 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45165 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45166 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45170 conftest$ac_exeext conftest.$ac_ext
45171 CFLAGS="$ac_save_CFLAGS"
45172 CXXFLAGS="$ac_save_CXXFLAGS"
45173 LIBS="$ac_save_LIBS"
45184 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45189 if test "$wxUSE_MGL" = 1; then
45190 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45191 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45197 if test "$wxUSE_SOUND" = "yes"; then
45198 cat >>confdefs.h <<\_ACEOF
45199 #define wxUSE_SOUND 1
45202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
45205 if test "$WXGTK20" = 1; then
45208 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45209 if test -n "$ac_tool_prefix"; then
45210 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45211 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45214 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45215 echo $ECHO_N "(cached) $ECHO_C" >&6
45217 case $PKG_CONFIG in
45219 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45223 for as_dir in $PATH
45226 test -z "$as_dir" && as_dir=.
45227 for ac_exec_ext in '' $ac_executable_extensions; do
45228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45229 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45240 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45241 if test -n "$PKG_CONFIG"; then
45242 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45243 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45245 { echo "$as_me:$LINENO: result: no" >&5
45246 echo "${ECHO_T}no" >&6; }
45251 if test -z "$ac_cv_path_PKG_CONFIG"; then
45252 ac_pt_PKG_CONFIG=$PKG_CONFIG
45253 # Extract the first word of "pkg-config", so it can be a program name with args.
45254 set dummy pkg-config; ac_word=$2
45255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45257 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45258 echo $ECHO_N "(cached) $ECHO_C" >&6
45260 case $ac_pt_PKG_CONFIG in
45262 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45266 for as_dir in $PATH
45269 test -z "$as_dir" && as_dir=.
45270 for ac_exec_ext in '' $ac_executable_extensions; do
45271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45272 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45283 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45284 if test -n "$ac_pt_PKG_CONFIG"; then
45285 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45286 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45288 { echo "$as_me:$LINENO: result: no" >&5
45289 echo "${ECHO_T}no" >&6; }
45292 if test "x$ac_pt_PKG_CONFIG" = x; then
45295 case $cross_compiling:$ac_tool_warned in
45297 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45298 whose name does not start with the host triplet. If you think this
45299 configuration is useful to you, please write to autoconf@gnu.org." >&5
45300 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45301 whose name does not start with the host triplet. If you think this
45302 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45303 ac_tool_warned=yes ;;
45305 PKG_CONFIG=$ac_pt_PKG_CONFIG
45308 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45312 if test -n "$PKG_CONFIG"; then
45313 _pkg_min_version=0.9.0
45314 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45315 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45316 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45317 { echo "$as_me:$LINENO: result: yes" >&5
45318 echo "${ECHO_T}yes" >&6; }
45320 { echo "$as_me:$LINENO: result: no" >&5
45321 echo "${ECHO_T}no" >&6; }
45327 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45329 if test "$wxUSE_GTKPRINT" = "yes" ; then
45333 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
45334 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
45336 if test -n "$PKG_CONFIG"; then
45337 if test -n "$GTKPRINT_CFLAGS"; then
45338 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
45340 if test -n "$PKG_CONFIG" && \
45341 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
45342 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45345 (exit $ac_status); }; then
45346 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
45354 if test -n "$PKG_CONFIG"; then
45355 if test -n "$GTKPRINT_LIBS"; then
45356 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
45358 if test -n "$PKG_CONFIG" && \
45359 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
45360 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45363 (exit $ac_status); }; then
45364 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
45375 if test $pkg_failed = yes; then
45377 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45378 _pkg_short_errors_supported=yes
45380 _pkg_short_errors_supported=no
45382 if test $_pkg_short_errors_supported = yes; then
45383 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45385 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45387 # Put the nasty error message in config.log where it belongs
45388 echo "$GTKPRINT_PKG_ERRORS" >&5
45391 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45392 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45393 wxUSE_GTKPRINT="no"
45396 elif test $pkg_failed = untried; then
45398 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45399 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45400 wxUSE_GTKPRINT="no"
45404 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
45405 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
45406 { echo "$as_me:$LINENO: result: yes" >&5
45407 echo "${ECHO_T}yes" >&6; }
45409 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45410 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45411 cat >>confdefs.h <<\_ACEOF
45412 #define wxUSE_GTKPRINT 1
45419 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45423 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45424 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45426 if test -n "$PKG_CONFIG"; then
45427 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45428 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45430 if test -n "$PKG_CONFIG" && \
45431 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45432 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45435 (exit $ac_status); }; then
45436 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45444 if test -n "$PKG_CONFIG"; then
45445 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45446 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45448 if test -n "$PKG_CONFIG" && \
45449 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45450 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45453 (exit $ac_status); }; then
45454 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45465 if test $pkg_failed = yes; then
45467 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45468 _pkg_short_errors_supported=yes
45470 _pkg_short_errors_supported=no
45472 if test $_pkg_short_errors_supported = yes; then
45473 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45475 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45477 # Put the nasty error message in config.log where it belongs
45478 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45481 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45482 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45483 wxUSE_LIBGNOMEPRINT="no"
45486 elif test $pkg_failed = untried; then
45488 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45489 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45490 wxUSE_LIBGNOMEPRINT="no"
45494 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45495 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45496 { echo "$as_me:$LINENO: result: yes" >&5
45497 echo "${ECHO_T}yes" >&6; }
45499 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45500 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45501 cat >>confdefs.h <<\_ACEOF
45502 #define wxUSE_LIBGNOMEPRINT 1
45510 if test "$wxUSE_MIMETYPE" = "yes" ; then
45511 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45515 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45516 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45518 if test -n "$PKG_CONFIG"; then
45519 if test -n "$GNOMEVFS_CFLAGS"; then
45520 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45522 if test -n "$PKG_CONFIG" && \
45523 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45524 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45527 (exit $ac_status); }; then
45528 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45536 if test -n "$PKG_CONFIG"; then
45537 if test -n "$GNOMEVFS_LIBS"; then
45538 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45540 if test -n "$PKG_CONFIG" && \
45541 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45542 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45545 (exit $ac_status); }; then
45546 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45557 if test $pkg_failed = yes; then
45559 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45560 _pkg_short_errors_supported=yes
45562 _pkg_short_errors_supported=no
45564 if test $_pkg_short_errors_supported = yes; then
45565 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45567 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45569 # Put the nasty error message in config.log where it belongs
45570 echo "$GNOMEVFS_PKG_ERRORS" >&5
45573 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45574 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45575 wxUSE_LIBGNOMEVFS="no"
45578 elif test $pkg_failed = untried; then
45580 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45581 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45582 wxUSE_LIBGNOMEVFS="no"
45586 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45587 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45588 { echo "$as_me:$LINENO: result: yes" >&5
45589 echo "${ECHO_T}yes" >&6; }
45591 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45592 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45593 cat >>confdefs.h <<\_ACEOF
45594 #define wxUSE_LIBGNOMEVFS 1
45602 if test "$wxUSE_LIBHILDON" = "yes" ; then
45605 { echo "$as_me:$LINENO: checking for HILDON" >&5
45606 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45608 if test -n "$PKG_CONFIG"; then
45609 if test -n "$HILDON_CFLAGS"; then
45610 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45612 if test -n "$PKG_CONFIG" && \
45613 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45614 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45617 (exit $ac_status); }; then
45618 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45626 if test -n "$PKG_CONFIG"; then
45627 if test -n "$HILDON_LIBS"; then
45628 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45630 if test -n "$PKG_CONFIG" && \
45631 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45632 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45635 (exit $ac_status); }; then
45636 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45647 if test $pkg_failed = yes; then
45649 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45650 _pkg_short_errors_supported=yes
45652 _pkg_short_errors_supported=no
45654 if test $_pkg_short_errors_supported = yes; then
45655 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45657 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45659 # Put the nasty error message in config.log where it belongs
45660 echo "$HILDON_PKG_ERRORS" >&5
45663 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45664 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45665 wxUSE_LIBHILDON="no"
45668 elif test $pkg_failed = untried; then
45670 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45671 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45672 wxUSE_LIBHILDON="no"
45676 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45677 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45678 { echo "$as_me:$LINENO: result: yes" >&5
45679 echo "${ECHO_T}yes" >&6; }
45681 EXTRALIBS_HILDON="$HILDON_LIBS"
45682 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45683 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45684 cat >>confdefs.h <<\_ACEOF
45685 #define wxUSE_LIBHILDON 1
45693 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45694 cat >>confdefs.h <<\_ACEOF
45695 #define wxUSE_CMDLINE_PARSER 1
45700 if test "$wxUSE_STOPWATCH" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_STOPWATCH 1
45707 if test "$wxUSE_DATETIME" = "yes"; then
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_DATETIME 1
45714 if test "$wxUSE_FILE" = "yes"; then
45715 cat >>confdefs.h <<\_ACEOF
45716 #define wxUSE_FILE 1
45721 if test "$wxUSE_FFILE" = "yes"; then
45722 cat >>confdefs.h <<\_ACEOF
45723 #define wxUSE_FFILE 1
45728 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45729 if test "$wxUSE_STREAMS" != yes; then
45730 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45731 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45732 wxUSE_ARCHIVE_STREAMS=no
45734 cat >>confdefs.h <<\_ACEOF
45735 #define wxUSE_ARCHIVE_STREAMS 1
45741 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45742 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45743 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45744 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45745 elif test "$wxUSE_ZLIB" = "no"; then
45746 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45747 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_ZIPSTREAM 1
45756 if test "$wxUSE_TARSTREAM" = "yes"; then
45757 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45758 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45759 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45761 cat >>confdefs.h <<\_ACEOF
45762 #define wxUSE_TARSTREAM 1
45768 if test "$wxUSE_FILESYSTEM" = "yes"; then
45769 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45770 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45771 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45772 wxUSE_FILESYSTEM=no
45774 cat >>confdefs.h <<\_ACEOF
45775 #define wxUSE_FILESYSTEM 1
45781 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45782 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45783 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45784 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_FS_ARCHIVE 1
45793 if test "$wxUSE_FS_ZIP" = "yes"; then
45794 if test "$wxUSE_FS_ARCHIVE" != yes; then
45795 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45796 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45798 cat >>confdefs.h <<\_ACEOF
45799 #define wxUSE_FS_ZIP 1
45805 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45806 if test "$USE_UNIX" != 1; then
45807 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45808 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45809 wxUSE_ON_FATAL_EXCEPTION=no
45811 cat >>confdefs.h <<\_ACEOF
45812 #define wxUSE_ON_FATAL_EXCEPTION 1
45818 if test "$wxUSE_STACKWALKER" = "yes"; then
45819 cat >>confdefs.h <<\_ACEOF
45820 #define wxUSE_STACKWALKER 1
45825 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45826 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45827 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45828 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45829 wxUSE_DEBUGREPORT=no
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_DEBUGREPORT 1
45835 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45841 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45842 cat >>confdefs.h <<\_ACEOF
45843 #define wxUSE_SNGLINST_CHECKER 1
45848 if test "$wxUSE_BUSYINFO" = "yes"; then
45849 cat >>confdefs.h <<\_ACEOF
45850 #define wxUSE_BUSYINFO 1
45855 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45856 cat >>confdefs.h <<\_ACEOF
45857 #define wxUSE_STD_IOSTREAM 1
45862 if test "$wxUSE_STD_STRING" = "yes"; then
45863 cat >>confdefs.h <<\_ACEOF
45864 #define wxUSE_STD_STRING 1
45869 if test "$wxUSE_STDPATHS" = "yes"; then
45870 cat >>confdefs.h <<\_ACEOF
45871 #define wxUSE_STDPATHS 1
45876 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45877 cat >>confdefs.h <<\_ACEOF
45878 #define wxUSE_TEXTBUFFER 1
45883 if test "$wxUSE_TEXTFILE" = "yes"; then
45884 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45885 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45886 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45888 cat >>confdefs.h <<\_ACEOF
45889 #define wxUSE_TEXTFILE 1
45895 if test "$wxUSE_CONFIG" = "yes" ; then
45896 if test "$wxUSE_TEXTFILE" != "yes"; then
45897 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45898 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45900 cat >>confdefs.h <<\_ACEOF
45901 #define wxUSE_CONFIG 1
45904 cat >>confdefs.h <<\_ACEOF
45905 #define wxUSE_CONFIG_NATIVE 1
45908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45912 if test "$wxUSE_INTL" = "yes" ; then
45913 if test "$wxUSE_FILE" != "yes"; then
45914 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45915 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45917 cat >>confdefs.h <<\_ACEOF
45918 #define wxUSE_INTL 1
45921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45922 GUIDIST="$GUIDIST INTL_DIST"
45926 if test "$wxUSE_LOG" = "yes"; then
45927 cat >>confdefs.h <<\_ACEOF
45928 #define wxUSE_LOG 1
45932 if test "$wxUSE_LOGGUI" = "yes"; then
45933 cat >>confdefs.h <<\_ACEOF
45934 #define wxUSE_LOGGUI 1
45939 if test "$wxUSE_LOGWINDOW" = "yes"; then
45940 cat >>confdefs.h <<\_ACEOF
45941 #define wxUSE_LOGWINDOW 1
45946 if test "$wxUSE_LOGDIALOG" = "yes"; then
45947 cat >>confdefs.h <<\_ACEOF
45948 #define wxUSE_LOG_DIALOG 1
45953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45956 if test "$wxUSE_LONGLONG" = "yes"; then
45957 cat >>confdefs.h <<\_ACEOF
45958 #define wxUSE_LONGLONG 1
45963 if test "$wxUSE_GEOMETRY" = "yes"; then
45964 cat >>confdefs.h <<\_ACEOF
45965 #define wxUSE_GEOMETRY 1
45970 if test "$wxUSE_BASE64" = "yes"; then
45971 cat >>confdefs.h <<\_ACEOF
45972 #define wxUSE_BASE64 1
45977 if test "$wxUSE_STREAMS" = "yes" ; then
45978 cat >>confdefs.h <<\_ACEOF
45979 #define wxUSE_STREAMS 1
45984 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45985 cat >>confdefs.h <<\_ACEOF
45986 #define wxUSE_PRINTF_POS_PARAMS 1
45991 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45992 cat >>confdefs.h <<\_ACEOF
45993 #define wxUSE_OBJC_UNIQUIFYING 1
45999 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
46000 cat >>confdefs.h <<\_ACEOF
46001 #define wxUSE_CONSOLE_EVENTLOOP 1
46005 if test "$wxUSE_UNIX" = "yes"; then
46006 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
46007 cat >>confdefs.h <<\_ACEOF
46008 #define wxUSE_SELECT_DISPATCHER 1
46013 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
46015 for ac_header in sys/epoll.h
46017 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46018 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46021 echo $ECHO_N "(cached) $ECHO_C" >&6
46023 cat >conftest.$ac_ext <<_ACEOF
46026 cat confdefs.h >>conftest.$ac_ext
46027 cat >>conftest.$ac_ext <<_ACEOF
46028 /* end confdefs.h. */
46029 $ac_includes_default
46031 #include <$ac_header>
46033 rm -f conftest.$ac_objext
46034 if { (ac_try="$ac_compile"
46035 case "(($ac_try" in
46036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46037 *) ac_try_echo=$ac_try;;
46039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46040 (eval "$ac_compile") 2>conftest.er1
46042 grep -v '^ *+' conftest.er1 >conftest.err
46044 cat conftest.err >&5
46045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46046 (exit $ac_status); } && {
46047 test -z "$ac_c_werror_flag" ||
46048 test ! -s conftest.err
46049 } && test -s conftest.$ac_objext; then
46050 eval "$as_ac_Header=yes"
46052 echo "$as_me: failed program was:" >&5
46053 sed 's/^/| /' conftest.$ac_ext >&5
46055 eval "$as_ac_Header=no"
46058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46060 ac_res=`eval echo '${'$as_ac_Header'}'`
46061 { echo "$as_me:$LINENO: result: $ac_res" >&5
46062 echo "${ECHO_T}$ac_res" >&6; }
46063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46064 cat >>confdefs.h <<_ACEOF
46065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46072 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
46073 cat >>confdefs.h <<\_ACEOF
46074 #define wxUSE_EPOLL_DISPATCHER 1
46078 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
46079 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
46088 for ac_func in gettimeofday ftime
46090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46091 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46093 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46094 echo $ECHO_N "(cached) $ECHO_C" >&6
46096 cat >conftest.$ac_ext <<_ACEOF
46099 cat confdefs.h >>conftest.$ac_ext
46100 cat >>conftest.$ac_ext <<_ACEOF
46101 /* end confdefs.h. */
46102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46104 #define $ac_func innocuous_$ac_func
46106 /* System header to define __stub macros and hopefully few prototypes,
46107 which can conflict with char $ac_func (); below.
46108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46109 <limits.h> exists even on freestanding compilers. */
46112 # include <limits.h>
46114 # include <assert.h>
46119 /* Override any GCC internal prototype to avoid an error.
46120 Use char because int might match the return type of a GCC
46121 builtin and then its argument prototype would still apply. */
46126 /* The GNU C library defines this for functions which it implements
46127 to always fail with ENOSYS. Some functions are actually named
46128 something starting with __ and the normal name is an alias. */
46129 #if defined __stub_$ac_func || defined __stub___$ac_func
46136 return $ac_func ();
46141 rm -f conftest.$ac_objext conftest$ac_exeext
46142 if { (ac_try="$ac_link"
46143 case "(($ac_try" in
46144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46145 *) ac_try_echo=$ac_try;;
46147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46148 (eval "$ac_link") 2>conftest.er1
46150 grep -v '^ *+' conftest.er1 >conftest.err
46152 cat conftest.err >&5
46153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46154 (exit $ac_status); } && {
46155 test -z "$ac_c_werror_flag" ||
46156 test ! -s conftest.err
46157 } && test -s conftest$ac_exeext &&
46158 $as_test_x conftest$ac_exeext; then
46159 eval "$as_ac_var=yes"
46161 echo "$as_me: failed program was:" >&5
46162 sed 's/^/| /' conftest.$ac_ext >&5
46164 eval "$as_ac_var=no"
46167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46168 conftest$ac_exeext conftest.$ac_ext
46170 ac_res=`eval echo '${'$as_ac_var'}'`
46171 { echo "$as_me:$LINENO: result: $ac_res" >&5
46172 echo "${ECHO_T}$ac_res" >&6; }
46173 if test `eval echo '${'$as_ac_var'}'` = yes; then
46174 cat >>confdefs.h <<_ACEOF
46175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46182 if test "$ac_cv_func_gettimeofday" = "yes"; then
46183 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46184 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46185 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46186 echo $ECHO_N "(cached) $ECHO_C" >&6
46189 cat >conftest.$ac_ext <<_ACEOF
46192 cat confdefs.h >>conftest.$ac_ext
46193 cat >>conftest.$ac_ext <<_ACEOF
46194 /* end confdefs.h. */
46196 #include <sys/time.h>
46197 #include <unistd.h>
46204 gettimeofday(&tv, NULL);
46210 rm -f conftest.$ac_objext
46211 if { (ac_try="$ac_compile"
46212 case "(($ac_try" in
46213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46214 *) ac_try_echo=$ac_try;;
46216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46217 (eval "$ac_compile") 2>conftest.er1
46219 grep -v '^ *+' conftest.er1 >conftest.err
46221 cat conftest.err >&5
46222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46223 (exit $ac_status); } && {
46224 test -z "$ac_c_werror_flag" ||
46225 test ! -s conftest.err
46226 } && test -s conftest.$ac_objext; then
46227 wx_cv_func_gettimeofday_has_2_args=yes
46229 echo "$as_me: failed program was:" >&5
46230 sed 's/^/| /' conftest.$ac_ext >&5
46232 cat >conftest.$ac_ext <<_ACEOF
46235 cat confdefs.h >>conftest.$ac_ext
46236 cat >>conftest.$ac_ext <<_ACEOF
46237 /* end confdefs.h. */
46239 #include <sys/time.h>
46240 #include <unistd.h>
46253 rm -f conftest.$ac_objext
46254 if { (ac_try="$ac_compile"
46255 case "(($ac_try" in
46256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46257 *) ac_try_echo=$ac_try;;
46259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46260 (eval "$ac_compile") 2>conftest.er1
46262 grep -v '^ *+' conftest.er1 >conftest.err
46264 cat conftest.err >&5
46265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46266 (exit $ac_status); } && {
46267 test -z "$ac_c_werror_flag" ||
46268 test ! -s conftest.err
46269 } && test -s conftest.$ac_objext; then
46270 wx_cv_func_gettimeofday_has_2_args=no
46272 echo "$as_me: failed program was:" >&5
46273 sed 's/^/| /' conftest.$ac_ext >&5
46276 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46277 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46278 wx_cv_func_gettimeofday_has_2_args=unknown
46283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46290 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46291 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46293 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46294 cat >>confdefs.h <<\_ACEOF
46295 #define WX_GETTIMEOFDAY_NO_TZ 1
46301 if test "$wxUSE_DATETIME" = "yes"; then
46302 { echo "$as_me:$LINENO: checking for strptime" >&5
46303 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46304 if test "${ac_cv_func_strptime+set}" = set; then
46305 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. */
46313 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46315 #define strptime innocuous_strptime
46317 /* System header to define __stub macros and hopefully few prototypes,
46318 which can conflict with char strptime (); below.
46319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46320 <limits.h> exists even on freestanding compilers. */
46323 # include <limits.h>
46325 # include <assert.h>
46330 /* Override any GCC internal prototype to avoid an error.
46331 Use char because int might match the return type of a GCC
46332 builtin and then its argument prototype would still apply. */
46337 /* The GNU C library defines this for functions which it implements
46338 to always fail with ENOSYS. Some functions are actually named
46339 something starting with __ and the normal name is an alias. */
46340 #if defined __stub_strptime || defined __stub___strptime
46347 return strptime ();
46352 rm -f conftest.$ac_objext conftest$ac_exeext
46353 if { (ac_try="$ac_link"
46354 case "(($ac_try" in
46355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46356 *) ac_try_echo=$ac_try;;
46358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46359 (eval "$ac_link") 2>conftest.er1
46361 grep -v '^ *+' conftest.er1 >conftest.err
46363 cat conftest.err >&5
46364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46365 (exit $ac_status); } && {
46366 test -z "$ac_c_werror_flag" ||
46367 test ! -s conftest.err
46368 } && test -s conftest$ac_exeext &&
46369 $as_test_x conftest$ac_exeext; then
46370 ac_cv_func_strptime=yes
46372 echo "$as_me: failed program was:" >&5
46373 sed 's/^/| /' conftest.$ac_ext >&5
46375 ac_cv_func_strptime=no
46378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46379 conftest$ac_exeext conftest.$ac_ext
46381 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46382 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46384 if test "$ac_cv_func_strptime" = "yes"; then
46385 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46386 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46387 if test "${wx_cv_func_strptime_decl+set}" = set; then
46388 echo $ECHO_N "(cached) $ECHO_C" >&6
46392 ac_cpp='$CXXCPP $CPPFLAGS'
46393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46397 cat >conftest.$ac_ext <<_ACEOF
46400 cat confdefs.h >>conftest.$ac_ext
46401 cat >>conftest.$ac_ext <<_ACEOF
46402 /* end confdefs.h. */
46411 strptime("foo", "bar", &t);
46417 rm -f conftest.$ac_objext
46418 if { (ac_try="$ac_compile"
46419 case "(($ac_try" in
46420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46421 *) ac_try_echo=$ac_try;;
46423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46424 (eval "$ac_compile") 2>conftest.er1
46426 grep -v '^ *+' conftest.er1 >conftest.err
46428 cat conftest.err >&5
46429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46430 (exit $ac_status); } && {
46431 test -z "$ac_cxx_werror_flag" ||
46432 test ! -s conftest.err
46433 } && test -s conftest.$ac_objext; then
46434 wx_cv_func_strptime_decl=yes
46436 echo "$as_me: failed program was:" >&5
46437 sed 's/^/| /' conftest.$ac_ext >&5
46439 wx_cv_func_strptime_decl=no
46443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46445 ac_cpp='$CPP $CPPFLAGS'
46446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46453 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46454 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46456 if test "$wx_cv_func_strptime_decl" = "yes"; then
46457 cat >>confdefs.h <<\_ACEOF
46458 #define HAVE_STRPTIME_DECL 1
46462 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46464 if test "$ac_cv_func_strptime" = "yes"; then
46465 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46466 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46467 if test "${wx_cv_func_strptime_ok+set}" = set; then
46468 echo $ECHO_N "(cached) $ECHO_C" >&6
46470 if test "$cross_compiling" = yes; then
46471 wx_cv_func_strptime_ok=no
46474 cat >conftest.$ac_ext <<_ACEOF
46476 #include <stdlib.h>
46478 #include "confdefs.h"
46485 return !!strptime("", "%x", &t);
46489 rm -f conftest$ac_exeext
46490 if { (ac_try="$ac_link"
46491 case "(($ac_try" in
46492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46493 *) ac_try_echo=$ac_try;;
46495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46496 (eval "$ac_link") 2>&5
46498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46500 { (case "(($ac_try" in
46501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46502 *) ac_try_echo=$ac_try;;
46504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46505 (eval "$ac_try") 2>&5
46507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46508 (exit $ac_status); }; }; then
46509 wx_cv_func_strptime_ok=yes
46511 echo "$as_me: program exited with status $ac_status" >&5
46512 echo "$as_me: failed program was:" >&5
46513 sed 's/^/| /' conftest.$ac_ext >&5
46515 ( exit $ac_status )
46516 wx_cv_func_strptime_ok=no
46518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46524 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46525 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46527 if test "$wx_cv_func_strptime_ok" = "yes"; then
46528 cat >>confdefs.h <<\_ACEOF
46529 #define HAVE_STRPTIME 1
46535 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46536 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46537 if test "${wx_cv_var_timezone+set}" = set; then
46538 echo $ECHO_N "(cached) $ECHO_C" >&6
46542 ac_cpp='$CXXCPP $CPPFLAGS'
46543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46547 cat >conftest.$ac_ext <<_ACEOF
46550 cat confdefs.h >>conftest.$ac_ext
46551 cat >>conftest.$ac_ext <<_ACEOF
46552 /* end confdefs.h. */
46567 rm -f conftest.$ac_objext
46568 if { (ac_try="$ac_compile"
46569 case "(($ac_try" in
46570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46571 *) ac_try_echo=$ac_try;;
46573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46574 (eval "$ac_compile") 2>conftest.er1
46576 grep -v '^ *+' conftest.er1 >conftest.err
46578 cat conftest.err >&5
46579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46580 (exit $ac_status); } && {
46581 test -z "$ac_cxx_werror_flag" ||
46582 test ! -s conftest.err
46583 } && test -s conftest.$ac_objext; then
46585 wx_cv_var_timezone=timezone
46588 echo "$as_me: failed program was:" >&5
46589 sed 's/^/| /' conftest.$ac_ext >&5
46592 cat >conftest.$ac_ext <<_ACEOF
46595 cat confdefs.h >>conftest.$ac_ext
46596 cat >>conftest.$ac_ext <<_ACEOF
46597 /* end confdefs.h. */
46612 rm -f conftest.$ac_objext
46613 if { (ac_try="$ac_compile"
46614 case "(($ac_try" in
46615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46616 *) ac_try_echo=$ac_try;;
46618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46619 (eval "$ac_compile") 2>conftest.er1
46621 grep -v '^ *+' conftest.er1 >conftest.err
46623 cat conftest.err >&5
46624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46625 (exit $ac_status); } && {
46626 test -z "$ac_cxx_werror_flag" ||
46627 test ! -s conftest.err
46628 } && test -s conftest.$ac_objext; then
46630 wx_cv_var_timezone=_timezone
46633 echo "$as_me: failed program was:" >&5
46634 sed 's/^/| /' conftest.$ac_ext >&5
46637 cat >conftest.$ac_ext <<_ACEOF
46640 cat confdefs.h >>conftest.$ac_ext
46641 cat >>conftest.$ac_ext <<_ACEOF
46642 /* end confdefs.h. */
46657 rm -f conftest.$ac_objext
46658 if { (ac_try="$ac_compile"
46659 case "(($ac_try" in
46660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46661 *) ac_try_echo=$ac_try;;
46663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46664 (eval "$ac_compile") 2>conftest.er1
46666 grep -v '^ *+' conftest.er1 >conftest.err
46668 cat conftest.err >&5
46669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46670 (exit $ac_status); } && {
46671 test -z "$ac_cxx_werror_flag" ||
46672 test ! -s conftest.err
46673 } && test -s conftest.$ac_objext; then
46675 wx_cv_var_timezone=__timezone
46678 echo "$as_me: failed program was:" >&5
46679 sed 's/^/| /' conftest.$ac_ext >&5
46682 if test "$USE_DOS" = 0 ; then
46683 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46684 echo "$as_me: WARNING: no timezone variable" >&2;}
46690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46702 ac_cpp='$CPP $CPPFLAGS'
46703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46710 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46711 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46713 if test "x$wx_cv_var_timezone" != x ; then
46714 cat >>confdefs.h <<_ACEOF
46715 #define WX_TIMEZONE $wx_cv_var_timezone
46721 for ac_func in localtime
46723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46727 echo $ECHO_N "(cached) $ECHO_C" >&6
46729 cat >conftest.$ac_ext <<_ACEOF
46732 cat confdefs.h >>conftest.$ac_ext
46733 cat >>conftest.$ac_ext <<_ACEOF
46734 /* end confdefs.h. */
46735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46737 #define $ac_func innocuous_$ac_func
46739 /* System header to define __stub macros and hopefully few prototypes,
46740 which can conflict with char $ac_func (); below.
46741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46742 <limits.h> exists even on freestanding compilers. */
46745 # include <limits.h>
46747 # include <assert.h>
46752 /* Override any GCC internal prototype to avoid an error.
46753 Use char because int might match the return type of a GCC
46754 builtin and then its argument prototype would still apply. */
46759 /* The GNU C library defines this for functions which it implements
46760 to always fail with ENOSYS. Some functions are actually named
46761 something starting with __ and the normal name is an alias. */
46762 #if defined __stub_$ac_func || defined __stub___$ac_func
46769 return $ac_func ();
46774 rm -f conftest.$ac_objext conftest$ac_exeext
46775 if { (ac_try="$ac_link"
46776 case "(($ac_try" in
46777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46778 *) ac_try_echo=$ac_try;;
46780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46781 (eval "$ac_link") 2>conftest.er1
46783 grep -v '^ *+' conftest.er1 >conftest.err
46785 cat conftest.err >&5
46786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46787 (exit $ac_status); } && {
46788 test -z "$ac_c_werror_flag" ||
46789 test ! -s conftest.err
46790 } && test -s conftest$ac_exeext &&
46791 $as_test_x conftest$ac_exeext; then
46792 eval "$as_ac_var=yes"
46794 echo "$as_me: failed program was:" >&5
46795 sed 's/^/| /' conftest.$ac_ext >&5
46797 eval "$as_ac_var=no"
46800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46801 conftest$ac_exeext conftest.$ac_ext
46803 ac_res=`eval echo '${'$as_ac_var'}'`
46804 { echo "$as_me:$LINENO: result: $ac_res" >&5
46805 echo "${ECHO_T}$ac_res" >&6; }
46806 if test `eval echo '${'$as_ac_var'}'` = yes; then
46807 cat >>confdefs.h <<_ACEOF
46808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46815 if test "$ac_cv_func_localtime" = "yes"; then
46816 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46817 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46818 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46819 echo $ECHO_N "(cached) $ECHO_C" >&6
46822 cat >conftest.$ac_ext <<_ACEOF
46825 cat confdefs.h >>conftest.$ac_ext
46826 cat >>conftest.$ac_ext <<_ACEOF
46827 /* end confdefs.h. */
46842 rm -f conftest.$ac_objext
46843 if { (ac_try="$ac_compile"
46844 case "(($ac_try" in
46845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46846 *) ac_try_echo=$ac_try;;
46848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46849 (eval "$ac_compile") 2>conftest.er1
46851 grep -v '^ *+' conftest.er1 >conftest.err
46853 cat conftest.err >&5
46854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46855 (exit $ac_status); } && {
46856 test -z "$ac_c_werror_flag" ||
46857 test ! -s conftest.err
46858 } && test -s conftest.$ac_objext; then
46860 wx_cv_struct_tm_has_gmtoff=yes
46863 echo "$as_me: failed program was:" >&5
46864 sed 's/^/| /' conftest.$ac_ext >&5
46866 wx_cv_struct_tm_has_gmtoff=no
46870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46873 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46874 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46877 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46878 cat >>confdefs.h <<\_ACEOF
46879 #define WX_GMTOFF_IN_TM 1
46884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46888 if test "$wxUSE_SOCKETS" = "yes"; then
46889 if test "$wxUSE_MGL" = "1"; then
46890 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46891 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46896 if test "$wxUSE_SOCKETS" = "yes"; then
46897 if test "$TOOLKIT" != "MSW"; then
46898 { echo "$as_me:$LINENO: checking for socket" >&5
46899 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46900 if test "${ac_cv_func_socket+set}" = set; then
46901 echo $ECHO_N "(cached) $ECHO_C" >&6
46903 cat >conftest.$ac_ext <<_ACEOF
46906 cat confdefs.h >>conftest.$ac_ext
46907 cat >>conftest.$ac_ext <<_ACEOF
46908 /* end confdefs.h. */
46909 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46911 #define socket innocuous_socket
46913 /* System header to define __stub macros and hopefully few prototypes,
46914 which can conflict with char socket (); below.
46915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46916 <limits.h> exists even on freestanding compilers. */
46919 # include <limits.h>
46921 # include <assert.h>
46926 /* Override any GCC internal prototype to avoid an error.
46927 Use char because int might match the return type of a GCC
46928 builtin and then its argument prototype would still apply. */
46933 /* The GNU C library defines this for functions which it implements
46934 to always fail with ENOSYS. Some functions are actually named
46935 something starting with __ and the normal name is an alias. */
46936 #if defined __stub_socket || defined __stub___socket
46948 rm -f conftest.$ac_objext conftest$ac_exeext
46949 if { (ac_try="$ac_link"
46950 case "(($ac_try" in
46951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46952 *) ac_try_echo=$ac_try;;
46954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46955 (eval "$ac_link") 2>conftest.er1
46957 grep -v '^ *+' conftest.er1 >conftest.err
46959 cat conftest.err >&5
46960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46961 (exit $ac_status); } && {
46962 test -z "$ac_c_werror_flag" ||
46963 test ! -s conftest.err
46964 } && test -s conftest$ac_exeext &&
46965 $as_test_x conftest$ac_exeext; then
46966 ac_cv_func_socket=yes
46968 echo "$as_me: failed program was:" >&5
46969 sed 's/^/| /' conftest.$ac_ext >&5
46971 ac_cv_func_socket=no
46974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46975 conftest$ac_exeext conftest.$ac_ext
46977 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46978 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46979 if test $ac_cv_func_socket = yes; then
46983 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46984 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46985 if test "${ac_cv_lib_socket_socket+set}" = set; then
46986 echo $ECHO_N "(cached) $ECHO_C" >&6
46988 ac_check_lib_save_LIBS=$LIBS
46989 LIBS="-lsocket $LIBS"
46990 cat >conftest.$ac_ext <<_ACEOF
46993 cat confdefs.h >>conftest.$ac_ext
46994 cat >>conftest.$ac_ext <<_ACEOF
46995 /* end confdefs.h. */
46997 /* Override any GCC internal prototype to avoid an error.
46998 Use char because int might match the return type of a GCC
46999 builtin and then its argument prototype would still apply. */
47012 rm -f conftest.$ac_objext conftest$ac_exeext
47013 if { (ac_try="$ac_link"
47014 case "(($ac_try" in
47015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47016 *) ac_try_echo=$ac_try;;
47018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47019 (eval "$ac_link") 2>conftest.er1
47021 grep -v '^ *+' conftest.er1 >conftest.err
47023 cat conftest.err >&5
47024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47025 (exit $ac_status); } && {
47026 test -z "$ac_c_werror_flag" ||
47027 test ! -s conftest.err
47028 } && test -s conftest$ac_exeext &&
47029 $as_test_x conftest$ac_exeext; then
47030 ac_cv_lib_socket_socket=yes
47032 echo "$as_me: failed program was:" >&5
47033 sed 's/^/| /' conftest.$ac_ext >&5
47035 ac_cv_lib_socket_socket=no
47038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47039 conftest$ac_exeext conftest.$ac_ext
47040 LIBS=$ac_check_lib_save_LIBS
47042 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
47043 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
47044 if test $ac_cv_lib_socket_socket = yes; then
47045 if test "$INET_LINK" != " -lsocket"; then
47046 INET_LINK="$INET_LINK -lsocket"
47050 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
47051 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
47064 if test "$wxUSE_SOCKETS" = "yes" ; then
47065 if test "$TOOLKIT" != "MSW"; then
47066 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
47067 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
47068 if test "${wx_cv_type_getsockname3+set}" = set; then
47069 echo $ECHO_N "(cached) $ECHO_C" >&6
47073 ac_cpp='$CXXCPP $CPPFLAGS'
47074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47078 cat >conftest.$ac_ext <<_ACEOF
47081 cat confdefs.h >>conftest.$ac_ext
47082 cat >>conftest.$ac_ext <<_ACEOF
47083 /* end confdefs.h. */
47085 #include <sys/types.h>
47086 #include <sys/socket.h>
47093 getsockname(0, 0, &len);
47099 rm -f conftest.$ac_objext
47100 if { (ac_try="$ac_compile"
47101 case "(($ac_try" in
47102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47103 *) ac_try_echo=$ac_try;;
47105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47106 (eval "$ac_compile") 2>conftest.er1
47108 grep -v '^ *+' conftest.er1 >conftest.err
47110 cat conftest.err >&5
47111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47112 (exit $ac_status); } && {
47113 test -z "$ac_cxx_werror_flag" ||
47114 test ! -s conftest.err
47115 } && test -s conftest.$ac_objext; then
47116 wx_cv_type_getsockname3=socklen_t
47118 echo "$as_me: failed program was:" >&5
47119 sed 's/^/| /' conftest.$ac_ext >&5
47122 CFLAGS_OLD="$CFLAGS"
47123 if test "$GCC" = yes ; then
47124 CFLAGS="-Werror $CFLAGS"
47127 cat >conftest.$ac_ext <<_ACEOF
47130 cat confdefs.h >>conftest.$ac_ext
47131 cat >>conftest.$ac_ext <<_ACEOF
47132 /* end confdefs.h. */
47134 #include <sys/types.h>
47135 #include <sys/socket.h>
47142 getsockname(0, 0, &len);
47148 rm -f conftest.$ac_objext
47149 if { (ac_try="$ac_compile"
47150 case "(($ac_try" in
47151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47152 *) ac_try_echo=$ac_try;;
47154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47155 (eval "$ac_compile") 2>conftest.er1
47157 grep -v '^ *+' conftest.er1 >conftest.err
47159 cat conftest.err >&5
47160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47161 (exit $ac_status); } && {
47162 test -z "$ac_cxx_werror_flag" ||
47163 test ! -s conftest.err
47164 } && test -s conftest.$ac_objext; then
47165 wx_cv_type_getsockname3=size_t
47167 echo "$as_me: failed program was:" >&5
47168 sed 's/^/| /' conftest.$ac_ext >&5
47170 cat >conftest.$ac_ext <<_ACEOF
47173 cat confdefs.h >>conftest.$ac_ext
47174 cat >>conftest.$ac_ext <<_ACEOF
47175 /* end confdefs.h. */
47177 #include <sys/types.h>
47178 #include <sys/socket.h>
47185 getsockname(0, 0, &len);
47191 rm -f conftest.$ac_objext
47192 if { (ac_try="$ac_compile"
47193 case "(($ac_try" in
47194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47195 *) ac_try_echo=$ac_try;;
47197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47198 (eval "$ac_compile") 2>conftest.er1
47200 grep -v '^ *+' conftest.er1 >conftest.err
47202 cat conftest.err >&5
47203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47204 (exit $ac_status); } && {
47205 test -z "$ac_cxx_werror_flag" ||
47206 test ! -s conftest.err
47207 } && test -s conftest.$ac_objext; then
47208 wx_cv_type_getsockname3=int
47210 echo "$as_me: failed program was:" >&5
47211 sed 's/^/| /' conftest.$ac_ext >&5
47213 wx_cv_type_getsockname3=unknown
47217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47223 CFLAGS="$CFLAGS_OLD"
47228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47230 ac_cpp='$CPP $CPPFLAGS'
47231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47237 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47238 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47240 if test "$wx_cv_type_getsockname3" = "unknown"; then
47242 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47243 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47245 cat >>confdefs.h <<_ACEOF
47246 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47250 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47251 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47252 if test "${wx_cv_type_getsockopt5+set}" = set; then
47253 echo $ECHO_N "(cached) $ECHO_C" >&6
47257 ac_cpp='$CXXCPP $CPPFLAGS'
47258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47262 cat >conftest.$ac_ext <<_ACEOF
47265 cat confdefs.h >>conftest.$ac_ext
47266 cat >>conftest.$ac_ext <<_ACEOF
47267 /* end confdefs.h. */
47269 #include <sys/types.h>
47270 #include <sys/socket.h>
47277 getsockopt(0, 0, 0, 0, &len);
47283 rm -f conftest.$ac_objext
47284 if { (ac_try="$ac_compile"
47285 case "(($ac_try" in
47286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47287 *) ac_try_echo=$ac_try;;
47289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47290 (eval "$ac_compile") 2>conftest.er1
47292 grep -v '^ *+' conftest.er1 >conftest.err
47294 cat conftest.err >&5
47295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47296 (exit $ac_status); } && {
47297 test -z "$ac_cxx_werror_flag" ||
47298 test ! -s conftest.err
47299 } && test -s conftest.$ac_objext; then
47300 wx_cv_type_getsockopt5=socklen_t
47302 echo "$as_me: failed program was:" >&5
47303 sed 's/^/| /' conftest.$ac_ext >&5
47306 cat >conftest.$ac_ext <<_ACEOF
47309 cat confdefs.h >>conftest.$ac_ext
47310 cat >>conftest.$ac_ext <<_ACEOF
47311 /* end confdefs.h. */
47313 #include <sys/types.h>
47314 #include <sys/socket.h>
47321 getsockopt(0, 0, 0, 0, &len);
47327 rm -f conftest.$ac_objext
47328 if { (ac_try="$ac_compile"
47329 case "(($ac_try" in
47330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47331 *) ac_try_echo=$ac_try;;
47333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47334 (eval "$ac_compile") 2>conftest.er1
47336 grep -v '^ *+' conftest.er1 >conftest.err
47338 cat conftest.err >&5
47339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47340 (exit $ac_status); } && {
47341 test -z "$ac_cxx_werror_flag" ||
47342 test ! -s conftest.err
47343 } && test -s conftest.$ac_objext; then
47344 wx_cv_type_getsockopt5=size_t
47346 echo "$as_me: failed program was:" >&5
47347 sed 's/^/| /' conftest.$ac_ext >&5
47349 cat >conftest.$ac_ext <<_ACEOF
47352 cat confdefs.h >>conftest.$ac_ext
47353 cat >>conftest.$ac_ext <<_ACEOF
47354 /* end confdefs.h. */
47356 #include <sys/types.h>
47357 #include <sys/socket.h>
47364 getsockopt(0, 0, 0, 0, &len);
47370 rm -f conftest.$ac_objext
47371 if { (ac_try="$ac_compile"
47372 case "(($ac_try" in
47373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47374 *) ac_try_echo=$ac_try;;
47376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47377 (eval "$ac_compile") 2>conftest.er1
47379 grep -v '^ *+' conftest.er1 >conftest.err
47381 cat conftest.err >&5
47382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47383 (exit $ac_status); } && {
47384 test -z "$ac_cxx_werror_flag" ||
47385 test ! -s conftest.err
47386 } && test -s conftest.$ac_objext; then
47387 wx_cv_type_getsockopt5=int
47389 echo "$as_me: failed program was:" >&5
47390 sed 's/^/| /' conftest.$ac_ext >&5
47392 wx_cv_type_getsockopt5=unknown
47396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47407 ac_cpp='$CPP $CPPFLAGS'
47408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47414 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47415 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47417 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47419 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47420 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47422 cat >>confdefs.h <<_ACEOF
47423 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47430 if test "$wxUSE_SOCKETS" = "yes" ; then
47431 cat >>confdefs.h <<\_ACEOF
47432 #define wxUSE_SOCKETS 1
47435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47438 if test "$wxUSE_PROTOCOL" = "yes"; then
47439 if test "$wxUSE_SOCKETS" != "yes"; then
47440 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47441 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47446 if test "$wxUSE_PROTOCOL" = "yes"; then
47447 cat >>confdefs.h <<\_ACEOF
47448 #define wxUSE_PROTOCOL 1
47452 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47453 cat >>confdefs.h <<\_ACEOF
47454 #define wxUSE_PROTOCOL_HTTP 1
47458 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47459 cat >>confdefs.h <<\_ACEOF
47460 #define wxUSE_PROTOCOL_FTP 1
47464 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47465 cat >>confdefs.h <<\_ACEOF
47466 #define wxUSE_PROTOCOL_FILE 1
47471 if test "$wxUSE_FS_INET" = "yes"; then
47472 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47473 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47478 if test "$wxUSE_URL" = "yes"; then
47479 if test "$wxUSE_PROTOCOL" != "yes"; then
47480 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47481 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47484 if test "$wxUSE_URL" = "yes"; then
47485 cat >>confdefs.h <<\_ACEOF
47486 #define wxUSE_URL 1
47492 if test "$wxUSE_VARIANT" = "yes"; then
47493 cat >>confdefs.h <<\_ACEOF
47494 #define wxUSE_VARIANT 1
47499 if test "$wxUSE_FS_INET" = "yes"; then
47500 cat >>confdefs.h <<\_ACEOF
47501 #define wxUSE_FS_INET 1
47507 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47510 if test "$TOOLKIT" = "MSW"; then
47513 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47514 if test "$USE_DARWIN" = 1; then
47515 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47516 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47518 ac_cpp='$CXXCPP $CPPFLAGS'
47519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47523 cat >conftest.$ac_ext <<_ACEOF
47526 cat confdefs.h >>conftest.$ac_ext
47527 cat >>conftest.$ac_ext <<_ACEOF
47528 /* end confdefs.h. */
47529 #include <IOKit/hid/IOHIDLib.h>
47533 IOHIDQueueInterface *qi = NULL;
47534 IOHIDCallbackFunction cb = NULL;
47535 qi->setEventCallout(NULL, cb, NULL, NULL);
47540 rm -f conftest.$ac_objext
47541 if { (ac_try="$ac_compile"
47542 case "(($ac_try" in
47543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47544 *) ac_try_echo=$ac_try;;
47546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47547 (eval "$ac_compile") 2>conftest.er1
47549 grep -v '^ *+' conftest.er1 >conftest.err
47551 cat conftest.err >&5
47552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47553 (exit $ac_status); } && {
47554 test -z "$ac_cxx_werror_flag" ||
47555 test ! -s conftest.err
47556 } && test -s conftest.$ac_objext; then
47560 echo "$as_me: failed program was:" >&5
47561 sed 's/^/| /' conftest.$ac_ext >&5
47566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47568 ac_cpp='$CPP $CPPFLAGS'
47569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47573 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47574 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47578 if test "$wxUSE_MGL" != "1"; then
47580 for ac_header in linux/joystick.h
47582 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47583 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47585 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47586 echo $ECHO_N "(cached) $ECHO_C" >&6
47588 cat >conftest.$ac_ext <<_ACEOF
47591 cat confdefs.h >>conftest.$ac_ext
47592 cat >>conftest.$ac_ext <<_ACEOF
47593 /* end confdefs.h. */
47594 $ac_includes_default
47596 #include <$ac_header>
47598 rm -f conftest.$ac_objext
47599 if { (ac_try="$ac_compile"
47600 case "(($ac_try" in
47601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47602 *) ac_try_echo=$ac_try;;
47604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47605 (eval "$ac_compile") 2>conftest.er1
47607 grep -v '^ *+' conftest.er1 >conftest.err
47609 cat conftest.err >&5
47610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47611 (exit $ac_status); } && {
47612 test -z "$ac_c_werror_flag" ||
47613 test ! -s conftest.err
47614 } && test -s conftest.$ac_objext; then
47615 eval "$as_ac_Header=yes"
47617 echo "$as_me: failed program was:" >&5
47618 sed 's/^/| /' conftest.$ac_ext >&5
47620 eval "$as_ac_Header=no"
47623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47625 ac_res=`eval echo '${'$as_ac_Header'}'`
47626 { echo "$as_me:$LINENO: result: $ac_res" >&5
47627 echo "${ECHO_T}$ac_res" >&6; }
47628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47629 cat >>confdefs.h <<_ACEOF
47630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47640 if test "$wxUSE_JOYSTICK" = "yes"; then
47641 cat >>confdefs.h <<\_ACEOF
47642 #define wxUSE_JOYSTICK 1
47645 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47647 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47648 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47654 if test "$wxUSE_FONTENUM" = "yes" ; then
47655 cat >>confdefs.h <<\_ACEOF
47656 #define wxUSE_FONTENUM 1
47661 if test "$wxUSE_FONTMAP" = "yes" ; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_FONTMAP 1
47668 if test "$wxUSE_UNICODE" = "yes" ; then
47669 cat >>confdefs.h <<\_ACEOF
47670 #define wxUSE_UNICODE 1
47674 if test "$USE_WIN32" != 1; then
47675 wxUSE_UNICODE_MSLU=no
47678 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47679 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47680 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47681 if test "${ac_cv_lib_unicows_main+set}" = set; then
47682 echo $ECHO_N "(cached) $ECHO_C" >&6
47684 ac_check_lib_save_LIBS=$LIBS
47685 LIBS="-lunicows $LIBS"
47686 cat >conftest.$ac_ext <<_ACEOF
47689 cat confdefs.h >>conftest.$ac_ext
47690 cat >>conftest.$ac_ext <<_ACEOF
47691 /* end confdefs.h. */
47702 rm -f conftest.$ac_objext conftest$ac_exeext
47703 if { (ac_try="$ac_link"
47704 case "(($ac_try" in
47705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47706 *) ac_try_echo=$ac_try;;
47708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47709 (eval "$ac_link") 2>conftest.er1
47711 grep -v '^ *+' conftest.er1 >conftest.err
47713 cat conftest.err >&5
47714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47715 (exit $ac_status); } && {
47716 test -z "$ac_c_werror_flag" ||
47717 test ! -s conftest.err
47718 } && test -s conftest$ac_exeext &&
47719 $as_test_x conftest$ac_exeext; then
47720 ac_cv_lib_unicows_main=yes
47722 echo "$as_me: failed program was:" >&5
47723 sed 's/^/| /' conftest.$ac_ext >&5
47725 ac_cv_lib_unicows_main=no
47728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47729 conftest$ac_exeext conftest.$ac_ext
47730 LIBS=$ac_check_lib_save_LIBS
47732 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47733 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47734 if test $ac_cv_lib_unicows_main = yes; then
47736 cat >>confdefs.h <<\_ACEOF
47737 #define wxUSE_UNICODE_MSLU 1
47743 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47744 Applications will only run on Windows NT/2000/XP!" >&5
47745 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47746 Applications will only run on Windows NT/2000/XP!" >&2;}
47747 wxUSE_UNICODE_MSLU=no
47754 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47755 cat >>confdefs.h <<\_ACEOF
47756 #define wxUSE_UNICODE_UTF8 1
47760 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47761 cat >>confdefs.h <<\_ACEOF
47762 #define wxUSE_UTF8_LOCALE_ONLY 1
47769 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47770 cat >>confdefs.h <<\_ACEOF
47771 #define wxUSE_CONSTRAINTS 1
47774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47777 if test "$wxUSE_MDI" = "yes"; then
47778 cat >>confdefs.h <<\_ACEOF
47779 #define wxUSE_MDI 1
47783 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47784 cat >>confdefs.h <<\_ACEOF
47785 #define wxUSE_MDI_ARCHITECTURE 1
47788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47792 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47793 cat >>confdefs.h <<\_ACEOF
47794 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47798 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47803 if test "$wxUSE_HELP" = "yes"; then
47804 cat >>confdefs.h <<\_ACEOF
47805 #define wxUSE_HELP 1
47808 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47810 if test "$wxUSE_MSW" = 1; then
47811 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47812 cat >>confdefs.h <<\_ACEOF
47813 #define wxUSE_MS_HTML_HELP 1
47819 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47820 if test "$wxUSE_HTML" = "yes"; then
47821 cat >>confdefs.h <<\_ACEOF
47822 #define wxUSE_WXHTML_HELP 1
47826 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47827 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47828 wxUSE_WXHTML_HELP=no
47833 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47834 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47835 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47836 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47838 cat >>confdefs.h <<\_ACEOF
47839 #define wxUSE_PRINTING_ARCHITECTURE 1
47843 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47846 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47847 cat >>confdefs.h <<\_ACEOF
47848 #define wxUSE_POSTSCRIPT 1
47853 cat >>confdefs.h <<\_ACEOF
47854 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47858 if test "$wxUSE_SVG" = "yes"; then
47859 cat >>confdefs.h <<\_ACEOF
47860 #define wxUSE_SVG 1
47866 if test "$wxUSE_METAFILE" = "yes"; then
47867 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47868 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47869 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47875 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47876 -o "$wxUSE_CLIPBOARD" = "yes" \
47877 -o "$wxUSE_OLE" = "yes" \
47878 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47879 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47880 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47881 if test "${ac_cv_header_ole2_h+set}" = set; then
47882 echo $ECHO_N "(cached) $ECHO_C" >&6
47884 cat >conftest.$ac_ext <<_ACEOF
47887 cat confdefs.h >>conftest.$ac_ext
47888 cat >>conftest.$ac_ext <<_ACEOF
47889 /* end confdefs.h. */
47894 rm -f conftest.$ac_objext
47895 if { (ac_try="$ac_compile"
47896 case "(($ac_try" in
47897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47898 *) ac_try_echo=$ac_try;;
47900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47901 (eval "$ac_compile") 2>conftest.er1
47903 grep -v '^ *+' conftest.er1 >conftest.err
47905 cat conftest.err >&5
47906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47907 (exit $ac_status); } && {
47908 test -z "$ac_c_werror_flag" ||
47909 test ! -s conftest.err
47910 } && test -s conftest.$ac_objext; then
47911 ac_cv_header_ole2_h=yes
47913 echo "$as_me: failed program was:" >&5
47914 sed 's/^/| /' conftest.$ac_ext >&5
47916 ac_cv_header_ole2_h=no
47919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47921 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47922 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47926 if test "$ac_cv_header_ole2_h" = "yes" ; then
47927 if test "$GCC" = yes ; then
47928 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47929 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47930 cat >conftest.$ac_ext <<_ACEOF
47933 cat confdefs.h >>conftest.$ac_ext
47934 cat >>conftest.$ac_ext <<_ACEOF
47935 /* end confdefs.h. */
47936 #include <windows.h>
47946 rm -f conftest.$ac_objext
47947 if { (ac_try="$ac_compile"
47948 case "(($ac_try" in
47949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47950 *) ac_try_echo=$ac_try;;
47952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47953 (eval "$ac_compile") 2>conftest.er1
47955 grep -v '^ *+' conftest.er1 >conftest.err
47957 cat conftest.err >&5
47958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47959 (exit $ac_status); } && {
47960 test -z "$ac_c_werror_flag" ||
47961 test ! -s conftest.err
47962 } && test -s conftest.$ac_objext; then
47963 { echo "$as_me:$LINENO: result: no" >&5
47964 echo "${ECHO_T}no" >&6; }
47966 echo "$as_me: failed program was:" >&5
47967 sed 's/^/| /' conftest.$ac_ext >&5
47969 { echo "$as_me:$LINENO: result: yes" >&5
47970 echo "${ECHO_T}yes" >&6; }
47971 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47975 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47976 if test "$wxUSE_OLE" = "yes" ; then
47977 cat >>confdefs.h <<\_ACEOF
47978 #define wxUSE_OLE 1
47981 cat >>confdefs.h <<\_ACEOF
47982 #define wxUSE_OLE_AUTOMATION 1
47985 cat >>confdefs.h <<\_ACEOF
47986 #define wxUSE_ACTIVEX 1
47989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47993 if test "$wxUSE_DATAOBJ" = "yes" ; then
47994 cat >>confdefs.h <<\_ACEOF
47995 #define wxUSE_DATAOBJ 1
48000 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
48001 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
48004 wxUSE_DRAG_AND_DROP=no
48009 if test "$wxUSE_METAFILE" = "yes"; then
48010 cat >>confdefs.h <<\_ACEOF
48011 #define wxUSE_METAFILE 1
48015 cat >>confdefs.h <<\_ACEOF
48016 #define wxUSE_ENH_METAFILE 1
48022 if test "$wxUSE_IPC" = "yes"; then
48023 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
48024 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
48025 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
48029 if test "$wxUSE_IPC" = "yes"; then
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_IPC 1
48034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48038 if test "$wxUSE_DATAOBJ" = "yes"; then
48039 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48040 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
48041 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_DATAOBJ 1
48050 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
48051 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
48053 wxUSE_DRAG_AND_DROP=no
48056 if test "$wxUSE_CLIPBOARD" = "yes"; then
48057 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48058 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
48059 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
48063 if test "$wxUSE_CLIPBOARD" = "yes"; then
48064 cat >>confdefs.h <<\_ACEOF
48065 #define wxUSE_CLIPBOARD 1
48071 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
48072 if test "$wxUSE_GTK" = 1; then
48073 if test "$WXGTK12" != 1; then
48074 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
48075 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
48076 wxUSE_DRAG_AND_DROP=no
48080 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
48081 "$wxUSE_DFB" = 1; then
48082 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
48083 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
48084 wxUSE_DRAG_AND_DROP=no
48087 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
48088 cat >>confdefs.h <<\_ACEOF
48089 #define wxUSE_DRAG_AND_DROP 1
48096 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
48097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
48100 if test "$wxUSE_SPLINES" = "yes" ; then
48101 cat >>confdefs.h <<\_ACEOF
48102 #define wxUSE_SPLINES 1
48107 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
48108 cat >>confdefs.h <<\_ACEOF
48109 #define wxUSE_MOUSEWHEEL 1
48116 if test "$wxUSE_CONTROLS" = "yes"; then
48120 if test "$wxUSE_ACCEL" = "yes"; then
48121 cat >>confdefs.h <<\_ACEOF
48122 #define wxUSE_ACCEL 1
48128 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48129 cat >>confdefs.h <<\_ACEOF
48130 #define wxUSE_ANIMATIONCTRL 1
48134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
48137 if test "$wxUSE_BUTTON" = "yes"; then
48138 cat >>confdefs.h <<\_ACEOF
48139 #define wxUSE_BUTTON 1
48145 if test "$wxUSE_BMPBUTTON" = "yes"; then
48146 cat >>confdefs.h <<\_ACEOF
48147 #define wxUSE_BMPBUTTON 1
48153 if test "$wxUSE_CALCTRL" = "yes"; then
48154 cat >>confdefs.h <<\_ACEOF
48155 #define wxUSE_CALENDARCTRL 1
48159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
48162 if test "$wxUSE_CARET" = "yes"; then
48163 cat >>confdefs.h <<\_ACEOF
48164 #define wxUSE_CARET 1
48168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
48171 if test "$wxUSE_COLLPANE" = "yes"; then
48172 cat >>confdefs.h <<\_ACEOF
48173 #define wxUSE_COLLPANE 1
48177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
48180 if test "$wxUSE_COMBOBOX" = "yes"; then
48181 cat >>confdefs.h <<\_ACEOF
48182 #define wxUSE_COMBOBOX 1
48188 if test "$wxUSE_COMBOCTRL" = "yes"; then
48189 cat >>confdefs.h <<\_ACEOF
48190 #define wxUSE_COMBOCTRL 1
48196 if test "$wxUSE_CHOICE" = "yes"; then
48197 cat >>confdefs.h <<\_ACEOF
48198 #define wxUSE_CHOICE 1
48204 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48205 cat >>confdefs.h <<\_ACEOF
48206 #define wxUSE_CHOICEBOOK 1
48212 if test "$wxUSE_CHECKBOX" = "yes"; then
48213 cat >>confdefs.h <<\_ACEOF
48214 #define wxUSE_CHECKBOX 1
48220 if test "$wxUSE_CHECKLST" = "yes"; then
48221 cat >>confdefs.h <<\_ACEOF
48222 #define wxUSE_CHECKLISTBOX 1
48228 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48229 cat >>confdefs.h <<\_ACEOF
48230 #define wxUSE_COLOURPICKERCTRL 1
48236 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48237 cat >>confdefs.h <<\_ACEOF
48238 #define wxUSE_DATEPICKCTRL 1
48244 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48245 cat >>confdefs.h <<\_ACEOF
48246 #define wxUSE_DIRPICKERCTRL 1
48252 if test "$wxUSE_FILECTRL" = "yes"; then
48253 cat >>confdefs.h <<\_ACEOF
48254 #define wxUSE_FILECTRL 1
48260 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48261 cat >>confdefs.h <<\_ACEOF
48262 #define wxUSE_FILEPICKERCTRL 1
48268 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48269 cat >>confdefs.h <<\_ACEOF
48270 #define wxUSE_FONTPICKERCTRL 1
48276 if test "$wxUSE_DISPLAY" = "yes"; then
48277 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48278 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48279 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48282 cat >>confdefs.h <<\_ACEOF
48283 #define wxUSE_DISPLAY 1
48286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
48290 if test "$wxUSE_DETECT_SM" = "yes"; then
48291 cat >>confdefs.h <<\_ACEOF
48292 #define wxUSE_DETECT_SM 1
48297 if test "$wxUSE_GAUGE" = "yes"; then
48298 cat >>confdefs.h <<\_ACEOF
48299 #define wxUSE_GAUGE 1
48305 if test "$wxUSE_GRID" = "yes"; then
48306 cat >>confdefs.h <<\_ACEOF
48307 #define wxUSE_GRID 1
48311 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48314 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48315 cat >>confdefs.h <<\_ACEOF
48316 #define wxUSE_HYPERLINKCTRL 1
48322 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48323 cat >>confdefs.h <<\_ACEOF
48324 #define wxUSE_BITMAPCOMBOBOX 1
48330 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48331 cat >>confdefs.h <<\_ACEOF
48332 #define wxUSE_DATAVIEWCTRL 1
48336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48339 if test "$wxUSE_IMAGLIST" = "yes"; then
48340 cat >>confdefs.h <<\_ACEOF
48341 #define wxUSE_IMAGLIST 1
48346 if test "$wxUSE_LISTBOOK" = "yes"; then
48347 cat >>confdefs.h <<\_ACEOF
48348 #define wxUSE_LISTBOOK 1
48354 if test "$wxUSE_LISTBOX" = "yes"; then
48355 cat >>confdefs.h <<\_ACEOF
48356 #define wxUSE_LISTBOX 1
48362 if test "$wxUSE_LISTCTRL" = "yes"; then
48363 if test "$wxUSE_IMAGLIST" = "yes"; then
48364 cat >>confdefs.h <<\_ACEOF
48365 #define wxUSE_LISTCTRL 1
48369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48371 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48372 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48376 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48377 cat >>confdefs.h <<\_ACEOF
48378 #define wxUSE_EDITABLELISTBOX 1
48382 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48385 if test "$wxUSE_NOTEBOOK" = "yes"; then
48386 cat >>confdefs.h <<\_ACEOF
48387 #define wxUSE_NOTEBOOK 1
48391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48394 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48395 cat >>confdefs.h <<\_ACEOF
48396 #define wxUSE_ODCOMBOBOX 1
48400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48403 if test "$wxUSE_RADIOBOX" = "yes"; then
48404 cat >>confdefs.h <<\_ACEOF
48405 #define wxUSE_RADIOBOX 1
48411 if test "$wxUSE_RADIOBTN" = "yes"; then
48412 cat >>confdefs.h <<\_ACEOF
48413 #define wxUSE_RADIOBTN 1
48419 if test "$wxUSE_SASH" = "yes"; then
48420 cat >>confdefs.h <<\_ACEOF
48421 #define wxUSE_SASH 1
48424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48427 if test "$wxUSE_SCROLLBAR" = "yes"; then
48428 cat >>confdefs.h <<\_ACEOF
48429 #define wxUSE_SCROLLBAR 1
48433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48436 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48437 cat >>confdefs.h <<\_ACEOF
48438 #define wxUSE_SEARCHCTRL 1
48444 if test "$wxUSE_SLIDER" = "yes"; then
48445 cat >>confdefs.h <<\_ACEOF
48446 #define wxUSE_SLIDER 1
48452 if test "$wxUSE_SPINBTN" = "yes"; then
48453 cat >>confdefs.h <<\_ACEOF
48454 #define wxUSE_SPINBTN 1
48460 if test "$wxUSE_SPINCTRL" = "yes"; then
48461 cat >>confdefs.h <<\_ACEOF
48462 #define wxUSE_SPINCTRL 1
48468 if test "$wxUSE_SPLITTER" = "yes"; then
48469 cat >>confdefs.h <<\_ACEOF
48470 #define wxUSE_SPLITTER 1
48473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48476 if test "$wxUSE_STATBMP" = "yes"; then
48477 cat >>confdefs.h <<\_ACEOF
48478 #define wxUSE_STATBMP 1
48484 if test "$wxUSE_STATBOX" = "yes"; then
48485 cat >>confdefs.h <<\_ACEOF
48486 #define wxUSE_STATBOX 1
48492 if test "$wxUSE_STATTEXT" = "yes"; then
48493 cat >>confdefs.h <<\_ACEOF
48494 #define wxUSE_STATTEXT 1
48500 if test "$wxUSE_STATLINE" = "yes"; then
48501 cat >>confdefs.h <<\_ACEOF
48502 #define wxUSE_STATLINE 1
48508 if test "$wxUSE_STATUSBAR" = "yes"; then
48509 cat >>confdefs.h <<\_ACEOF
48510 #define wxUSE_NATIVE_STATUSBAR 1
48513 cat >>confdefs.h <<\_ACEOF
48514 #define wxUSE_STATUSBAR 1
48519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48522 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48523 cat >>confdefs.h <<\_ACEOF
48524 #define wxUSE_TAB_DIALOG 1
48529 if test "$wxUSE_TEXTCTRL" = "yes"; then
48530 cat >>confdefs.h <<\_ACEOF
48531 #define wxUSE_TEXTCTRL 1
48535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48538 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48539 if test "$wxUSE_COCOA" = 1 ; then
48540 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48541 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48545 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48546 cat >>confdefs.h <<\_ACEOF
48547 #define wxUSE_TOGGLEBTN 1
48554 if test "$wxUSE_TOOLBAR" = "yes"; then
48555 cat >>confdefs.h <<\_ACEOF
48556 #define wxUSE_TOOLBAR 1
48561 if test "$wxUSE_UNIVERSAL" = "yes"; then
48562 wxUSE_TOOLBAR_NATIVE="no"
48564 wxUSE_TOOLBAR_NATIVE="yes"
48565 cat >>confdefs.h <<\_ACEOF
48566 #define wxUSE_TOOLBAR_NATIVE 1
48571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48574 if test "$wxUSE_TOOLTIPS" = "yes"; then
48575 if test "$wxUSE_MOTIF" = 1; then
48576 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48577 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48579 if test "$wxUSE_UNIVERSAL" = "yes"; then
48580 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48581 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48583 cat >>confdefs.h <<\_ACEOF
48584 #define wxUSE_TOOLTIPS 1
48591 if test "$wxUSE_TREEBOOK" = "yes"; then
48592 cat >>confdefs.h <<\_ACEOF
48593 #define wxUSE_TREEBOOK 1
48599 if test "$wxUSE_TOOLBOOK" = "yes"; then
48600 cat >>confdefs.h <<\_ACEOF
48601 #define wxUSE_TOOLBOOK 1
48607 if test "$wxUSE_TREECTRL" = "yes"; then
48608 if test "$wxUSE_IMAGLIST" = "yes"; then
48609 cat >>confdefs.h <<\_ACEOF
48610 #define wxUSE_TREECTRL 1
48614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48616 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48617 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48621 if test "$wxUSE_POPUPWIN" = "yes"; then
48622 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48623 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48624 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48626 if test "$wxUSE_PM" = 1; then
48627 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48628 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48630 cat >>confdefs.h <<\_ACEOF
48631 #define wxUSE_POPUPWIN 1
48634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48641 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48642 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48643 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48644 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48646 cat >>confdefs.h <<\_ACEOF
48647 #define wxUSE_DIALUP_MANAGER 1
48650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48654 if test "$wxUSE_TIPWINDOW" = "yes"; then
48655 if test "$wxUSE_PM" = 1; then
48656 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48657 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48659 cat >>confdefs.h <<\_ACEOF
48660 #define wxUSE_TIPWINDOW 1
48666 if test "$USES_CONTROLS" = 1; then
48667 cat >>confdefs.h <<\_ACEOF
48668 #define wxUSE_CONTROLS 1
48674 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48675 cat >>confdefs.h <<\_ACEOF
48676 #define wxUSE_ACCESSIBILITY 1
48679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48682 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48683 cat >>confdefs.h <<\_ACEOF
48684 #define wxUSE_DRAGIMAGE 1
48687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48690 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48691 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48692 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48693 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48695 cat >>confdefs.h <<\_ACEOF
48696 #define wxUSE_EXCEPTIONS 1
48699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48704 if test "$wxUSE_HTML" = "yes"; then
48705 cat >>confdefs.h <<\_ACEOF
48706 #define wxUSE_HTML 1
48710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48711 if test "$wxUSE_MAC" = 1; then
48712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48715 if test "$wxUSE_WEBKIT" = "yes"; then
48716 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48717 old_CPPFLAGS="$CPPFLAGS"
48718 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48719 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48720 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48721 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48722 echo $ECHO_N "(cached) $ECHO_C" >&6
48724 cat >conftest.$ac_ext <<_ACEOF
48727 cat confdefs.h >>conftest.$ac_ext
48728 cat >>conftest.$ac_ext <<_ACEOF
48729 /* end confdefs.h. */
48731 #include <Carbon/Carbon.h>
48732 #include <WebKit/WebKit.h>
48735 #include <WebKit/HIWebView.h>
48737 rm -f conftest.$ac_objext
48738 if { (ac_try="$ac_compile"
48739 case "(($ac_try" in
48740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48741 *) ac_try_echo=$ac_try;;
48743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48744 (eval "$ac_compile") 2>conftest.er1
48746 grep -v '^ *+' conftest.er1 >conftest.err
48748 cat conftest.err >&5
48749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48750 (exit $ac_status); } && {
48751 test -z "$ac_c_werror_flag" ||
48752 test ! -s conftest.err
48753 } && test -s conftest.$ac_objext; then
48754 ac_cv_header_WebKit_HIWebView_h=yes
48756 echo "$as_me: failed program was:" >&5
48757 sed 's/^/| /' conftest.$ac_ext >&5
48759 ac_cv_header_WebKit_HIWebView_h=no
48762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48764 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48765 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48766 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48768 cat >>confdefs.h <<\_ACEOF
48769 #define wxUSE_WEBKIT 1
48772 WEBKIT_LINK="-framework WebKit"
48776 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48777 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48783 CPPFLAGS="$old_CPPFLAGS"
48784 elif test "$wxUSE_COCOA" = 1; then
48785 cat >>confdefs.h <<\_ACEOF
48786 #define wxUSE_WEBKIT 1
48795 if test "$wxUSE_XRC" = "yes"; then
48796 if test "$wxUSE_XML" != "yes"; then
48797 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48798 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48801 cat >>confdefs.h <<\_ACEOF
48802 #define wxUSE_XRC 1
48806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48811 if test "$wxUSE_AUI" = "yes"; then
48812 cat >>confdefs.h <<\_ACEOF
48813 #define wxUSE_AUI 1
48817 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48821 if test "$wxUSE_STC" = "yes"; then
48822 cat >>confdefs.h <<\_ACEOF
48823 #define wxUSE_STC 1
48827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48830 if test "$wxUSE_MENUS" = "yes"; then
48831 cat >>confdefs.h <<\_ACEOF
48832 #define wxUSE_MENUS 1
48835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48838 if test "$wxUSE_METAFILE" = "yes"; then
48839 cat >>confdefs.h <<\_ACEOF
48840 #define wxUSE_METAFILE 1
48845 if test "$wxUSE_MIMETYPE" = "yes"; then
48846 cat >>confdefs.h <<\_ACEOF
48847 #define wxUSE_MIMETYPE 1
48852 if test "$wxUSE_MINIFRAME" = "yes"; then
48853 cat >>confdefs.h <<\_ACEOF
48854 #define wxUSE_MINIFRAME 1
48859 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48860 cat >>confdefs.h <<\_ACEOF
48861 #define wxUSE_SYSTEM_OPTIONS 1
48866 if test "$wxUSE_TASKBARICON" = "yes"; then
48867 cat >>confdefs.h <<\_ACEOF
48868 #define wxUSE_TASKBARICON 1
48871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48875 if test "$wxUSE_VALIDATORS" = "yes"; then
48876 cat >>confdefs.h <<\_ACEOF
48877 #define wxUSE_VALIDATORS 1
48880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48883 if test "$wxUSE_PALETTE" = "yes" ; then
48884 if test "$wxUSE_DFB" = 1; then
48885 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48886 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48889 cat >>confdefs.h <<\_ACEOF
48890 #define wxUSE_PALETTE 1
48896 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48897 LIBS=" -lunicows $LIBS"
48901 if test "$wxUSE_RICHTEXT" = "yes"; then
48902 cat >>confdefs.h <<\_ACEOF
48903 #define wxUSE_RICHTEXT 1
48907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48911 if test "$wxUSE_IMAGE" = "yes" ; then
48912 cat >>confdefs.h <<\_ACEOF
48913 #define wxUSE_IMAGE 1
48917 if test "$wxUSE_GIF" = "yes" ; then
48918 cat >>confdefs.h <<\_ACEOF
48919 #define wxUSE_GIF 1
48924 if test "$wxUSE_PCX" = "yes" ; then
48925 cat >>confdefs.h <<\_ACEOF
48926 #define wxUSE_PCX 1
48931 if test "$wxUSE_TGA" = "yes" ; then
48932 cat >>confdefs.h <<\_ACEOF
48933 #define wxUSE_TGA 1
48938 if test "$wxUSE_IFF" = "yes" ; then
48939 cat >>confdefs.h <<\_ACEOF
48940 #define wxUSE_IFF 1
48945 if test "$wxUSE_PNM" = "yes" ; then
48946 cat >>confdefs.h <<\_ACEOF
48947 #define wxUSE_PNM 1
48952 if test "$wxUSE_XPM" = "yes" ; then
48953 cat >>confdefs.h <<\_ACEOF
48954 #define wxUSE_XPM 1
48959 if test "$wxUSE_ICO_CUR" = "yes" ; then
48960 cat >>confdefs.h <<\_ACEOF
48961 #define wxUSE_ICO_CUR 1
48968 if test "$wxUSE_ABOUTDLG" = "yes"; then
48969 cat >>confdefs.h <<\_ACEOF
48970 #define wxUSE_ABOUTDLG 1
48975 if test "$wxUSE_CHOICEDLG" = "yes"; then
48976 cat >>confdefs.h <<\_ACEOF
48977 #define wxUSE_CHOICEDLG 1
48982 if test "$wxUSE_COLOURDLG" = "yes"; then
48983 cat >>confdefs.h <<\_ACEOF
48984 #define wxUSE_COLOURDLG 1
48989 if test "$wxUSE_FILEDLG" = "yes"; then
48990 cat >>confdefs.h <<\_ACEOF
48991 #define wxUSE_FILEDLG 1
48996 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48997 cat >>confdefs.h <<\_ACEOF
48998 #define wxUSE_FINDREPLDLG 1
49003 if test "$wxUSE_FONTDLG" = "yes"; then
49004 cat >>confdefs.h <<\_ACEOF
49005 #define wxUSE_FONTDLG 1
49010 if test "$wxUSE_DIRDLG" = "yes"; then
49011 if test "$wxUSE_TREECTRL" != "yes"; then
49012 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
49013 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
49015 cat >>confdefs.h <<\_ACEOF
49016 #define wxUSE_DIRDLG 1
49022 if test "$wxUSE_MSGDLG" = "yes"; then
49023 cat >>confdefs.h <<\_ACEOF
49024 #define wxUSE_MSGDLG 1
49029 if test "$wxUSE_NUMBERDLG" = "yes"; then
49030 cat >>confdefs.h <<\_ACEOF
49031 #define wxUSE_NUMBERDLG 1
49036 if test "$wxUSE_PROGRESSDLG" = "yes"; then
49037 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49038 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
49039 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
49041 cat >>confdefs.h <<\_ACEOF
49042 #define wxUSE_PROGRESSDLG 1
49048 if test "$wxUSE_SPLASH" = "yes"; then
49049 cat >>confdefs.h <<\_ACEOF
49050 #define wxUSE_SPLASH 1
49053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
49056 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
49057 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49058 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
49059 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
49061 cat >>confdefs.h <<\_ACEOF
49062 #define wxUSE_STARTUP_TIPS 1
49068 if test "$wxUSE_TEXTDLG" = "yes"; then
49069 cat >>confdefs.h <<\_ACEOF
49070 #define wxUSE_TEXTDLG 1
49075 if test "$wxUSE_WIZARDDLG" = "yes"; then
49076 cat >>confdefs.h <<\_ACEOF
49077 #define wxUSE_WIZARDDLG 1
49080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
49084 if test "$wxUSE_MSW" = 1 ; then
49086 if test "$wxUSE_DC_CACHEING" = "yes"; then
49087 cat >>confdefs.h <<\_ACEOF
49088 #define wxUSE_DC_CACHEING 1
49093 if test "$wxUSE_DIB" = "yes"; then
49094 cat >>confdefs.h <<\_ACEOF
49095 #define wxUSE_WXDIB 1
49100 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
49101 cat >>confdefs.h <<\_ACEOF
49102 #define wxUSE_OWNER_DRAWN 1
49107 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
49108 cat >>confdefs.h <<\_ACEOF
49109 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
49114 if test "$wxUSE_UXTHEME" = "yes"; then
49115 cat >>confdefs.h <<\_ACEOF
49116 #define wxUSE_UXTHEME 1
49124 if test "$USE_WIN32" = 1 ; then
49125 if test "$wxUSE_INICONF" = "yes"; then
49126 cat >>confdefs.h <<\_ACEOF
49127 #define wxUSE_INICONF 1
49132 if test "$wxUSE_REGKEY" = "yes"; then
49133 cat >>confdefs.h <<\_ACEOF
49134 #define wxUSE_REGKEY 1
49141 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49142 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49143 cat >>confdefs.h <<\_ACEOF
49144 #define wxUSE_GRAPHICS_CONTEXT 1
49147 elif test "$wxUSE_GTK" != 1; then
49148 cat >>confdefs.h <<\_ACEOF
49149 #define wxUSE_GRAPHICS_CONTEXT 1
49155 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49156 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49158 if test -n "$PKG_CONFIG"; then
49159 if test -n "$CAIRO_CFLAGS"; then
49160 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49162 if test -n "$PKG_CONFIG" && \
49163 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49164 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49167 (exit $ac_status); }; then
49168 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49176 if test -n "$PKG_CONFIG"; then
49177 if test -n "$CAIRO_LIBS"; then
49178 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49180 if test -n "$PKG_CONFIG" && \
49181 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49182 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49185 (exit $ac_status); }; then
49186 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49197 if test $pkg_failed = yes; then
49199 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49200 _pkg_short_errors_supported=yes
49202 _pkg_short_errors_supported=no
49204 if test $_pkg_short_errors_supported = yes; then
49205 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49207 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49209 # Put the nasty error message in config.log where it belongs
49210 echo "$CAIRO_PKG_ERRORS" >&5
49212 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49213 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49215 elif test $pkg_failed = untried; then
49216 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49217 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49220 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49221 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49222 { echo "$as_me:$LINENO: result: yes" >&5
49223 echo "${ECHO_T}yes" >&6; }
49224 cat >>confdefs.h <<\_ACEOF
49225 #define wxUSE_GRAPHICS_CONTEXT 1
49235 if test "$wxUSE_MEDIACTRL" = "yes"; then
49238 if test "$wxUSE_GTK" = 1; then
49239 wxUSE_GSTREAMER="no"
49241 GST_VERSION_MAJOR=0
49242 GST_VERSION_MINOR=10
49243 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49245 if test "$wxUSE_GSTREAMER8" = "no"; then
49248 { echo "$as_me:$LINENO: checking for GST" >&5
49249 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49251 if test -n "$PKG_CONFIG"; then
49252 if test -n "$GST_CFLAGS"; then
49253 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49255 if test -n "$PKG_CONFIG" && \
49256 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49257 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49260 (exit $ac_status); }; then
49261 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49269 if test -n "$PKG_CONFIG"; then
49270 if test -n "$GST_LIBS"; then
49271 pkg_cv_GST_LIBS="$GST_LIBS"
49273 if test -n "$PKG_CONFIG" && \
49274 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49275 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49278 (exit $ac_status); }; then
49279 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49290 if test $pkg_failed = yes; then
49292 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49293 _pkg_short_errors_supported=yes
49295 _pkg_short_errors_supported=no
49297 if test $_pkg_short_errors_supported = yes; then
49298 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49300 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49302 # Put the nasty error message in config.log where it belongs
49303 echo "$GST_PKG_ERRORS" >&5
49306 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49307 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49308 GST_VERSION_MINOR=8
49311 elif test $pkg_failed = untried; then
49313 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49314 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49315 GST_VERSION_MINOR=8
49319 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49320 GST_LIBS=$pkg_cv_GST_LIBS
49321 { echo "$as_me:$LINENO: result: yes" >&5
49322 echo "${ECHO_T}yes" >&6; }
49324 wxUSE_GSTREAMER="yes"
49325 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49329 GST_VERSION_MINOR=8
49332 if test $GST_VERSION_MINOR = "8"; then
49333 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49336 { echo "$as_me:$LINENO: checking for GST" >&5
49337 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49339 if test -n "$PKG_CONFIG"; then
49340 if test -n "$GST_CFLAGS"; then
49341 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49343 if test -n "$PKG_CONFIG" && \
49344 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49345 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49348 (exit $ac_status); }; then
49349 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49357 if test -n "$PKG_CONFIG"; then
49358 if test -n "$GST_LIBS"; then
49359 pkg_cv_GST_LIBS="$GST_LIBS"
49361 if test -n "$PKG_CONFIG" && \
49362 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49363 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49366 (exit $ac_status); }; then
49367 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49378 if test $pkg_failed = yes; then
49380 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49381 _pkg_short_errors_supported=yes
49383 _pkg_short_errors_supported=no
49385 if test $_pkg_short_errors_supported = yes; then
49386 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49388 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49390 # Put the nasty error message in config.log where it belongs
49391 echo "$GST_PKG_ERRORS" >&5
49394 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49395 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49397 elif test $pkg_failed = untried; then
49399 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49400 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49403 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49404 GST_LIBS=$pkg_cv_GST_LIBS
49405 { echo "$as_me:$LINENO: result: yes" >&5
49406 echo "${ECHO_T}yes" >&6; }
49407 wxUSE_GSTREAMER="yes"
49412 if test "$wxUSE_GSTREAMER" = "yes"; then
49413 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49414 LIBS="$GST_LIBS $LIBS"
49416 cat >>confdefs.h <<\_ACEOF
49417 #define wxUSE_GSTREAMER 1
49425 if test $USE_MEDIA = 1; then
49426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49427 cat >>confdefs.h <<\_ACEOF
49428 #define wxUSE_MEDIACTRL 1
49435 if test "$cross_compiling" = "yes"; then
49438 OSINFO=`uname -s -r -m`
49439 OSINFO="\"$OSINFO\""
49442 cat >>confdefs.h <<_ACEOF
49443 #define WXWIN_OS_DESCRIPTION $OSINFO
49448 if test "x$prefix" != "xNONE"; then
49451 wxPREFIX=$ac_default_prefix
49454 cat >>confdefs.h <<_ACEOF
49455 #define wxINSTALL_PREFIX "$wxPREFIX"
49461 STD_BASE_LIBS="base"
49463 BUILT_WX_LIBS="base"
49464 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49466 if test "$wxUSE_SOCKETS" = "yes" ; then
49467 STD_BASE_LIBS="net $STD_BASE_LIBS"
49468 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49470 if test "$wxUSE_ODBC" != "no" ; then
49471 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49473 if test "$wxUSE_XML" = "yes" ; then
49474 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49475 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49478 if test "$wxUSE_GUI" = "yes"; then
49479 STD_GUI_LIBS="adv core"
49480 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49482 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49483 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49484 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49486 if test "$wxUSE_ODBC" != "no" ; then
49487 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49489 if test "$wxUSE_HTML" = "yes" ; then
49490 STD_GUI_LIBS="html $STD_GUI_LIBS"
49491 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49493 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49494 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49496 if test "$wxUSE_OPENGL" = "yes" ; then
49497 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49499 if test "$wxUSE_AUI" = "yes" ; then
49500 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49502 if test "$wxUSE_STC" = "yes" ; then
49503 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49505 if test "$wxUSE_XRC" = "yes" ; then
49506 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49507 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49518 if test "$wxUSE_MAC" = 1 ; then
49519 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49520 if test "$USE_DARWIN" = 1; then
49521 LDFLAGS="$LDFLAGS -framework QuickTime"
49523 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49526 if test "$USE_DARWIN" = 1; then
49527 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49529 LDFLAGS="$LDFLAGS -lCarbonLib"
49532 if test "$wxUSE_COCOA" = 1 ; then
49533 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49534 if test "$wxUSE_MEDIACTRL" = "yes"; then
49535 LDFLAGS="$LDFLAGS -framework QuickTime"
49538 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49539 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49542 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49544 if test "$wxUSE_GUI" = "yes"; then
49547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49548 erase event exec font image minimal mobile \
49549 mobile/wxedit mobile/styles render \
49550 shaped svg taborder vscroll widgets"
49552 if test "$wxUSE_MONOLITHIC" != "yes"; then
49553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49555 if test "$TOOLKIT" = "MSW"; then
49556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49557 if test "$wxUSE_UNIVERSAL" != "yes"; then
49558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49561 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49565 SAMPLES_SUBDIRS="console"
49569 if test "x$INTELCC" = "xyes" ; then
49570 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49571 elif test "$GCC" = yes ; then
49572 CWARNINGS="-Wall -Wundef"
49575 if test "x$INTELCXX" = "xyes" ; then
49576 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49577 elif test "$GXX" = yes ; then
49578 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49582 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49583 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49586 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49587 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49588 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49591 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49592 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49593 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49595 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49598 if test "x$MWCC" = "xyes"; then
49600 CC="$CC -cwd source -I-"
49601 CXX="$CXX -cwd source -I-"
49606 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49607 EXTRALIBS_XML="$EXPAT_LINK"
49608 EXTRALIBS_HTML="$MSPACK_LINK"
49609 EXTRALIBS_ODBC="$ODBC_LINK"
49610 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49611 if test "$wxUSE_GUI" = "yes"; then
49612 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49614 if test "$wxUSE_OPENGL" = "yes"; then
49615 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49618 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49620 WXCONFIG_LIBS="$LIBS"
49622 if test "$wxUSE_REGEX" = "builtin" ; then
49623 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49625 if test "$wxUSE_EXPAT" = "builtin" ; then
49626 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49628 if test "$wxUSE_ODBC" = "builtin" ; then
49629 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49631 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49632 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49634 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49635 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49637 if test "$wxUSE_LIBPNG" = "builtin" ; then
49638 wxconfig_3rdparty="png $wxconfig_3rdparty"
49640 if test "$wxUSE_ZLIB" = "builtin" ; then
49641 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49644 for i in $wxconfig_3rdparty ; do
49645 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49649 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49652 case "$wxUNIV_THEMES" in
49654 cat >>confdefs.h <<\_ACEOF
49655 #define wxUSE_ALL_THEMES 1
49661 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49662 cat >>confdefs.h <<_ACEOF
49663 #define wxUSE_THEME_$t 1
49680 if test $wxUSE_MONOLITHIC = "yes" ; then
49686 if test $wxUSE_PLUGINS = "yes" ; then
49692 if test $wxUSE_ODBC != "no" ; then
49698 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49704 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49736 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49747 TOOLKIT_DESC="GTK+"
49748 if test "$WXGTK20" = 1; then
49749 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49750 if test "$wxUSE_GTKPRINT" = "yes" ; then
49751 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49753 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49754 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49756 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49757 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49759 if test "$wxUSE_LIBHILDON" = "yes"; then
49760 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49763 if test "$TOOLKIT_EXTRA" != ""; then
49764 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49770 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49774 TOOLKIT_DESC="base only"
49778 if test "$wxUSE_WINE" = "yes"; then
49779 BAKEFILE_FORCE_PLATFORM=win32
49782 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49784 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49785 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49786 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49787 echo $ECHO_N "(cached) $ECHO_C" >&6
49790 echo '#include <stdio.h>
49791 const wchar_t test_var[] = L"awidetest";' > conftest.h
49793 echo '#include "conftest.h"
49796 printf("%ls", test_var);
49800 wx_cv_gcc_pch_bug="pch not supported"
49802 if $CXX conftest.h >/dev/null 2>&1
49806 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49808 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49809 grep awidetest >/dev/null
49811 wx_cv_gcc_pch_bug=no
49813 wx_cv_gcc_pch_bug=yes
49818 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49821 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49822 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49824 if test "$wx_cv_gcc_pch_bug" = yes; then
49832 if test "x$BAKEFILE_HOST" = "x"; then
49833 if test "x${host}" = "x" ; then
49834 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49835 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49836 { (exit 1); exit 1; }; }
49839 BAKEFILE_HOST="${host}"
49842 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49844 if test -n "$ac_tool_prefix"; then
49845 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49846 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49849 if test "${ac_cv_prog_RANLIB+set}" = set; then
49850 echo $ECHO_N "(cached) $ECHO_C" >&6
49852 if test -n "$RANLIB"; then
49853 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49856 for as_dir in $PATH
49859 test -z "$as_dir" && as_dir=.
49860 for ac_exec_ext in '' $ac_executable_extensions; do
49861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49862 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49872 RANLIB=$ac_cv_prog_RANLIB
49873 if test -n "$RANLIB"; then
49874 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49875 echo "${ECHO_T}$RANLIB" >&6; }
49877 { echo "$as_me:$LINENO: result: no" >&5
49878 echo "${ECHO_T}no" >&6; }
49883 if test -z "$ac_cv_prog_RANLIB"; then
49884 ac_ct_RANLIB=$RANLIB
49885 # Extract the first word of "ranlib", so it can be a program name with args.
49886 set dummy ranlib; ac_word=$2
49887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49889 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49890 echo $ECHO_N "(cached) $ECHO_C" >&6
49892 if test -n "$ac_ct_RANLIB"; then
49893 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49896 for as_dir in $PATH
49899 test -z "$as_dir" && as_dir=.
49900 for ac_exec_ext in '' $ac_executable_extensions; do
49901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49902 ac_cv_prog_ac_ct_RANLIB="ranlib"
49903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49912 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49913 if test -n "$ac_ct_RANLIB"; then
49914 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49915 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49917 { echo "$as_me:$LINENO: result: no" >&5
49918 echo "${ECHO_T}no" >&6; }
49921 if test "x$ac_ct_RANLIB" = x; then
49924 case $cross_compiling:$ac_tool_warned in
49926 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49927 whose name does not start with the host triplet. If you think this
49928 configuration is useful to you, please write to autoconf@gnu.org." >&5
49929 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49930 whose name does not start with the host triplet. If you think this
49931 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49932 ac_tool_warned=yes ;;
49934 RANLIB=$ac_ct_RANLIB
49937 RANLIB="$ac_cv_prog_RANLIB"
49940 # Find a good install program. We prefer a C program (faster),
49941 # so one script is as good as another. But avoid the broken or
49942 # incompatible versions:
49943 # SysV /etc/install, /usr/sbin/install
49944 # SunOS /usr/etc/install
49945 # IRIX /sbin/install
49947 # AmigaOS /C/install, which installs bootblocks on floppy discs
49948 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49949 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49950 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49951 # OS/2's system install, which has a completely different semantic
49952 # ./install, which can be erroneously created by make from ./install.sh.
49953 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49954 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49955 if test -z "$INSTALL"; then
49956 if test "${ac_cv_path_install+set}" = set; then
49957 echo $ECHO_N "(cached) $ECHO_C" >&6
49959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49960 for as_dir in $PATH
49963 test -z "$as_dir" && as_dir=.
49964 # Account for people who put trailing slashes in PATH elements.
49966 ./ | .// | /cC/* | \
49967 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49968 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49971 # OSF1 and SCO ODT 3.0 have their own names for install.
49972 # Don't use installbsd from OSF since it installs stuff as root
49974 for ac_prog in ginstall scoinst install; do
49975 for ac_exec_ext in '' $ac_executable_extensions; do
49976 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49977 if test $ac_prog = install &&
49978 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49979 # AIX install. It has an incompatible calling convention.
49981 elif test $ac_prog = install &&
49982 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49983 # program-specific install script used by HP pwplus--don't use.
49986 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49999 if test "${ac_cv_path_install+set}" = set; then
50000 INSTALL=$ac_cv_path_install
50002 # As a last resort, use the slow shell script. Don't cache a
50003 # value for INSTALL within a source directory, because that will
50004 # break other packages using the cache if that directory is
50005 # removed, or if the value is a relative name.
50006 INSTALL=$ac_install_sh
50009 { echo "$as_me:$LINENO: result: $INSTALL" >&5
50010 echo "${ECHO_T}$INSTALL" >&6; }
50012 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
50013 # It thinks the first close brace ends the variable substitution.
50014 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
50016 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
50018 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
50020 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
50021 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
50023 if test "$LN_S" = "ln -s"; then
50024 { echo "$as_me:$LINENO: result: yes" >&5
50025 echo "${ECHO_T}yes" >&6; }
50027 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
50028 echo "${ECHO_T}no, using $LN_S" >&6; }
50032 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50033 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50034 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50035 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50036 echo $ECHO_N "(cached) $ECHO_C" >&6
50038 cat >conftest.make <<\_ACEOF
50041 @echo '@@@%%%=$(MAKE)=@@@%%%'
50043 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50044 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50045 *@@@%%%=?*=@@@%%%*)
50046 eval ac_cv_prog_make_${ac_make}_set=yes;;
50048 eval ac_cv_prog_make_${ac_make}_set=no;;
50050 rm -f conftest.make
50052 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50053 { echo "$as_me:$LINENO: result: yes" >&5
50054 echo "${ECHO_T}yes" >&6; }
50057 { echo "$as_me:$LINENO: result: no" >&5
50058 echo "${ECHO_T}no" >&6; }
50059 SET_MAKE="MAKE=${MAKE-make}"
50064 if test "x$SUNCXX" = "xyes"; then
50066 AROPTIONS="-xar -o"
50068 elif test "x$SGICC" = "xyes"; then
50073 if test -n "$ac_tool_prefix"; then
50074 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50075 set dummy ${ac_tool_prefix}ar; ac_word=$2
50076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50078 if test "${ac_cv_prog_AR+set}" = set; then
50079 echo $ECHO_N "(cached) $ECHO_C" >&6
50081 if test -n "$AR"; then
50082 ac_cv_prog_AR="$AR" # Let the user override the test.
50084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50085 for as_dir in $PATH
50088 test -z "$as_dir" && as_dir=.
50089 for ac_exec_ext in '' $ac_executable_extensions; do
50090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50091 ac_cv_prog_AR="${ac_tool_prefix}ar"
50092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50102 if test -n "$AR"; then
50103 { echo "$as_me:$LINENO: result: $AR" >&5
50104 echo "${ECHO_T}$AR" >&6; }
50106 { echo "$as_me:$LINENO: result: no" >&5
50107 echo "${ECHO_T}no" >&6; }
50112 if test -z "$ac_cv_prog_AR"; then
50114 # Extract the first word of "ar", so it can be a program name with args.
50115 set dummy ar; ac_word=$2
50116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50118 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50119 echo $ECHO_N "(cached) $ECHO_C" >&6
50121 if test -n "$ac_ct_AR"; then
50122 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
50124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50125 for as_dir in $PATH
50128 test -z "$as_dir" && as_dir=.
50129 for ac_exec_ext in '' $ac_executable_extensions; do
50130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50131 ac_cv_prog_ac_ct_AR="ar"
50132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50141 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50142 if test -n "$ac_ct_AR"; then
50143 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50144 echo "${ECHO_T}$ac_ct_AR" >&6; }
50146 { echo "$as_me:$LINENO: result: no" >&5
50147 echo "${ECHO_T}no" >&6; }
50150 if test "x$ac_ct_AR" = x; then
50153 case $cross_compiling:$ac_tool_warned in
50155 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50156 whose name does not start with the host triplet. If you think this
50157 configuration is useful to you, please write to autoconf@gnu.org." >&5
50158 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50159 whose name does not start with the host triplet. If you think this
50160 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50161 ac_tool_warned=yes ;;
50166 AR="$ac_cv_prog_AR"
50173 if test -n "$ac_tool_prefix"; then
50174 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50175 set dummy ${ac_tool_prefix}strip; ac_word=$2
50176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50178 if test "${ac_cv_prog_STRIP+set}" = set; then
50179 echo $ECHO_N "(cached) $ECHO_C" >&6
50181 if test -n "$STRIP"; then
50182 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50185 for as_dir in $PATH
50188 test -z "$as_dir" && as_dir=.
50189 for ac_exec_ext in '' $ac_executable_extensions; do
50190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50191 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50201 STRIP=$ac_cv_prog_STRIP
50202 if test -n "$STRIP"; then
50203 { echo "$as_me:$LINENO: result: $STRIP" >&5
50204 echo "${ECHO_T}$STRIP" >&6; }
50206 { echo "$as_me:$LINENO: result: no" >&5
50207 echo "${ECHO_T}no" >&6; }
50212 if test -z "$ac_cv_prog_STRIP"; then
50214 # Extract the first word of "strip", so it can be a program name with args.
50215 set dummy strip; ac_word=$2
50216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50218 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50219 echo $ECHO_N "(cached) $ECHO_C" >&6
50221 if test -n "$ac_ct_STRIP"; then
50222 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50225 for as_dir in $PATH
50228 test -z "$as_dir" && as_dir=.
50229 for ac_exec_ext in '' $ac_executable_extensions; do
50230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50231 ac_cv_prog_ac_ct_STRIP="strip"
50232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50241 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50242 if test -n "$ac_ct_STRIP"; then
50243 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50244 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50246 { echo "$as_me:$LINENO: result: no" >&5
50247 echo "${ECHO_T}no" >&6; }
50250 if test "x$ac_ct_STRIP" = x; then
50253 case $cross_compiling:$ac_tool_warned in
50255 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50256 whose name does not start with the host triplet. If you think this
50257 configuration is useful to you, please write to autoconf@gnu.org." >&5
50258 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50259 whose name does not start with the host triplet. If you think this
50260 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50261 ac_tool_warned=yes ;;
50266 STRIP="$ac_cv_prog_STRIP"
50269 if test -n "$ac_tool_prefix"; then
50270 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50271 set dummy ${ac_tool_prefix}nm; ac_word=$2
50272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50274 if test "${ac_cv_prog_NM+set}" = set; then
50275 echo $ECHO_N "(cached) $ECHO_C" >&6
50277 if test -n "$NM"; then
50278 ac_cv_prog_NM="$NM" # Let the user override the test.
50280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50281 for as_dir in $PATH
50284 test -z "$as_dir" && as_dir=.
50285 for ac_exec_ext in '' $ac_executable_extensions; do
50286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50287 ac_cv_prog_NM="${ac_tool_prefix}nm"
50288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50298 if test -n "$NM"; then
50299 { echo "$as_me:$LINENO: result: $NM" >&5
50300 echo "${ECHO_T}$NM" >&6; }
50302 { echo "$as_me:$LINENO: result: no" >&5
50303 echo "${ECHO_T}no" >&6; }
50308 if test -z "$ac_cv_prog_NM"; then
50310 # Extract the first word of "nm", so it can be a program name with args.
50311 set dummy nm; ac_word=$2
50312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50314 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50315 echo $ECHO_N "(cached) $ECHO_C" >&6
50317 if test -n "$ac_ct_NM"; then
50318 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50321 for as_dir in $PATH
50324 test -z "$as_dir" && as_dir=.
50325 for ac_exec_ext in '' $ac_executable_extensions; do
50326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50327 ac_cv_prog_ac_ct_NM="nm"
50328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50337 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50338 if test -n "$ac_ct_NM"; then
50339 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50340 echo "${ECHO_T}$ac_ct_NM" >&6; }
50342 { echo "$as_me:$LINENO: result: no" >&5
50343 echo "${ECHO_T}no" >&6; }
50346 if test "x$ac_ct_NM" = x; then
50349 case $cross_compiling:$ac_tool_warned in
50351 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50352 whose name does not start with the host triplet. If you think this
50353 configuration is useful to you, please write to autoconf@gnu.org." >&5
50354 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50355 whose name does not start with the host triplet. If you think this
50356 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50357 ac_tool_warned=yes ;;
50362 NM="$ac_cv_prog_NM"
50366 case ${BAKEFILE_HOST} in
50368 INSTALL_DIR="mkdir -p"
50371 INSTALL_DIR='$(INSTALL) -d'
50377 case ${BAKEFILE_HOST} in
50378 *-*-cygwin* | *-*-mingw32* )
50379 LDFLAGS_GUI="-mwindows"
50385 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50386 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50387 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50388 echo $ECHO_N "(cached) $ECHO_C" >&6
50391 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50392 egrep -s GNU > /dev/null); then
50393 bakefile_cv_prog_makeisgnu="yes"
50395 bakefile_cv_prog_makeisgnu="no"
50399 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50400 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50402 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50419 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50420 case "${BAKEFILE_HOST}" in
50427 *-pc-os2_emx | *-pc-os2-emx )
50437 powerpc-apple-macos* )
50446 case "$BAKEFILE_FORCE_PLATFORM" in
50481 # Check whether --enable-omf was given.
50482 if test "${enable_omf+set}" = set; then
50483 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50487 case "${BAKEFILE_HOST}" in
50489 if test "x$GCC" = "xyes"; then
50490 CFLAGS="$CFLAGS -fno-common"
50491 CXXFLAGS="$CXXFLAGS -fno-common"
50493 if test "x$XLCC" = "xyes"; then
50494 CFLAGS="$CFLAGS -qnocommon"
50495 CXXFLAGS="$CXXFLAGS -qnocommon"
50499 *-pc-os2_emx | *-pc-os2-emx )
50500 if test "x$bk_os2_use_omf" = "xyes" ; then
50503 LDFLAGS="-Zomf $LDFLAGS"
50504 CFLAGS="-Zomf $CFLAGS"
50505 CXXFLAGS="-Zomf $CXXFLAGS"
50513 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50519 SO_SUFFIX_MODULE="so"
50524 DLLPREFIX_MODULE=""
50528 case "${BAKEFILE_HOST}" in
50531 SO_SUFFIX_MODULE="sl"
50535 SO_SUFFIX_MODULE="a"
50539 SO_SUFFIX_MODULE="dll"
50540 DLLIMP_SUFFIX="dll.a"
50547 SO_SUFFIX_MODULE="dll"
50548 DLLIMP_SUFFIX="dll.a"
50558 *-pc-os2_emx | *-pc-os2-emx )
50560 SO_SUFFIX_MODULE="dll"
50561 DLLIMP_SUFFIX=$OS2_LIBEXT
50565 LIBEXT=".$OS2_LIBEXT"
50570 SO_SUFFIX_MODULE="bundle"
50574 if test "x$DLLIMP_SUFFIX" = "x" ; then
50575 DLLIMP_SUFFIX="$SO_SUFFIX"
50590 if test "x$GCC" = "xyes"; then
50594 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50595 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50598 case "${BAKEFILE_HOST}" in
50600 if test "x$GCC" != "xyes"; then
50601 LDFLAGS="$LDFLAGS -L/usr/lib"
50603 SHARED_LD_CC="${CC} -b -o"
50604 SHARED_LD_CXX="${CXX} -b -o"
50610 if test "$INTELCC" = "yes"; then
50612 elif test "x$SUNCXX" = "xyes"; then
50613 SHARED_LD_CC="${CC} -G -o"
50614 SHARED_LD_CXX="${CXX} -G -o"
50620 if test "x$SUNCXX" = xyes ; then
50621 SHARED_LD_CC="${CC} -G -o"
50622 SHARED_LD_CXX="${CXX} -G -o"
50630 cat <<EOF >shared-ld-sh
50632 #-----------------------------------------------------------------------------
50633 #-- Name: distrib/mac/shared-ld-sh
50634 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50635 #-- Author: Gilles Depeyrot
50636 #-- Copyright: (c) 2002 Gilles Depeyrot
50637 #-- Licence: any use permitted
50638 #-----------------------------------------------------------------------------
50643 linking_flag="-dynamiclib"
50644 ldargs="-r -keep_private_externs -nostdlib"
50646 while test ${D}# -gt 0; do
50653 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50654 # collect these options and values
50655 args="${D}{args} ${D}1 ${D}2"
50660 # collect these load args
50661 ldargs="${D}{ldargs} ${D}1"
50664 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50665 # collect these options
50666 args="${D}{args} ${D}1"
50669 -dynamiclib|-bundle)
50670 linking_flag="${D}1"
50674 echo "shared-ld: unhandled option '${D}1'"
50678 *.o | *.a | *.dylib)
50679 # collect object files
50680 objects="${D}{objects} ${D}1"
50684 echo "shared-ld: unhandled argument '${D}1'"
50695 # Link one module containing all the others
50697 if test ${D}{verbose} = 1; then
50698 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50700 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50704 # Link the shared library from the single module created, but only if the
50705 # previous command didn't fail:
50707 if test ${D}{status} = 0; then
50708 if test ${D}{verbose} = 1; then
50709 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50711 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50716 # Remove intermediate module
50718 rm -f master.${D}${D}.o
50723 chmod +x shared-ld-sh
50725 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50726 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50729 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50730 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50731 if test "${bakefile_cv_gcc31+set}" = set; then
50732 echo $ECHO_N "(cached) $ECHO_C" >&6
50735 cat >conftest.$ac_ext <<_ACEOF
50738 cat confdefs.h >>conftest.$ac_ext
50739 cat >>conftest.$ac_ext <<_ACEOF
50740 /* end confdefs.h. */
50746 #if (__GNUC__ < 3) || \
50747 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50755 rm -f conftest.$ac_objext
50756 if { (ac_try="$ac_compile"
50757 case "(($ac_try" in
50758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50759 *) ac_try_echo=$ac_try;;
50761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50762 (eval "$ac_compile") 2>conftest.er1
50764 grep -v '^ *+' conftest.er1 >conftest.err
50766 cat conftest.err >&5
50767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50768 (exit $ac_status); } && {
50769 test -z "$ac_c_werror_flag" ||
50770 test ! -s conftest.err
50771 } && test -s conftest.$ac_objext; then
50773 bakefile_cv_gcc31=yes
50776 echo "$as_me: failed program was:" >&5
50777 sed 's/^/| /' conftest.$ac_ext >&5
50780 bakefile_cv_gcc31=no
50785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50788 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50789 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50790 if test "$bakefile_cv_gcc31" = "no"; then
50791 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50792 SHARED_LD_CXX="$SHARED_LD_CC"
50794 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50795 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50798 if test "x$GCC" == "xyes"; then
50799 PIC_FLAG="-dynamic -fPIC"
50801 if test "x$XLCC" = "xyes"; then
50802 PIC_FLAG="-dynamic -DPIC"
50807 if test "x$GCC" = "xyes"; then
50810 case "${BAKEFILE_HOST}" in
50812 LD_EXPFULL="-Wl,-bexpfull"
50816 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50817 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50819 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50820 set dummy makeC++SharedLib; ac_word=$2
50821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50823 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50824 echo $ECHO_N "(cached) $ECHO_C" >&6
50826 if test -n "$AIX_CXX_LD"; then
50827 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50830 for as_dir in $PATH
50833 test -z "$as_dir" && as_dir=.
50834 for ac_exec_ext in '' $ac_executable_extensions; do
50835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50836 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50844 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50847 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50848 if test -n "$AIX_CXX_LD"; then
50849 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50850 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50852 { echo "$as_me:$LINENO: result: no" >&5
50853 echo "${ECHO_T}no" >&6; }
50857 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50858 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50863 SHARED_LD_CC="${LD} -nostart -o"
50864 SHARED_LD_CXX="${LD} -nostart -o"
50868 if test "x$GCC" != "xyes"; then
50873 *-*-cygwin* | *-*-mingw32* )
50875 SHARED_LD_CC="\$(CC) -shared -o"
50876 SHARED_LD_CXX="\$(CXX) -shared -o"
50880 *-pc-os2_emx | *-pc-os2-emx )
50881 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50882 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50886 cat <<EOF >dllar.sh
50889 # dllar - a tool to build both a .dll and an .a file
50890 # from a set of object (.o) files for EMX/OS2.
50892 # Written by Andrew Zabolotny, bit@freya.etu.ru
50893 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50895 # This script will accept a set of files on the command line.
50896 # All the public symbols from the .o files will be exported into
50897 # a .DEF file, then linker will be run (through gcc) against them to
50898 # build a shared library consisting of all given .o files. All libraries
50899 # (.a) will be first decompressed into component .o files then act as
50900 # described above. You can optionally give a description (-d "description")
50901 # which will be put into .DLL. To see the list of accepted options (as well
50902 # as command-line format) simply run this program without options. The .DLL
50903 # is built to be imported by name (there is no guarantee that new versions
50904 # of the library you build will have same ordinals for same symbols).
50906 # dllar is free software; you can redistribute it and/or modify
50907 # it under the terms of the GNU General Public License as published by
50908 # the Free Software Foundation; either version 2, or (at your option)
50909 # any later version.
50911 # dllar is distributed in the hope that it will be useful,
50912 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50913 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50914 # GNU General Public License for more details.
50916 # You should have received a copy of the GNU General Public License
50917 # along with dllar; see the file COPYING. If not, write to the Free
50918 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50921 # To successfuly run this program you will need:
50922 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50923 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50925 # (used to build the .dll)
50927 # (used to create .def file from .o files)
50929 # (used to create .a file from .def file)
50930 # - GNU text utilites (cat, sort, uniq)
50931 # used to process emxexp output
50932 # - GNU file utilities (mv, rm)
50934 # - lxlite (optional, see flag below)
50935 # (used for general .dll cleanup)
50942 # basnam, variant of basename, which does _not_ remove the path, _iff_
50943 # second argument (suffix to remove) is given
50947 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50950 echo ${D}1 | sed 's/'${D}2'${D}//'
50953 echo "error in basnam ${D}*"
50959 # Cleanup temporary files and output
50962 for i in ${D}inputFiles ; do
50965 rm -rf \`basnam ${D}i !\`
50972 # Kill result in case of failure as there is just to many stupid make/nmake
50973 # things out there which doesn't do this.
50974 if [ ${D}# -eq 0 ]; then
50975 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50979 # Print usage and exit script with rc=1.
50981 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50982 echo ' [-name-mangler-script script.sh]'
50983 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50984 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50985 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50986 echo ' [*.o] [*.a]'
50987 echo '*> "output_file" should have no extension.'
50988 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50989 echo ' The import library name is derived from this and is set to "name".a,'
50990 echo ' unless overridden by -import'
50991 echo '*> "importlib_name" should have no extension.'
50992 echo ' If it has the .o, or .a extension, it is automatically removed.'
50993 echo ' This name is used as the import library name and may be longer and'
50994 echo ' more descriptive than the DLL name which has to follow the old '
50995 echo ' 8.3 convention of FAT.'
50996 echo '*> "script.sh may be given to override the output_file name by a'
50997 echo ' different name. It is mainly useful if the regular make process'
50998 echo ' of some package does not take into account OS/2 restriction of'
50999 echo ' DLL name lengths. It takes the importlib name as input and is'
51000 echo ' supposed to procude a shorter name as output. The script should'
51001 echo ' expect to get importlib_name without extension and should produce'
51002 echo ' a (max.) 8 letter name without extension.'
51003 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
51004 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
51005 echo ' These flags will be put at the start of GCC command line.'
51006 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
51007 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
51008 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
51009 echo ' If the last character of a symbol is "*", all symbols beginning'
51010 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
51011 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
51012 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
51013 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
51014 echo ' C runtime DLLs.'
51015 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
51016 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
51017 echo ' unchanged to GCC at the end of command line.'
51018 echo '*> If you create a DLL from a library and you do not specify -o,'
51019 echo ' the basename for DLL and import library will be set to library name,'
51020 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
51021 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
51022 echo ' library will be renamed into gcc_s.a.'
51025 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
51026 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
51031 # Execute a command.
51032 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
51033 # @Uses Whatever CleanUp() uses.
51039 if [ ${D}rcCmd -ne 0 ]; then
51040 echo "command failed, exit code="${D}rcCmd
51055 CFLAGS="-s -Zcrtdll"
51057 EXPORT_BY_ORDINALS=0
51062 case ${D}curDirS in
51066 curDirS=${D}{curDirS}"/"
51069 # Parse commandline
51072 while [ ${D}1 ]; do
51075 EXPORT_BY_ORDINALS=1;
51085 -name-mangler-script)
51106 exclude_symbols=${D}{exclude_symbols}${D}1" "
51110 library_flags=${D}{library_flags}${D}1" "
51129 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51132 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51133 if [ ${D}omfLinking -eq 1 ]; then
51134 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51136 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51141 if [ ${D}libsToLink -ne 0 ]; then
51142 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51144 for file in ${D}1 ; do
51145 if [ -f ${D}file ]; then
51146 inputFiles="${D}{inputFiles} ${D}file"
51150 if [ ${D}found -eq 0 ]; then
51151 echo "ERROR: No file(s) found: "${D}1
51158 done # iterate cmdline words
51161 if [ -z "${D}inputFiles" ]; then
51162 echo "dllar: no input files"
51166 # Now extract all .o files from .a files
51168 for file in ${D}inputFiles ; do
51179 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51184 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51186 if [ ${D}? -ne 0 ]; then
51187 echo "Failed to create subdirectory ./${D}dirname"
51191 # Append '!' to indicate archive
51192 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51193 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51196 for subfile in ${D}dirname/*.o* ; do
51197 if [ -f ${D}subfile ]; then
51199 if [ -s ${D}subfile ]; then
51200 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51201 newInputFiles="${D}newInputFiles ${D}subfile"
51205 if [ ${D}found -eq 0 ]; then
51206 echo "WARNING: there are no files in archive \\'${D}file\\'"
51210 newInputFiles="${D}{newInputFiles} ${D}file"
51214 inputFiles="${D}newInputFiles"
51216 # Output filename(s).
51218 if [ -z ${D}outFile ]; then
51220 set outFile ${D}inputFiles; outFile=${D}2
51223 # If it is an archive, remove the '!' and the '_%' suffixes
51224 case ${D}outFile in
51226 outFile=\`basnam ${D}outFile _%!\`
51231 case ${D}outFile in
51233 outFile=\`basnam ${D}outFile .dll\`
51236 outFile=\`basnam ${D}outFile .DLL\`
51239 outFile=\`basnam ${D}outFile .o\`
51242 outFile=\`basnam ${D}outFile .obj\`
51245 outFile=\`basnam ${D}outFile .a\`
51248 outFile=\`basnam ${D}outFile .lib\`
51253 case ${D}outimpFile in
51255 outimpFile=\`basnam ${D}outimpFile .a\`
51258 outimpFile=\`basnam ${D}outimpFile .lib\`
51263 if [ -z ${D}outimpFile ]; then
51264 outimpFile=${D}outFile
51266 defFile="${D}{outFile}.def"
51267 arcFile="${D}{outimpFile}.a"
51268 arcFile2="${D}{outimpFile}.lib"
51270 #create ${D}dllFile as something matching 8.3 restrictions,
51271 if [ -z ${D}renameScript ] ; then
51272 dllFile="${D}outFile"
51274 dllFile=\`${D}renameScript ${D}outimpFile\`
51277 if [ ${D}do_backup -ne 0 ] ; then
51278 if [ -f ${D}arcFile ] ; then
51279 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51281 if [ -f ${D}arcFile2 ] ; then
51282 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51286 # Extract public symbols from all the object files.
51287 tmpdefFile=${D}{defFile}_%
51288 rm -f ${D}tmpdefFile
51289 for file in ${D}inputFiles ; do
51294 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51299 # Create the def file.
51301 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51302 dllFile="${D}{dllFile}.dll"
51303 if [ ! -z ${D}description ]; then
51304 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51306 echo "EXPORTS" >> ${D}defFile
51308 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51309 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51311 # Checks if the export is ok or not.
51312 for word in ${D}exclude_symbols; do
51313 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51314 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51318 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51319 sed "=" < ${D}tmpdefFile | \\
51323 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51325 ' > ${D}{tmpdefFile}%
51326 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51328 rm -f ${D}{tmpdefFile}%
51330 cat ${D}tmpdefFile >> ${D}defFile
51331 rm -f ${D}tmpdefFile
51333 # Do linking, create implib, and apply lxlite.
51335 for file in ${D}inputFiles ; do
51340 gccCmdl="${D}gccCmdl ${D}file"
51344 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51345 touch "${D}{outFile}.dll"
51347 doCommand "emximp -o ${D}arcFile ${D}defFile"
51348 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51350 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51353 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51355 doCommand "emxomf -s -l ${D}arcFile"
51365 powerpc-apple-macos* | \
51366 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51376 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51377 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51378 { (exit 1); exit 1; }; }
51381 if test "x$PIC_FLAG" != "x" ; then
51382 PIC_FLAG="$PIC_FLAG -DPIC"
51385 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51386 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51388 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51389 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51408 case "${BAKEFILE_HOST}" in
51409 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51410 if test "x$SUNCXX" = "xyes"; then
51413 SONAME_FLAG="-Wl,-soname,"
51448 # Check whether --enable-dependency-tracking was given.
51449 if test "${enable_dependency_tracking+set}" = set; then
51450 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51454 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51455 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51458 if test "x$bk_use_trackdeps" = "xno" ; then
51460 { echo "$as_me:$LINENO: result: disabled" >&5
51461 echo "${ECHO_T}disabled" >&6; }
51465 if test "x$GCC" = "xyes"; then
51467 case "${BAKEFILE_HOST}" in
51469 DEPSFLAG="-no-cpp-precomp -MMD"
51475 { echo "$as_me:$LINENO: result: gcc" >&5
51476 echo "${ECHO_T}gcc" >&6; }
51477 elif test "x$MWCC" = "xyes"; then
51480 { echo "$as_me:$LINENO: result: mwcc" >&5
51481 echo "${ECHO_T}mwcc" >&6; }
51482 elif test "x$SUNCC" = "xyes"; then
51485 { echo "$as_me:$LINENO: result: Sun cc" >&5
51486 echo "${ECHO_T}Sun cc" >&6; }
51487 elif test "x$SGICC" = "xyes"; then
51490 { echo "$as_me:$LINENO: result: SGI cc" >&5
51491 echo "${ECHO_T}SGI cc" >&6; }
51492 elif test "x$HPCC" = "xyes"; then
51495 { echo "$as_me:$LINENO: result: HP cc" >&5
51496 echo "${ECHO_T}HP cc" >&6; }
51497 elif test "x$COMPAQCC" = "xyes"; then
51500 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51501 echo "${ECHO_T}Compaq cc" >&6; }
51504 { echo "$as_me:$LINENO: result: none" >&5
51505 echo "${ECHO_T}none" >&6; }
51508 if test $DEPS_TRACKING = 1 ; then
51514 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51515 # script. It is used to track C/C++ files dependencies in portable way.
51517 # Permission is given to use this file in any way.
51519 DEPSMODE=${DEPSMODE}
51521 DEPSFLAG="${DEPSFLAG}"
51523 mkdir -p ${D}DEPSDIR
51525 if test ${D}DEPSMODE = gcc ; then
51526 ${D}* ${D}{DEPSFLAG}
51528 if test ${D}{status} != 0 ; then
51531 # move created file to the location we want it in:
51532 while test ${D}# -gt 0; do
51546 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51547 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51548 if test -f ${D}depfile ; then
51549 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51552 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51553 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51554 if test ! -f ${D}depfile ; then
51555 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51556 depfile="${D}objfile.d"
51558 if test -f ${D}depfile ; then
51559 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51564 elif test ${D}DEPSMODE = mwcc ; then
51565 ${D}* || exit ${D}?
51566 # Run mwcc again with -MM and redirect into the dep file we want
51567 # NOTE: We can't use shift here because we need ${D}* to be valid
51569 for arg in ${D}* ; do
51570 if test "${D}prevarg" = "-o"; then
51583 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51585 elif test ${D}DEPSMODE = unixcc; then
51586 ${D}* || exit ${D}?
51587 # Run compiler again with deps flag and redirect into the dep file.
51588 # It doesn't work if the '-o FILE' option is used, but without it the
51589 # dependency file will contain the wrong name for the object. So it is
51590 # removed from the command line, and the dep file is fixed with sed.
51592 while test ${D}# -gt 0; do
51599 eval arg${D}#=\\${D}1
51600 cmd="${D}cmd \\${D}arg${D}#"
51605 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51614 BK_DEPS="`pwd`/bk-deps"
51622 case ${BAKEFILE_HOST} in
51623 *-*-cygwin* | *-*-mingw32* )
51624 if test -n "$ac_tool_prefix"; then
51625 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51626 set dummy ${ac_tool_prefix}windres; ac_word=$2
51627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51629 if test "${ac_cv_prog_WINDRES+set}" = set; then
51630 echo $ECHO_N "(cached) $ECHO_C" >&6
51632 if test -n "$WINDRES"; then
51633 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51636 for as_dir in $PATH
51639 test -z "$as_dir" && as_dir=.
51640 for ac_exec_ext in '' $ac_executable_extensions; do
51641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51642 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51652 WINDRES=$ac_cv_prog_WINDRES
51653 if test -n "$WINDRES"; then
51654 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51655 echo "${ECHO_T}$WINDRES" >&6; }
51657 { echo "$as_me:$LINENO: result: no" >&5
51658 echo "${ECHO_T}no" >&6; }
51663 if test -z "$ac_cv_prog_WINDRES"; then
51664 ac_ct_WINDRES=$WINDRES
51665 # Extract the first word of "windres", so it can be a program name with args.
51666 set dummy windres; ac_word=$2
51667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51669 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51670 echo $ECHO_N "(cached) $ECHO_C" >&6
51672 if test -n "$ac_ct_WINDRES"; then
51673 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51676 for as_dir in $PATH
51679 test -z "$as_dir" && as_dir=.
51680 for ac_exec_ext in '' $ac_executable_extensions; do
51681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51682 ac_cv_prog_ac_ct_WINDRES="windres"
51683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51692 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51693 if test -n "$ac_ct_WINDRES"; then
51694 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51695 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51697 { echo "$as_me:$LINENO: result: no" >&5
51698 echo "${ECHO_T}no" >&6; }
51701 if test "x$ac_ct_WINDRES" = x; then
51704 case $cross_compiling:$ac_tool_warned in
51706 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51707 whose name does not start with the host triplet. If you think this
51708 configuration is useful to you, please write to autoconf@gnu.org." >&5
51709 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51710 whose name does not start with the host triplet. If you think this
51711 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51712 ac_tool_warned=yes ;;
51714 WINDRES=$ac_ct_WINDRES
51717 WINDRES="$ac_cv_prog_WINDRES"
51722 *-*-darwin* | powerpc-apple-macos* )
51723 # Extract the first word of "Rez", so it can be a program name with args.
51724 set dummy Rez; ac_word=$2
51725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51727 if test "${ac_cv_prog_REZ+set}" = set; then
51728 echo $ECHO_N "(cached) $ECHO_C" >&6
51730 if test -n "$REZ"; then
51731 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51734 for as_dir in $PATH
51737 test -z "$as_dir" && as_dir=.
51738 for ac_exec_ext in '' $ac_executable_extensions; do
51739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51740 ac_cv_prog_REZ="Rez"
51741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51748 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51751 REZ=$ac_cv_prog_REZ
51752 if test -n "$REZ"; then
51753 { echo "$as_me:$LINENO: result: $REZ" >&5
51754 echo "${ECHO_T}$REZ" >&6; }
51756 { echo "$as_me:$LINENO: result: no" >&5
51757 echo "${ECHO_T}no" >&6; }
51761 # Extract the first word of "SetFile", so it can be a program name with args.
51762 set dummy SetFile; ac_word=$2
51763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51765 if test "${ac_cv_prog_SETFILE+set}" = set; then
51766 echo $ECHO_N "(cached) $ECHO_C" >&6
51768 if test -n "$SETFILE"; then
51769 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51772 for as_dir in $PATH
51775 test -z "$as_dir" && as_dir=.
51776 for ac_exec_ext in '' $ac_executable_extensions; do
51777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51778 ac_cv_prog_SETFILE="SetFile"
51779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51786 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51789 SETFILE=$ac_cv_prog_SETFILE
51790 if test -n "$SETFILE"; then
51791 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51792 echo "${ECHO_T}$SETFILE" >&6; }
51794 { echo "$as_me:$LINENO: result: no" >&5
51795 echo "${ECHO_T}no" >&6; }
51807 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51810 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51814 # Check whether --enable-precomp-headers was given.
51815 if test "${enable_precomp_headers+set}" = set; then
51816 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51825 case ${BAKEFILE_HOST} in
51831 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51832 if test "x$GCC" = "xyes"; then
51833 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51834 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51835 cat >conftest.$ac_ext <<_ACEOF
51838 cat confdefs.h >>conftest.$ac_ext
51839 cat >>conftest.$ac_ext <<_ACEOF
51840 /* end confdefs.h. */
51846 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51847 There is no PCH support
51850 There is no PCH support
51852 #if (__GNUC__ == 3) && \
51853 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51854 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51855 ( defined(__INTEL_COMPILER) )
51856 There is no PCH support
51863 rm -f conftest.$ac_objext
51864 if { (ac_try="$ac_compile"
51865 case "(($ac_try" in
51866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51867 *) ac_try_echo=$ac_try;;
51869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51870 (eval "$ac_compile") 2>conftest.er1
51872 grep -v '^ *+' conftest.er1 >conftest.err
51874 cat conftest.err >&5
51875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51876 (exit $ac_status); } && {
51877 test -z "$ac_c_werror_flag" ||
51878 test ! -s conftest.err
51879 } && test -s conftest.$ac_objext; then
51881 { echo "$as_me:$LINENO: result: yes" >&5
51882 echo "${ECHO_T}yes" >&6; }
51886 echo "$as_me: failed program was:" >&5
51887 sed 's/^/| /' conftest.$ac_ext >&5
51890 cat >conftest.$ac_ext <<_ACEOF
51893 cat confdefs.h >>conftest.$ac_ext
51894 cat >>conftest.$ac_ext <<_ACEOF
51895 /* end confdefs.h. */
51901 #if !defined(__INTEL_COMPILER) || \
51902 (__INTEL_COMPILER < 800)
51903 There is no PCH support
51910 rm -f conftest.$ac_objext
51911 if { (ac_try="$ac_compile"
51912 case "(($ac_try" in
51913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51914 *) ac_try_echo=$ac_try;;
51916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51917 (eval "$ac_compile") 2>conftest.er1
51919 grep -v '^ *+' conftest.er1 >conftest.err
51921 cat conftest.err >&5
51922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51923 (exit $ac_status); } && {
51924 test -z "$ac_c_werror_flag" ||
51925 test ! -s conftest.err
51926 } && test -s conftest.$ac_objext; then
51928 { echo "$as_me:$LINENO: result: yes" >&5
51929 echo "${ECHO_T}yes" >&6; }
51933 echo "$as_me: failed program was:" >&5
51934 sed 's/^/| /' conftest.$ac_ext >&5
51937 { echo "$as_me:$LINENO: result: no" >&5
51938 echo "${ECHO_T}no" >&6; }
51942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51947 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51951 cat <<EOF >bk-make-pch
51954 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51955 # script. It is used to generated precompiled headers.
51957 # Permission is given to use this file in any way.
51967 while test ${D}{#} -gt 0; do
51971 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51972 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51973 headerfile="${D}{incdir}/${D}{header}"
51976 -use-pch|-use_pch )
51981 if test ${D}add_to_cmdline = 1 ; then
51982 compiler="${D}{compiler} ${D}{1}"
51987 if test "x${D}{headerfile}" = "x" ; then
51988 echo "error: can't find header ${D}{header} in include paths" >&2
51990 if test -f ${D}{outfile} ; then
51991 rm -f ${D}{outfile}
51993 mkdir -p \`dirname ${D}{outfile}\`
51995 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51997 if test "x${GCC_PCH}" = "x1" ; then
51998 # can do this because gcc is >= 3.4:
51999 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
52000 elif test "x${ICC_PCH}" = "x1" ; then
52001 filename=pch_gen-${D}${D}
52002 file=${D}{filename}.c
52003 dfile=${D}{filename}.d
52004 cat > ${D}file <<EOT
52005 #include "${D}header"
52007 # using -MF icc complains about differing command lines in creation/use
52008 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
52009 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
52010 rm -f ${D}file ${D}dfile ${D}{filename}.o
52016 chmod +x bk-make-pch
52017 BK_MAKE_PCH="`pwd`/bk-make-pch"
52026 COND_BUILD_DEBUG="#"
52027 if test "x$BUILD" = "xdebug" ; then
52028 COND_BUILD_DEBUG=""
52031 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
52032 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52033 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
52036 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
52037 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52038 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
52041 COND_BUILD_DEBUG_UNICODE_0="#"
52042 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52043 COND_BUILD_DEBUG_UNICODE_0=""
52046 COND_BUILD_DEBUG_UNICODE_1="#"
52047 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52048 COND_BUILD_DEBUG_UNICODE_1=""
52051 COND_BUILD_RELEASE="#"
52052 if test "x$BUILD" = "xrelease" ; then
52053 COND_BUILD_RELEASE=""
52056 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
52057 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52058 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
52061 COND_BUILD_RELEASE_UNICODE_0="#"
52062 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52063 COND_BUILD_RELEASE_UNICODE_0=""
52066 COND_BUILD_RELEASE_UNICODE_1="#"
52067 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52068 COND_BUILD_RELEASE_UNICODE_1=""
52071 COND_DEBUG_FLAG_1="#"
52072 if test "x$DEBUG_FLAG" = "x1" ; then
52073 COND_DEBUG_FLAG_1=""
52076 COND_DEBUG_INFO_0="#"
52077 if test "x$DEBUG_INFO" = "x0" ; then
52078 COND_DEBUG_INFO_0=""
52081 COND_DEBUG_INFO_1="#"
52082 if test "x$DEBUG_INFO" = "x1" ; then
52083 COND_DEBUG_INFO_1=""
52086 COND_DEPS_TRACKING_0="#"
52087 if test "x$DEPS_TRACKING" = "x0" ; then
52088 COND_DEPS_TRACKING_0=""
52091 COND_DEPS_TRACKING_1="#"
52092 if test "x$DEPS_TRACKING" = "x1" ; then
52093 COND_DEPS_TRACKING_1=""
52097 if test "x$GCC_PCH" = "x1" ; then
52102 if test "x$ICC_PCH" = "x1" ; then
52106 COND_MONOLITHIC_0="#"
52107 if test "x$MONOLITHIC" = "x0" ; then
52108 COND_MONOLITHIC_0=""
52111 COND_MONOLITHIC_0_SHARED_0="#"
52112 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52113 COND_MONOLITHIC_0_SHARED_0=""
52116 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
52117 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52118 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
52121 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
52122 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52123 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
52126 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
52127 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52128 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
52131 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
52132 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52133 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52136 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
52137 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52138 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
52141 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52142 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52143 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52146 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
52147 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52148 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
52151 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52152 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52153 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52156 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52157 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52158 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52161 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52162 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52163 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52166 COND_MONOLITHIC_0_SHARED_1="#"
52167 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52168 COND_MONOLITHIC_0_SHARED_1=""
52171 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52172 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52173 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52176 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52177 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52178 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52181 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52182 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52183 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52186 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52187 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52188 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52191 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
52192 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52193 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
52196 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52197 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52198 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52201 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
52202 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52203 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
52206 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52207 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52208 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52211 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52212 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52213 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52216 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52217 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52218 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52221 COND_MONOLITHIC_0_USE_AUI_1="#"
52222 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52223 COND_MONOLITHIC_0_USE_AUI_1=""
52226 COND_MONOLITHIC_0_USE_GUI_1="#"
52227 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52228 COND_MONOLITHIC_0_USE_GUI_1=""
52231 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52232 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52233 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52236 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
52237 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52238 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
52241 COND_MONOLITHIC_0_USE_HTML_1="#"
52242 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52243 COND_MONOLITHIC_0_USE_HTML_1=""
52246 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52247 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52248 COND_MONOLITHIC_0_USE_MEDIA_1=""
52251 COND_MONOLITHIC_0_USE_ODBC_1="#"
52252 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52253 COND_MONOLITHIC_0_USE_ODBC_1=""
52256 COND_MONOLITHIC_0_USE_QA_1="#"
52257 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52258 COND_MONOLITHIC_0_USE_QA_1=""
52261 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52262 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52263 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52266 COND_MONOLITHIC_0_USE_STC_1="#"
52267 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52268 COND_MONOLITHIC_0_USE_STC_1=""
52271 COND_MONOLITHIC_0_USE_XRC_1="#"
52272 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52273 COND_MONOLITHIC_0_USE_XRC_1=""
52276 COND_MONOLITHIC_1="#"
52277 if test "x$MONOLITHIC" = "x1" ; then
52278 COND_MONOLITHIC_1=""
52281 COND_MONOLITHIC_1_SHARED_0="#"
52282 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52283 COND_MONOLITHIC_1_SHARED_0=""
52286 COND_MONOLITHIC_1_SHARED_1="#"
52287 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52288 COND_MONOLITHIC_1_SHARED_1=""
52291 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52292 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52293 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52296 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52297 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52298 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52301 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52302 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52303 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52306 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52307 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52308 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52311 COND_PLATFORM_MACOSX_1="#"
52312 if test "x$PLATFORM_MACOSX" = "x1" ; then
52313 COND_PLATFORM_MACOSX_1=""
52316 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52317 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52318 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52321 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52322 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52323 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52326 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52327 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52328 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52331 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52332 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52333 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52336 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52337 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52338 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52341 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52342 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52343 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52346 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52347 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52348 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52351 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52352 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52353 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52356 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52357 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52358 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52361 COND_PLATFORM_MACOS_1="#"
52362 if test "x$PLATFORM_MACOS" = "x1" ; then
52363 COND_PLATFORM_MACOS_1=""
52366 COND_PLATFORM_MAC_1="#"
52367 if test "x$PLATFORM_MAC" = "x1" ; then
52368 COND_PLATFORM_MAC_1=""
52371 COND_PLATFORM_MSDOS_0="#"
52372 if test "x$PLATFORM_MSDOS" = "x0" ; then
52373 COND_PLATFORM_MSDOS_0=""
52376 COND_PLATFORM_MSDOS_1="#"
52377 if test "x$PLATFORM_MSDOS" = "x1" ; then
52378 COND_PLATFORM_MSDOS_1=""
52381 COND_PLATFORM_OS2_1="#"
52382 if test "x$PLATFORM_OS2" = "x1" ; then
52383 COND_PLATFORM_OS2_1=""
52386 COND_PLATFORM_UNIX_0="#"
52387 if test "x$PLATFORM_UNIX" = "x0" ; then
52388 COND_PLATFORM_UNIX_0=""
52391 COND_PLATFORM_UNIX_1="#"
52392 if test "x$PLATFORM_UNIX" = "x1" ; then
52393 COND_PLATFORM_UNIX_1=""
52396 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52397 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52398 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52401 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52402 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52403 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52406 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52407 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52408 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52411 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52412 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52413 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52416 COND_PLATFORM_WIN32_0="#"
52417 if test "x$PLATFORM_WIN32" = "x0" ; then
52418 COND_PLATFORM_WIN32_0=""
52421 COND_PLATFORM_WIN32_1="#"
52422 if test "x$PLATFORM_WIN32" = "x1" ; then
52423 COND_PLATFORM_WIN32_1=""
52427 if test "x$SHARED" = "x0" ; then
52431 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52432 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52433 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52436 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52437 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52438 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52441 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52442 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52443 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52446 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52447 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52448 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52451 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52452 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52453 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52456 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52457 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52458 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52461 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52462 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52463 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52466 COND_SHARED_0_USE_STC_1="#"
52467 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52468 COND_SHARED_0_USE_STC_1=""
52471 COND_SHARED_0_USE_XRC_1="#"
52472 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52473 COND_SHARED_0_USE_XRC_1=""
52476 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52477 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52478 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52481 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52482 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52483 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52486 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52487 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52488 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52491 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52492 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52493 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52497 if test "x$SHARED" = "x1" ; then
52501 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52502 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52503 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52506 COND_SHARED_1_USE_XRC_1="#"
52507 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52508 COND_SHARED_1_USE_XRC_1=""
52512 if test "x$TOOLKIT" = "x" ; then
52516 COND_TOOLKIT_COCOA="#"
52517 if test "x$TOOLKIT" = "xCOCOA" ; then
52518 COND_TOOLKIT_COCOA=""
52521 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52522 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52523 COND_TOOLKIT_COCOA_USE_GUI_1=""
52526 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52527 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52528 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52531 COND_TOOLKIT_DFB="#"
52532 if test "x$TOOLKIT" = "xDFB" ; then
52533 COND_TOOLKIT_DFB=""
52536 COND_TOOLKIT_DFB_USE_GUI_1="#"
52537 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52538 COND_TOOLKIT_DFB_USE_GUI_1=""
52541 COND_TOOLKIT_GTK="#"
52542 if test "x$TOOLKIT" = "xGTK" ; then
52543 COND_TOOLKIT_GTK=""
52546 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52547 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52548 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52551 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52552 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52553 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52556 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52557 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52558 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52561 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52562 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52563 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52566 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52567 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52568 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52571 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52572 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52573 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52576 COND_TOOLKIT_GTK_USE_GUI_1="#"
52577 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52578 COND_TOOLKIT_GTK_USE_GUI_1=""
52581 COND_TOOLKIT_MAC="#"
52582 if test "x$TOOLKIT" = "xMAC" ; then
52583 COND_TOOLKIT_MAC=""
52586 COND_TOOLKIT_MAC_USE_GUI_1="#"
52587 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52588 COND_TOOLKIT_MAC_USE_GUI_1=""
52591 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52592 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52593 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52596 COND_TOOLKIT_MGL="#"
52597 if test "x$TOOLKIT" = "xMGL" ; then
52598 COND_TOOLKIT_MGL=""
52601 COND_TOOLKIT_MGL_USE_GUI_1="#"
52602 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52603 COND_TOOLKIT_MGL_USE_GUI_1=""
52606 COND_TOOLKIT_MOTIF="#"
52607 if test "x$TOOLKIT" = "xMOTIF" ; then
52608 COND_TOOLKIT_MOTIF=""
52611 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52612 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52613 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52616 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52617 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52618 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52621 COND_TOOLKIT_MSW="#"
52622 if test "x$TOOLKIT" = "xMSW" ; then
52623 COND_TOOLKIT_MSW=""
52626 COND_TOOLKIT_MSW_USE_GUI_1="#"
52627 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52628 COND_TOOLKIT_MSW_USE_GUI_1=""
52631 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52632 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52633 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52636 COND_TOOLKIT_MSW_WXUNIV_0="#"
52637 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52638 COND_TOOLKIT_MSW_WXUNIV_0=""
52641 COND_TOOLKIT_PM="#"
52642 if test "x$TOOLKIT" = "xPM" ; then
52646 COND_TOOLKIT_PM_USE_GUI_1="#"
52647 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52648 COND_TOOLKIT_PM_USE_GUI_1=""
52651 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52652 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52653 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52656 COND_TOOLKIT_WINCE="#"
52657 if test "x$TOOLKIT" = "xWINCE" ; then
52658 COND_TOOLKIT_WINCE=""
52661 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52662 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52663 COND_TOOLKIT_WINCE_USE_GUI_1=""
52666 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52667 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52668 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52671 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52672 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52673 COND_TOOLKIT_WINCE_WXUNIV_0=""
52676 COND_TOOLKIT_X11="#"
52677 if test "x$TOOLKIT" = "xX11" ; then
52678 COND_TOOLKIT_X11=""
52681 COND_TOOLKIT_X11_USE_GUI_1="#"
52682 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52683 COND_TOOLKIT_X11_USE_GUI_1=""
52687 if test "x$UNICODE" = "x1" ; then
52691 COND_USE_EXCEPTIONS_0="#"
52692 if test "x$USE_EXCEPTIONS" = "x0" ; then
52693 COND_USE_EXCEPTIONS_0=""
52696 COND_USE_EXCEPTIONS_1="#"
52697 if test "x$USE_EXCEPTIONS" = "x1" ; then
52698 COND_USE_EXCEPTIONS_1=""
52702 if test "x$USE_GUI" = "x0" ; then
52707 if test "x$USE_GUI" = "x1" ; then
52711 COND_USE_GUI_1_USE_OPENGL_1="#"
52712 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52713 COND_USE_GUI_1_USE_OPENGL_1=""
52716 COND_USE_GUI_1_WXUNIV_0="#"
52717 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52718 COND_USE_GUI_1_WXUNIV_0=""
52721 COND_USE_GUI_1_WXUNIV_1="#"
52722 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52723 COND_USE_GUI_1_WXUNIV_1=""
52726 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52727 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52728 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52731 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52732 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52733 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52736 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52737 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52738 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52741 COND_USE_ODBC_1="#"
52742 if test "x$USE_ODBC" = "x1" ; then
52746 COND_USE_OPENGL_1="#"
52747 if test "x$USE_OPENGL" = "x1" ; then
52748 COND_USE_OPENGL_1=""
52752 if test "x$USE_PCH" = "x1" ; then
52756 COND_USE_PLUGINS_0="#"
52757 if test "x$USE_PLUGINS" = "x0" ; then
52758 COND_USE_PLUGINS_0=""
52761 COND_USE_RTTI_0="#"
52762 if test "x$USE_RTTI" = "x0" ; then
52766 COND_USE_RTTI_1="#"
52767 if test "x$USE_RTTI" = "x1" ; then
52771 COND_USE_SOSYMLINKS_1="#"
52772 if test "x$USE_SOSYMLINKS" = "x1" ; then
52773 COND_USE_SOSYMLINKS_1=""
52776 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52777 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52778 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52781 COND_USE_SOVERLINUX_1="#"
52782 if test "x$USE_SOVERLINUX" = "x1" ; then
52783 COND_USE_SOVERLINUX_1=""
52786 COND_USE_SOVERSION_0="#"
52787 if test "x$USE_SOVERSION" = "x0" ; then
52788 COND_USE_SOVERSION_0=""
52791 COND_USE_SOVERSOLARIS_1="#"
52792 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52793 COND_USE_SOVERSOLARIS_1=""
52797 if test "x$USE_STC" = "x1" ; then
52801 COND_USE_THREADS_0="#"
52802 if test "x$USE_THREADS" = "x0" ; then
52803 COND_USE_THREADS_0=""
52806 COND_USE_THREADS_1="#"
52807 if test "x$USE_THREADS" = "x1" ; then
52808 COND_USE_THREADS_1=""
52812 if test "x$USE_XRC" = "x1" ; then
52816 COND_WINDOWS_IMPLIB_1="#"
52817 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52818 COND_WINDOWS_IMPLIB_1=""
52821 COND_WITH_PLUGIN_SDL_1="#"
52822 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52823 COND_WITH_PLUGIN_SDL_1=""
52827 if test "x$WXUNIV" = "x0" ; then
52832 if test "x$WXUNIV" = "x1" ; then
52836 COND_WXUSE_EXPAT_BUILTIN="#"
52837 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52838 COND_WXUSE_EXPAT_BUILTIN=""
52841 COND_WXUSE_LIBJPEG_BUILTIN="#"
52842 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52843 COND_WXUSE_LIBJPEG_BUILTIN=""
52846 COND_WXUSE_LIBPNG_BUILTIN="#"
52847 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52848 COND_WXUSE_LIBPNG_BUILTIN=""
52851 COND_WXUSE_LIBTIFF_BUILTIN="#"
52852 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52853 COND_WXUSE_LIBTIFF_BUILTIN=""
52856 COND_WXUSE_ODBC_BUILTIN="#"
52857 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52858 COND_WXUSE_ODBC_BUILTIN=""
52861 COND_WXUSE_REGEX_BUILTIN="#"
52862 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52863 COND_WXUSE_REGEX_BUILTIN=""
52866 COND_WXUSE_ZLIB_BUILTIN="#"
52867 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52868 COND_WXUSE_ZLIB_BUILTIN=""
52873 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52874 { { 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
52875 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;}
52876 { (exit 1); exit 1; }; }
52879 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52880 { { 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
52881 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;}
52882 { (exit 1); exit 1; }; }
52889 ?:* ) # Drive letter, considered as absolute.
52892 INSTALL=`pwd`/${INSTALL} ;;
52895 if test "$wxUSE_GUI" = "yes"; then
52897 if test "$wxUSE_MSW" = 1 ; then
52898 if test "x$WINDRES" = "x"; then
52899 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52900 echo "$as_me: error: Required windres program not found" >&2;}
52901 { (exit 1); exit 1; }; }
52907 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52908 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52909 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52911 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52913 # Extract the first word of "DeRez", so it can be a program name with args.
52914 set dummy DeRez; ac_word=$2
52915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52917 if test "${ac_cv_prog_DEREZ+set}" = set; then
52918 echo $ECHO_N "(cached) $ECHO_C" >&6
52920 if test -n "$DEREZ"; then
52921 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52924 for as_dir in $PATH
52927 test -z "$as_dir" && as_dir=.
52928 for ac_exec_ext in '' $ac_executable_extensions; do
52929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52930 ac_cv_prog_DEREZ="DeRez"
52931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52938 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52941 DEREZ=$ac_cv_prog_DEREZ
52942 if test -n "$DEREZ"; then
52943 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52944 echo "${ECHO_T}$DEREZ" >&6; }
52946 { echo "$as_me:$LINENO: result: no" >&5
52947 echo "${ECHO_T}no" >&6; }
52952 MACSETFILE="\$(SETFILE)"
52954 if test "$wxUSE_MAC" = 1; then
52955 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52957 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52959 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52960 RESCOMP="cat /dev/null \| $REZ"
52961 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52967 if test "$wxUSE_PM" = 1; then
52969 WXCONFIG_RESFLAGS="-ep"
52971 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52973 POSTLINK_COMMAND="@true"
52980 if test $GCC_PCH = 1
52982 if test "$wx_cv_gcc_pch_bug" = yes; then
52983 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52984 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52985 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52986 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52987 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52988 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52991 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52995 if test "$wxUSE_MAC" = 1 ; then
52996 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52997 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
53003 if test "$wxUSE_SHARED" = "yes"; then
53005 *-pc-os2_emx | *-pc-os2-emx )
53006 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53007 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53008 cp -p ${srcdir}/src/os2/dllnames.sh .
53009 cp -p ${srcdir}/src/os2/dllar.sh .
53013 if test "$wxUSE_OMF" = "yes"; then
53015 *-pc-os2_emx | *-pc-os2-emx )
53016 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
53017 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53018 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53023 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
53028 if "$GCC" = yes; then
53029 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
53030 LIBS=`echo $LIBS | sed 's/-mt//'`
53031 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
53036 if test "x$SUNCXX" = xyes; then
53037 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
53038 LIBS=`echo $LIBS | sed 's/-pthread//'`
53039 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
53044 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
53045 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
53047 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
53108 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
53109 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
53110 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
53111 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
53112 echo $ECHO_N "(cached) $ECHO_C" >&6
53114 cat >conftest.make <<\_ACEOF
53117 @echo '@@@%%%=$(MAKE)=@@@%%%'
53119 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53120 case `${MAKE-make} -f conftest.make 2>/dev/null` in
53121 *@@@%%%=?*=@@@%%%*)
53122 eval ac_cv_prog_make_${ac_make}_set=yes;;
53124 eval ac_cv_prog_make_${ac_make}_set=no;;
53126 rm -f conftest.make
53128 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53129 { echo "$as_me:$LINENO: result: yes" >&5
53130 echo "${ECHO_T}yes" >&6; }
53133 { echo "$as_me:$LINENO: result: no" >&5
53134 echo "${ECHO_T}no" >&6; }
53135 SET_MAKE="MAKE=${MAKE-make}"
53140 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53143 if test "$USE_WIN32" = 1; then
53144 ac_config_commands="$ac_config_commands
53150 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53153 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53156 if test "$wx_cv_version_script" = "yes"; then
53157 ac_config_files="$ac_config_files version-script"
53160 ac_config_files="$ac_config_files Makefile"
53163 ac_config_commands="$ac_config_commands wx-config"
53167 if test "$wxWITH_SUBDIRS" != "no"; then
53168 if test "$wxUSE_GUI" = "yes"; then
53169 SUBDIRS="samples demos utils"
53170 else SUBDIRS="samples utils"
53175 # Check whether --with-cppunit-prefix was given.
53176 if test "${with_cppunit_prefix+set}" = set; then
53177 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53179 cppunit_config_prefix=""
53183 # Check whether --with-cppunit-exec-prefix was given.
53184 if test "${with_cppunit_exec_prefix+set}" = set; then
53185 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53187 cppunit_config_exec_prefix=""
53191 if test x$cppunit_config_exec_prefix != x ; then
53192 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53193 if test x${CPPUNIT_CONFIG+set} != xset ; then
53194 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53197 if test x$cppunit_config_prefix != x ; then
53198 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53199 if test x${CPPUNIT_CONFIG+set} != xset ; then
53200 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53204 # Extract the first word of "cppunit-config", so it can be a program name with args.
53205 set dummy cppunit-config; ac_word=$2
53206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53208 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53209 echo $ECHO_N "(cached) $ECHO_C" >&6
53211 case $CPPUNIT_CONFIG in
53213 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53217 for as_dir in $PATH
53220 test -z "$as_dir" && as_dir=.
53221 for ac_exec_ext in '' $ac_executable_extensions; do
53222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53223 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53231 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53235 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53236 if test -n "$CPPUNIT_CONFIG"; then
53237 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53238 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53240 { echo "$as_me:$LINENO: result: no" >&5
53241 echo "${ECHO_T}no" >&6; }
53245 cppunit_version_min=1.8.0
53247 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53248 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53250 if test "$CPPUNIT_CONFIG" = "no" ; then
53251 { echo "$as_me:$LINENO: result: no" >&5
53252 echo "${ECHO_T}no" >&6; }
53255 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53256 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53257 cppunit_version=`$CPPUNIT_CONFIG --version`
53259 cppunit_major_version=`echo $cppunit_version | \
53260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53261 cppunit_minor_version=`echo $cppunit_version | \
53262 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53263 cppunit_micro_version=`echo $cppunit_version | \
53264 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53266 cppunit_major_min=`echo $cppunit_version_min | \
53267 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53268 cppunit_minor_min=`echo $cppunit_version_min | \
53269 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53270 cppunit_micro_min=`echo $cppunit_version_min | \
53271 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53273 cppunit_version_proper=`expr \
53274 $cppunit_major_version \> $cppunit_major_min \| \
53275 $cppunit_major_version \= $cppunit_major_min \& \
53276 $cppunit_minor_version \> $cppunit_minor_min \| \
53277 $cppunit_major_version \= $cppunit_major_min \& \
53278 $cppunit_minor_version \= $cppunit_minor_min \& \
53279 $cppunit_micro_version \>= $cppunit_micro_min `
53281 if test "$cppunit_version_proper" = "1" ; then
53282 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53283 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53285 { echo "$as_me:$LINENO: result: no" >&5
53286 echo "${ECHO_T}no" >&6; }
53291 if test "x$no_cppunit" = x ; then
53292 SUBDIRS="$SUBDIRS tests"
53303 for subdir in `echo $SUBDIRS`; do
53304 if test -d ${srcdir}/${subdir} ; then
53305 if test "$wxUSE_GUI" = "yes"; then
53306 if test ${subdir} = "samples"; then
53307 makefiles="samples/Makefile.in $makefiles"
53308 for sample in `echo $SAMPLES_SUBDIRS`; do
53309 if test -d $srcdir/samples/$sample; then
53310 makefiles="samples/$sample/Makefile.in $makefiles"
53314 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
53315 eval "disabled=\$$disabled_var"
53316 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53317 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53319 else if test ${subdir} = "samples"; then
53320 makefiles="samples/Makefile.in samples/console/Makefile.in"
53321 elif test ${subdir} = "utils"; then
53323 for util in HelpGen tex2rtf ; do
53324 if test -d $srcdir/utils/$util ; then
53325 makefiles="utils/$util/Makefile.in \
53326 utils/$util/src/Makefile.in \
53330 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53334 for mkin in $makefiles ; do
53335 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53336 ac_config_files="$ac_config_files $mk"
53342 cat >confcache <<\_ACEOF
53343 # This file is a shell script that caches the results of configure
53344 # tests run on this system so they can be shared between configure
53345 # scripts and configure runs, see configure's option --config-cache.
53346 # It is not useful on other systems. If it contains results you don't
53347 # want to keep, you may remove or edit it.
53349 # config.status only pays attention to the cache file if you give it
53350 # the --recheck option to rerun configure.
53352 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53353 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53354 # following values.
53358 # The following way of writing the cache mishandles newlines in values,
53359 # but we know of no workaround that is simple, portable, and efficient.
53360 # So, we kill variables containing newlines.
53361 # Ultrix sh set writes to stderr and can't be redirected directly,
53362 # and sets the high bit in the cache file unless we assign to the vars.
53364 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53365 eval ac_val=\$$ac_var
53369 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53370 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53373 _ | IFS | as_nl) ;; #(
53374 *) $as_unset $ac_var ;;
53380 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53381 *${as_nl}ac_space=\ *)
53382 # `set' does not quote correctly, so add quotes (double-quote
53383 # substitution turns \\\\ into \\, and sed turns \\ into \).
53386 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53389 # `set' quotes correctly as required by POSIX, so do not add quotes.
53390 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53399 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53401 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53403 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53404 if test -w "$cache_file"; then
53405 test "x$cache_file" != "x/dev/null" &&
53406 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53407 echo "$as_me: updating cache $cache_file" >&6;}
53408 cat confcache >$cache_file
53410 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53411 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53416 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53417 # Let make expand exec_prefix.
53418 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53420 DEFS=-DHAVE_CONFIG_H
53424 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53425 # 1. Remove the extension, and $U if already installed.
53426 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53427 ac_i=`echo "$ac_i" | sed "$ac_script"`
53428 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53429 # will be set to the directory where LIBOBJS objects are built.
53430 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53431 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53433 LIBOBJS=$ac_libobjs
53435 LTLIBOBJS=$ac_ltlibobjs
53439 : ${CONFIG_STATUS=./config.status}
53440 ac_clean_files_save=$ac_clean_files
53441 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53442 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53443 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53444 cat >$CONFIG_STATUS <<_ACEOF
53446 # Generated by $as_me.
53447 # Run this file to recreate the current configuration.
53448 # Compiler output produced by configure, useful for debugging
53449 # configure, is in config.log if it exists.
53452 ac_cs_recheck=false
53454 SHELL=\${CONFIG_SHELL-$SHELL}
53457 cat >>$CONFIG_STATUS <<\_ACEOF
53458 ## --------------------- ##
53459 ## M4sh Initialization. ##
53460 ## --------------------- ##
53462 # Be more Bourne compatible
53463 DUALCASE=1; export DUALCASE # for MKS sh
53464 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53467 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53468 # is contrary to our usage. Disable this feature.
53469 alias -g '${1+"$@"}'='"$@"'
53470 setopt NO_GLOB_SUBST
53472 case `(set -o) 2>/dev/null` in
53473 *posix*) set -o posix ;;
53482 # Avoid depending upon Character Ranges.
53483 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53484 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53485 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53486 as_cr_digits='0123456789'
53487 as_cr_alnum=$as_cr_Letters$as_cr_digits
53489 # The user is always right.
53490 if test "${PATH_SEPARATOR+set}" != set; then
53491 echo "#! /bin/sh" >conf$$.sh
53492 echo "exit 0" >>conf$$.sh
53494 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53502 # Support unset when possible.
53503 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53511 # We need space, tab and new line, in precisely that order. Quoting is
53512 # there to prevent editors from complaining about space-tab.
53513 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53514 # splitting by setting IFS to empty value.)
53519 # Find who we are. Look in the path if we contain no directory separator.
53521 *[\\/]* ) as_myself=$0 ;;
53522 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53523 for as_dir in $PATH
53526 test -z "$as_dir" && as_dir=.
53527 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53533 # We did not find ourselves, most probably we were run as `sh COMMAND'
53534 # in which case we are not to be found in the path.
53535 if test "x$as_myself" = x; then
53538 if test ! -f "$as_myself"; then
53539 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53540 { (exit 1); exit 1; }
53543 # Work around bugs in pre-3.0 UWIN ksh.
53544 for as_var in ENV MAIL MAILPATH
53545 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53553 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53554 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53555 LC_TELEPHONE LC_TIME
53557 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53558 eval $as_var=C; export $as_var
53560 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53564 # Required to use basename.
53565 if expr a : '\(a\)' >/dev/null 2>&1 &&
53566 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53572 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53573 as_basename=basename
53579 # Name of the executable.
53580 as_me=`$as_basename -- "$0" ||
53581 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53582 X"$0" : 'X\(//\)$' \| \
53583 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53585 sed '/^.*\/\([^/][^/]*\)\/*$/{
53604 as_lineno_1=$LINENO
53605 as_lineno_2=$LINENO
53606 test "x$as_lineno_1" != "x$as_lineno_2" &&
53607 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53609 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53610 # uniformly replaced by the line number. The first 'sed' inserts a
53611 # line-number line after each line using $LINENO; the second 'sed'
53612 # does the real work. The second script uses 'N' to pair each
53613 # line-number line with the line containing $LINENO, and appends
53614 # trailing '-' during substitution so that $LINENO is not a special
53615 # case at line end.
53616 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53617 # scripts with optimization help from Paolo Bonzini. Blame Lee
53618 # E. McMahon (1931-1989) for sed's syntax. :-)
53630 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53633 ' >$as_me.lineno &&
53634 chmod +x "$as_me.lineno" ||
53635 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53636 { (exit 1); exit 1; }; }
53638 # Don't try to exec as it changes $[0], causing all sort of problems
53639 # (the dirname of $[0] is not the place where we might find the
53640 # original and so on. Autoconf is especially sensitive to this).
53641 . "./$as_me.lineno"
53642 # Exit status is that of the last command.
53647 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53653 ECHO_C= ECHO_N= ECHO_T=
53654 case `echo -n x` in
53656 case `echo 'x\c'` in
53657 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53664 if expr a : '\(a\)' >/dev/null 2>&1 &&
53665 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53671 rm -f conf$$ conf$$.exe conf$$.file
53672 if test -d conf$$.dir; then
53673 rm -f conf$$.dir/conf$$.file
53679 if ln -s conf$$.file conf$$ 2>/dev/null; then
53681 # ... but there are two gotchas:
53682 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53683 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53684 # In both cases, we have to default to `cp -p'.
53685 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53687 elif ln conf$$.file conf$$ 2>/dev/null; then
53692 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53693 rmdir conf$$.dir 2>/dev/null
53695 if mkdir -p . 2>/dev/null; then
53698 test -d ./-p && rmdir ./-p
53702 if test -x / >/dev/null 2>&1; then
53703 as_test_x='test -x'
53705 if ls -dL / >/dev/null 2>&1; then
53712 if test -d "$1"; then
53718 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53719 ???[sx]*):;;*)false;;esac;fi
53723 as_executable_p=$as_test_x
53725 # Sed expression to map a string onto a valid CPP name.
53726 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53728 # Sed expression to map a string onto a valid variable name.
53729 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53734 # Save the log message, to keep $[0] and so on meaningful, and to
53735 # report actual input values of CONFIG_FILES etc. instead of their
53736 # values after options handling.
53738 This file was extended by wxWidgets $as_me 2.9.0, which was
53739 generated by GNU Autoconf 2.61. Invocation command line was
53741 CONFIG_FILES = $CONFIG_FILES
53742 CONFIG_HEADERS = $CONFIG_HEADERS
53743 CONFIG_LINKS = $CONFIG_LINKS
53744 CONFIG_COMMANDS = $CONFIG_COMMANDS
53747 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53752 cat >>$CONFIG_STATUS <<_ACEOF
53753 # Files that config.status was made for.
53754 config_files="$ac_config_files"
53755 config_headers="$ac_config_headers"
53756 config_commands="$ac_config_commands"
53760 cat >>$CONFIG_STATUS <<\_ACEOF
53762 \`$as_me' instantiates files from templates according to the
53763 current configuration.
53765 Usage: $0 [OPTIONS] [FILE]...
53767 -h, --help print this help, then exit
53768 -V, --version print version number and configuration settings, then exit
53769 -q, --quiet do not print progress messages
53770 -d, --debug don't remove temporary files
53771 --recheck update $as_me by reconfiguring in the same conditions
53772 --file=FILE[:TEMPLATE]
53773 instantiate the configuration file FILE
53774 --header=FILE[:TEMPLATE]
53775 instantiate the configuration header FILE
53777 Configuration files:
53780 Configuration headers:
53783 Configuration commands:
53786 Report bugs to <bug-autoconf@gnu.org>."
53789 cat >>$CONFIG_STATUS <<_ACEOF
53791 wxWidgets config.status 2.9.0
53792 configured by $0, generated by GNU Autoconf 2.61,
53793 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53795 Copyright (C) 2006 Free Software Foundation, Inc.
53796 This config.status script is free software; the Free Software Foundation
53797 gives unlimited permission to copy, distribute and modify it."
53804 cat >>$CONFIG_STATUS <<\_ACEOF
53805 # If no file are specified by the user, then we need to provide default
53806 # value. By we need to know if files were specified by the user.
53812 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53813 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53824 # Handling of the options.
53825 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53827 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53828 echo "$ac_cs_version"; exit ;;
53829 --debug | --debu | --deb | --de | --d | -d )
53831 --file | --fil | --fi | --f )
53833 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53834 ac_need_defaults=false;;
53835 --header | --heade | --head | --hea )
53837 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53838 ac_need_defaults=false;;
53840 # Conflict between --help and --header
53841 { echo "$as_me: error: ambiguous option: $1
53842 Try \`$0 --help' for more information." >&2
53843 { (exit 1); exit 1; }; };;
53844 --help | --hel | -h )
53845 echo "$ac_cs_usage"; exit ;;
53846 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53847 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53850 # This is an error.
53851 -*) { echo "$as_me: error: unrecognized option: $1
53852 Try \`$0 --help' for more information." >&2
53853 { (exit 1); exit 1; }; } ;;
53855 *) ac_config_targets="$ac_config_targets $1"
53856 ac_need_defaults=false ;;
53862 ac_configure_extra_args=
53864 if $ac_cs_silent; then
53866 ac_configure_extra_args="$ac_configure_extra_args --silent"
53870 cat >>$CONFIG_STATUS <<_ACEOF
53871 if \$ac_cs_recheck; then
53872 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53873 CONFIG_SHELL=$SHELL
53874 export CONFIG_SHELL
53875 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53879 cat >>$CONFIG_STATUS <<\_ACEOF
53883 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53884 ## Running $as_me. ##
53890 cat >>$CONFIG_STATUS <<_ACEOF
53896 infile="$srcdir/include/wx/msw/genrcdefs.h"
53897 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53900 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53901 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53902 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53908 cat >>$CONFIG_STATUS <<\_ACEOF
53910 # Handling of arguments.
53911 for ac_config_target in $ac_config_targets
53913 case $ac_config_target in
53914 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53915 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53916 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53917 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53918 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53919 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53920 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53921 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53923 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53924 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53925 { (exit 1); exit 1; }; };;
53930 # If the user did not use the arguments to specify the items to instantiate,
53931 # then the envvar interface is used. Set only those that are not.
53932 # We use the long form for the default assignment because of an extremely
53933 # bizarre bug on SunOS 4.1.3.
53934 if $ac_need_defaults; then
53935 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53936 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53937 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53940 # Have a temporary directory for convenience. Make it in the build tree
53941 # simply because there is no reason against having it here, and in addition,
53942 # creating and moving files from /tmp can sometimes cause problems.
53943 # Hook for its removal unless debugging.
53944 # Note that there is a small window in which the directory will not be cleaned:
53945 # after its creation but before its name has been assigned to `$tmp'.
53949 trap 'exit_status=$?
53950 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53952 trap '{ (exit 1); exit 1; }' 1 2 13 15
53954 # Create a (secure) tmp directory for tmp files.
53957 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53958 test -n "$tmp" && test -d "$tmp"
53961 tmp=./conf$$-$RANDOM
53962 (umask 077 && mkdir "$tmp")
53965 echo "$me: cannot create a temporary directory in ." >&2
53966 { (exit 1); exit 1; }
53970 # Set up the sed scripts for CONFIG_FILES section.
53973 # No need to generate the scripts if there are no CONFIG_FILES.
53974 # This happens for instance when ./config.status config.h
53975 if test -n "$CONFIG_FILES"; then
53982 for ac_last_try in false false false false false :; do
53983 cat >conf$$subs.sed <<_ACEOF
53984 SHELL!$SHELL$ac_delim
53985 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53986 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53987 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53988 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53989 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53990 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53991 exec_prefix!$exec_prefix$ac_delim
53992 prefix!$prefix$ac_delim
53993 program_transform_name!$program_transform_name$ac_delim
53994 bindir!$bindir$ac_delim
53995 sbindir!$sbindir$ac_delim
53996 libexecdir!$libexecdir$ac_delim
53997 datarootdir!$datarootdir$ac_delim
53998 datadir!$datadir$ac_delim
53999 sysconfdir!$sysconfdir$ac_delim
54000 sharedstatedir!$sharedstatedir$ac_delim
54001 localstatedir!$localstatedir$ac_delim
54002 includedir!$includedir$ac_delim
54003 oldincludedir!$oldincludedir$ac_delim
54004 docdir!$docdir$ac_delim
54005 infodir!$infodir$ac_delim
54006 htmldir!$htmldir$ac_delim
54007 dvidir!$dvidir$ac_delim
54008 pdfdir!$pdfdir$ac_delim
54009 psdir!$psdir$ac_delim
54010 libdir!$libdir$ac_delim
54011 localedir!$localedir$ac_delim
54012 mandir!$mandir$ac_delim
54013 DEFS!$DEFS$ac_delim
54014 ECHO_C!$ECHO_C$ac_delim
54015 ECHO_N!$ECHO_N$ac_delim
54016 ECHO_T!$ECHO_T$ac_delim
54017 LIBS!$LIBS$ac_delim
54018 build_alias!$build_alias$ac_delim
54019 host_alias!$host_alias$ac_delim
54020 target_alias!$target_alias$ac_delim
54021 build!$build$ac_delim
54022 build_cpu!$build_cpu$ac_delim
54023 build_vendor!$build_vendor$ac_delim
54024 build_os!$build_os$ac_delim
54025 host!$host$ac_delim
54026 host_cpu!$host_cpu$ac_delim
54027 host_vendor!$host_vendor$ac_delim
54028 host_os!$host_os$ac_delim
54029 target!$target$ac_delim
54030 target_cpu!$target_cpu$ac_delim
54031 target_vendor!$target_vendor$ac_delim
54032 target_os!$target_os$ac_delim
54033 wx_top_builddir!$wx_top_builddir$ac_delim
54035 CFLAGS!$CFLAGS$ac_delim
54036 LDFLAGS!$LDFLAGS$ac_delim
54037 CPPFLAGS!$CPPFLAGS$ac_delim
54038 ac_ct_CC!$ac_ct_CC$ac_delim
54039 EXEEXT!$EXEEXT$ac_delim
54040 OBJEXT!$OBJEXT$ac_delim
54042 GREP!$GREP$ac_delim
54043 EGREP!$EGREP$ac_delim
54045 CXXFLAGS!$CXXFLAGS$ac_delim
54046 ac_ct_CXX!$ac_ct_CXX$ac_delim
54048 subdirs!$subdirs$ac_delim
54049 PKG_CONFIG!$PKG_CONFIG$ac_delim
54050 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
54051 GTK_LIBS!$GTK_LIBS$ac_delim
54052 GTK_CONFIG!$GTK_CONFIG$ac_delim
54053 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
54054 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
54055 XMKMF!$XMKMF$ac_delim
54056 X_CFLAGS!$X_CFLAGS$ac_delim
54057 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
54058 X_LIBS!$X_LIBS$ac_delim
54059 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
54060 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
54061 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
54062 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
54063 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
54064 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
54065 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
54066 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
54067 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
54068 LIBICONV!$LIBICONV$ac_delim
54069 SDL_CONFIG!$SDL_CONFIG$ac_delim
54070 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
54071 SDL_LIBS!$SDL_LIBS$ac_delim
54072 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
54073 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
54074 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
54075 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
54076 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
54077 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
54078 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
54079 HILDON_LIBS!$HILDON_LIBS$ac_delim
54080 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54083 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54085 elif $ac_last_try; then
54086 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54087 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54088 { (exit 1); exit 1; }; }
54090 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54094 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54095 if test -n "$ac_eof"; then
54096 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54097 ac_eof=`expr $ac_eof + 1`
54100 cat >>$CONFIG_STATUS <<_ACEOF
54101 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
54102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54105 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54106 s/^/s,@/; s/!/@,|#_!!_#|/
54109 s/'"$ac_delim"'$/,g/; t
54111 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54112 ' >>$CONFIG_STATUS <conf$$subs.sed
54113 rm -f conf$$subs.sed
54114 cat >>$CONFIG_STATUS <<_ACEOF
54120 for ac_last_try in false false false false false :; do
54121 cat >conf$$subs.sed <<_ACEOF
54122 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54123 GST_CFLAGS!$GST_CFLAGS$ac_delim
54124 GST_LIBS!$GST_LIBS$ac_delim
54125 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54126 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54127 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54128 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54129 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54130 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54131 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54132 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
54133 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54134 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54135 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54136 VENDOR!$VENDOR$ac_delim
54137 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54138 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54139 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54140 WXUNIV!$WXUNIV$ac_delim
54141 MONOLITHIC!$MONOLITHIC$ac_delim
54142 USE_PLUGINS!$USE_PLUGINS$ac_delim
54143 CXXWARNINGS!$CXXWARNINGS$ac_delim
54144 EXTRALIBS!$EXTRALIBS$ac_delim
54145 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54146 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54147 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
54148 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54149 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54150 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54151 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54152 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
54153 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54154 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54155 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54156 UNICODE!$UNICODE$ac_delim
54157 BUILD!$BUILD$ac_delim
54158 DEBUG_INFO!$DEBUG_INFO$ac_delim
54159 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54160 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54161 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54162 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54163 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
54164 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54165 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54166 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54167 RANLIB!$RANLIB$ac_delim
54168 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54169 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54170 INSTALL_DATA!$INSTALL_DATA$ac_delim
54171 LN_S!$LN_S$ac_delim
54172 SET_MAKE!$SET_MAKE$ac_delim
54173 MAKE_SET!$MAKE_SET$ac_delim
54174 AROPTIONS!$AROPTIONS$ac_delim
54175 STRIP!$STRIP$ac_delim
54177 INSTALL_DIR!$INSTALL_DIR$ac_delim
54178 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54179 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54180 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54181 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54182 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54183 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54184 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54185 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54186 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54187 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54188 SO_SUFFIX!$SO_SUFFIX$ac_delim
54189 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54190 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54191 LIBPREFIX!$LIBPREFIX$ac_delim
54192 LIBEXT!$LIBEXT$ac_delim
54193 DLLPREFIX!$DLLPREFIX$ac_delim
54194 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54195 dlldir!$dlldir$ac_delim
54196 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54197 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54198 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54199 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54200 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54201 PIC_FLAG!$PIC_FLAG$ac_delim
54202 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54203 USE_SOVERSION!$USE_SOVERSION$ac_delim
54204 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54205 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54206 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54207 USE_MACVERSION!$USE_MACVERSION$ac_delim
54208 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
54209 SONAME_FLAG!$SONAME_FLAG$ac_delim
54210 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54211 BK_DEPS!$BK_DEPS$ac_delim
54212 WINDRES!$WINDRES$ac_delim
54214 SETFILE!$SETFILE$ac_delim
54215 GCC_PCH!$GCC_PCH$ac_delim
54216 ICC_PCH!$ICC_PCH$ac_delim
54217 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54218 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54221 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54223 elif $ac_last_try; then
54224 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54225 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54226 { (exit 1); exit 1; }; }
54228 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54232 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54233 if test -n "$ac_eof"; then
54234 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54235 ac_eof=`expr $ac_eof + 1`
54238 cat >>$CONFIG_STATUS <<_ACEOF
54239 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54240 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54243 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54244 s/^/s,@/; s/!/@,|#_!!_#|/
54247 s/'"$ac_delim"'$/,g/; t
54249 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54250 ' >>$CONFIG_STATUS <conf$$subs.sed
54251 rm -f conf$$subs.sed
54252 cat >>$CONFIG_STATUS <<_ACEOF
54258 for ac_last_try in false false false false false :; do
54259 cat >conf$$subs.sed <<_ACEOF
54260 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54261 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54262 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54263 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54264 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54265 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54266 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54267 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54268 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54269 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54270 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54271 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54272 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54273 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54274 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54275 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54276 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54277 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54278 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54279 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54280 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54281 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54282 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54283 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54284 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54285 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54286 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54287 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54288 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54289 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54290 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54291 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54292 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54293 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54294 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54295 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54296 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54297 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54298 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54299 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54300 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54301 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54302 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54303 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54304 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54305 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54306 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54307 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54308 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54309 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54310 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54311 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54312 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54313 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54314 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54315 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54316 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54317 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54318 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54319 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54320 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54321 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54322 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54323 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54324 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54325 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54326 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54327 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54328 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54329 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54330 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54331 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54332 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54333 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54334 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54335 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54336 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54337 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54338 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54339 COND_SHARED_0!$COND_SHARED_0$ac_delim
54340 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54341 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54342 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54343 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54344 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54345 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54346 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54347 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54348 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54349 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54350 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54351 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54352 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54353 COND_SHARED_1!$COND_SHARED_1$ac_delim
54354 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54355 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54356 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54359 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54361 elif $ac_last_try; then
54362 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54363 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54364 { (exit 1); exit 1; }; }
54366 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54370 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54371 if test -n "$ac_eof"; then
54372 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54373 ac_eof=`expr $ac_eof + 1`
54376 cat >>$CONFIG_STATUS <<_ACEOF
54377 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54378 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54381 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54382 s/^/s,@/; s/!/@,|#_!!_#|/
54385 s/'"$ac_delim"'$/,g/; t
54387 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54388 ' >>$CONFIG_STATUS <conf$$subs.sed
54389 rm -f conf$$subs.sed
54390 cat >>$CONFIG_STATUS <<_ACEOF
54396 for ac_last_try in false false false false false :; do
54397 cat >conf$$subs.sed <<_ACEOF
54398 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54399 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54400 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54401 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54402 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54403 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54404 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54405 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54406 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54407 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54408 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54409 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54410 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54411 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54412 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54413 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54414 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54415 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54416 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54417 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54418 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54419 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54420 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54421 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54422 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54423 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54424 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54425 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54426 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54427 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54428 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54429 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54430 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54431 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54432 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54433 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54434 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54435 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54436 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54437 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54438 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54439 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54440 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54441 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54442 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54443 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54444 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54445 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54446 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54447 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54448 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54449 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54450 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54451 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54452 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54453 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54454 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54455 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54456 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54457 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54458 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54459 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54460 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54461 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54462 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54463 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54464 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54465 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54466 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54467 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54468 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54469 DEREZ!$DEREZ$ac_delim
54470 SHARED!$SHARED$ac_delim
54471 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54472 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54473 USE_GUI!$USE_GUI$ac_delim
54474 AFMINSTALL!$AFMINSTALL$ac_delim
54475 WIN32INSTALL!$WIN32INSTALL$ac_delim
54476 TOOLKIT!$TOOLKIT$ac_delim
54477 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54478 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54479 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54480 cross_compiling!$cross_compiling$ac_delim
54481 WIDGET_SET!$WIDGET_SET$ac_delim
54482 WX_RELEASE!$WX_RELEASE$ac_delim
54483 WX_VERSION!$WX_VERSION$ac_delim
54484 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54485 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54486 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54487 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54488 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54489 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54490 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54491 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54492 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54493 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54494 GUIDIST!$GUIDIST$ac_delim
54497 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54499 elif $ac_last_try; then
54500 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54501 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54502 { (exit 1); exit 1; }; }
54504 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54508 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54509 if test -n "$ac_eof"; then
54510 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54511 ac_eof=`expr $ac_eof + 1`
54514 cat >>$CONFIG_STATUS <<_ACEOF
54515 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54516 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54519 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54520 s/^/s,@/; s/!/@,|#_!!_#|/
54523 s/'"$ac_delim"'$/,g/; t
54525 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54526 ' >>$CONFIG_STATUS <conf$$subs.sed
54527 rm -f conf$$subs.sed
54528 cat >>$CONFIG_STATUS <<_ACEOF
54534 for ac_last_try in false false false false false :; do
54535 cat >conf$$subs.sed <<_ACEOF
54536 DISTDIR!$DISTDIR$ac_delim
54537 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54538 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54539 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54540 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54541 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54542 RESCOMP!$RESCOMP$ac_delim
54543 RESFLAGS!$RESFLAGS$ac_delim
54544 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54545 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54546 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54547 LIBWXMACRES!$LIBWXMACRES$ac_delim
54548 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54549 MACSETFILE!$MACSETFILE$ac_delim
54551 DLLTOOL!$DLLTOOL$ac_delim
54552 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54553 LIBOBJS!$LIBOBJS$ac_delim
54554 LTLIBOBJS!$LTLIBOBJS$ac_delim
54557 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then
54559 elif $ac_last_try; then
54560 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54561 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54562 { (exit 1); exit 1; }; }
54564 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54568 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54569 if test -n "$ac_eof"; then
54570 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54571 ac_eof=`expr $ac_eof + 1`
54574 cat >>$CONFIG_STATUS <<_ACEOF
54575 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54576 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54579 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54580 s/^/s,@/; s/!/@,|#_!!_#|/
54583 s/'"$ac_delim"'$/,g/; t
54585 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54586 ' >>$CONFIG_STATUS <conf$$subs.sed
54587 rm -f conf$$subs.sed
54588 cat >>$CONFIG_STATUS <<_ACEOF
54595 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54596 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54597 # trailing colons and then remove the whole line if VPATH becomes empty
54598 # (actually we leave an empty line to preserve line numbers).
54599 if test "x$srcdir" = x.; then
54600 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54601 s/:*\$(srcdir):*/:/
54602 s/:*\${srcdir}:*/:/
54604 s/^\([^=]*=[ ]*\):*/\1/
54610 cat >>$CONFIG_STATUS <<\_ACEOF
54611 fi # test -n "$CONFIG_FILES"
54614 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54617 :[FHLC]) ac_mode=$ac_tag; continue;;
54619 case $ac_mode$ac_tag in
54621 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54622 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54623 { (exit 1); exit 1; }; };;
54624 :[FH]-) ac_tag=-:-;;
54625 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54642 -) ac_f="$tmp/stdin";;
54643 *) # Look for the file first in the build tree, then in the source tree
54644 # (if the path is not absolute). The absolute path cannot be DOS-style,
54645 # because $ac_f cannot contain `:'.
54649 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54651 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54652 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54653 { (exit 1); exit 1; }; };;
54655 ac_file_inputs="$ac_file_inputs $ac_f"
54658 # Let's still pretend it is `configure' which instantiates (i.e., don't
54659 # use $as_me), people would be surprised to read:
54660 # /* config.h. Generated by config.status. */
54661 configure_input="Generated from "`IFS=:
54662 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54663 if test x"$ac_file" != x-; then
54664 configure_input="$ac_file. $configure_input"
54665 { echo "$as_me:$LINENO: creating $ac_file" >&5
54666 echo "$as_me: creating $ac_file" >&6;}
54670 *:-:* | *:-) cat >"$tmp/stdin";;
54675 ac_dir=`$as_dirname -- "$ac_file" ||
54676 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54677 X"$ac_file" : 'X\(//\)[^/]' \| \
54678 X"$ac_file" : 'X\(//\)$' \| \
54679 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54685 /^X\(\/\/\)[^/].*/{
54700 -*) as_dir=./$as_dir;;
54702 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54706 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54707 *) as_qdir=$as_dir;;
54709 as_dirs="'$as_qdir' $as_dirs"
54710 as_dir=`$as_dirname -- "$as_dir" ||
54711 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54712 X"$as_dir" : 'X\(//\)[^/]' \| \
54713 X"$as_dir" : 'X\(//\)$' \| \
54714 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54720 /^X\(\/\/\)[^/].*/{
54733 test -d "$as_dir" && break
54735 test -z "$as_dirs" || eval "mkdir $as_dirs"
54736 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54737 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54738 { (exit 1); exit 1; }; }; }
54742 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54744 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54745 # A ".." for each directory in $ac_dir_suffix.
54746 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54747 case $ac_top_builddir_sub in
54748 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54749 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54752 ac_abs_top_builddir=$ac_pwd
54753 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54754 # for backward compatibility:
54755 ac_top_builddir=$ac_top_build_prefix
54758 .) # We are building in place.
54760 ac_top_srcdir=$ac_top_builddir_sub
54761 ac_abs_top_srcdir=$ac_pwd ;;
54762 [\\/]* | ?:[\\/]* ) # Absolute name.
54763 ac_srcdir=$srcdir$ac_dir_suffix;
54764 ac_top_srcdir=$srcdir
54765 ac_abs_top_srcdir=$srcdir ;;
54766 *) # Relative name.
54767 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54768 ac_top_srcdir=$ac_top_build_prefix$srcdir
54769 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54771 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54781 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54782 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54786 cat >>$CONFIG_STATUS <<\_ACEOF
54787 # If the template does not know about datarootdir, expand it.
54788 # FIXME: This hack should be removed a few years after 2.60.
54789 ac_datarootdir_hack=; ac_datarootdir_seen=
54791 case `sed -n '/datarootdir/ {
54800 ' $ac_file_inputs` in
54801 *datarootdir*) ac_datarootdir_seen=yes;;
54802 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54803 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54804 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54806 cat >>$CONFIG_STATUS <<_ACEOF
54807 ac_datarootdir_hack='
54808 s&@datadir@&$datadir&g
54809 s&@docdir@&$docdir&g
54810 s&@infodir@&$infodir&g
54811 s&@localedir@&$localedir&g
54812 s&@mandir@&$mandir&g
54813 s&\\\${datarootdir}&$datarootdir&g' ;;
54817 # Neutralize VPATH when `$srcdir' = `.'.
54818 # Shell code in configure.ac might set extrasub.
54819 # FIXME: do we really want to maintain this feature?
54820 cat >>$CONFIG_STATUS <<_ACEOF
54824 cat >>$CONFIG_STATUS <<\_ACEOF
54826 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54827 s&@configure_input@&$configure_input&;t t
54828 s&@top_builddir@&$ac_top_builddir_sub&;t t
54829 s&@srcdir@&$ac_srcdir&;t t
54830 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54831 s&@top_srcdir@&$ac_top_srcdir&;t t
54832 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54833 s&@builddir@&$ac_builddir&;t t
54834 s&@abs_builddir@&$ac_abs_builddir&;t t
54835 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54836 s&@INSTALL@&$ac_INSTALL&;t t
54837 $ac_datarootdir_hack
54838 " $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
54840 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54841 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54842 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54843 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54844 which seems to be undefined. Please make sure it is defined." >&5
54845 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54846 which seems to be undefined. Please make sure it is defined." >&2;}
54850 -) cat "$tmp/out"; rm -f "$tmp/out";;
54851 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54860 # Transform confdefs.h into a sed script `conftest.defines', that
54861 # substitutes the proper values into config.h.in to produce config.h.
54862 rm -f conftest.defines conftest.tail
54863 # First, append a space to every undef/define line, to ease matching.
54864 echo 's/$/ /' >conftest.defines
54865 # Then, protect against being on the right side of a sed subst, or in
54866 # an unquoted here document, in config.status. If some macros were
54867 # called several times there might be several #defines for the same
54868 # symbol, which is useless. But do not sort them, since the last
54869 # AC_DEFINE must be honored.
54870 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54871 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54872 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54873 # PARAMS is the parameter list in the macro definition--in most cases, it's
54874 # just an empty string.
54875 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54876 ac_dB='\\)[ (].*,\\1define\\2'
54884 s/^[ ]*#[ ]*define[ ][ ]*//
54889 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54890 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54891 ' >>conftest.defines
54893 # Remove the space that was appended to ease matching.
54894 # Then replace #undef with comments. This is necessary, for
54895 # example, in the case of _POSIX_SOURCE, which is predefined and required
54896 # on some systems where configure will not decide to define it.
54897 # (The regexp can be short, since the line contains either #define or #undef.)
54899 s,^[ #]*u.*,/* & */,' >>conftest.defines
54901 # Break up conftest.defines:
54902 ac_max_sed_lines=50
54904 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54905 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54906 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54908 ac_in='$ac_file_inputs'
54909 ac_out='"$tmp/out1"'
54910 ac_nxt='"$tmp/out2"'
54914 # Write a here document:
54915 cat >>$CONFIG_STATUS <<_ACEOF
54916 # First, check the format of the line:
54917 cat >"\$tmp/defines.sed" <<\\CEOF
54918 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54919 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54923 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54925 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54926 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54927 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54928 grep . conftest.tail >/dev/null || break
54929 rm -f conftest.defines
54930 mv conftest.tail conftest.defines
54932 rm -f conftest.defines conftest.tail
54934 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54935 cat >>$CONFIG_STATUS <<\_ACEOF
54936 if test x"$ac_file" != x-; then
54937 echo "/* $configure_input */" >"$tmp/config.h"
54938 cat "$ac_result" >>"$tmp/config.h"
54939 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54940 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54941 echo "$as_me: $ac_file is unchanged" >&6;}
54944 mv "$tmp/config.h" $ac_file
54947 echo "/* $configure_input */"
54953 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54954 echo "$as_me: executing $ac_file commands" >&6;}
54959 case $ac_file$ac_mode in
54961 mkdir -p $outdir &&
54962 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54964 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54965 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54966 "wx-config":C) rm -f wx-config
54967 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54974 { (exit 0); exit 0; }
54976 chmod +x $CONFIG_STATUS
54977 ac_clean_files=$ac_clean_files_save
54980 # configure is writing to config.log, and then calls config.status.
54981 # config.status does its own redirection, appending to config.log.
54982 # Unfortunately, on DOS this fails, as config.log is still kept open
54983 # by configure, so config.status won't be able to write to it; its
54984 # output is simply discarded. So we exec the FD to /dev/null,
54985 # effectively closing config.log, so it can be properly (re)opened and
54986 # appended to by config.status. When coming back to configure, we
54987 # need to make the FD available again.
54988 if test "$no_create" != yes; then
54990 ac_config_status_args=
54991 test "$silent" = yes &&
54992 ac_config_status_args="$ac_config_status_args --quiet"
54994 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54996 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54997 # would make configure fail if this is the last instruction.
54998 $ac_cs_success || { (exit 1); exit 1; }
55002 # CONFIG_SUBDIRS section.
55004 if test "$no_recursion" != yes; then
55006 # Remove --cache-file and --srcdir arguments so they do not pile up.
55007 ac_sub_configure_args=
55009 eval "set x $ac_configure_args"
55013 if test -n "$ac_prev"; then
55018 -cache-file | --cache-file | --cache-fil | --cache-fi \
55019 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
55020 ac_prev=cache_file ;;
55021 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
55022 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
55025 --config-cache | -C)
55027 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
55029 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
55031 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
55033 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
55037 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55039 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
55043 # Always prepend --prefix to ensure using the same prefix
55044 # in subdir configurations.
55045 ac_arg="--prefix=$prefix"
55047 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55049 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
55052 if test "$silent" = yes; then
55053 ac_sub_configure_args="--silent $ac_sub_configure_args"
55057 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
55059 # Do not complain, so a configure script can configure whichever
55060 # parts of a large source tree are present.
55061 test -d "$srcdir/$ac_dir" || continue
55063 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
55064 echo "$as_me:$LINENO: $ac_msg" >&5
55068 -*) as_dir=./$as_dir;;
55070 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55074 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55075 *) as_qdir=$as_dir;;
55077 as_dirs="'$as_qdir' $as_dirs"
55078 as_dir=`$as_dirname -- "$as_dir" ||
55079 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55080 X"$as_dir" : 'X\(//\)[^/]' \| \
55081 X"$as_dir" : 'X\(//\)$' \| \
55082 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55088 /^X\(\/\/\)[^/].*/{
55101 test -d "$as_dir" && break
55103 test -z "$as_dirs" || eval "mkdir $as_dirs"
55104 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55105 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55106 { (exit 1); exit 1; }; }; }
55110 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
55112 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55113 # A ".." for each directory in $ac_dir_suffix.
55114 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55115 case $ac_top_builddir_sub in
55116 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
55117 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
55120 ac_abs_top_builddir=$ac_pwd
55121 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55122 # for backward compatibility:
55123 ac_top_builddir=$ac_top_build_prefix
55126 .) # We are building in place.
55128 ac_top_srcdir=$ac_top_builddir_sub
55129 ac_abs_top_srcdir=$ac_pwd ;;
55130 [\\/]* | ?:[\\/]* ) # Absolute name.
55131 ac_srcdir=$srcdir$ac_dir_suffix;
55132 ac_top_srcdir=$srcdir
55133 ac_abs_top_srcdir=$srcdir ;;
55134 *) # Relative name.
55135 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55136 ac_top_srcdir=$ac_top_build_prefix$srcdir
55137 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55139 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55144 # Check for guested configure; otherwise get Cygnus style configure.
55145 if test -f "$ac_srcdir/configure.gnu"; then
55146 ac_sub_configure=$ac_srcdir/configure.gnu
55147 elif test -f "$ac_srcdir/configure"; then
55148 ac_sub_configure=$ac_srcdir/configure
55149 elif test -f "$ac_srcdir/configure.in"; then
55150 # This should be Cygnus configure.
55151 ac_sub_configure=$ac_aux_dir/configure
55153 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55154 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55158 # The recursion is here.
55159 if test -n "$ac_sub_configure"; then
55160 # Make the cache file name correct relative to the subdirectory.
55161 case $cache_file in
55162 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55163 *) # Relative name.
55164 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55167 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55168 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55169 # The eval makes quoting arguments work.
55170 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55171 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55172 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55173 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55174 { (exit 1); exit 1; }; }
55183 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55185 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55186 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55188 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55189 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55190 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55191 if test "$wxUSE_UNICODE" = "yes"; then
55192 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55193 echo " (using UTF-8)"
55195 echo " (using wchar_t)"
55201 echo " What level of wxWidgets compatibility should be enabled?"
55202 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55203 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55205 echo " Which libraries should wxWidgets use?"
55206 echo " STL ${wxUSE_STL}"
55207 echo " jpeg ${wxUSE_LIBJPEG-none}"
55208 echo " png ${wxUSE_LIBPNG-none}"
55209 echo " regex ${wxUSE_REGEX}"
55210 echo " tiff ${wxUSE_LIBTIFF-none}"
55211 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55212 echo " xpm ${wxUSE_LIBXPM-none}"
55214 echo " zlib ${wxUSE_ZLIB}"
55215 echo " odbc ${wxUSE_ODBC}"
55216 echo " expat ${wxUSE_EXPAT}"
55217 echo " libmspack ${wxUSE_LIBMSPACK}"
55218 echo " sdl ${wxUSE_LIBSDL}"