2 # From configure.in Id: configure.in 55464 2008-09-05 08:03:35Z RR .
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_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
845 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
847 COND_MONOLITHIC_0_USE_AUI_1
848 COND_MONOLITHIC_0_USE_GUI_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
865 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
866 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
867 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
869 COND_PLATFORM_MACOSX_1_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
871 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
872 COND_PLATFORM_MACOS_1
875 COND_PLATFORM_MSDOS_0
876 COND_PLATFORM_MSDOS_1
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
884 COND_PLATFORM_WIN32_0
885 COND_PLATFORM_WIN32_1
887 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
890 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
894 COND_SHARED_0_USE_STC_1
895 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
896 COND_SHARED_0_WXUSE_REGEX_BUILTIN
897 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
899 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
902 COND_TOOLKIT_COCOA_USE_GUI_1
903 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
905 COND_TOOLKIT_DFB_USE_GUI_1
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_GTK_USE_GUI_1
917 COND_TOOLKIT_MGL_USE_GUI_1
919 COND_TOOLKIT_MOTIF_USE_GUI_1
920 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_MSW_USE_GUI_1
923 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW_WXUNIV_0
925 COND_TOOLKIT_OSX_CARBON
926 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
927 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_OSX_COCOA
929 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
930 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_OSX_IPHONE
933 COND_TOOLKIT_PM_USE_GUI_1
934 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE_USE_GUI_1
937 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_WXUNIV_0
940 COND_TOOLKIT_X11_USE_GUI_1
942 COND_USE_EXCEPTIONS_0
943 COND_USE_EXCEPTIONS_1
946 COND_USE_GUI_1_USE_OPENGL_1
947 COND_USE_GUI_1_WXUNIV_0
948 COND_USE_GUI_1_WXUNIV_1
949 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
950 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
951 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
957 COND_USE_SOSYMLINKS_1
958 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
959 COND_USE_SOVERLINUX_1
961 COND_USE_SOVERSOLARIS_1
966 COND_WINDOWS_IMPLIB_1
967 COND_WITH_PLUGIN_SDL_1
970 COND_WXUSE_EXPAT_BUILTIN
971 COND_WXUSE_LIBJPEG_BUILTIN
972 COND_WXUSE_LIBPNG_BUILTIN
973 COND_WXUSE_LIBTIFF_BUILTIN
974 COND_WXUSE_REGEX_BUILTIN
975 COND_WXUSE_ZLIB_BUILTIN
978 WX_LIBRARY_BASENAME_NOGUI
979 WX_LIBRARY_BASENAME_GUI
1011 WX_RESOURCES_MACOSX_ASCII
1012 WX_RESOURCES_MACOSX_DATA
1022 ac_precious_vars='build_alias
1046 LIBGNOMEPRINTUI_CFLAGS
1047 LIBGNOMEPRINTUI_LIBS
1056 ac_subdirs_all='src/tiff
1059 # Initialize some variables set by options.
1061 ac_init_version=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file=/dev/null
1071 program_transform_name=s,x,x,
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir='${exec_prefix}/bin'
1086 sbindir='${exec_prefix}/sbin'
1087 libexecdir='${exec_prefix}/libexec'
1088 datarootdir='${prefix}/share'
1089 datadir='${datarootdir}'
1090 sysconfdir='${prefix}/etc'
1091 sharedstatedir='${prefix}/com'
1092 localstatedir='${prefix}/var'
1093 includedir='${prefix}/include'
1094 oldincludedir='/usr/include'
1095 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir='${datarootdir}/info'
1101 libdir='${exec_prefix}/lib'
1102 localedir='${datarootdir}/locale'
1103 mandir='${datarootdir}/man'
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\$ac_option
1117 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1123 case $ac_dashdash$ac_option in
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir=$ac_optarg ;;
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev=build_alias ;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias=$ac_optarg ;;
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev=cache_file ;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file=$ac_optarg ;;
1144 --config-cache | -C)
1145 cache_file=config.cache ;;
1147 -datadir | --datadir | --datadi | --datad)
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir=$ac_optarg ;;
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev=datarootdir ;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir=$ac_optarg ;;
1159 -disable-* | --disable-*)
1160 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_$ac_feature=no ;;
1168 -docdir | --docdir | --docdi | --doc | --do)
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir=$ac_optarg ;;
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir=$ac_optarg ;;
1178 -enable-* | --enable-*)
1179 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_$ac_feature=\$ac_optarg ;;
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev=exec_prefix ;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix=$ac_optarg ;;
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help=long ;;
1202 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1203 ac_init_help=recursive ;;
1204 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1205 ac_init_help=short ;;
1207 -host | --host | --hos | --ho)
1208 ac_prev=host_alias ;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias=$ac_optarg ;;
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1216 htmldir=$ac_optarg ;;
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev=includedir ;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir=$ac_optarg ;;
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir=$ac_optarg ;;
1230 -libdir | --libdir | --libdi | --libd)
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir=$ac_optarg ;;
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev=libexecdir ;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir=$ac_optarg ;;
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev=localedir ;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir=$ac_optarg ;;
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev=localstatedir ;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir=$ac_optarg ;;
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev=oldincludedir ;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir=$ac_optarg ;;
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix=$ac_optarg ;;
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev=program_prefix ;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix=$ac_optarg ;;
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev=program_suffix ;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix=$ac_optarg ;;
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev=program_transform_name ;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name=$ac_optarg ;;
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir=$ac_optarg ;;
1321 -psdir | --psdir | --psdi | --psd | --ps)
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1334 sbindir=$ac_optarg ;;
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1340 ac_prev=sharedstatedir ;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1345 sharedstatedir=$ac_optarg ;;
1347 -site | --site | --sit)
1349 -site=* | --site=* | --sit=*)
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir=$ac_optarg ;;
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev=sysconfdir ;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir=$ac_optarg ;;
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev=target_alias ;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias=$ac_optarg ;;
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version=: ;;
1376 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=\$ac_optarg ;;
1384 -without-* | --without-*)
1385 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_$ac_package=no ;;
1394 # Obsolete; use --with-x.
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1417 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1442 # Be sure to have absolute directory names.
1443 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1448 eval ac_val=\$$ac_var
1450 [\\/$]* | ?:[\\/]* ) continue;;
1451 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1462 target=$target_alias
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x; then
1466 if test "x$build_alias" = x; then
1467 cross_compiling=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1478 test "$silent" = yes && exec 6>/dev/null
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1523 ac_srcdir_defaulted=no
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1543 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1545 for ac_var in $ac_precious_vars; do
1546 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_${ac_var}_value=\$${ac_var}
1548 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1553 # Report the --help message.
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1566 Defaults for the options are specified in brackets.
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1590 For better control, use the options below.
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1617 --x-includes=DIR X include files are in DIR
1618 --x-libraries=DIR X library files are in DIR
1621 --build=BUILD configure for building on BUILD [guessed]
1622 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1623 --target=TARGET configure for building compilers for TARGET [HOST]
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1636 --disable-gui don't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --enable-debug same as debug_flag and debug_info
1648 --enable-stl use STL for containers
1649 --enable-std_iostreams use standard C++ stream classes
1650 --enable-std_string use standard C++ string classes
1651 --disable-unicode compile without Unicode support
1652 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1653 --enable-utf8 use UTF-8 representation for strings (Unix only)
1654 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1655 --enable-extended_rtti use extended RTTI (XTI)
1656 --enable-omf use OMF object format
1657 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1658 --enable-debug_info create code with debugging information
1659 --disable-optimise compile without optimisations
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-xlocale use x-locale support (requires wxLocale)
1677 --enable-config use wxConfig (and derived) classes
1678 --enable-protocols use wxProtocol and derived classes
1679 --enable-ftp use wxFTP (requires wxProtocol
1680 --enable-http use wxHTTP (requires wxProtocol
1681 --enable-fileproto use wxFileProto class (requires wxProtocol
1682 --enable-sockets use socket/network classes
1683 --enable-ipv6 enable IPv6 support in wxSocket
1684 --enable-ole use OLE classes (Win32 only)
1685 --enable-dataobj use data object classes
1686 --enable-ipc use interprocess communication (wxSocket etc.)
1687 --enable-baseevtloop use event loop in console programs too
1688 --enable-epollloop use wxEpollDispatcher class (Linux only)
1689 --enable-selectloop use wxSelectDispatcher class
1690 --enable-apple_ieee use the Apple IEEE codec
1691 --enable-arcstream use wxArchive streams
1692 --enable-base64 use base64 encoding/decoding functions
1693 --enable-backtrace use wxStackWalker class for getting backtraces
1694 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1695 --enable-cmdline use wxCmdLineParser class
1696 --enable-datetime use wxDateTime class
1697 --enable-debugreport use wxDebugReport class
1698 --enable-dialupman use dialup network classes
1699 --enable-dynlib use wxLibrary class for DLL loading
1700 --enable-dynamicloader use (new) wxDynamicLibrary class
1701 --enable-exceptions build exception-safe library
1702 --enable-ffile use wxFFile class
1703 --enable-file use wxFile class
1704 --enable-filesystem use virtual file systems classes
1705 --enable-fontenum use wxFontEnumerator class
1706 --enable-fontmap use font encodings conversion classes
1707 --enable-fs_archive use virtual archive filesystems
1708 --enable-fs_inet use virtual HTTP/FTP filesystems
1709 --enable-fs_zip now replaced by fs_archive
1710 --enable-geometry use geometry class
1711 --enable-log use logging system
1712 --enable-longlong use wxLongLong class
1713 --enable-mimetype use wxMimeTypesManager
1714 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1715 --enable-snglinst use wxSingleInstanceChecker class
1716 --enable-sound use wxSound class
1717 --enable-stdpaths use wxStandardPaths class
1718 --enable-stopwatch use wxStopWatch class
1719 --enable-streams use wxStream etc classes
1720 --enable-sysoptions use wxSystemOptions
1721 --enable-tarstream use wxTar streams
1722 --enable-textbuf use wxTextBuffer class
1723 --enable-textfile use wxTextFile class
1724 --enable-timer use wxTimer class
1725 --enable-variant use wxVariant class
1726 --enable-zipstream use wxZip streams
1727 --enable-url use wxURL class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support in wxProtocol
1730 --enable-protocol-ftp FTP support in wxProtocol
1731 --enable-protocol-file FILE support in wxProtocol
1732 --enable-threads use threads
1733 --enable-iniconf use wxIniConfig (Win32 only)
1734 --enable-regkey use wxRegKey class (Win32 only)
1735 --enable-docview use document view architecture
1736 --enable-help use help subsystem
1737 --enable-mshtmlhelp use MS HTML Help (win32)
1738 --enable-html use wxHTML sub-library
1739 --enable-htmlhelp use wxHTML-based help
1740 --enable-xrc use XRC resources sub-library
1741 --enable-aui use AUI docking library
1742 --enable-stc use wxStyledTextCtrl library
1743 --enable-constraints use layout-constraints system
1744 --enable-loggui use standard GUI logger
1745 --enable-logwin use wxLogWindow
1746 --enable-logdialog use wxLogDialog
1747 --enable-mdi use multiple document interface architecture
1748 --enable-mdidoc use docview architecture with MDI
1749 --enable-mediactrl use wxMediaCtrl class
1750 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1751 --enable-webkit use wxWebKitCtrl (Mac)
1752 --enable-richtext use wxRichTextCtrl
1753 --enable-graphics_ctx use graphics context 2D drawing API
1754 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1755 --enable-printarch use printing architecture
1756 --enable-svg use wxSVGFileDC device context
1757 --enable-clipboard use wxClipboard class
1758 --enable-dnd use Drag'n'Drop classes
1759 --enable-metafile use win32 metafiles
1760 --disable-controls disable compilation of all standard controls
1761 --enable-accel use accelerators
1762 --enable-animatectrl use wxAnimationCtrl class
1763 --enable-button use wxButton class
1764 --enable-bmpbutton use wxBitmapButton class
1765 --enable-bmpcombobox use wxBitmapComboBox class
1766 --enable-calendar use wxCalendarCtrl class
1767 --enable-caret use wxCaret class
1768 --enable-checkbox use wxCheckBox class
1769 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1770 --enable-choice use wxChoice class
1771 --enable-choicebook use wxChoicebook class
1772 --enable-collpane use wxCollapsiblePane class
1773 --enable-colourpicker use wxColourPickerCtrl class
1774 --enable-combobox use wxComboBox class
1775 --enable-comboctrl use wxComboCtrl class
1776 --enable-datepick use wxDatePickerCtrl class
1777 --enable-dirpicker use wxDirPickerCtrl class
1778 --enable-display use wxDisplay class
1779 --enable-detect_sm use code to detect X11 session manager
1780 --enable-editablebox use wxEditableListBox class
1781 --enable-filepicker use wxFilePickerCtrl class
1782 --enable-filectrl use wxFileCtrl class
1783 --enable-fontpicker use wxFontPickerCtrl class
1784 --enable-gauge use wxGauge class
1785 --enable-grid use wxGrid class
1786 --enable-dataviewctrl use wxDataViewCtrl class
1787 --enable-hyperlink use wxHyperlinkCtrl class
1788 --enable-imaglist use wxImageList class
1789 --enable-listbook use wxListbook class
1790 --enable-listbox use wxListBox class
1791 --enable-listctrl use wxListCtrl class
1792 --enable-notebook use wxNotebook class
1793 --enable-notifmsg use wxNotificationMessage class
1794 --enable-odcombobox use wxOwnerDrawnComboBox class
1795 --enable-radiobox use wxRadioBox class
1796 --enable-radiobtn use wxRadioButton class
1797 --enable-sash use wxSashWindow class
1798 --enable-scrollbar use wxScrollBar class and scrollable windows
1799 --enable-searchctrl use wxSearchCtrl class
1800 --enable-slider use wxSlider class
1801 --enable-spinbtn use wxSpinButton class
1802 --enable-spinctrl use wxSpinCtrl class
1803 --enable-splitter use wxSplitterWindow class
1804 --enable-statbmp use wxStaticBitmap class
1805 --enable-statbox use wxStaticBox class
1806 --enable-statline use wxStaticLine class
1807 --enable-stattext use wxStaticText class
1808 --enable-statusbar use wxStatusBar class
1809 --enable-tabdialog use wxTabControl class
1810 --enable-taskbaricon use wxTaskBarIcon class
1811 --enable-textctrl use wxTextCtrl class
1812 --enable-togglebtn use wxToggleButton class
1813 --enable-toolbar use wxToolBar class
1814 --enable-tbarnative use native wxToolBar class
1815 --enable-treebook use wxTreebook class
1816 --enable-toolbook use wxToolbook class
1817 --enable-treectrl use wxTreeCtrl class
1818 --enable-tipwindow use wxTipWindow class
1819 --enable-popupwin use wxPopUpWindow class
1820 --enable-commondlg use all common dialogs
1821 --enable-aboutdlg use wxAboutBox
1822 --enable-choicedlg use wxChoiceDialog
1823 --enable-coldlg use wxColourDialog
1824 --enable-filedlg use wxFileDialog
1825 --enable-finddlg use wxFindReplaceDialog
1826 --enable-fontdlg use wxFontDialog
1827 --enable-dirdlg use wxDirDialog
1828 --enable-msgdlg use wxMessageDialog
1829 --enable-numberdlg use wxNumberEntryDialog
1830 --enable-splash use wxSplashScreen
1831 --enable-textdlg use wxTextDialog
1832 --enable-tipdlg use startup tips
1833 --enable-progressdlg use wxProgressDialog
1834 --enable-wizarddlg use wxWizard
1835 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1836 --enable-miniframe use wxMiniFrame class
1837 --enable-tooltips use wxToolTip class
1838 --enable-splines use spline drawing code
1839 --enable-mousewheel use mousewheel
1840 --enable-validators use wxValidator and derived classes
1841 --enable-busyinfo use wxBusyInfo
1842 --enable-joystick use wxJoystick
1843 --enable-metafiles use wxMetaFile (Win32 only)
1844 --enable-dragimage use wxDragImage
1845 --enable-accessibility enable accessibility support
1846 --enable-palette use wxPalette class
1847 --enable-image use wxImage class
1848 --enable-gif use gif images (GIF file format)
1849 --enable-pcx use pcx images (PCX file format)
1850 --enable-tga use tga images (TGA file format)
1851 --enable-iff use iff images (IFF file format)
1852 --enable-pnm use pnm images (PNM file format)
1853 --enable-xpm use xpm images (XPM file format)
1854 --enable-ico_cur use Windows ICO and CUR formats
1855 --enable-dccache cache temporary wxDC objects (Win32 only)
1856 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1857 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1858 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1859 --enable-wxdib use wxDIB class (Win32 only)
1860 --enable-autoidman use automatic ids management
1861 --disable-largefile omit support for large files
1862 --disable-gtktest do not try to compile and run a test GTK+ program
1863 --disable-gtktest Do not try to compile and run a test GTK program
1864 --disable-sdltest Do not try to compile and run a test SDL program
1865 --enable-omf use OMF object format (OS/2)
1866 --disable-dependency-tracking
1867 don't use dependency tracking even if the compiler
1869 --disable-precomp-headers
1870 don't use precompiled headers even if compiler can
1873 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1874 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1875 --without-subdirs don't generate makefiles for samples/demos/...
1876 --with-flavour=NAME specify a name to identify this build
1877 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1878 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1879 --with-motif use Motif/Lesstif
1880 --with-osx_carbon use Mac OS X (Carbon)
1881 --with-osx_cocoa use Mac OS X (Cocoa)
1882 --with-mac use Mac OS X (Default)
1883 --with-cocoa use Cocoa
1884 --with-wine use Wine
1885 --with-msw use MS-Windows
1886 --with-pm use OS/2 Presentation Manager
1887 --with-mgl use SciTech MGL
1888 --with-directfb use DirectFB
1889 --with-microwin use MicroWindows
1891 --with-libpng use libpng (PNG image format)
1892 --with-libjpeg use libjpeg (JPEG file format)
1893 --with-libtiff use libtiff (TIFF file format)
1894 --with-libxpm use libxpm (XPM file format)
1895 --with-libiconv use libiconv (character conversion)
1896 --with-libmspack use libmspack (CHM help files loading)
1897 --without-gtkprint don't use GTK printing support
1898 --without-gnomeprint don't use GNOME printing libraries
1899 --with-gnomevfs use GNOME VFS for associating MIME types
1900 --with-hildon use Hildon framework for Nokia 770
1901 --with-opengl use OpenGL (or Mesa)
1902 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1903 --with-sdl use SDL for audio on Unix
1904 --with-regex enable support for wxRegEx class
1905 --with-zlib use zlib for LZW compression
1906 --with-expat enable XML support using expat parser
1907 --with-macosx-sdk=PATH use an OS X SDK at PATH
1908 --with-macosx-version-min=VER build binaries which require at least this OS X version
1909 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1910 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1911 --with-x use the X Window System
1912 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1913 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1914 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1915 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1916 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1918 Some influential environment variables:
1919 CC C compiler command
1920 CFLAGS C compiler flags
1921 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1922 nonstandard directory <lib dir>
1923 LIBS libraries to pass to the linker, e.g. -l<library>
1924 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1925 you have headers in a nonstandard directory <include dir>
1927 CXX C++ compiler command
1928 CXXFLAGS C++ compiler flags
1929 PKG_CONFIG path to pkg-config utility
1931 C compiler flags for DIRECTFB, overriding pkg-config
1933 linker flags for DIRECTFB, overriding pkg-config
1934 XMKMF Path to xmkmf, Makefile generator for X Window System
1936 C compiler flags for PANGOX, overriding pkg-config
1937 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1939 C compiler flags for PANGOFT2, overriding pkg-config
1941 linker flags for PANGOFT2, overriding pkg-config
1943 C compiler flags for PANGOXFT, overriding pkg-config
1945 linker flags for PANGOXFT, overriding pkg-config
1947 C compiler flags for GTKPRINT, overriding pkg-config
1949 linker flags for GTKPRINT, overriding pkg-config
1950 LIBGNOMEPRINTUI_CFLAGS
1951 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1952 LIBGNOMEPRINTUI_LIBS
1953 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1955 C compiler flags for GNOMEVFS, overriding pkg-config
1957 linker flags for GNOMEVFS, overriding pkg-config
1959 C compiler flags for HILDON, overriding pkg-config
1960 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1962 C compiler flags for CAIRO, overriding pkg-config
1963 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1964 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1965 GST_LIBS linker flags for GST, overriding pkg-config
1967 Use these variables to override the choices made by `configure' or to help
1968 it to find libraries and programs with nonstandard names/locations.
1970 Report bugs to <wx-dev@lists.wxwidgets.org>.
1975 if test "$ac_init_help" = "recursive"; then
1976 # If there are subdirs, report their specific --help.
1977 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1978 test -d "$ac_dir" || continue
1982 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1984 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1985 # A ".." for each directory in $ac_dir_suffix.
1986 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1987 case $ac_top_builddir_sub in
1988 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1989 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1992 ac_abs_top_builddir=$ac_pwd
1993 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1994 # for backward compatibility:
1995 ac_top_builddir=$ac_top_build_prefix
1998 .) # We are building in place.
2000 ac_top_srcdir=$ac_top_builddir_sub
2001 ac_abs_top_srcdir=$ac_pwd ;;
2002 [\\/]* | ?:[\\/]* ) # Absolute name.
2003 ac_srcdir=$srcdir$ac_dir_suffix;
2004 ac_top_srcdir=$srcdir
2005 ac_abs_top_srcdir=$srcdir ;;
2007 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2008 ac_top_srcdir=$ac_top_build_prefix$srcdir
2009 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2011 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2013 cd "$ac_dir" || { ac_status=$?; continue; }
2014 # Check for guested configure.
2015 if test -f "$ac_srcdir/configure.gnu"; then
2017 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2018 elif test -f "$ac_srcdir/configure"; then
2020 $SHELL "$ac_srcdir/configure" --help=recursive
2022 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2024 cd "$ac_pwd" || { ac_status=$?; break; }
2028 test -n "$ac_init_help" && exit $ac_status
2029 if $ac_init_version; then
2031 wxWidgets configure 2.9.0
2032 generated by GNU Autoconf 2.61
2034 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2035 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2036 This configure script is free software; the Free Software Foundation
2037 gives unlimited permission to copy, distribute and modify it.
2041 cat >config.log <<_ACEOF
2042 This file contains any messages produced by compilers while
2043 running configure, to aid debugging if configure makes a mistake.
2045 It was created by wxWidgets $as_me 2.9.0, which was
2046 generated by GNU Autoconf 2.61. Invocation command line was
2058 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2059 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2060 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2061 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2062 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2064 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2065 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2067 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2068 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2069 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2070 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2071 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2072 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2073 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2081 test -z "$as_dir" && as_dir=.
2082 echo "PATH: $as_dir"
2098 # Keep a trace of the command line.
2099 # Strip out --no-create and --no-recursion so they do not pile up.
2100 # Strip out --silent because we don't want to record it for future runs.
2101 # Also quote any args containing shell meta-characters.
2102 # Make two passes to allow for proper duplicate-argument suppression.
2106 ac_must_keep_next=false
2112 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2113 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2114 | -silent | --silent | --silen | --sile | --sil)
2117 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2120 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2122 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2123 if test $ac_must_keep_next = true; then
2124 ac_must_keep_next=false # Got value, back to normal.
2127 *=* | --config-cache | -C | -disable-* | --disable-* \
2128 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2129 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2130 | -with-* | --with-* | -without-* | --without-* | --x)
2131 case "$ac_configure_args0 " in
2132 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2135 -* ) ac_must_keep_next=true ;;
2138 ac_configure_args="$ac_configure_args '$ac_arg'"
2143 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2144 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2146 # When interrupted or exit'd, cleanup temporary files, and complete
2147 # config.log. We remove comments because anyway the quotes in there
2148 # would cause problems or look ugly.
2149 # WARNING: Use '\'' to represent an apostrophe within the trap.
2150 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2151 trap 'exit_status=$?
2152 # Save into config.log some information that might help in debugging.
2157 ## ---------------- ##
2158 ## Cache variables. ##
2159 ## ---------------- ##
2162 # The following way of writing the cache mishandles newlines in values,
2164 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2165 eval ac_val=\$$ac_var
2169 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2170 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2173 _ | IFS | as_nl) ;; #(
2174 *) $as_unset $ac_var ;;
2179 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2180 *${as_nl}ac_space=\ *)
2182 "s/'\''/'\''\\\\'\'''\''/g;
2183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2186 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2194 ## ----------------- ##
2195 ## Output variables. ##
2196 ## ----------------- ##
2199 for ac_var in $ac_subst_vars
2201 eval ac_val=\$$ac_var
2203 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2205 echo "$ac_var='\''$ac_val'\''"
2209 if test -n "$ac_subst_files"; then
2211 ## ------------------- ##
2212 ## File substitutions. ##
2213 ## ------------------- ##
2216 for ac_var in $ac_subst_files
2218 eval ac_val=\$$ac_var
2220 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2222 echo "$ac_var='\''$ac_val'\''"
2227 if test -s confdefs.h; then
2237 test "$ac_signal" != 0 &&
2238 echo "$as_me: caught signal $ac_signal"
2239 echo "$as_me: exit $exit_status"
2241 rm -f core *.core core.conftest.* &&
2242 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2245 for ac_signal in 1 2 13 15; do
2246 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2250 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2251 rm -f -r conftest* confdefs.h
2253 # Predefined preprocessor variables.
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_NAME "$PACKAGE_NAME"
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2265 cat >>confdefs.h <<_ACEOF
2266 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2270 cat >>confdefs.h <<_ACEOF
2271 #define PACKAGE_STRING "$PACKAGE_STRING"
2275 cat >>confdefs.h <<_ACEOF
2276 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2280 # Let the site file select an alternate cache file if it wants to.
2281 # Prefer explicitly selected file to automatically selected ones.
2282 if test -n "$CONFIG_SITE"; then
2283 set x "$CONFIG_SITE"
2284 elif test "x$prefix" != xNONE; then
2285 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2287 set x "$ac_default_prefix/share/config.site" \
2288 "$ac_default_prefix/etc/config.site"
2293 if test -r "$ac_site_file"; then
2294 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2295 echo "$as_me: loading site script $ac_site_file" >&6;}
2296 sed 's/^/| /' "$ac_site_file" >&5
2301 if test -r "$cache_file"; then
2302 # Some versions of bash will fail to source /dev/null (special
2303 # files actually), so we avoid doing that.
2304 if test -f "$cache_file"; then
2305 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2306 echo "$as_me: loading cache $cache_file" >&6;}
2308 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2309 *) . "./$cache_file";;
2313 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2314 echo "$as_me: creating cache $cache_file" >&6;}
2318 # Check that the precious variables saved in the cache have kept the same
2320 ac_cache_corrupted=false
2321 for ac_var in $ac_precious_vars; do
2322 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2323 eval ac_new_set=\$ac_env_${ac_var}_set
2324 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2325 eval ac_new_val=\$ac_env_${ac_var}_value
2326 case $ac_old_set,$ac_new_set in
2328 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2329 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2330 ac_cache_corrupted=: ;;
2332 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2333 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2334 ac_cache_corrupted=: ;;
2337 if test "x$ac_old_val" != "x$ac_new_val"; then
2338 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2339 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2340 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2341 echo "$as_me: former value: $ac_old_val" >&2;}
2342 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2343 echo "$as_me: current value: $ac_new_val" >&2;}
2344 ac_cache_corrupted=:
2347 # Pass precious variables to config.status.
2348 if test "$ac_new_set" = set; then
2350 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2351 *) ac_arg=$ac_var=$ac_new_val ;;
2353 case " $ac_configure_args " in
2354 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2355 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2359 if $ac_cache_corrupted; then
2360 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2361 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2362 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2363 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2364 { (exit 1); exit 1; }; }
2392 ac_cpp='$CPP $CPPFLAGS'
2393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2402 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2403 if test -f "$ac_dir/install-sh"; then
2405 ac_install_sh="$ac_aux_dir/install-sh -c"
2407 elif test -f "$ac_dir/install.sh"; then
2409 ac_install_sh="$ac_aux_dir/install.sh -c"
2411 elif test -f "$ac_dir/shtool"; then
2413 ac_install_sh="$ac_aux_dir/shtool install -c"
2417 if test -z "$ac_aux_dir"; then
2418 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2419 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2420 { (exit 1); exit 1; }; }
2423 # These three variables are undocumented and unsupported,
2424 # and are intended to be withdrawn in a future Autoconf release.
2425 # They can cause serious problems if a builder's source tree is in a directory
2426 # whose full name contains unusual characters.
2427 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2428 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2429 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2432 # Make sure we can run config.sub.
2433 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2434 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2435 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2436 { (exit 1); exit 1; }; }
2438 { echo "$as_me:$LINENO: checking build system type" >&5
2439 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2440 if test "${ac_cv_build+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 ac_build_alias=$build_alias
2444 test "x$ac_build_alias" = x &&
2445 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2446 test "x$ac_build_alias" = x &&
2447 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2448 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2449 { (exit 1); exit 1; }; }
2450 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2451 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2452 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2453 { (exit 1); exit 1; }; }
2456 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2457 echo "${ECHO_T}$ac_cv_build" >&6; }
2458 case $ac_cv_build in
2460 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2461 echo "$as_me: error: invalid value of canonical build" >&2;}
2462 { (exit 1); exit 1; }; };;
2465 ac_save_IFS=$IFS; IFS='-'
2471 # Remember, the first character of IFS is used to create $*,
2472 # except with old shells:
2475 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2478 { echo "$as_me:$LINENO: checking host system type" >&5
2479 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2480 if test "${ac_cv_host+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2483 if test "x$host_alias" = x; then
2484 ac_cv_host=$ac_cv_build
2486 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2487 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2488 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2489 { (exit 1); exit 1; }; }
2493 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2494 echo "${ECHO_T}$ac_cv_host" >&6; }
2497 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2498 echo "$as_me: error: invalid value of canonical host" >&2;}
2499 { (exit 1); exit 1; }; };;
2502 ac_save_IFS=$IFS; IFS='-'
2508 # Remember, the first character of IFS is used to create $*,
2509 # except with old shells:
2512 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2515 { echo "$as_me:$LINENO: checking target system type" >&5
2516 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2517 if test "${ac_cv_target+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2520 if test "x$target_alias" = x; then
2521 ac_cv_target=$ac_cv_host
2523 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2524 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2525 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2526 { (exit 1); exit 1; }; }
2530 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2531 echo "${ECHO_T}$ac_cv_target" >&6; }
2532 case $ac_cv_target in
2534 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2535 echo "$as_me: error: invalid value of canonical target" >&2;}
2536 { (exit 1); exit 1; }; };;
2538 target=$ac_cv_target
2539 ac_save_IFS=$IFS; IFS='-'
2545 # Remember, the first character of IFS is used to create $*,
2546 # except with old shells:
2549 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2552 # The aliases save the names the user supplied, while $host etc.
2553 # will get canonicalized.
2554 test -n "$target_alias" &&
2555 test "$program_prefix$program_suffix$program_transform_name" = \
2557 program_prefix=${target_alias}-
2561 wx_major_version_number=2
2562 wx_minor_version_number=9
2564 wx_subrelease_number=0
2566 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2567 WX_VERSION=$WX_RELEASE.$wx_release_number
2568 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2570 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2573 wx_top_builddir="`pwd`"
2586 USE_BSD= USE_DARWIN= USE_FREEBSD=
2592 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2598 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2600 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2602 DEFAULT_wxUSE_COCOA=0
2604 DEFAULT_wxUSE_OSX_CARBON=0
2605 DEFAULT_wxUSE_OSX_COCOA=0
2607 DEFAULT_wxUSE_MICROWIN=0
2608 DEFAULT_wxUSE_MOTIF=0
2614 DEFAULT_DEFAULT_wxUSE_COCOA=0
2615 DEFAULT_DEFAULT_wxUSE_GTK=0
2616 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2617 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2618 DEFAULT_DEFAULT_wxUSE_MGL=0
2619 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2620 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2621 DEFAULT_DEFAULT_wxUSE_MSW=0
2622 DEFAULT_DEFAULT_wxUSE_PM=0
2623 DEFAULT_DEFAULT_wxUSE_X11=0
2624 DEFAULT_DEFAULT_wxUSE_DFB=0
2629 SAMPLES_RPATH_POSTLINK=
2631 DEFAULT_STD_FLAG=yes
2636 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2637 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2639 cat >>confdefs.h <<\_ACEOF
2644 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2648 cat >>confdefs.h <<\_ACEOF
2653 if test "x$TMP" = "xalpha"; then
2655 cat >>confdefs.h <<\_ACEOF
2660 DEFAULT_DEFAULT_wxUSE_GTK=1
2662 *-*-gnu* | *-*-k*bsd*-gnu )
2665 if test "x$TMP" = "xalpha"; then
2667 cat >>confdefs.h <<\_ACEOF
2672 DEFAULT_DEFAULT_wxUSE_GTK=1
2674 *-*-irix5* | *-*-irix6* )
2677 cat >>confdefs.h <<\_ACEOF
2681 cat >>confdefs.h <<\_ACEOF
2685 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2691 cat >>confdefs.h <<\_ACEOF
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __SOLARIS__ 1
2699 cat >>confdefs.h <<\_ACEOF
2703 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2704 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2710 cat >>confdefs.h <<\_ACEOF
2714 cat >>confdefs.h <<\_ACEOF
2718 cat >>confdefs.h <<\_ACEOF
2722 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __FREEBSD__ 1
2731 cat >>confdefs.h <<\_ACEOF
2735 DEFAULT_DEFAULT_wxUSE_GTK=1
2737 *-*-openbsd*|*-*-mirbsd*)
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __OPENBSD__ 1
2744 cat >>confdefs.h <<\_ACEOF
2748 DEFAULT_DEFAULT_wxUSE_GTK=1
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __NETBSD__ 1
2757 cat >>confdefs.h <<\_ACEOF
2761 DEFAULT_DEFAULT_wxUSE_GTK=1
2762 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2764 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2769 cat >>confdefs.h <<\_ACEOF
2773 cat >>confdefs.h <<\_ACEOF
2777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2778 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2783 cat >>confdefs.h <<\_ACEOF
2787 cat >>confdefs.h <<\_ACEOF
2791 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2796 cat >>confdefs.h <<\_ACEOF
2800 cat >>confdefs.h <<\_ACEOF
2804 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2811 cat >>confdefs.h <<\_ACEOF
2815 cat >>confdefs.h <<\_ACEOF
2819 cat >>confdefs.h <<\_ACEOF
2823 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2830 cat >>confdefs.h <<\_ACEOF
2831 #define __UNIXWARE__ 1
2836 *-*-cygwin* | *-*-mingw32* )
2839 DEFAULT_DEFAULT_wxUSE_MSW=1
2845 cat >>confdefs.h <<\_ACEOF
2850 DEFAULT_DEFAULT_wxUSE_MGL=1
2853 *-pc-os2_emx | *-pc-os2-emx )
2854 cat >>confdefs.h <<\_ACEOF
2859 cat >>confdefs.h <<\_ACEOF
2864 DEFAULT_DEFAULT_wxUSE_PM=1
2866 LDFLAGS="$LDFLAGS -Zcrtdll"
2867 ac_executable_extensions=".exe"
2868 export ac_executable_extensions
2872 for ac_dir in $PATH; do
2874 if test -z "$ac_TEMP_PATH"; then
2875 ac_TEMP_PATH="$ac_dir"
2877 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2880 export PATH="$ac_TEMP_PATH"
2889 cat >>confdefs.h <<\_ACEOF
2893 cat >>confdefs.h <<\_ACEOF
2894 #define __DARWIN__ 1
2897 cat >>confdefs.h <<\_ACEOF
2898 #define TARGET_CARBON 1
2901 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2904 powerpc-apple-macos* )
2906 ac_cv_c_bigendian=yes
2908 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2914 cat >>confdefs.h <<\_ACEOF
2921 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2922 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2923 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2924 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2926 DEFAULT_DEFAULT_wxUSE_X11=1
2927 DEFAULT_wxUSE_SHARED=no
2932 DEFAULT_wxUSE_ALL_FEATURES=yes
2934 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2935 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2937 DEFAULT_wxUSE_DMALLOC=no
2938 DEFAULT_wxUSE_LIBGNOMEVFS=no
2939 DEFAULT_wxUSE_LIBHILDON=no
2940 DEFAULT_wxUSE_LIBMSPACK=no
2941 DEFAULT_wxUSE_LIBSDL=no
2942 DEFAULT_wxUSE_OPENGL=no
2944 DEFAULT_wxUSE_ACCESSIBILITY=no
2945 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2946 DEFAULT_wxUSE_IPV6=no
2947 DEFAULT_wxUSE_MEDIACTRL=no
2948 DEFAULT_wxUSE_TAB_DIALOG=no
2949 DEFAULT_wxUSE_GSTREAMER8=no
2951 DEFAULT_wxUSE_UNICODE_UTF8=auto
2952 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2954 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2956 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2958 DEFAULT_wxUSE_GTK2=yes
2960 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2966 enablestring=disable
2968 if test -z "$defaultval"; then
2969 if test x"$enablestring" = xdisable; then
2976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2977 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2978 # Check whether --enable-gui was given.
2979 if test "${enable_gui+set}" = set; then
2980 enableval=$enable_gui;
2981 if test "$enableval" = yes; then
2982 wx_cv_use_gui='wxUSE_GUI=yes'
2984 wx_cv_use_gui='wxUSE_GUI=no'
2989 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2994 eval "$wx_cv_use_gui"
2996 if test x"$enablestring" = xdisable; then
2997 if test $wxUSE_GUI = yes; then
3006 { echo "$as_me:$LINENO: result: $result" >&5
3007 echo "${ECHO_T}$result" >&6; }
3012 if test -z "$defaultval"; then
3013 if test x"$enablestring" = xdisable; then
3020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3021 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3022 # Check whether --enable-monolithic was given.
3023 if test "${enable_monolithic+set}" = set; then
3024 enableval=$enable_monolithic;
3025 if test "$enableval" = yes; then
3026 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3028 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3033 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3038 eval "$wx_cv_use_monolithic"
3040 if test x"$enablestring" = xdisable; then
3041 if test $wxUSE_MONOLITHIC = yes; then
3047 result=$wxUSE_MONOLITHIC
3050 { echo "$as_me:$LINENO: result: $result" >&5
3051 echo "${ECHO_T}$result" >&6; }
3056 if test -z "$defaultval"; then
3057 if test x"$enablestring" = xdisable; then
3064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3065 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3066 # Check whether --enable-plugins was given.
3067 if test "${enable_plugins+set}" = set; then
3068 enableval=$enable_plugins;
3069 if test "$enableval" = yes; then
3070 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3072 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3077 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3082 eval "$wx_cv_use_plugins"
3084 if test x"$enablestring" = xdisable; then
3085 if test $wxUSE_PLUGINS = yes; then
3091 result=$wxUSE_PLUGINS
3094 { echo "$as_me:$LINENO: result: $result" >&5
3095 echo "${ECHO_T}$result" >&6; }
3099 defaultval=$wxUSE_ALL_FEATURES
3100 if test -z "$defaultval"; then
3101 if test x"$withstring" = xwithout; then
3107 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3108 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3110 # Check whether --with-subdirs was given.
3111 if test "${with_subdirs+set}" = set; then
3112 withval=$with_subdirs;
3113 if test "$withval" = yes; then
3114 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3116 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3121 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3126 eval "$wx_cv_use_subdirs"
3128 if test x"$withstring" = xwithout; then
3129 if test $wxWITH_SUBDIRS = yes; then
3135 result=$wxWITH_SUBDIRS
3138 { echo "$as_me:$LINENO: result: $result" >&5
3139 echo "${ECHO_T}$result" >&6; }
3142 # Check whether --with-flavour was given.
3143 if test "${with_flavour+set}" = set; then
3144 withval=$with_flavour; WX_FLAVOUR="$withval"
3150 if test -z "$defaultval"; then
3151 if test x"$enablestring" = xdisable; then
3158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3159 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3160 # Check whether --enable-official_build was given.
3161 if test "${enable_official_build+set}" = set; then
3162 enableval=$enable_official_build;
3163 if test "$enableval" = yes; then
3164 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3166 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3171 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3176 eval "$wx_cv_use_official_build"
3178 if test x"$enablestring" = xdisable; then
3179 if test $wxUSE_OFFICIAL_BUILD = yes; then
3185 result=$wxUSE_OFFICIAL_BUILD
3188 { echo "$as_me:$LINENO: result: $result" >&5
3189 echo "${ECHO_T}$result" >&6; }
3191 # Check whether --enable-vendor was given.
3192 if test "${enable_vendor+set}" = set; then
3193 enableval=$enable_vendor; VENDOR="$enableval"
3196 if test "x$VENDOR" = "x"; then
3201 enablestring=disable
3203 if test -z "$defaultval"; then
3204 if test x"$enablestring" = xdisable; then
3211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3212 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3213 # Check whether --enable-all-features was given.
3214 if test "${enable_all_features+set}" = set; then
3215 enableval=$enable_all_features;
3216 if test "$enableval" = yes; then
3217 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3219 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3224 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3229 eval "$wx_cv_use_all_features"
3231 if test x"$enablestring" = xdisable; then
3232 if test $wxUSE_ALL_FEATURES = yes; then
3238 result=$wxUSE_ALL_FEATURES
3241 { echo "$as_me:$LINENO: result: $result" >&5
3242 echo "${ECHO_T}$result" >&6; }
3246 if test "$wxUSE_GUI" = "yes"; then
3251 if test -z "$defaultval"; then
3252 if test x"$enablestring" = xdisable; then
3259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3260 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3261 # Check whether --enable-universal was given.
3262 if test "${enable_universal+set}" = set; then
3263 enableval=$enable_universal;
3264 if test "$enableval" = yes; then
3265 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3267 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3272 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3277 eval "$wx_cv_use_universal"
3279 if test x"$enablestring" = xdisable; then
3280 if test $wxUSE_UNIVERSAL = yes; then
3286 result=$wxUSE_UNIVERSAL
3289 { echo "$as_me:$LINENO: result: $result" >&5
3290 echo "${ECHO_T}$result" >&6; }
3292 if test "$wxUSE_UNIVERSAL" = "yes"; then
3294 # Check whether --with-themes was given.
3295 if test "${with_themes+set}" = set; then
3296 withval=$with_themes; wxUNIV_THEMES="$withval"
3302 # Check whether --with-gtk was given.
3303 if test "${with_gtk+set}" = set; then
3304 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3308 # Check whether --with-motif was given.
3309 if test "${with_motif+set}" = set; then
3310 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3314 # Check whether --with-osx_carbon was given.
3315 if test "${with_osx_carbon+set}" = set; then
3316 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3320 # Check whether --with-osx_cocoa was given.
3321 if test "${with_osx_cocoa+set}" = set; then
3322 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3326 # Check whether --with-mac was given.
3327 if test "${with_mac+set}" = set; then
3328 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3332 # Check whether --with-cocoa was given.
3333 if test "${with_cocoa+set}" = set; then
3334 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3338 # Check whether --with-wine was given.
3339 if test "${with_wine+set}" = set; then
3340 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3344 # Check whether --with-msw was given.
3345 if test "${with_msw+set}" = set; then
3346 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3350 # Check whether --with-pm was given.
3351 if test "${with_pm+set}" = set; then
3352 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3356 # Check whether --with-mgl was given.
3357 if test "${with_mgl+set}" = set; then
3358 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3362 # Check whether --with-directfb was given.
3363 if test "${with_directfb+set}" = set; then
3364 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3368 # Check whether --with-microwin was given.
3369 if test "${with_microwin+set}" = set; then
3370 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3374 # Check whether --with-x11 was given.
3375 if test "${with_x11+set}" = set; then
3376 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3382 if test -z "$defaultval"; then
3383 if test x"$enablestring" = xdisable; then
3390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3391 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3392 # Check whether --enable-nanox was given.
3393 if test "${enable_nanox+set}" = set; then
3394 enableval=$enable_nanox;
3395 if test "$enableval" = yes; then
3396 wx_cv_use_nanox='wxUSE_NANOX=yes'
3398 wx_cv_use_nanox='wxUSE_NANOX=no'
3403 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3408 eval "$wx_cv_use_nanox"
3410 if test x"$enablestring" = xdisable; then
3411 if test $wxUSE_NANOX = yes; then
3420 { echo "$as_me:$LINENO: result: $result" >&5
3421 echo "${ECHO_T}$result" >&6; }
3424 # Check whether --enable-gtk2 was given.
3425 if test "${enable_gtk2+set}" = set; then
3426 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3432 if test -z "$defaultval"; then
3433 if test x"$enablestring" = xdisable; then
3440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3441 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3442 # Check whether --enable-gpe was given.
3443 if test "${enable_gpe+set}" = set; then
3444 enableval=$enable_gpe;
3445 if test "$enableval" = yes; then
3446 wx_cv_use_gpe='wxUSE_GPE=yes'
3448 wx_cv_use_gpe='wxUSE_GPE=no'
3453 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3458 eval "$wx_cv_use_gpe"
3460 if test x"$enablestring" = xdisable; then
3461 if test $wxUSE_GPE = yes; then
3470 { echo "$as_me:$LINENO: result: $result" >&5
3471 echo "${ECHO_T}$result" >&6; }
3475 { echo "$as_me:$LINENO: checking for toolkit" >&5
3476 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3480 # In Wine, we need to default to MSW, not GTK or MOTIF
3481 if test "$wxUSE_WINE" = "yes"; then
3482 DEFAULT_DEFAULT_wxUSE_GTK=0
3483 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3484 DEFAULT_DEFAULT_wxUSE_MSW=1
3491 if test "$wxUSE_GUI" = "yes"; then
3493 if test "$USE_BEOS" = 1; then
3494 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3495 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3496 { (exit 1); exit 1; }; }
3499 if test "$TOOLKIT_GIVEN" = 1; then
3500 for toolkit in $ALL_TOOLKITS; do
3502 eval "value=\$${var}"
3503 if test "x$value" = "xno"; then
3505 elif test "x$value" != "x"; then
3509 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3510 eval "wx${toolkit}_VERSION=$value"
3514 for toolkit in $ALL_TOOLKITS; do
3515 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3516 eval "wxUSE_$toolkit=\$${var}"
3520 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3521 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3522 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3525 *-pc-os2_emx | *-pc-os2-emx )
3526 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3529 case "$NUM_TOOLKITS" in
3533 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3534 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3535 { (exit 1); exit 1; }; }
3538 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3539 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3540 { (exit 1); exit 1; }; }
3543 # to be removed when --disable-gtk2 isn't needed
3544 if test "x$wxUSE_GTK2" = "xyes"; then
3546 elif test "x$wxUSE_GTK2" = "xno"; then
3550 for toolkit in $ALL_TOOLKITS; do
3552 eval "value=\$${var}"
3553 if test "$value" = 1; then
3554 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3555 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3556 echo "${ECHO_T}$toolkit_echo" >&6; }
3560 if test "x$host_alias" != "x"; then
3561 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3562 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3564 { echo "$as_me:$LINENO: result: base only" >&5
3565 echo "${ECHO_T}base only" >&6; }
3570 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3576 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3577 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3579 # Check whether --with-libpng was given.
3580 if test "${with_libpng+set}" = set; then
3581 withval=$with_libpng;
3582 if test "$withval" = yes; then
3583 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3584 elif test "$withval" = no; then
3585 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3586 elif test "$withval" = sys; then
3587 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3588 elif test "$withval" = builtin; then
3589 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3591 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3592 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3593 { (exit 1); exit 1; }; }
3598 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3603 eval "$wx_cv_use_libpng"
3605 if test "$wxUSE_LIBPNG" = yes; then
3606 { echo "$as_me:$LINENO: result: yes" >&5
3607 echo "${ECHO_T}yes" >&6; }
3608 elif test "$wxUSE_LIBPNG" = no; then
3609 { echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6; }
3611 elif test "$wxUSE_LIBPNG" = sys; then
3612 { echo "$as_me:$LINENO: result: system version" >&5
3613 echo "${ECHO_T}system version" >&6; }
3614 elif test "$wxUSE_LIBPNG" = builtin; then
3615 { echo "$as_me:$LINENO: result: builtin version" >&5
3616 echo "${ECHO_T}builtin version" >&6; }
3618 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3619 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3620 { (exit 1); exit 1; }; }
3624 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3625 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3627 # Check whether --with-libjpeg was given.
3628 if test "${with_libjpeg+set}" = set; then
3629 withval=$with_libjpeg;
3630 if test "$withval" = yes; then
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3632 elif test "$withval" = no; then
3633 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3634 elif test "$withval" = sys; then
3635 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3636 elif test "$withval" = builtin; then
3637 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3639 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3640 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3641 { (exit 1); exit 1; }; }
3646 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3651 eval "$wx_cv_use_libjpeg"
3653 if test "$wxUSE_LIBJPEG" = yes; then
3654 { echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6; }
3656 elif test "$wxUSE_LIBJPEG" = no; then
3657 { echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6; }
3659 elif test "$wxUSE_LIBJPEG" = sys; then
3660 { echo "$as_me:$LINENO: result: system version" >&5
3661 echo "${ECHO_T}system version" >&6; }
3662 elif test "$wxUSE_LIBJPEG" = builtin; then
3663 { echo "$as_me:$LINENO: result: builtin version" >&5
3664 echo "${ECHO_T}builtin version" >&6; }
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3672 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3673 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3675 # Check whether --with-libtiff was given.
3676 if test "${with_libtiff+set}" = set; then
3677 withval=$with_libtiff;
3678 if test "$withval" = yes; then
3679 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3680 elif test "$withval" = no; then
3681 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3682 elif test "$withval" = sys; then
3683 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3684 elif test "$withval" = builtin; then
3685 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3687 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3688 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3689 { (exit 1); exit 1; }; }
3694 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3699 eval "$wx_cv_use_libtiff"
3701 if test "$wxUSE_LIBTIFF" = yes; then
3702 { echo "$as_me:$LINENO: result: yes" >&5
3703 echo "${ECHO_T}yes" >&6; }
3704 elif test "$wxUSE_LIBTIFF" = no; then
3705 { echo "$as_me:$LINENO: result: no" >&5
3706 echo "${ECHO_T}no" >&6; }
3707 elif test "$wxUSE_LIBTIFF" = sys; then
3708 { echo "$as_me:$LINENO: result: system version" >&5
3709 echo "${ECHO_T}system version" >&6; }
3710 elif test "$wxUSE_LIBTIFF" = builtin; then
3711 { echo "$as_me:$LINENO: result: builtin version" >&5
3712 echo "${ECHO_T}builtin version" >&6; }
3714 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3715 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3720 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3721 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3723 # Check whether --with-libxpm was given.
3724 if test "${with_libxpm+set}" = set; then
3725 withval=$with_libxpm;
3726 if test "$withval" = yes; then
3727 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3728 elif test "$withval" = no; then
3729 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3730 elif test "$withval" = sys; then
3731 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3732 elif test "$withval" = builtin; then
3733 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3742 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3747 eval "$wx_cv_use_libxpm"
3749 if test "$wxUSE_LIBXPM" = yes; then
3750 { echo "$as_me:$LINENO: result: yes" >&5
3751 echo "${ECHO_T}yes" >&6; }
3752 elif test "$wxUSE_LIBXPM" = no; then
3753 { echo "$as_me:$LINENO: result: no" >&5
3754 echo "${ECHO_T}no" >&6; }
3755 elif test "$wxUSE_LIBXPM" = sys; then
3756 { echo "$as_me:$LINENO: result: system version" >&5
3757 echo "${ECHO_T}system version" >&6; }
3758 elif test "$wxUSE_LIBXPM" = builtin; then
3759 { echo "$as_me:$LINENO: result: builtin version" >&5
3760 echo "${ECHO_T}builtin version" >&6; }
3762 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3763 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3764 { (exit 1); exit 1; }; }
3769 defaultval=$wxUSE_ALL_FEATURES
3770 if test -z "$defaultval"; then
3771 if test x"$withstring" = xwithout; then
3777 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3778 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3780 # Check whether --with-libiconv was given.
3781 if test "${with_libiconv+set}" = set; then
3782 withval=$with_libiconv;
3783 if test "$withval" = yes; then
3784 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3786 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3791 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3796 eval "$wx_cv_use_libiconv"
3798 if test x"$withstring" = xwithout; then
3799 if test $wxUSE_LIBICONV = yes; then
3805 result=$wxUSE_LIBICONV
3808 { echo "$as_me:$LINENO: result: $result" >&5
3809 echo "${ECHO_T}$result" >&6; }
3813 defaultval=$wxUSE_ALL_FEATURES
3814 if test -z "$defaultval"; then
3815 if test x"$withstring" = xwithout; then
3821 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3822 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3824 # Check whether --with-libmspack was given.
3825 if test "${with_libmspack+set}" = set; then
3826 withval=$with_libmspack;
3827 if test "$withval" = yes; then
3828 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3830 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3835 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3840 eval "$wx_cv_use_libmspack"
3842 if test x"$withstring" = xwithout; then
3843 if test $wxUSE_LIBMSPACK = yes; then
3849 result=$wxUSE_LIBMSPACK
3852 { echo "$as_me:$LINENO: result: $result" >&5
3853 echo "${ECHO_T}$result" >&6; }
3857 defaultval=$wxUSE_ALL_FEATURES
3858 if test -z "$defaultval"; then
3859 if test x"$withstring" = xwithout; then
3865 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3866 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3868 # Check whether --with-gtkprint was given.
3869 if test "${with_gtkprint+set}" = set; then
3870 withval=$with_gtkprint;
3871 if test "$withval" = yes; then
3872 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3874 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3879 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3884 eval "$wx_cv_use_gtkprint"
3886 if test x"$withstring" = xwithout; then
3887 if test $wxUSE_GTKPRINT = yes; then
3893 result=$wxUSE_GTKPRINT
3896 { echo "$as_me:$LINENO: result: $result" >&5
3897 echo "${ECHO_T}$result" >&6; }
3901 defaultval=$wxUSE_ALL_FEATURES
3902 if test -z "$defaultval"; then
3903 if test x"$withstring" = xwithout; then
3909 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3910 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3912 # Check whether --with-gnomeprint was given.
3913 if test "${with_gnomeprint+set}" = set; then
3914 withval=$with_gnomeprint;
3915 if test "$withval" = yes; then
3916 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3918 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3923 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3928 eval "$wx_cv_use_gnomeprint"
3930 if test x"$withstring" = xwithout; then
3931 if test $wxUSE_LIBGNOMEPRINT = yes; then
3937 result=$wxUSE_LIBGNOMEPRINT
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}-gnomevfs" >&5
3954 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3956 # Check whether --with-gnomevfs was given.
3957 if test "${with_gnomevfs+set}" = set; then
3958 withval=$with_gnomevfs;
3959 if test "$withval" = yes; then
3960 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3962 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3967 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3972 eval "$wx_cv_use_gnomevfs"
3974 if test x"$withstring" = xwithout; then
3975 if test $wxUSE_LIBGNOMEVFS = yes; then
3981 result=$wxUSE_LIBGNOMEVFS
3984 { echo "$as_me:$LINENO: result: $result" >&5
3985 echo "${ECHO_T}$result" >&6; }
3989 defaultval=$wxUSE_ALL_FEATURES
3990 if test -z "$defaultval"; then
3991 if test x"$withstring" = xwithout; then
3997 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3998 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4000 # Check whether --with-hildon was given.
4001 if test "${with_hildon+set}" = set; then
4002 withval=$with_hildon;
4003 if test "$withval" = yes; then
4004 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4006 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4011 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4016 eval "$wx_cv_use_hildon"
4018 if test x"$withstring" = xwithout; then
4019 if test $wxUSE_LIBHILDON = yes; then
4025 result=$wxUSE_LIBHILDON
4028 { echo "$as_me:$LINENO: result: $result" >&5
4029 echo "${ECHO_T}$result" >&6; }
4033 defaultval=$wxUSE_ALL_FEATURES
4034 if test -z "$defaultval"; then
4035 if test x"$withstring" = xwithout; then
4041 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4042 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4044 # Check whether --with-opengl was given.
4045 if test "${with_opengl+set}" = set; then
4046 withval=$with_opengl;
4047 if test "$withval" = yes; then
4048 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4050 wx_cv_use_opengl='wxUSE_OPENGL=no'
4055 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4060 eval "$wx_cv_use_opengl"
4062 if test x"$withstring" = xwithout; then
4063 if test $wxUSE_OPENGL = yes; then
4069 result=$wxUSE_OPENGL
4072 { echo "$as_me:$LINENO: result: $result" >&5
4073 echo "${ECHO_T}$result" >&6; }
4080 defaultval=$wxUSE_ALL_FEATURES
4081 if test -z "$defaultval"; then
4082 if test x"$withstring" = xwithout; then
4088 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4089 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4091 # Check whether --with-dmalloc was given.
4092 if test "${with_dmalloc+set}" = set; then
4093 withval=$with_dmalloc;
4094 if test "$withval" = yes; then
4095 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4097 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4102 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4107 eval "$wx_cv_use_dmalloc"
4109 if test x"$withstring" = xwithout; then
4110 if test $wxUSE_DMALLOC = yes; then
4116 result=$wxUSE_DMALLOC
4119 { echo "$as_me:$LINENO: result: $result" >&5
4120 echo "${ECHO_T}$result" >&6; }
4124 defaultval=$wxUSE_ALL_FEATURES
4125 if test -z "$defaultval"; then
4126 if test x"$withstring" = xwithout; then
4132 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4133 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4135 # Check whether --with-sdl was given.
4136 if test "${with_sdl+set}" = set; then
4138 if test "$withval" = yes; then
4139 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4141 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4146 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4151 eval "$wx_cv_use_sdl"
4153 if test x"$withstring" = xwithout; then
4154 if test $wxUSE_LIBSDL = yes; then
4160 result=$wxUSE_LIBSDL
4163 { echo "$as_me:$LINENO: result: $result" >&5
4164 echo "${ECHO_T}$result" >&6; }
4167 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4168 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4170 # Check whether --with-regex was given.
4171 if test "${with_regex+set}" = set; then
4172 withval=$with_regex;
4173 if test "$withval" = yes; then
4174 wx_cv_use_regex='wxUSE_REGEX=yes'
4175 elif test "$withval" = no; then
4176 wx_cv_use_regex='wxUSE_REGEX=no'
4177 elif test "$withval" = sys; then
4178 wx_cv_use_regex='wxUSE_REGEX=sys'
4179 elif test "$withval" = builtin; then
4180 wx_cv_use_regex='wxUSE_REGEX=builtin'
4182 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4183 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4184 { (exit 1); exit 1; }; }
4189 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4194 eval "$wx_cv_use_regex"
4196 if test "$wxUSE_REGEX" = yes; then
4197 { echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6; }
4199 elif test "$wxUSE_REGEX" = no; then
4200 { echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6; }
4202 elif test "$wxUSE_REGEX" = sys; then
4203 { echo "$as_me:$LINENO: result: system version" >&5
4204 echo "${ECHO_T}system version" >&6; }
4205 elif test "$wxUSE_REGEX" = builtin; then
4206 { echo "$as_me:$LINENO: result: builtin version" >&5
4207 echo "${ECHO_T}builtin version" >&6; }
4209 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4210 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4211 { (exit 1); exit 1; }; }
4215 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4216 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4218 # Check whether --with-zlib was given.
4219 if test "${with_zlib+set}" = set; then
4221 if test "$withval" = yes; then
4222 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4223 elif test "$withval" = no; then
4224 wx_cv_use_zlib='wxUSE_ZLIB=no'
4225 elif test "$withval" = sys; then
4226 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4227 elif test "$withval" = builtin; then
4228 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4230 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4231 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4232 { (exit 1); exit 1; }; }
4237 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4242 eval "$wx_cv_use_zlib"
4244 if test "$wxUSE_ZLIB" = yes; then
4245 { echo "$as_me:$LINENO: result: yes" >&5
4246 echo "${ECHO_T}yes" >&6; }
4247 elif test "$wxUSE_ZLIB" = no; then
4248 { echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6; }
4250 elif test "$wxUSE_ZLIB" = sys; then
4251 { echo "$as_me:$LINENO: result: system version" >&5
4252 echo "${ECHO_T}system version" >&6; }
4253 elif test "$wxUSE_ZLIB" = builtin; then
4254 { echo "$as_me:$LINENO: result: builtin version" >&5
4255 echo "${ECHO_T}builtin version" >&6; }
4257 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4258 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4259 { (exit 1); exit 1; }; }
4263 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4264 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4266 # Check whether --with-expat was given.
4267 if test "${with_expat+set}" = set; then
4268 withval=$with_expat;
4269 if test "$withval" = yes; then
4270 wx_cv_use_expat='wxUSE_EXPAT=yes'
4271 elif test "$withval" = no; then
4272 wx_cv_use_expat='wxUSE_EXPAT=no'
4273 elif test "$withval" = sys; then
4274 wx_cv_use_expat='wxUSE_EXPAT=sys'
4275 elif test "$withval" = builtin; then
4276 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4278 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4279 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4280 { (exit 1); exit 1; }; }
4285 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4290 eval "$wx_cv_use_expat"
4292 if test "$wxUSE_EXPAT" = yes; then
4293 { echo "$as_me:$LINENO: result: yes" >&5
4294 echo "${ECHO_T}yes" >&6; }
4295 elif test "$wxUSE_EXPAT" = no; then
4296 { echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6; }
4298 elif test "$wxUSE_EXPAT" = sys; then
4299 { echo "$as_me:$LINENO: result: system version" >&5
4300 echo "${ECHO_T}system version" >&6; }
4301 elif test "$wxUSE_EXPAT" = builtin; then
4302 { echo "$as_me:$LINENO: result: builtin version" >&5
4303 echo "${ECHO_T}builtin version" >&6; }
4305 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4306 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4307 { (exit 1); exit 1; }; }
4311 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4312 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4314 # Check whether --with-macosx-sdk was given.
4315 if test "${with_macosx_sdk+set}" = set; then
4316 withval=$with_macosx_sdk;
4317 wxUSE_MACOSX_SDK=$withval
4318 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4322 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4323 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4325 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4326 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4328 # Check whether --with-macosx-version-min was given.
4329 if test "${with_macosx_version_min+set}" = set; then
4330 withval=$with_macosx_version_min;
4331 wxUSE_MACOSX_VERSION_MIN=$withval
4332 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4336 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4337 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4341 enablestring=disable
4343 if test -z "$defaultval"; then
4344 if test x"$enablestring" = xdisable; then
4351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4352 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4353 # Check whether --enable-shared was given.
4354 if test "${enable_shared+set}" = set; then
4355 enableval=$enable_shared;
4356 if test "$enableval" = yes; then
4357 wx_cv_use_shared='wxUSE_SHARED=yes'
4359 wx_cv_use_shared='wxUSE_SHARED=no'
4364 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4369 eval "$wx_cv_use_shared"
4371 if test x"$enablestring" = xdisable; then
4372 if test $wxUSE_SHARED = yes; then
4378 result=$wxUSE_SHARED
4381 { echo "$as_me:$LINENO: result: $result" >&5
4382 echo "${ECHO_T}$result" >&6; }
4387 if test -z "$defaultval"; then
4388 if test x"$enablestring" = xdisable; then
4395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4396 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4397 # Check whether --enable-debug was given.
4398 if test "${enable_debug+set}" = set; then
4399 enableval=$enable_debug;
4400 if test "$enableval" = yes; then
4401 wx_cv_use_debug='wxUSE_DEBUG=yes'
4403 wx_cv_use_debug='wxUSE_DEBUG=no'
4408 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4413 eval "$wx_cv_use_debug"
4415 if test x"$enablestring" = xdisable; then
4416 if test $wxUSE_DEBUG = yes; then
4425 { echo "$as_me:$LINENO: result: $result" >&5
4426 echo "${ECHO_T}$result" >&6; }
4431 if test -z "$defaultval"; then
4432 if test x"$enablestring" = xdisable; then
4439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4440 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4441 # Check whether --enable-stl was given.
4442 if test "${enable_stl+set}" = set; then
4443 enableval=$enable_stl;
4444 if test "$enableval" = yes; then
4445 wx_cv_use_stl='wxUSE_STL=yes'
4447 wx_cv_use_stl='wxUSE_STL=no'
4452 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4457 eval "$wx_cv_use_stl"
4459 if test x"$enablestring" = xdisable; then
4460 if test $wxUSE_STL = yes; then
4469 { echo "$as_me:$LINENO: result: $result" >&5
4470 echo "${ECHO_T}$result" >&6; }
4475 if test -z "$defaultval"; then
4476 if test x"$enablestring" = xdisable; then
4483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4484 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4485 # Check whether --enable-std_iostreams was given.
4486 if test "${enable_std_iostreams+set}" = set; then
4487 enableval=$enable_std_iostreams;
4488 if test "$enableval" = yes; then
4489 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4491 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4496 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4501 eval "$wx_cv_use_std_iostreams"
4503 if test x"$enablestring" = xdisable; then
4504 if test $wxUSE_STD_IOSTREAM = yes; then
4510 result=$wxUSE_STD_IOSTREAM
4513 { echo "$as_me:$LINENO: result: $result" >&5
4514 echo "${ECHO_T}$result" >&6; }
4519 if test -z "$defaultval"; then
4520 if test x"$enablestring" = xdisable; then
4527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4528 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4529 # Check whether --enable-std_string was given.
4530 if test "${enable_std_string+set}" = set; then
4531 enableval=$enable_std_string;
4532 if test "$enableval" = yes; then
4533 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4535 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4540 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4545 eval "$wx_cv_use_std_string"
4547 if test x"$enablestring" = xdisable; then
4548 if test $wxUSE_STD_STRING = yes; then
4554 result=$wxUSE_STD_STRING
4557 { echo "$as_me:$LINENO: result: $result" >&5
4558 echo "${ECHO_T}$result" >&6; }
4561 enablestring=disable
4563 if test -z "$defaultval"; then
4564 if test x"$enablestring" = xdisable; then
4571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4573 # Check whether --enable-unicode was given.
4574 if test "${enable_unicode+set}" = set; then
4575 enableval=$enable_unicode;
4576 if test "$enableval" = yes; then
4577 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4579 wx_cv_use_unicode='wxUSE_UNICODE=no'
4584 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4589 eval "$wx_cv_use_unicode"
4591 if test x"$enablestring" = xdisable; then
4592 if test $wxUSE_UNICODE = yes; then
4598 result=$wxUSE_UNICODE
4601 { echo "$as_me:$LINENO: result: $result" >&5
4602 echo "${ECHO_T}$result" >&6; }
4607 if test -z "$defaultval"; then
4608 if test x"$enablestring" = xdisable; then
4615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4616 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4617 # Check whether --enable-mslu was given.
4618 if test "${enable_mslu+set}" = set; then
4619 enableval=$enable_mslu;
4620 if test "$enableval" = yes; then
4621 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4623 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4628 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4633 eval "$wx_cv_use_mslu"
4635 if test x"$enablestring" = xdisable; then
4636 if test $wxUSE_UNICODE_MSLU = yes; then
4642 result=$wxUSE_UNICODE_MSLU
4645 { echo "$as_me:$LINENO: result: $result" >&5
4646 echo "${ECHO_T}$result" >&6; }
4650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4651 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4652 # Check whether --enable-utf8 was given.
4653 if test "${enable_utf8+set}" = set; then
4654 enableval=$enable_utf8;
4655 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4659 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4664 eval "$wx_cv_use_utf8"
4666 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4667 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4672 if test -z "$defaultval"; then
4673 if test x"$enablestring" = xdisable; then
4680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4681 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4682 # Check whether --enable-utf8only was given.
4683 if test "${enable_utf8only+set}" = set; then
4684 enableval=$enable_utf8only;
4685 if test "$enableval" = yes; then
4686 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4688 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4693 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4698 eval "$wx_cv_use_utf8only"
4700 if test x"$enablestring" = xdisable; then
4701 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4707 result=$wxUSE_UNICODE_UTF8_LOCALE
4710 { echo "$as_me:$LINENO: result: $result" >&5
4711 echo "${ECHO_T}$result" >&6; }
4716 if test -z "$defaultval"; then
4717 if test x"$enablestring" = xdisable; then
4724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4725 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4726 # Check whether --enable-extended_rtti was given.
4727 if test "${enable_extended_rtti+set}" = set; then
4728 enableval=$enable_extended_rtti;
4729 if test "$enableval" = yes; then
4730 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4732 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4737 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4742 eval "$wx_cv_use_extended_rtti"
4744 if test x"$enablestring" = xdisable; then
4745 if test $wxUSE_EXTENDED_RTTI = yes; then
4751 result=$wxUSE_EXTENDED_RTTI
4754 { echo "$as_me:$LINENO: result: $result" >&5
4755 echo "${ECHO_T}$result" >&6; }
4757 if test "$USE_OS2" = 1; then
4758 DEFAULT_wxUSE_OMF=no
4762 if test -z "$defaultval"; then
4763 if test x"$enablestring" = xdisable; then
4770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4771 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4772 # Check whether --enable-omf was given.
4773 if test "${enable_omf+set}" = set; then
4774 enableval=$enable_omf;
4775 if test "$enableval" = yes; then
4776 wx_cv_use_omf='wxUSE_OMF=yes'
4778 wx_cv_use_omf='wxUSE_OMF=no'
4783 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4788 eval "$wx_cv_use_omf"
4790 if test x"$enablestring" = xdisable; then
4791 if test $wxUSE_OMF = yes; then
4800 { echo "$as_me:$LINENO: result: $result" >&5
4801 echo "${ECHO_T}$result" >&6; }
4805 if test "$wxUSE_DEBUG" = "yes"; then
4806 DEFAULT_wxUSE_DEBUG_FLAG=yes
4807 DEFAULT_wxUSE_DEBUG_INFO=yes
4809 elif test "$wxUSE_DEBUG" = "no"; then
4810 DEFAULT_wxUSE_DEBUG_FLAG=no
4811 DEFAULT_wxUSE_DEBUG_INFO=no
4818 if test -z "$defaultval"; then
4819 if test x"$enablestring" = xdisable; then
4826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4827 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4828 # Check whether --enable-debug_flag was given.
4829 if test "${enable_debug_flag+set}" = set; then
4830 enableval=$enable_debug_flag;
4831 if test "$enableval" = yes; then
4832 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4834 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4839 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4844 eval "$wx_cv_use_debug_flag"
4846 if test x"$enablestring" = xdisable; then
4847 if test $wxUSE_DEBUG_FLAG = yes; then
4853 result=$wxUSE_DEBUG_FLAG
4856 { echo "$as_me:$LINENO: result: $result" >&5
4857 echo "${ECHO_T}$result" >&6; }
4862 if test -z "$defaultval"; then
4863 if test x"$enablestring" = xdisable; then
4870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4871 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4872 # Check whether --enable-debug_info was given.
4873 if test "${enable_debug_info+set}" = set; then
4874 enableval=$enable_debug_info;
4875 if test "$enableval" = yes; then
4876 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4878 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4883 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4888 eval "$wx_cv_use_debug_info"
4890 if test x"$enablestring" = xdisable; then
4891 if test $wxUSE_DEBUG_INFO = yes; then
4897 result=$wxUSE_DEBUG_INFO
4900 { echo "$as_me:$LINENO: result: $result" >&5
4901 echo "${ECHO_T}$result" >&6; }
4904 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4909 if test "$wxUSE_DEBUG" = "yes"; then
4910 DEFAULT_wxUSE_OPTIMISE=no
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}-optimise" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4926 # Check whether --enable-optimise was given.
4927 if test "${enable_optimise+set}" = set; then
4928 enableval=$enable_optimise;
4929 if test "$enableval" = yes; then
4930 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4932 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4937 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4942 eval "$wx_cv_use_optimise"
4944 if test x"$enablestring" = xdisable; then
4945 if test $wxUSE_OPTIMISE = yes; then
4951 result=$wxUSE_OPTIMISE
4954 { echo "$as_me:$LINENO: result: $result" >&5
4955 echo "${ECHO_T}$result" >&6; }
4961 if test -z "$defaultval"; then
4962 if test x"$enablestring" = xdisable; then
4969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4970 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4971 # Check whether --enable-debug_gdb was given.
4972 if test "${enable_debug_gdb+set}" = set; then
4973 enableval=$enable_debug_gdb;
4974 if test "$enableval" = yes; then
4975 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4977 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4982 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4987 eval "$wx_cv_use_debug_gdb"
4989 if test x"$enablestring" = xdisable; then
4990 if test $wxUSE_DEBUG_GDB = yes; then
4996 result=$wxUSE_DEBUG_GDB
4999 { echo "$as_me:$LINENO: result: $result" >&5
5000 echo "${ECHO_T}$result" >&6; }
5005 if test -z "$defaultval"; then
5006 if test x"$enablestring" = xdisable; then
5013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5014 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5015 # Check whether --enable-debug_cntxt was given.
5016 if test "${enable_debug_cntxt+set}" = set; then
5017 enableval=$enable_debug_cntxt;
5018 if test "$enableval" = yes; then
5019 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5021 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5026 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5031 eval "$wx_cv_use_debug_cntxt"
5033 if test x"$enablestring" = xdisable; then
5034 if test $wxUSE_DEBUG_CONTEXT = yes; then
5040 result=$wxUSE_DEBUG_CONTEXT
5043 { echo "$as_me:$LINENO: result: $result" >&5
5044 echo "${ECHO_T}$result" >&6; }
5049 if test -z "$defaultval"; then
5050 if test x"$enablestring" = xdisable; then
5057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5058 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5059 # Check whether --enable-mem_tracing was given.
5060 if test "${enable_mem_tracing+set}" = set; then
5061 enableval=$enable_mem_tracing;
5062 if test "$enableval" = yes; then
5063 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5065 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5070 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5075 eval "$wx_cv_use_mem_tracing"
5077 if test x"$enablestring" = xdisable; then
5078 if test $wxUSE_MEM_TRACING = yes; then
5084 result=$wxUSE_MEM_TRACING
5087 { echo "$as_me:$LINENO: result: $result" >&5
5088 echo "${ECHO_T}$result" >&6; }
5093 if test -z "$defaultval"; then
5094 if test x"$enablestring" = xdisable; then
5101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5102 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5103 # Check whether --enable-profile was given.
5104 if test "${enable_profile+set}" = set; then
5105 enableval=$enable_profile;
5106 if test "$enableval" = yes; then
5107 wx_cv_use_profile='wxUSE_PROFILE=yes'
5109 wx_cv_use_profile='wxUSE_PROFILE=no'
5114 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5119 eval "$wx_cv_use_profile"
5121 if test x"$enablestring" = xdisable; then
5122 if test $wxUSE_PROFILE = yes; then
5128 result=$wxUSE_PROFILE
5131 { echo "$as_me:$LINENO: result: $result" >&5
5132 echo "${ECHO_T}$result" >&6; }
5137 if test -z "$defaultval"; then
5138 if test x"$enablestring" = xdisable; then
5145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5146 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5147 # Check whether --enable-no_rtti was given.
5148 if test "${enable_no_rtti+set}" = set; then
5149 enableval=$enable_no_rtti;
5150 if test "$enableval" = yes; then
5151 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5153 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5158 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5163 eval "$wx_cv_use_no_rtti"
5165 if test x"$enablestring" = xdisable; then
5166 if test $wxUSE_NO_RTTI = yes; then
5172 result=$wxUSE_NO_RTTI
5175 { echo "$as_me:$LINENO: result: $result" >&5
5176 echo "${ECHO_T}$result" >&6; }
5181 if test -z "$defaultval"; then
5182 if test x"$enablestring" = xdisable; then
5189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5190 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5191 # Check whether --enable-no_exceptions was given.
5192 if test "${enable_no_exceptions+set}" = set; then
5193 enableval=$enable_no_exceptions;
5194 if test "$enableval" = yes; then
5195 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5197 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5202 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5207 eval "$wx_cv_use_no_exceptions"
5209 if test x"$enablestring" = xdisable; then
5210 if test $wxUSE_NO_EXCEPTIONS = yes; then
5216 result=$wxUSE_NO_EXCEPTIONS
5219 { echo "$as_me:$LINENO: result: $result" >&5
5220 echo "${ECHO_T}$result" >&6; }
5225 if test -z "$defaultval"; then
5226 if test x"$enablestring" = xdisable; then
5233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5234 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5235 # Check whether --enable-permissive was given.
5236 if test "${enable_permissive+set}" = set; then
5237 enableval=$enable_permissive;
5238 if test "$enableval" = yes; then
5239 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5241 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5246 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5251 eval "$wx_cv_use_permissive"
5253 if test x"$enablestring" = xdisable; then
5254 if test $wxUSE_PERMISSIVE = yes; then
5260 result=$wxUSE_PERMISSIVE
5263 { echo "$as_me:$LINENO: result: $result" >&5
5264 echo "${ECHO_T}$result" >&6; }
5269 if test -z "$defaultval"; then
5270 if test x"$enablestring" = xdisable; then
5277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5278 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5279 # Check whether --enable-no_deps was given.
5280 if test "${enable_no_deps+set}" = set; then
5281 enableval=$enable_no_deps;
5282 if test "$enableval" = yes; then
5283 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5285 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5290 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5295 eval "$wx_cv_use_no_deps"
5297 if test x"$enablestring" = xdisable; then
5298 if test $wxUSE_NO_DEPS = yes; then
5304 result=$wxUSE_NO_DEPS
5307 { echo "$as_me:$LINENO: result: $result" >&5
5308 echo "${ECHO_T}$result" >&6; }
5311 enablestring=disable
5313 if test -z "$defaultval"; then
5314 if test x"$enablestring" = xdisable; then
5321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5322 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5323 # Check whether --enable-vararg_macros was given.
5324 if test "${enable_vararg_macros+set}" = set; then
5325 enableval=$enable_vararg_macros;
5326 if test "$enableval" = yes; then
5327 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5329 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5334 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5339 eval "$wx_cv_use_vararg_macros"
5341 if test x"$enablestring" = xdisable; then
5342 if test $wxUSE_VARARG_MACROS = yes; then
5348 result=$wxUSE_VARARG_MACROS
5351 { echo "$as_me:$LINENO: result: $result" >&5
5352 echo "${ECHO_T}$result" >&6; }
5356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5357 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5358 # Check whether --enable-universal_binary was given.
5359 if test "${enable_universal_binary+set}" = set; then
5360 enableval=$enable_universal_binary;
5361 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5365 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5370 eval "$wx_cv_use_universal_binary"
5372 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5373 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5379 if test -z "$defaultval"; then
5380 if test x"$enablestring" = xdisable; then
5387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5388 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5389 # Check whether --enable-compat26 was given.
5390 if test "${enable_compat26+set}" = set; then
5391 enableval=$enable_compat26;
5392 if test "$enableval" = yes; then
5393 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5395 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5400 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5405 eval "$wx_cv_use_compat26"
5407 if test x"$enablestring" = xdisable; then
5408 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5414 result=$WXWIN_COMPATIBILITY_2_6
5417 { echo "$as_me:$LINENO: result: $result" >&5
5418 echo "${ECHO_T}$result" >&6; }
5421 enablestring=disable
5423 if test -z "$defaultval"; then
5424 if test x"$enablestring" = xdisable; then
5431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5432 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5433 # Check whether --enable-compat28 was given.
5434 if test "${enable_compat28+set}" = set; then
5435 enableval=$enable_compat28;
5436 if test "$enableval" = yes; then
5437 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5439 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5444 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5449 eval "$wx_cv_use_compat28"
5451 if test x"$enablestring" = xdisable; then
5452 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5458 result=$WXWIN_COMPATIBILITY_2_8
5461 { echo "$as_me:$LINENO: result: $result" >&5
5462 echo "${ECHO_T}$result" >&6; }
5466 enablestring=disable
5468 if test -z "$defaultval"; then
5469 if test x"$enablestring" = xdisable; then
5476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5478 # Check whether --enable-rpath was given.
5479 if test "${enable_rpath+set}" = set; then
5480 enableval=$enable_rpath;
5481 if test "$enableval" = yes; then
5482 wx_cv_use_rpath='wxUSE_RPATH=yes'
5484 wx_cv_use_rpath='wxUSE_RPATH=no'
5489 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5494 eval "$wx_cv_use_rpath"
5496 if test x"$enablestring" = xdisable; then
5497 if test $wxUSE_RPATH = yes; then
5506 { echo "$as_me:$LINENO: result: $result" >&5
5507 echo "${ECHO_T}$result" >&6; }
5513 if test -z "$defaultval"; then
5514 if test x"$enablestring" = xdisable; then
5521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5522 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5523 # Check whether --enable-objc_uniquifying was given.
5524 if test "${enable_objc_uniquifying+set}" = set; then
5525 enableval=$enable_objc_uniquifying;
5526 if test "$enableval" = yes; then
5527 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5529 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5534 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5539 eval "$wx_cv_use_objc_uniquifying"
5541 if test x"$enablestring" = xdisable; then
5542 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5548 result=$wxUSE_OBJC_UNIQUIFYING
5551 { echo "$as_me:$LINENO: result: $result" >&5
5552 echo "${ECHO_T}$result" >&6; }
5556 enablestring=disable
5558 if test -z "$defaultval"; then
5559 if test x"$enablestring" = xdisable; then
5566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5568 # Check whether --enable-visibility was given.
5569 if test "${enable_visibility+set}" = set; then
5570 enableval=$enable_visibility;
5571 if test "$enableval" = yes; then
5572 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5574 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5579 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5584 eval "$wx_cv_use_visibility"
5586 if test x"$enablestring" = xdisable; then
5587 if test $wxUSE_VISIBILITY = yes; then
5593 result=$wxUSE_VISIBILITY
5596 { echo "$as_me:$LINENO: result: $result" >&5
5597 echo "${ECHO_T}$result" >&6; }
5603 defaultval=$wxUSE_ALL_FEATURES
5604 if test -z "$defaultval"; then
5605 if test x"$enablestring" = xdisable; then
5612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5613 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5614 # Check whether --enable-intl was given.
5615 if test "${enable_intl+set}" = set; then
5616 enableval=$enable_intl;
5617 if test "$enableval" = yes; then
5618 wx_cv_use_intl='wxUSE_INTL=yes'
5620 wx_cv_use_intl='wxUSE_INTL=no'
5625 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5630 eval "$wx_cv_use_intl"
5632 if test x"$enablestring" = xdisable; then
5633 if test $wxUSE_INTL = yes; then
5642 { echo "$as_me:$LINENO: result: $result" >&5
5643 echo "${ECHO_T}$result" >&6; }
5647 defaultval=$wxUSE_ALL_FEATURES
5648 if test -z "$defaultval"; then
5649 if test x"$enablestring" = xdisable; then
5656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5657 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5658 # Check whether --enable-xlocale was given.
5659 if test "${enable_xlocale+set}" = set; then
5660 enableval=$enable_xlocale;
5661 if test "$enableval" = yes; then
5662 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5664 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5669 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5674 eval "$wx_cv_use_xlocale"
5676 if test x"$enablestring" = xdisable; then
5677 if test $wxUSE_XLOCALE = yes; then
5683 result=$wxUSE_XLOCALE
5686 { echo "$as_me:$LINENO: result: $result" >&5
5687 echo "${ECHO_T}$result" >&6; }
5691 defaultval=$wxUSE_ALL_FEATURES
5692 if test -z "$defaultval"; then
5693 if test x"$enablestring" = xdisable; then
5700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5701 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5702 # Check whether --enable-config was given.
5703 if test "${enable_config+set}" = set; then
5704 enableval=$enable_config;
5705 if test "$enableval" = yes; then
5706 wx_cv_use_config='wxUSE_CONFIG=yes'
5708 wx_cv_use_config='wxUSE_CONFIG=no'
5713 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5718 eval "$wx_cv_use_config"
5720 if test x"$enablestring" = xdisable; then
5721 if test $wxUSE_CONFIG = yes; then
5727 result=$wxUSE_CONFIG
5730 { echo "$as_me:$LINENO: result: $result" >&5
5731 echo "${ECHO_T}$result" >&6; }
5736 defaultval=$wxUSE_ALL_FEATURES
5737 if test -z "$defaultval"; then
5738 if test x"$enablestring" = xdisable; then
5745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5747 # Check whether --enable-protocols was given.
5748 if test "${enable_protocols+set}" = set; then
5749 enableval=$enable_protocols;
5750 if test "$enableval" = yes; then
5751 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5753 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5758 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5763 eval "$wx_cv_use_protocols"
5765 if test x"$enablestring" = xdisable; then
5766 if test $wxUSE_PROTOCOL = yes; then
5772 result=$wxUSE_PROTOCOL
5775 { echo "$as_me:$LINENO: result: $result" >&5
5776 echo "${ECHO_T}$result" >&6; }
5780 defaultval=$wxUSE_ALL_FEATURES
5781 if test -z "$defaultval"; then
5782 if test x"$enablestring" = xdisable; then
5789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5791 # Check whether --enable-ftp was given.
5792 if test "${enable_ftp+set}" = set; then
5793 enableval=$enable_ftp;
5794 if test "$enableval" = yes; then
5795 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5797 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5802 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5807 eval "$wx_cv_use_ftp"
5809 if test x"$enablestring" = xdisable; then
5810 if test $wxUSE_PROTOCOL_FTP = yes; then
5816 result=$wxUSE_PROTOCOL_FTP
5819 { echo "$as_me:$LINENO: result: $result" >&5
5820 echo "${ECHO_T}$result" >&6; }
5824 defaultval=$wxUSE_ALL_FEATURES
5825 if test -z "$defaultval"; then
5826 if test x"$enablestring" = xdisable; then
5833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5834 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5835 # Check whether --enable-http was given.
5836 if test "${enable_http+set}" = set; then
5837 enableval=$enable_http;
5838 if test "$enableval" = yes; then
5839 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5841 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5846 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5851 eval "$wx_cv_use_http"
5853 if test x"$enablestring" = xdisable; then
5854 if test $wxUSE_PROTOCOL_HTTP = yes; then
5860 result=$wxUSE_PROTOCOL_HTTP
5863 { echo "$as_me:$LINENO: result: $result" >&5
5864 echo "${ECHO_T}$result" >&6; }
5868 defaultval=$wxUSE_ALL_FEATURES
5869 if test -z "$defaultval"; then
5870 if test x"$enablestring" = xdisable; then
5877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5878 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5879 # Check whether --enable-fileproto was given.
5880 if test "${enable_fileproto+set}" = set; then
5881 enableval=$enable_fileproto;
5882 if test "$enableval" = yes; then
5883 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5885 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5890 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5895 eval "$wx_cv_use_fileproto"
5897 if test x"$enablestring" = xdisable; then
5898 if test $wxUSE_PROTOCOL_FILE = yes; then
5904 result=$wxUSE_PROTOCOL_FILE
5907 { echo "$as_me:$LINENO: result: $result" >&5
5908 echo "${ECHO_T}$result" >&6; }
5912 defaultval=$wxUSE_ALL_FEATURES
5913 if test -z "$defaultval"; then
5914 if test x"$enablestring" = xdisable; then
5921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5922 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5923 # Check whether --enable-sockets was given.
5924 if test "${enable_sockets+set}" = set; then
5925 enableval=$enable_sockets;
5926 if test "$enableval" = yes; then
5927 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5929 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5934 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5939 eval "$wx_cv_use_sockets"
5941 if test x"$enablestring" = xdisable; then
5942 if test $wxUSE_SOCKETS = yes; then
5948 result=$wxUSE_SOCKETS
5951 { echo "$as_me:$LINENO: result: $result" >&5
5952 echo "${ECHO_T}$result" >&6; }
5956 defaultval=$wxUSE_ALL_FEATURES
5957 if test -z "$defaultval"; then
5958 if test x"$enablestring" = xdisable; then
5965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5966 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5967 # Check whether --enable-ipv6 was given.
5968 if test "${enable_ipv6+set}" = set; then
5969 enableval=$enable_ipv6;
5970 if test "$enableval" = yes; then
5971 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5973 wx_cv_use_ipv6='wxUSE_IPV6=no'
5978 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5983 eval "$wx_cv_use_ipv6"
5985 if test x"$enablestring" = xdisable; then
5986 if test $wxUSE_IPV6 = yes; then
5995 { echo "$as_me:$LINENO: result: $result" >&5
5996 echo "${ECHO_T}$result" >&6; }
6000 defaultval=$wxUSE_ALL_FEATURES
6001 if test -z "$defaultval"; then
6002 if test x"$enablestring" = xdisable; then
6009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6011 # Check whether --enable-ole was given.
6012 if test "${enable_ole+set}" = set; then
6013 enableval=$enable_ole;
6014 if test "$enableval" = yes; then
6015 wx_cv_use_ole='wxUSE_OLE=yes'
6017 wx_cv_use_ole='wxUSE_OLE=no'
6022 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6027 eval "$wx_cv_use_ole"
6029 if test x"$enablestring" = xdisable; then
6030 if test $wxUSE_OLE = yes; then
6039 { echo "$as_me:$LINENO: result: $result" >&5
6040 echo "${ECHO_T}$result" >&6; }
6044 defaultval=$wxUSE_ALL_FEATURES
6045 if test -z "$defaultval"; then
6046 if test x"$enablestring" = xdisable; then
6053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6054 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6055 # Check whether --enable-dataobj was given.
6056 if test "${enable_dataobj+set}" = set; then
6057 enableval=$enable_dataobj;
6058 if test "$enableval" = yes; then
6059 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6061 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6066 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6071 eval "$wx_cv_use_dataobj"
6073 if test x"$enablestring" = xdisable; then
6074 if test $wxUSE_DATAOBJ = yes; then
6080 result=$wxUSE_DATAOBJ
6083 { echo "$as_me:$LINENO: result: $result" >&5
6084 echo "${ECHO_T}$result" >&6; }
6089 defaultval=$wxUSE_ALL_FEATURES
6090 if test -z "$defaultval"; then
6091 if test x"$enablestring" = xdisable; then
6098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6099 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6100 # Check whether --enable-ipc was given.
6101 if test "${enable_ipc+set}" = set; then
6102 enableval=$enable_ipc;
6103 if test "$enableval" = yes; then
6104 wx_cv_use_ipc='wxUSE_IPC=yes'
6106 wx_cv_use_ipc='wxUSE_IPC=no'
6111 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6116 eval "$wx_cv_use_ipc"
6118 if test x"$enablestring" = xdisable; then
6119 if test $wxUSE_IPC = yes; then
6128 { echo "$as_me:$LINENO: result: $result" >&5
6129 echo "${ECHO_T}$result" >&6; }
6134 defaultval=$wxUSE_ALL_FEATURES
6135 if test -z "$defaultval"; then
6136 if test x"$enablestring" = xdisable; then
6143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6145 # Check whether --enable-baseevtloop was given.
6146 if test "${enable_baseevtloop+set}" = set; then
6147 enableval=$enable_baseevtloop;
6148 if test "$enableval" = yes; then
6149 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6151 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6156 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6161 eval "$wx_cv_use_baseevtloop"
6163 if test x"$enablestring" = xdisable; then
6164 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6170 result=$wxUSE_CONSOLE_EVENTLOOP
6173 { echo "$as_me:$LINENO: result: $result" >&5
6174 echo "${ECHO_T}$result" >&6; }
6178 defaultval=$wxUSE_ALL_FEATURES
6179 if test -z "$defaultval"; then
6180 if test x"$enablestring" = xdisable; then
6187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6189 # Check whether --enable-epollloop was given.
6190 if test "${enable_epollloop+set}" = set; then
6191 enableval=$enable_epollloop;
6192 if test "$enableval" = yes; then
6193 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6195 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6200 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6205 eval "$wx_cv_use_epollloop"
6207 if test x"$enablestring" = xdisable; then
6208 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6214 result=$wxUSE_EPOLL_DISPATCHER
6217 { echo "$as_me:$LINENO: result: $result" >&5
6218 echo "${ECHO_T}$result" >&6; }
6222 defaultval=$wxUSE_ALL_FEATURES
6223 if test -z "$defaultval"; then
6224 if test x"$enablestring" = xdisable; then
6231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6232 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6233 # Check whether --enable-selectloop was given.
6234 if test "${enable_selectloop+set}" = set; then
6235 enableval=$enable_selectloop;
6236 if test "$enableval" = yes; then
6237 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6239 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6244 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6249 eval "$wx_cv_use_selectloop"
6251 if test x"$enablestring" = xdisable; then
6252 if test $wxUSE_SELECT_DISPATCHER = yes; then
6258 result=$wxUSE_SELECT_DISPATCHER
6261 { echo "$as_me:$LINENO: result: $result" >&5
6262 echo "${ECHO_T}$result" >&6; }
6267 defaultval=$wxUSE_ALL_FEATURES
6268 if test -z "$defaultval"; then
6269 if test x"$enablestring" = xdisable; then
6276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6277 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6278 # Check whether --enable-apple_ieee was given.
6279 if test "${enable_apple_ieee+set}" = set; then
6280 enableval=$enable_apple_ieee;
6281 if test "$enableval" = yes; then
6282 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6284 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6289 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6294 eval "$wx_cv_use_apple_ieee"
6296 if test x"$enablestring" = xdisable; then
6297 if test $wxUSE_APPLE_IEEE = yes; then
6303 result=$wxUSE_APPLE_IEEE
6306 { echo "$as_me:$LINENO: result: $result" >&5
6307 echo "${ECHO_T}$result" >&6; }
6311 defaultval=$wxUSE_ALL_FEATURES
6312 if test -z "$defaultval"; then
6313 if test x"$enablestring" = xdisable; then
6320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6321 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6322 # Check whether --enable-arcstream was given.
6323 if test "${enable_arcstream+set}" = set; then
6324 enableval=$enable_arcstream;
6325 if test "$enableval" = yes; then
6326 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6328 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6333 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6338 eval "$wx_cv_use_arcstream"
6340 if test x"$enablestring" = xdisable; then
6341 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6347 result=$wxUSE_ARCHIVE_STREAMS
6350 { echo "$as_me:$LINENO: result: $result" >&5
6351 echo "${ECHO_T}$result" >&6; }
6355 defaultval=$wxUSE_ALL_FEATURES
6356 if test -z "$defaultval"; then
6357 if test x"$enablestring" = xdisable; then
6364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6365 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6366 # Check whether --enable-base64 was given.
6367 if test "${enable_base64+set}" = set; then
6368 enableval=$enable_base64;
6369 if test "$enableval" = yes; then
6370 wx_cv_use_base64='wxUSE_BASE64=yes'
6372 wx_cv_use_base64='wxUSE_BASE64=no'
6377 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6382 eval "$wx_cv_use_base64"
6384 if test x"$enablestring" = xdisable; then
6385 if test $wxUSE_BASE64 = yes; then
6391 result=$wxUSE_BASE64
6394 { echo "$as_me:$LINENO: result: $result" >&5
6395 echo "${ECHO_T}$result" >&6; }
6399 defaultval=$wxUSE_ALL_FEATURES
6400 if test -z "$defaultval"; then
6401 if test x"$enablestring" = xdisable; then
6408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6409 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6410 # Check whether --enable-backtrace was given.
6411 if test "${enable_backtrace+set}" = set; then
6412 enableval=$enable_backtrace;
6413 if test "$enableval" = yes; then
6414 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6416 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6421 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6426 eval "$wx_cv_use_backtrace"
6428 if test x"$enablestring" = xdisable; then
6429 if test $wxUSE_STACKWALKER = yes; then
6435 result=$wxUSE_STACKWALKER
6438 { echo "$as_me:$LINENO: result: $result" >&5
6439 echo "${ECHO_T}$result" >&6; }
6443 defaultval=$wxUSE_ALL_FEATURES
6444 if test -z "$defaultval"; then
6445 if test x"$enablestring" = xdisable; then
6452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6453 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6454 # Check whether --enable-catch_segvs was given.
6455 if test "${enable_catch_segvs+set}" = set; then
6456 enableval=$enable_catch_segvs;
6457 if test "$enableval" = yes; then
6458 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6460 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6465 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6470 eval "$wx_cv_use_catch_segvs"
6472 if test x"$enablestring" = xdisable; then
6473 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6479 result=$wxUSE_ON_FATAL_EXCEPTION
6482 { echo "$as_me:$LINENO: result: $result" >&5
6483 echo "${ECHO_T}$result" >&6; }
6487 defaultval=$wxUSE_ALL_FEATURES
6488 if test -z "$defaultval"; then
6489 if test x"$enablestring" = xdisable; then
6496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6497 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6498 # Check whether --enable-cmdline was given.
6499 if test "${enable_cmdline+set}" = set; then
6500 enableval=$enable_cmdline;
6501 if test "$enableval" = yes; then
6502 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6504 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6509 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6514 eval "$wx_cv_use_cmdline"
6516 if test x"$enablestring" = xdisable; then
6517 if test $wxUSE_CMDLINE_PARSER = yes; then
6523 result=$wxUSE_CMDLINE_PARSER
6526 { echo "$as_me:$LINENO: result: $result" >&5
6527 echo "${ECHO_T}$result" >&6; }
6531 defaultval=$wxUSE_ALL_FEATURES
6532 if test -z "$defaultval"; then
6533 if test x"$enablestring" = xdisable; then
6540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6542 # Check whether --enable-datetime was given.
6543 if test "${enable_datetime+set}" = set; then
6544 enableval=$enable_datetime;
6545 if test "$enableval" = yes; then
6546 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6548 wx_cv_use_datetime='wxUSE_DATETIME=no'
6553 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6558 eval "$wx_cv_use_datetime"
6560 if test x"$enablestring" = xdisable; then
6561 if test $wxUSE_DATETIME = yes; then
6567 result=$wxUSE_DATETIME
6570 { echo "$as_me:$LINENO: result: $result" >&5
6571 echo "${ECHO_T}$result" >&6; }
6575 defaultval=$wxUSE_ALL_FEATURES
6576 if test -z "$defaultval"; then
6577 if test x"$enablestring" = xdisable; then
6584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6586 # Check whether --enable-debugreport was given.
6587 if test "${enable_debugreport+set}" = set; then
6588 enableval=$enable_debugreport;
6589 if test "$enableval" = yes; then
6590 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6592 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6597 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6602 eval "$wx_cv_use_debugreport"
6604 if test x"$enablestring" = xdisable; then
6605 if test $wxUSE_DEBUGREPORT = yes; then
6611 result=$wxUSE_DEBUGREPORT
6614 { echo "$as_me:$LINENO: result: $result" >&5
6615 echo "${ECHO_T}$result" >&6; }
6619 defaultval=$wxUSE_ALL_FEATURES
6620 if test -z "$defaultval"; then
6621 if test x"$enablestring" = xdisable; then
6628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6629 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6630 # Check whether --enable-dialupman was given.
6631 if test "${enable_dialupman+set}" = set; then
6632 enableval=$enable_dialupman;
6633 if test "$enableval" = yes; then
6634 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6636 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6641 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6646 eval "$wx_cv_use_dialupman"
6648 if test x"$enablestring" = xdisable; then
6649 if test $wxUSE_DIALUP_MANAGER = yes; then
6655 result=$wxUSE_DIALUP_MANAGER
6658 { echo "$as_me:$LINENO: result: $result" >&5
6659 echo "${ECHO_T}$result" >&6; }
6663 defaultval=$wxUSE_ALL_FEATURES
6664 if test -z "$defaultval"; then
6665 if test x"$enablestring" = xdisable; then
6672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6674 # Check whether --enable-dynlib was given.
6675 if test "${enable_dynlib+set}" = set; then
6676 enableval=$enable_dynlib;
6677 if test "$enableval" = yes; then
6678 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6680 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6685 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6690 eval "$wx_cv_use_dynlib"
6692 if test x"$enablestring" = xdisable; then
6693 if test $wxUSE_DYNLIB_CLASS = yes; then
6699 result=$wxUSE_DYNLIB_CLASS
6702 { echo "$as_me:$LINENO: result: $result" >&5
6703 echo "${ECHO_T}$result" >&6; }
6707 defaultval=$wxUSE_ALL_FEATURES
6708 if test -z "$defaultval"; then
6709 if test x"$enablestring" = xdisable; then
6716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6717 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6718 # Check whether --enable-dynamicloader was given.
6719 if test "${enable_dynamicloader+set}" = set; then
6720 enableval=$enable_dynamicloader;
6721 if test "$enableval" = yes; then
6722 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6724 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6729 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6734 eval "$wx_cv_use_dynamicloader"
6736 if test x"$enablestring" = xdisable; then
6737 if test $wxUSE_DYNAMIC_LOADER = yes; then
6743 result=$wxUSE_DYNAMIC_LOADER
6746 { echo "$as_me:$LINENO: result: $result" >&5
6747 echo "${ECHO_T}$result" >&6; }
6751 defaultval=$wxUSE_ALL_FEATURES
6752 if test -z "$defaultval"; then
6753 if test x"$enablestring" = xdisable; then
6760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6761 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6762 # Check whether --enable-exceptions was given.
6763 if test "${enable_exceptions+set}" = set; then
6764 enableval=$enable_exceptions;
6765 if test "$enableval" = yes; then
6766 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6768 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6773 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6778 eval "$wx_cv_use_exceptions"
6780 if test x"$enablestring" = xdisable; then
6781 if test $wxUSE_EXCEPTIONS = yes; then
6787 result=$wxUSE_EXCEPTIONS
6790 { echo "$as_me:$LINENO: result: $result" >&5
6791 echo "${ECHO_T}$result" >&6; }
6795 defaultval=$wxUSE_ALL_FEATURES
6796 if test -z "$defaultval"; then
6797 if test x"$enablestring" = xdisable; then
6804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6805 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6806 # Check whether --enable-ffile was given.
6807 if test "${enable_ffile+set}" = set; then
6808 enableval=$enable_ffile;
6809 if test "$enableval" = yes; then
6810 wx_cv_use_ffile='wxUSE_FFILE=yes'
6812 wx_cv_use_ffile='wxUSE_FFILE=no'
6817 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6822 eval "$wx_cv_use_ffile"
6824 if test x"$enablestring" = xdisable; then
6825 if test $wxUSE_FFILE = yes; then
6834 { echo "$as_me:$LINENO: result: $result" >&5
6835 echo "${ECHO_T}$result" >&6; }
6839 defaultval=$wxUSE_ALL_FEATURES
6840 if test -z "$defaultval"; then
6841 if test x"$enablestring" = xdisable; then
6848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6849 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6850 # Check whether --enable-file was given.
6851 if test "${enable_file+set}" = set; then
6852 enableval=$enable_file;
6853 if test "$enableval" = yes; then
6854 wx_cv_use_file='wxUSE_FILE=yes'
6856 wx_cv_use_file='wxUSE_FILE=no'
6861 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6866 eval "$wx_cv_use_file"
6868 if test x"$enablestring" = xdisable; then
6869 if test $wxUSE_FILE = yes; then
6878 { echo "$as_me:$LINENO: result: $result" >&5
6879 echo "${ECHO_T}$result" >&6; }
6883 defaultval=$wxUSE_ALL_FEATURES
6884 if test -z "$defaultval"; then
6885 if test x"$enablestring" = xdisable; then
6892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6893 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6894 # Check whether --enable-filesystem was given.
6895 if test "${enable_filesystem+set}" = set; then
6896 enableval=$enable_filesystem;
6897 if test "$enableval" = yes; then
6898 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6900 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6905 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6910 eval "$wx_cv_use_filesystem"
6912 if test x"$enablestring" = xdisable; then
6913 if test $wxUSE_FILESYSTEM = yes; then
6919 result=$wxUSE_FILESYSTEM
6922 { echo "$as_me:$LINENO: result: $result" >&5
6923 echo "${ECHO_T}$result" >&6; }
6927 defaultval=$wxUSE_ALL_FEATURES
6928 if test -z "$defaultval"; then
6929 if test x"$enablestring" = xdisable; then
6936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6937 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6938 # Check whether --enable-fontenum was given.
6939 if test "${enable_fontenum+set}" = set; then
6940 enableval=$enable_fontenum;
6941 if test "$enableval" = yes; then
6942 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6944 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6949 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6954 eval "$wx_cv_use_fontenum"
6956 if test x"$enablestring" = xdisable; then
6957 if test $wxUSE_FONTENUM = yes; then
6963 result=$wxUSE_FONTENUM
6966 { echo "$as_me:$LINENO: result: $result" >&5
6967 echo "${ECHO_T}$result" >&6; }
6971 defaultval=$wxUSE_ALL_FEATURES
6972 if test -z "$defaultval"; then
6973 if test x"$enablestring" = xdisable; then
6980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6982 # Check whether --enable-fontmap was given.
6983 if test "${enable_fontmap+set}" = set; then
6984 enableval=$enable_fontmap;
6985 if test "$enableval" = yes; then
6986 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6988 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6993 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6998 eval "$wx_cv_use_fontmap"
7000 if test x"$enablestring" = xdisable; then
7001 if test $wxUSE_FONTMAP = yes; then
7007 result=$wxUSE_FONTMAP
7010 { echo "$as_me:$LINENO: result: $result" >&5
7011 echo "${ECHO_T}$result" >&6; }
7015 defaultval=$wxUSE_ALL_FEATURES
7016 if test -z "$defaultval"; then
7017 if test x"$enablestring" = xdisable; then
7024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7025 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7026 # Check whether --enable-fs_archive was given.
7027 if test "${enable_fs_archive+set}" = set; then
7028 enableval=$enable_fs_archive;
7029 if test "$enableval" = yes; then
7030 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7032 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7037 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7042 eval "$wx_cv_use_fs_archive"
7044 if test x"$enablestring" = xdisable; then
7045 if test $wxUSE_FS_ARCHIVE = yes; then
7051 result=$wxUSE_FS_ARCHIVE
7054 { echo "$as_me:$LINENO: result: $result" >&5
7055 echo "${ECHO_T}$result" >&6; }
7059 defaultval=$wxUSE_ALL_FEATURES
7060 if test -z "$defaultval"; then
7061 if test x"$enablestring" = xdisable; then
7068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7069 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7070 # Check whether --enable-fs_inet was given.
7071 if test "${enable_fs_inet+set}" = set; then
7072 enableval=$enable_fs_inet;
7073 if test "$enableval" = yes; then
7074 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7076 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7081 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7086 eval "$wx_cv_use_fs_inet"
7088 if test x"$enablestring" = xdisable; then
7089 if test $wxUSE_FS_INET = yes; then
7095 result=$wxUSE_FS_INET
7098 { echo "$as_me:$LINENO: result: $result" >&5
7099 echo "${ECHO_T}$result" >&6; }
7103 defaultval=$wxUSE_ALL_FEATURES
7104 if test -z "$defaultval"; then
7105 if test x"$enablestring" = xdisable; then
7112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7113 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7114 # Check whether --enable-fs_zip was given.
7115 if test "${enable_fs_zip+set}" = set; then
7116 enableval=$enable_fs_zip;
7117 if test "$enableval" = yes; then
7118 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7120 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7125 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7130 eval "$wx_cv_use_fs_zip"
7132 if test x"$enablestring" = xdisable; then
7133 if test $wxUSE_FS_ZIP = yes; then
7139 result=$wxUSE_FS_ZIP
7142 { echo "$as_me:$LINENO: result: $result" >&5
7143 echo "${ECHO_T}$result" >&6; }
7147 defaultval=$wxUSE_ALL_FEATURES
7148 if test -z "$defaultval"; then
7149 if test x"$enablestring" = xdisable; then
7156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7157 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7158 # Check whether --enable-geometry was given.
7159 if test "${enable_geometry+set}" = set; then
7160 enableval=$enable_geometry;
7161 if test "$enableval" = yes; then
7162 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7164 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7169 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7174 eval "$wx_cv_use_geometry"
7176 if test x"$enablestring" = xdisable; then
7177 if test $wxUSE_GEOMETRY = yes; then
7183 result=$wxUSE_GEOMETRY
7186 { echo "$as_me:$LINENO: result: $result" >&5
7187 echo "${ECHO_T}$result" >&6; }
7191 defaultval=$wxUSE_ALL_FEATURES
7192 if test -z "$defaultval"; then
7193 if test x"$enablestring" = xdisable; then
7200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7201 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7202 # Check whether --enable-log was given.
7203 if test "${enable_log+set}" = set; then
7204 enableval=$enable_log;
7205 if test "$enableval" = yes; then
7206 wx_cv_use_log='wxUSE_LOG=yes'
7208 wx_cv_use_log='wxUSE_LOG=no'
7213 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7218 eval "$wx_cv_use_log"
7220 if test x"$enablestring" = xdisable; then
7221 if test $wxUSE_LOG = yes; then
7230 { echo "$as_me:$LINENO: result: $result" >&5
7231 echo "${ECHO_T}$result" >&6; }
7235 defaultval=$wxUSE_ALL_FEATURES
7236 if test -z "$defaultval"; then
7237 if test x"$enablestring" = xdisable; then
7244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7245 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7246 # Check whether --enable-longlong was given.
7247 if test "${enable_longlong+set}" = set; then
7248 enableval=$enable_longlong;
7249 if test "$enableval" = yes; then
7250 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7252 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7257 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7262 eval "$wx_cv_use_longlong"
7264 if test x"$enablestring" = xdisable; then
7265 if test $wxUSE_LONGLONG = yes; then
7271 result=$wxUSE_LONGLONG
7274 { echo "$as_me:$LINENO: result: $result" >&5
7275 echo "${ECHO_T}$result" >&6; }
7279 defaultval=$wxUSE_ALL_FEATURES
7280 if test -z "$defaultval"; then
7281 if test x"$enablestring" = xdisable; then
7288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7289 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7290 # Check whether --enable-mimetype was given.
7291 if test "${enable_mimetype+set}" = set; then
7292 enableval=$enable_mimetype;
7293 if test "$enableval" = yes; then
7294 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7296 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7301 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7306 eval "$wx_cv_use_mimetype"
7308 if test x"$enablestring" = xdisable; then
7309 if test $wxUSE_MIMETYPE = yes; then
7315 result=$wxUSE_MIMETYPE
7318 { echo "$as_me:$LINENO: result: $result" >&5
7319 echo "${ECHO_T}$result" >&6; }
7323 defaultval=$wxUSE_ALL_FEATURES
7324 if test -z "$defaultval"; then
7325 if test x"$enablestring" = xdisable; then
7332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7334 # Check whether --enable-printfposparam was given.
7335 if test "${enable_printfposparam+set}" = set; then
7336 enableval=$enable_printfposparam;
7337 if test "$enableval" = yes; then
7338 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7340 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7345 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7350 eval "$wx_cv_use_printfposparam"
7352 if test x"$enablestring" = xdisable; then
7353 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7359 result=$wxUSE_PRINTF_POS_PARAMS
7362 { echo "$as_me:$LINENO: result: $result" >&5
7363 echo "${ECHO_T}$result" >&6; }
7367 defaultval=$wxUSE_ALL_FEATURES
7368 if test -z "$defaultval"; then
7369 if test x"$enablestring" = xdisable; then
7376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7377 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7378 # Check whether --enable-snglinst was given.
7379 if test "${enable_snglinst+set}" = set; then
7380 enableval=$enable_snglinst;
7381 if test "$enableval" = yes; then
7382 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7384 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7389 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7394 eval "$wx_cv_use_snglinst"
7396 if test x"$enablestring" = xdisable; then
7397 if test $wxUSE_SNGLINST_CHECKER = yes; then
7403 result=$wxUSE_SNGLINST_CHECKER
7406 { echo "$as_me:$LINENO: result: $result" >&5
7407 echo "${ECHO_T}$result" >&6; }
7411 defaultval=$wxUSE_ALL_FEATURES
7412 if test -z "$defaultval"; then
7413 if test x"$enablestring" = xdisable; then
7420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7421 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7422 # Check whether --enable-sound was given.
7423 if test "${enable_sound+set}" = set; then
7424 enableval=$enable_sound;
7425 if test "$enableval" = yes; then
7426 wx_cv_use_sound='wxUSE_SOUND=yes'
7428 wx_cv_use_sound='wxUSE_SOUND=no'
7433 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7438 eval "$wx_cv_use_sound"
7440 if test x"$enablestring" = xdisable; then
7441 if test $wxUSE_SOUND = yes; then
7450 { echo "$as_me:$LINENO: result: $result" >&5
7451 echo "${ECHO_T}$result" >&6; }
7455 defaultval=$wxUSE_ALL_FEATURES
7456 if test -z "$defaultval"; then
7457 if test x"$enablestring" = xdisable; then
7464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7465 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7466 # Check whether --enable-stdpaths was given.
7467 if test "${enable_stdpaths+set}" = set; then
7468 enableval=$enable_stdpaths;
7469 if test "$enableval" = yes; then
7470 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7472 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7477 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7482 eval "$wx_cv_use_stdpaths"
7484 if test x"$enablestring" = xdisable; then
7485 if test $wxUSE_STDPATHS = yes; then
7491 result=$wxUSE_STDPATHS
7494 { echo "$as_me:$LINENO: result: $result" >&5
7495 echo "${ECHO_T}$result" >&6; }
7499 defaultval=$wxUSE_ALL_FEATURES
7500 if test -z "$defaultval"; then
7501 if test x"$enablestring" = xdisable; then
7508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7509 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7510 # Check whether --enable-stopwatch was given.
7511 if test "${enable_stopwatch+set}" = set; then
7512 enableval=$enable_stopwatch;
7513 if test "$enableval" = yes; then
7514 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7516 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7521 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7526 eval "$wx_cv_use_stopwatch"
7528 if test x"$enablestring" = xdisable; then
7529 if test $wxUSE_STOPWATCH = yes; then
7535 result=$wxUSE_STOPWATCH
7538 { echo "$as_me:$LINENO: result: $result" >&5
7539 echo "${ECHO_T}$result" >&6; }
7543 defaultval=$wxUSE_ALL_FEATURES
7544 if test -z "$defaultval"; then
7545 if test x"$enablestring" = xdisable; then
7552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7553 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7554 # Check whether --enable-streams was given.
7555 if test "${enable_streams+set}" = set; then
7556 enableval=$enable_streams;
7557 if test "$enableval" = yes; then
7558 wx_cv_use_streams='wxUSE_STREAMS=yes'
7560 wx_cv_use_streams='wxUSE_STREAMS=no'
7565 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7570 eval "$wx_cv_use_streams"
7572 if test x"$enablestring" = xdisable; then
7573 if test $wxUSE_STREAMS = yes; then
7579 result=$wxUSE_STREAMS
7582 { echo "$as_me:$LINENO: result: $result" >&5
7583 echo "${ECHO_T}$result" >&6; }
7587 defaultval=$wxUSE_ALL_FEATURES
7588 if test -z "$defaultval"; then
7589 if test x"$enablestring" = xdisable; then
7596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7597 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7598 # Check whether --enable-system_options was given.
7599 if test "${enable_system_options+set}" = set; then
7600 enableval=$enable_system_options;
7601 if test "$enableval" = yes; then
7602 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7604 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7609 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7614 eval "$wx_cv_use_system_options"
7616 if test x"$enablestring" = xdisable; then
7617 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7623 result=$wxUSE_SYSTEM_OPTIONS
7626 { echo "$as_me:$LINENO: result: $result" >&5
7627 echo "${ECHO_T}$result" >&6; }
7631 defaultval=$wxUSE_ALL_FEATURES
7632 if test -z "$defaultval"; then
7633 if test x"$enablestring" = xdisable; then
7640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7641 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7642 # Check whether --enable-tarstream was given.
7643 if test "${enable_tarstream+set}" = set; then
7644 enableval=$enable_tarstream;
7645 if test "$enableval" = yes; then
7646 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7648 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7653 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7658 eval "$wx_cv_use_tarstream"
7660 if test x"$enablestring" = xdisable; then
7661 if test $wxUSE_TARSTREAM = yes; then
7667 result=$wxUSE_TARSTREAM
7670 { echo "$as_me:$LINENO: result: $result" >&5
7671 echo "${ECHO_T}$result" >&6; }
7675 defaultval=$wxUSE_ALL_FEATURES
7676 if test -z "$defaultval"; then
7677 if test x"$enablestring" = xdisable; then
7684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7685 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7686 # Check whether --enable-textbuf was given.
7687 if test "${enable_textbuf+set}" = set; then
7688 enableval=$enable_textbuf;
7689 if test "$enableval" = yes; then
7690 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7692 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7697 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7702 eval "$wx_cv_use_textbuf"
7704 if test x"$enablestring" = xdisable; then
7705 if test $wxUSE_TEXTBUFFER = yes; then
7711 result=$wxUSE_TEXTBUFFER
7714 { echo "$as_me:$LINENO: result: $result" >&5
7715 echo "${ECHO_T}$result" >&6; }
7719 defaultval=$wxUSE_ALL_FEATURES
7720 if test -z "$defaultval"; then
7721 if test x"$enablestring" = xdisable; then
7728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7729 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7730 # Check whether --enable-textfile was given.
7731 if test "${enable_textfile+set}" = set; then
7732 enableval=$enable_textfile;
7733 if test "$enableval" = yes; then
7734 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7736 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7741 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7746 eval "$wx_cv_use_textfile"
7748 if test x"$enablestring" = xdisable; then
7749 if test $wxUSE_TEXTFILE = yes; then
7755 result=$wxUSE_TEXTFILE
7758 { echo "$as_me:$LINENO: result: $result" >&5
7759 echo "${ECHO_T}$result" >&6; }
7763 defaultval=$wxUSE_ALL_FEATURES
7764 if test -z "$defaultval"; then
7765 if test x"$enablestring" = xdisable; then
7772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7773 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7774 # Check whether --enable-timer was given.
7775 if test "${enable_timer+set}" = set; then
7776 enableval=$enable_timer;
7777 if test "$enableval" = yes; then
7778 wx_cv_use_timer='wxUSE_TIMER=yes'
7780 wx_cv_use_timer='wxUSE_TIMER=no'
7785 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7790 eval "$wx_cv_use_timer"
7792 if test x"$enablestring" = xdisable; then
7793 if test $wxUSE_TIMER = yes; then
7802 { echo "$as_me:$LINENO: result: $result" >&5
7803 echo "${ECHO_T}$result" >&6; }
7807 defaultval=$wxUSE_ALL_FEATURES
7808 if test -z "$defaultval"; then
7809 if test x"$enablestring" = xdisable; then
7816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7817 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7818 # Check whether --enable-variant was given.
7819 if test "${enable_variant+set}" = set; then
7820 enableval=$enable_variant;
7821 if test "$enableval" = yes; then
7822 wx_cv_use_variant='wxUSE_VARIANT=yes'
7824 wx_cv_use_variant='wxUSE_VARIANT=no'
7829 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7834 eval "$wx_cv_use_variant"
7836 if test x"$enablestring" = xdisable; then
7837 if test $wxUSE_VARIANT = yes; then
7843 result=$wxUSE_VARIANT
7846 { echo "$as_me:$LINENO: result: $result" >&5
7847 echo "${ECHO_T}$result" >&6; }
7851 defaultval=$wxUSE_ALL_FEATURES
7852 if test -z "$defaultval"; then
7853 if test x"$enablestring" = xdisable; then
7860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7861 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7862 # Check whether --enable-zipstream was given.
7863 if test "${enable_zipstream+set}" = set; then
7864 enableval=$enable_zipstream;
7865 if test "$enableval" = yes; then
7866 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7868 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7873 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7878 eval "$wx_cv_use_zipstream"
7880 if test x"$enablestring" = xdisable; then
7881 if test $wxUSE_ZIPSTREAM = yes; then
7887 result=$wxUSE_ZIPSTREAM
7890 { echo "$as_me:$LINENO: result: $result" >&5
7891 echo "${ECHO_T}$result" >&6; }
7896 defaultval=$wxUSE_ALL_FEATURES
7897 if test -z "$defaultval"; then
7898 if test x"$enablestring" = xdisable; then
7905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7906 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7907 # Check whether --enable-url was given.
7908 if test "${enable_url+set}" = set; then
7909 enableval=$enable_url;
7910 if test "$enableval" = yes; then
7911 wx_cv_use_url='wxUSE_URL=yes'
7913 wx_cv_use_url='wxUSE_URL=no'
7918 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7923 eval "$wx_cv_use_url"
7925 if test x"$enablestring" = xdisable; then
7926 if test $wxUSE_URL = yes; then
7935 { echo "$as_me:$LINENO: result: $result" >&5
7936 echo "${ECHO_T}$result" >&6; }
7940 defaultval=$wxUSE_ALL_FEATURES
7941 if test -z "$defaultval"; then
7942 if test x"$enablestring" = xdisable; then
7949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7950 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7951 # Check whether --enable-protocol was given.
7952 if test "${enable_protocol+set}" = set; then
7953 enableval=$enable_protocol;
7954 if test "$enableval" = yes; then
7955 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7957 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7962 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7967 eval "$wx_cv_use_protocol"
7969 if test x"$enablestring" = xdisable; then
7970 if test $wxUSE_PROTOCOL = yes; then
7976 result=$wxUSE_PROTOCOL
7979 { echo "$as_me:$LINENO: result: $result" >&5
7980 echo "${ECHO_T}$result" >&6; }
7984 defaultval=$wxUSE_ALL_FEATURES
7985 if test -z "$defaultval"; then
7986 if test x"$enablestring" = xdisable; then
7993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7994 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7995 # Check whether --enable-protocol_http was given.
7996 if test "${enable_protocol_http+set}" = set; then
7997 enableval=$enable_protocol_http;
7998 if test "$enableval" = yes; then
7999 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8001 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8006 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8011 eval "$wx_cv_use_protocol_http"
8013 if test x"$enablestring" = xdisable; then
8014 if test $wxUSE_PROTOCOL_HTTP = yes; then
8020 result=$wxUSE_PROTOCOL_HTTP
8023 { echo "$as_me:$LINENO: result: $result" >&5
8024 echo "${ECHO_T}$result" >&6; }
8028 defaultval=$wxUSE_ALL_FEATURES
8029 if test -z "$defaultval"; then
8030 if test x"$enablestring" = xdisable; then
8037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8039 # Check whether --enable-protocol_ftp was given.
8040 if test "${enable_protocol_ftp+set}" = set; then
8041 enableval=$enable_protocol_ftp;
8042 if test "$enableval" = yes; then
8043 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8045 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8050 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8055 eval "$wx_cv_use_protocol_ftp"
8057 if test x"$enablestring" = xdisable; then
8058 if test $wxUSE_PROTOCOL_FTP = yes; then
8064 result=$wxUSE_PROTOCOL_FTP
8067 { echo "$as_me:$LINENO: result: $result" >&5
8068 echo "${ECHO_T}$result" >&6; }
8072 defaultval=$wxUSE_ALL_FEATURES
8073 if test -z "$defaultval"; then
8074 if test x"$enablestring" = xdisable; then
8081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8082 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8083 # Check whether --enable-protocol_file was given.
8084 if test "${enable_protocol_file+set}" = set; then
8085 enableval=$enable_protocol_file;
8086 if test "$enableval" = yes; then
8087 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8089 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8094 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8099 eval "$wx_cv_use_protocol_file"
8101 if test x"$enablestring" = xdisable; then
8102 if test $wxUSE_PROTOCOL_FILE = yes; then
8108 result=$wxUSE_PROTOCOL_FILE
8111 { echo "$as_me:$LINENO: result: $result" >&5
8112 echo "${ECHO_T}$result" >&6; }
8117 defaultval=$wxUSE_ALL_FEATURES
8118 if test -z "$defaultval"; then
8119 if test x"$enablestring" = xdisable; then
8126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8128 # Check whether --enable-threads was given.
8129 if test "${enable_threads+set}" = set; then
8130 enableval=$enable_threads;
8131 if test "$enableval" = yes; then
8132 wx_cv_use_threads='wxUSE_THREADS=yes'
8134 wx_cv_use_threads='wxUSE_THREADS=no'
8139 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8144 eval "$wx_cv_use_threads"
8146 if test x"$enablestring" = xdisable; then
8147 if test $wxUSE_THREADS = yes; then
8153 result=$wxUSE_THREADS
8156 { echo "$as_me:$LINENO: result: $result" >&5
8157 echo "${ECHO_T}$result" >&6; }
8163 if test -z "$defaultval"; then
8164 if test x"$enablestring" = xdisable; then
8171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8172 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8173 # Check whether --enable-iniconf was given.
8174 if test "${enable_iniconf+set}" = set; then
8175 enableval=$enable_iniconf;
8176 if test "$enableval" = yes; then
8177 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8179 wx_cv_use_iniconf='wxUSE_INICONF=no'
8184 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8189 eval "$wx_cv_use_iniconf"
8191 if test x"$enablestring" = xdisable; then
8192 if test $wxUSE_INICONF = yes; then
8198 result=$wxUSE_INICONF
8201 { echo "$as_me:$LINENO: result: $result" >&5
8202 echo "${ECHO_T}$result" >&6; }
8206 defaultval=$wxUSE_ALL_FEATURES
8207 if test -z "$defaultval"; then
8208 if test x"$enablestring" = xdisable; then
8215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8216 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8217 # Check whether --enable-regkey was given.
8218 if test "${enable_regkey+set}" = set; then
8219 enableval=$enable_regkey;
8220 if test "$enableval" = yes; then
8221 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8223 wx_cv_use_regkey='wxUSE_REGKEY=no'
8228 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8233 eval "$wx_cv_use_regkey"
8235 if test x"$enablestring" = xdisable; then
8236 if test $wxUSE_REGKEY = yes; then
8242 result=$wxUSE_REGKEY
8245 { echo "$as_me:$LINENO: result: $result" >&5
8246 echo "${ECHO_T}$result" >&6; }
8249 if test "$wxUSE_GUI" = "yes"; then
8254 defaultval=$wxUSE_ALL_FEATURES
8255 if test -z "$defaultval"; then
8256 if test x"$enablestring" = xdisable; then
8263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8265 # Check whether --enable-docview was given.
8266 if test "${enable_docview+set}" = set; then
8267 enableval=$enable_docview;
8268 if test "$enableval" = yes; then
8269 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8271 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8276 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8281 eval "$wx_cv_use_docview"
8283 if test x"$enablestring" = xdisable; then
8284 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8290 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8293 { echo "$as_me:$LINENO: result: $result" >&5
8294 echo "${ECHO_T}$result" >&6; }
8298 defaultval=$wxUSE_ALL_FEATURES
8299 if test -z "$defaultval"; then
8300 if test x"$enablestring" = xdisable; then
8307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8309 # Check whether --enable-help was given.
8310 if test "${enable_help+set}" = set; then
8311 enableval=$enable_help;
8312 if test "$enableval" = yes; then
8313 wx_cv_use_help='wxUSE_HELP=yes'
8315 wx_cv_use_help='wxUSE_HELP=no'
8320 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8325 eval "$wx_cv_use_help"
8327 if test x"$enablestring" = xdisable; then
8328 if test $wxUSE_HELP = yes; then
8337 { echo "$as_me:$LINENO: result: $result" >&5
8338 echo "${ECHO_T}$result" >&6; }
8342 defaultval=$wxUSE_ALL_FEATURES
8343 if test -z "$defaultval"; then
8344 if test x"$enablestring" = xdisable; then
8351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8352 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8353 # Check whether --enable-mshtmlhelp was given.
8354 if test "${enable_mshtmlhelp+set}" = set; then
8355 enableval=$enable_mshtmlhelp;
8356 if test "$enableval" = yes; then
8357 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8359 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8364 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8369 eval "$wx_cv_use_mshtmlhelp"
8371 if test x"$enablestring" = xdisable; then
8372 if test $wxUSE_MS_HTML_HELP = yes; then
8378 result=$wxUSE_MS_HTML_HELP
8381 { echo "$as_me:$LINENO: result: $result" >&5
8382 echo "${ECHO_T}$result" >&6; }
8386 defaultval=$wxUSE_ALL_FEATURES
8387 if test -z "$defaultval"; then
8388 if test x"$enablestring" = xdisable; then
8395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8396 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8397 # Check whether --enable-html was given.
8398 if test "${enable_html+set}" = set; then
8399 enableval=$enable_html;
8400 if test "$enableval" = yes; then
8401 wx_cv_use_html='wxUSE_HTML=yes'
8403 wx_cv_use_html='wxUSE_HTML=no'
8408 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8413 eval "$wx_cv_use_html"
8415 if test x"$enablestring" = xdisable; then
8416 if test $wxUSE_HTML = yes; then
8425 { echo "$as_me:$LINENO: result: $result" >&5
8426 echo "${ECHO_T}$result" >&6; }
8430 defaultval=$wxUSE_ALL_FEATURES
8431 if test -z "$defaultval"; then
8432 if test x"$enablestring" = xdisable; then
8439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8441 # Check whether --enable-htmlhelp was given.
8442 if test "${enable_htmlhelp+set}" = set; then
8443 enableval=$enable_htmlhelp;
8444 if test "$enableval" = yes; then
8445 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8447 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8452 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8457 eval "$wx_cv_use_htmlhelp"
8459 if test x"$enablestring" = xdisable; then
8460 if test $wxUSE_WXHTML_HELP = yes; then
8466 result=$wxUSE_WXHTML_HELP
8469 { echo "$as_me:$LINENO: result: $result" >&5
8470 echo "${ECHO_T}$result" >&6; }
8474 defaultval=$wxUSE_ALL_FEATURES
8475 if test -z "$defaultval"; then
8476 if test x"$enablestring" = xdisable; then
8483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8484 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8485 # Check whether --enable-xrc was given.
8486 if test "${enable_xrc+set}" = set; then
8487 enableval=$enable_xrc;
8488 if test "$enableval" = yes; then
8489 wx_cv_use_xrc='wxUSE_XRC=yes'
8491 wx_cv_use_xrc='wxUSE_XRC=no'
8496 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8501 eval "$wx_cv_use_xrc"
8503 if test x"$enablestring" = xdisable; then
8504 if test $wxUSE_XRC = yes; then
8513 { echo "$as_me:$LINENO: result: $result" >&5
8514 echo "${ECHO_T}$result" >&6; }
8518 defaultval=$wxUSE_ALL_FEATURES
8519 if test -z "$defaultval"; then
8520 if test x"$enablestring" = xdisable; then
8527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8529 # Check whether --enable-aui was given.
8530 if test "${enable_aui+set}" = set; then
8531 enableval=$enable_aui;
8532 if test "$enableval" = yes; then
8533 wx_cv_use_aui='wxUSE_AUI=yes'
8535 wx_cv_use_aui='wxUSE_AUI=no'
8540 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8545 eval "$wx_cv_use_aui"
8547 if test x"$enablestring" = xdisable; then
8548 if test $wxUSE_AUI = yes; then
8557 { echo "$as_me:$LINENO: result: $result" >&5
8558 echo "${ECHO_T}$result" >&6; }
8562 defaultval=$wxUSE_ALL_FEATURES
8563 if test -z "$defaultval"; then
8564 if test x"$enablestring" = xdisable; then
8571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8572 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8573 # Check whether --enable-stc was given.
8574 if test "${enable_stc+set}" = set; then
8575 enableval=$enable_stc;
8576 if test "$enableval" = yes; then
8577 wx_cv_use_stc='wxUSE_STC=yes'
8579 wx_cv_use_stc='wxUSE_STC=no'
8584 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8589 eval "$wx_cv_use_stc"
8591 if test x"$enablestring" = xdisable; then
8592 if test $wxUSE_STC = yes; then
8601 { echo "$as_me:$LINENO: result: $result" >&5
8602 echo "${ECHO_T}$result" >&6; }
8606 defaultval=$wxUSE_ALL_FEATURES
8607 if test -z "$defaultval"; then
8608 if test x"$enablestring" = xdisable; then
8615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8616 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8617 # Check whether --enable-constraints was given.
8618 if test "${enable_constraints+set}" = set; then
8619 enableval=$enable_constraints;
8620 if test "$enableval" = yes; then
8621 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8623 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8628 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8633 eval "$wx_cv_use_constraints"
8635 if test x"$enablestring" = xdisable; then
8636 if test $wxUSE_CONSTRAINTS = yes; then
8642 result=$wxUSE_CONSTRAINTS
8645 { echo "$as_me:$LINENO: result: $result" >&5
8646 echo "${ECHO_T}$result" >&6; }
8650 defaultval=$wxUSE_ALL_FEATURES
8651 if test -z "$defaultval"; then
8652 if test x"$enablestring" = xdisable; then
8659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8660 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8661 # Check whether --enable-loggui was given.
8662 if test "${enable_loggui+set}" = set; then
8663 enableval=$enable_loggui;
8664 if test "$enableval" = yes; then
8665 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8667 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8672 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8677 eval "$wx_cv_use_loggui"
8679 if test x"$enablestring" = xdisable; then
8680 if test $wxUSE_LOGGUI = yes; then
8686 result=$wxUSE_LOGGUI
8689 { echo "$as_me:$LINENO: result: $result" >&5
8690 echo "${ECHO_T}$result" >&6; }
8694 defaultval=$wxUSE_ALL_FEATURES
8695 if test -z "$defaultval"; then
8696 if test x"$enablestring" = xdisable; then
8703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8704 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8705 # Check whether --enable-logwin was given.
8706 if test "${enable_logwin+set}" = set; then
8707 enableval=$enable_logwin;
8708 if test "$enableval" = yes; then
8709 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8711 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8716 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8721 eval "$wx_cv_use_logwin"
8723 if test x"$enablestring" = xdisable; then
8724 if test $wxUSE_LOGWINDOW = yes; then
8730 result=$wxUSE_LOGWINDOW
8733 { echo "$as_me:$LINENO: result: $result" >&5
8734 echo "${ECHO_T}$result" >&6; }
8738 defaultval=$wxUSE_ALL_FEATURES
8739 if test -z "$defaultval"; then
8740 if test x"$enablestring" = xdisable; then
8747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8748 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8749 # Check whether --enable-logdialog was given.
8750 if test "${enable_logdialog+set}" = set; then
8751 enableval=$enable_logdialog;
8752 if test "$enableval" = yes; then
8753 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8755 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8760 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8765 eval "$wx_cv_use_logdialog"
8767 if test x"$enablestring" = xdisable; then
8768 if test $wxUSE_LOGDIALOG = yes; then
8774 result=$wxUSE_LOGDIALOG
8777 { echo "$as_me:$LINENO: result: $result" >&5
8778 echo "${ECHO_T}$result" >&6; }
8782 defaultval=$wxUSE_ALL_FEATURES
8783 if test -z "$defaultval"; then
8784 if test x"$enablestring" = xdisable; then
8791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8792 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8793 # Check whether --enable-mdi was given.
8794 if test "${enable_mdi+set}" = set; then
8795 enableval=$enable_mdi;
8796 if test "$enableval" = yes; then
8797 wx_cv_use_mdi='wxUSE_MDI=yes'
8799 wx_cv_use_mdi='wxUSE_MDI=no'
8804 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8809 eval "$wx_cv_use_mdi"
8811 if test x"$enablestring" = xdisable; then
8812 if test $wxUSE_MDI = yes; then
8821 { echo "$as_me:$LINENO: result: $result" >&5
8822 echo "${ECHO_T}$result" >&6; }
8826 defaultval=$wxUSE_ALL_FEATURES
8827 if test -z "$defaultval"; then
8828 if test x"$enablestring" = xdisable; then
8835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8836 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8837 # Check whether --enable-mdidoc was given.
8838 if test "${enable_mdidoc+set}" = set; then
8839 enableval=$enable_mdidoc;
8840 if test "$enableval" = yes; then
8841 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8843 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8848 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8853 eval "$wx_cv_use_mdidoc"
8855 if test x"$enablestring" = xdisable; then
8856 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8862 result=$wxUSE_MDI_ARCHITECTURE
8865 { echo "$as_me:$LINENO: result: $result" >&5
8866 echo "${ECHO_T}$result" >&6; }
8870 defaultval=$wxUSE_ALL_FEATURES
8871 if test -z "$defaultval"; then
8872 if test x"$enablestring" = xdisable; then
8879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8880 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8881 # Check whether --enable-mediactrl was given.
8882 if test "${enable_mediactrl+set}" = set; then
8883 enableval=$enable_mediactrl;
8884 if test "$enableval" = yes; then
8885 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8887 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8892 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8897 eval "$wx_cv_use_mediactrl"
8899 if test x"$enablestring" = xdisable; then
8900 if test $wxUSE_MEDIACTRL = yes; then
8906 result=$wxUSE_MEDIACTRL
8909 { echo "$as_me:$LINENO: result: $result" >&5
8910 echo "${ECHO_T}$result" >&6; }
8914 defaultval=$wxUSE_ALL_FEATURES
8915 if test -z "$defaultval"; then
8916 if test x"$enablestring" = xdisable; then
8923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8925 # Check whether --enable-gstreamer8 was given.
8926 if test "${enable_gstreamer8+set}" = set; then
8927 enableval=$enable_gstreamer8;
8928 if test "$enableval" = yes; then
8929 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8931 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8936 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8941 eval "$wx_cv_use_gstreamer8"
8943 if test x"$enablestring" = xdisable; then
8944 if test $wxUSE_GSTREAMER8 = yes; then
8950 result=$wxUSE_GSTREAMER8
8953 { echo "$as_me:$LINENO: result: $result" >&5
8954 echo "${ECHO_T}$result" >&6; }
8958 defaultval=$wxUSE_ALL_FEATURES
8959 if test -z "$defaultval"; then
8960 if test x"$enablestring" = xdisable; then
8967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8968 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8969 # Check whether --enable-webkit was given.
8970 if test "${enable_webkit+set}" = set; then
8971 enableval=$enable_webkit;
8972 if test "$enableval" = yes; then
8973 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8975 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8980 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8985 eval "$wx_cv_use_webkit"
8987 if test x"$enablestring" = xdisable; then
8988 if test $wxUSE_WEBKIT = yes; then
8994 result=$wxUSE_WEBKIT
8997 { echo "$as_me:$LINENO: result: $result" >&5
8998 echo "${ECHO_T}$result" >&6; }
9002 defaultval=$wxUSE_ALL_FEATURES
9003 if test -z "$defaultval"; then
9004 if test x"$enablestring" = xdisable; then
9011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9012 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9013 # Check whether --enable-richtext was given.
9014 if test "${enable_richtext+set}" = set; then
9015 enableval=$enable_richtext;
9016 if test "$enableval" = yes; then
9017 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9019 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9024 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9029 eval "$wx_cv_use_richtext"
9031 if test x"$enablestring" = xdisable; then
9032 if test $wxUSE_RICHTEXT = yes; then
9038 result=$wxUSE_RICHTEXT
9041 { echo "$as_me:$LINENO: result: $result" >&5
9042 echo "${ECHO_T}$result" >&6; }
9046 defaultval=$wxUSE_ALL_FEATURES
9047 if test -z "$defaultval"; then
9048 if test x"$enablestring" = xdisable; then
9055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9056 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9057 # Check whether --enable-graphics_ctx was given.
9058 if test "${enable_graphics_ctx+set}" = set; then
9059 enableval=$enable_graphics_ctx;
9060 if test "$enableval" = yes; then
9061 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9063 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9068 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9073 eval "$wx_cv_use_graphics_ctx"
9075 if test x"$enablestring" = xdisable; then
9076 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9082 result=$wxUSE_GRAPHICS_CONTEXT
9085 { echo "$as_me:$LINENO: result: $result" >&5
9086 echo "${ECHO_T}$result" >&6; }
9090 defaultval=$wxUSE_ALL_FEATURES
9091 if test -z "$defaultval"; then
9092 if test x"$enablestring" = xdisable; then
9099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9101 # Check whether --enable-postscript was given.
9102 if test "${enable_postscript+set}" = set; then
9103 enableval=$enable_postscript;
9104 if test "$enableval" = yes; then
9105 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9107 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9112 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9117 eval "$wx_cv_use_postscript"
9119 if test x"$enablestring" = xdisable; then
9120 if test $wxUSE_POSTSCRIPT = yes; then
9126 result=$wxUSE_POSTSCRIPT
9129 { echo "$as_me:$LINENO: result: $result" >&5
9130 echo "${ECHO_T}$result" >&6; }
9134 defaultval=$wxUSE_ALL_FEATURES
9135 if test -z "$defaultval"; then
9136 if test x"$enablestring" = xdisable; then
9143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9145 # Check whether --enable-printarch was given.
9146 if test "${enable_printarch+set}" = set; then
9147 enableval=$enable_printarch;
9148 if test "$enableval" = yes; then
9149 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9151 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9156 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9161 eval "$wx_cv_use_printarch"
9163 if test x"$enablestring" = xdisable; then
9164 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9170 result=$wxUSE_PRINTING_ARCHITECTURE
9173 { echo "$as_me:$LINENO: result: $result" >&5
9174 echo "${ECHO_T}$result" >&6; }
9178 defaultval=$wxUSE_ALL_FEATURES
9179 if test -z "$defaultval"; then
9180 if test x"$enablestring" = xdisable; then
9187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9188 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9189 # Check whether --enable-svg was given.
9190 if test "${enable_svg+set}" = set; then
9191 enableval=$enable_svg;
9192 if test "$enableval" = yes; then
9193 wx_cv_use_svg='wxUSE_SVG=yes'
9195 wx_cv_use_svg='wxUSE_SVG=no'
9200 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9205 eval "$wx_cv_use_svg"
9207 if test x"$enablestring" = xdisable; then
9208 if test $wxUSE_SVG = yes; then
9217 { echo "$as_me:$LINENO: result: $result" >&5
9218 echo "${ECHO_T}$result" >&6; }
9224 defaultval=$wxUSE_ALL_FEATURES
9225 if test -z "$defaultval"; then
9226 if test x"$enablestring" = xdisable; then
9233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9234 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9235 # Check whether --enable-clipboard was given.
9236 if test "${enable_clipboard+set}" = set; then
9237 enableval=$enable_clipboard;
9238 if test "$enableval" = yes; then
9239 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9241 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9246 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9251 eval "$wx_cv_use_clipboard"
9253 if test x"$enablestring" = xdisable; then
9254 if test $wxUSE_CLIPBOARD = yes; then
9260 result=$wxUSE_CLIPBOARD
9263 { echo "$as_me:$LINENO: result: $result" >&5
9264 echo "${ECHO_T}$result" >&6; }
9268 defaultval=$wxUSE_ALL_FEATURES
9269 if test -z "$defaultval"; then
9270 if test x"$enablestring" = xdisable; then
9277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9278 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9279 # Check whether --enable-dnd was given.
9280 if test "${enable_dnd+set}" = set; then
9281 enableval=$enable_dnd;
9282 if test "$enableval" = yes; then
9283 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9285 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9290 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9295 eval "$wx_cv_use_dnd"
9297 if test x"$enablestring" = xdisable; then
9298 if test $wxUSE_DRAG_AND_DROP = yes; then
9304 result=$wxUSE_DRAG_AND_DROP
9307 { echo "$as_me:$LINENO: result: $result" >&5
9308 echo "${ECHO_T}$result" >&6; }
9312 defaultval=$wxUSE_ALL_FEATURES
9313 if test -z "$defaultval"; then
9314 if test x"$enablestring" = xdisable; then
9321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9322 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9323 # Check whether --enable-metafile was given.
9324 if test "${enable_metafile+set}" = set; then
9325 enableval=$enable_metafile;
9326 if test "$enableval" = yes; then
9327 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9329 wx_cv_use_metafile='wxUSE_METAFILE=no'
9334 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9339 eval "$wx_cv_use_metafile"
9341 if test x"$enablestring" = xdisable; then
9342 if test $wxUSE_METAFILE = yes; then
9348 result=$wxUSE_METAFILE
9351 { echo "$as_me:$LINENO: result: $result" >&5
9352 echo "${ECHO_T}$result" >&6; }
9356 DEFAULT_wxUSE_CONTROLS=none
9358 enablestring=disable
9360 if test -z "$defaultval"; then
9361 if test x"$enablestring" = xdisable; then
9368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9369 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9370 # Check whether --enable-controls was given.
9371 if test "${enable_controls+set}" = set; then
9372 enableval=$enable_controls;
9373 if test "$enableval" = yes; then
9374 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9376 wx_cv_use_controls='wxUSE_CONTROLS=no'
9381 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9386 eval "$wx_cv_use_controls"
9388 if test x"$enablestring" = xdisable; then
9389 if test $wxUSE_CONTROLS = yes; then
9395 result=$wxUSE_CONTROLS
9398 { echo "$as_me:$LINENO: result: $result" >&5
9399 echo "${ECHO_T}$result" >&6; }
9402 if test "$wxUSE_CONTROLS" = "yes"; then
9403 DEFAULT_wxUSE_ACCEL=yes
9404 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9405 DEFAULT_wxUSE_BMPBUTTON=yes
9406 DEFAULT_wxUSE_BUTTON=yes
9407 DEFAULT_wxUSE_CALCTRL=yes
9408 DEFAULT_wxUSE_CARET=yes
9409 DEFAULT_wxUSE_COMBOBOX=yes
9410 DEFAULT_wxUSE_CHECKBOX=yes
9411 DEFAULT_wxUSE_CHECKLISTBOX=yes
9412 DEFAULT_wxUSE_CHOICE=yes
9413 DEFAULT_wxUSE_CHOICEBOOK=yes
9414 DEFAULT_wxUSE_COLLPANE=yes
9415 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9416 DEFAULT_wxUSE_COMBOBOX=yes
9417 DEFAULT_wxUSE_DATEPICKCTRL=yes
9418 DEFAULT_wxUSE_DISPLAY=yes
9419 DEFAULT_wxUSE_DETECT_SM=yes
9420 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9421 DEFAULT_wxUSE_FILECTRL=yes
9422 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9423 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9424 DEFAULT_wxUSE_GAUGE=yes
9425 DEFAULT_wxUSE_GRID=yes
9426 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9427 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9428 DEFAULT_wxUSE_IMAGLIST=yes
9429 DEFAULT_wxUSE_LISTBOOK=yes
9430 DEFAULT_wxUSE_LISTBOX=yes
9431 DEFAULT_wxUSE_LISTCTRL=yes
9432 DEFAULT_wxUSE_NOTEBOOK=yes
9433 DEFAULT_wxUSE_RADIOBOX=yes
9434 DEFAULT_wxUSE_RADIOBTN=yes
9435 DEFAULT_wxUSE_SASH=yes
9436 DEFAULT_wxUSE_SCROLLBAR=yes
9437 DEFAULT_wxUSE_SEARCHCTRL=yes
9438 DEFAULT_wxUSE_SLIDER=yes
9439 DEFAULT_wxUSE_SPINBTN=yes
9440 DEFAULT_wxUSE_SPINCTRL=yes
9441 DEFAULT_wxUSE_SPLITTER=yes
9442 DEFAULT_wxUSE_STATBMP=yes
9443 DEFAULT_wxUSE_STATBOX=yes
9444 DEFAULT_wxUSE_STATLINE=yes
9445 DEFAULT_wxUSE_STATUSBAR=yes
9446 DEFAULT_wxUSE_TAB_DIALOG=yes
9447 DEFAULT_wxUSE_TOGGLEBTN=yes
9448 DEFAULT_wxUSE_TOOLBAR=yes
9449 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9450 DEFAULT_wxUSE_TOOLTIPS=yes
9451 DEFAULT_wxUSE_TREEBOOK=yes
9452 DEFAULT_wxUSE_TOOLBOOK=yes
9453 DEFAULT_wxUSE_TREECTRL=yes
9454 DEFAULT_wxUSE_POPUPWIN=yes
9455 DEFAULT_wxUSE_TIPWINDOW=yes
9456 elif test "$wxUSE_CONTROLS" = "no"; then
9457 DEFAULT_wxUSE_ACCEL=no
9458 DEFAULT_wxUSE_ANIMATIONCTRL=no
9459 DEFAULT_wxUSE_BMPBUTTON=no
9460 DEFAULT_wxUSE_BUTTON=no
9461 DEFAULT_wxUSE_CALCTRL=no
9462 DEFAULT_wxUSE_CARET=no
9463 DEFAULT_wxUSE_COLLPANE=no
9464 DEFAULT_wxUSE_COMBOBOX=no
9465 DEFAULT_wxUSE_CHECKBOX=no
9466 DEFAULT_wxUSE_CHECKLISTBOX=no
9467 DEFAULT_wxUSE_CHOICE=no
9468 DEFAULT_wxUSE_CHOICEBOOK=no
9469 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9470 DEFAULT_wxUSE_COMBOBOX=no
9471 DEFAULT_wxUSE_DATEPICKCTRL=no
9472 DEFAULT_wxUSE_DISPLAY=no
9473 DEFAULT_wxUSE_DETECT_SM=no
9474 DEFAULT_wxUSE_DIRPICKERCTRL=no
9475 DEFAULT_wxUSE_FILECTRL=no
9476 DEFAULT_wxUSE_FILEPICKERCTRL=no
9477 DEFAULT_wxUSE_FONTPICKERCTRL=no
9478 DEFAULT_wxUSE_GAUGE=no
9479 DEFAULT_wxUSE_GRID=no
9480 DEFAULT_wxUSE_HYPERLINKCTRL=no
9481 DEFAULT_wxUSE_DATAVIEWCTRL=no
9482 DEFAULT_wxUSE_IMAGLIST=no
9483 DEFAULT_wxUSE_LISTBOOK=no
9484 DEFAULT_wxUSE_LISTBOX=no
9485 DEFAULT_wxUSE_LISTCTRL=no
9486 DEFAULT_wxUSE_NOTEBOOK=no
9487 DEFAULT_wxUSE_RADIOBOX=no
9488 DEFAULT_wxUSE_RADIOBTN=no
9489 DEFAULT_wxUSE_SASH=no
9490 DEFAULT_wxUSE_SCROLLBAR=no
9491 DEFAULT_wxUSE_SEARCHCTRL=no
9492 DEFAULT_wxUSE_SLIDER=no
9493 DEFAULT_wxUSE_SPINBTN=no
9494 DEFAULT_wxUSE_SPINCTRL=no
9495 DEFAULT_wxUSE_SPLITTER=no
9496 DEFAULT_wxUSE_STATBMP=no
9497 DEFAULT_wxUSE_STATBOX=no
9498 DEFAULT_wxUSE_STATLINE=no
9499 DEFAULT_wxUSE_STATUSBAR=no
9500 DEFAULT_wxUSE_TAB_DIALOG=no
9501 DEFAULT_wxUSE_TOGGLEBTN=no
9502 DEFAULT_wxUSE_TOOLBAR=no
9503 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9504 DEFAULT_wxUSE_TOOLTIPS=no
9505 DEFAULT_wxUSE_TREEBOOK=no
9506 DEFAULT_wxUSE_TOOLBOOK=no
9507 DEFAULT_wxUSE_TREECTRL=no
9508 DEFAULT_wxUSE_POPUPWIN=no
9509 DEFAULT_wxUSE_TIPWINDOW=no
9514 defaultval=$wxUSE_ALL_FEATURES
9515 if test -z "$defaultval"; then
9516 if test x"$enablestring" = xdisable; then
9523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9524 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9525 # Check whether --enable-accel was given.
9526 if test "${enable_accel+set}" = set; then
9527 enableval=$enable_accel;
9528 if test "$enableval" = yes; then
9529 wx_cv_use_accel='wxUSE_ACCEL=yes'
9531 wx_cv_use_accel='wxUSE_ACCEL=no'
9536 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9541 eval "$wx_cv_use_accel"
9543 if test x"$enablestring" = xdisable; then
9544 if test $wxUSE_ACCEL = yes; then
9553 { echo "$as_me:$LINENO: result: $result" >&5
9554 echo "${ECHO_T}$result" >&6; }
9558 defaultval=$wxUSE_ALL_FEATURES
9559 if test -z "$defaultval"; then
9560 if test x"$enablestring" = xdisable; then
9567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9568 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9569 # Check whether --enable-animatectrl was given.
9570 if test "${enable_animatectrl+set}" = set; then
9571 enableval=$enable_animatectrl;
9572 if test "$enableval" = yes; then
9573 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9575 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9580 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9585 eval "$wx_cv_use_animatectrl"
9587 if test x"$enablestring" = xdisable; then
9588 if test $wxUSE_ANIMATIONCTRL = yes; then
9594 result=$wxUSE_ANIMATIONCTRL
9597 { echo "$as_me:$LINENO: result: $result" >&5
9598 echo "${ECHO_T}$result" >&6; }
9602 defaultval=$wxUSE_ALL_FEATURES
9603 if test -z "$defaultval"; then
9604 if test x"$enablestring" = xdisable; then
9611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9612 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9613 # Check whether --enable-button was given.
9614 if test "${enable_button+set}" = set; then
9615 enableval=$enable_button;
9616 if test "$enableval" = yes; then
9617 wx_cv_use_button='wxUSE_BUTTON=yes'
9619 wx_cv_use_button='wxUSE_BUTTON=no'
9624 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9629 eval "$wx_cv_use_button"
9631 if test x"$enablestring" = xdisable; then
9632 if test $wxUSE_BUTTON = yes; then
9638 result=$wxUSE_BUTTON
9641 { echo "$as_me:$LINENO: result: $result" >&5
9642 echo "${ECHO_T}$result" >&6; }
9646 defaultval=$wxUSE_ALL_FEATURES
9647 if test -z "$defaultval"; then
9648 if test x"$enablestring" = xdisable; then
9655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9656 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9657 # Check whether --enable-bmpbutton was given.
9658 if test "${enable_bmpbutton+set}" = set; then
9659 enableval=$enable_bmpbutton;
9660 if test "$enableval" = yes; then
9661 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9663 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9668 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9673 eval "$wx_cv_use_bmpbutton"
9675 if test x"$enablestring" = xdisable; then
9676 if test $wxUSE_BMPBUTTON = yes; then
9682 result=$wxUSE_BMPBUTTON
9685 { echo "$as_me:$LINENO: result: $result" >&5
9686 echo "${ECHO_T}$result" >&6; }
9690 defaultval=$wxUSE_ALL_FEATURES
9691 if test -z "$defaultval"; then
9692 if test x"$enablestring" = xdisable; then
9699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9700 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9701 # Check whether --enable-bmpcombobox was given.
9702 if test "${enable_bmpcombobox+set}" = set; then
9703 enableval=$enable_bmpcombobox;
9704 if test "$enableval" = yes; then
9705 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9707 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9712 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9717 eval "$wx_cv_use_bmpcombobox"
9719 if test x"$enablestring" = xdisable; then
9720 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9726 result=$wxUSE_BITMAPCOMBOBOX
9729 { echo "$as_me:$LINENO: result: $result" >&5
9730 echo "${ECHO_T}$result" >&6; }
9734 defaultval=$wxUSE_ALL_FEATURES
9735 if test -z "$defaultval"; then
9736 if test x"$enablestring" = xdisable; then
9743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9744 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9745 # Check whether --enable-calendar was given.
9746 if test "${enable_calendar+set}" = set; then
9747 enableval=$enable_calendar;
9748 if test "$enableval" = yes; then
9749 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9751 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9756 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9761 eval "$wx_cv_use_calendar"
9763 if test x"$enablestring" = xdisable; then
9764 if test $wxUSE_CALCTRL = yes; then
9770 result=$wxUSE_CALCTRL
9773 { echo "$as_me:$LINENO: result: $result" >&5
9774 echo "${ECHO_T}$result" >&6; }
9778 defaultval=$wxUSE_ALL_FEATURES
9779 if test -z "$defaultval"; then
9780 if test x"$enablestring" = xdisable; then
9787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9788 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9789 # Check whether --enable-caret was given.
9790 if test "${enable_caret+set}" = set; then
9791 enableval=$enable_caret;
9792 if test "$enableval" = yes; then
9793 wx_cv_use_caret='wxUSE_CARET=yes'
9795 wx_cv_use_caret='wxUSE_CARET=no'
9800 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9805 eval "$wx_cv_use_caret"
9807 if test x"$enablestring" = xdisable; then
9808 if test $wxUSE_CARET = yes; then
9817 { echo "$as_me:$LINENO: result: $result" >&5
9818 echo "${ECHO_T}$result" >&6; }
9822 defaultval=$wxUSE_ALL_FEATURES
9823 if test -z "$defaultval"; then
9824 if test x"$enablestring" = xdisable; then
9831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9832 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9833 # Check whether --enable-checkbox was given.
9834 if test "${enable_checkbox+set}" = set; then
9835 enableval=$enable_checkbox;
9836 if test "$enableval" = yes; then
9837 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9839 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9844 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9849 eval "$wx_cv_use_checkbox"
9851 if test x"$enablestring" = xdisable; then
9852 if test $wxUSE_CHECKBOX = yes; then
9858 result=$wxUSE_CHECKBOX
9861 { echo "$as_me:$LINENO: result: $result" >&5
9862 echo "${ECHO_T}$result" >&6; }
9866 defaultval=$wxUSE_ALL_FEATURES
9867 if test -z "$defaultval"; then
9868 if test x"$enablestring" = xdisable; then
9875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9876 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9877 # Check whether --enable-checklst was given.
9878 if test "${enable_checklst+set}" = set; then
9879 enableval=$enable_checklst;
9880 if test "$enableval" = yes; then
9881 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9883 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9888 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9893 eval "$wx_cv_use_checklst"
9895 if test x"$enablestring" = xdisable; then
9896 if test $wxUSE_CHECKLST = yes; then
9902 result=$wxUSE_CHECKLST
9905 { echo "$as_me:$LINENO: result: $result" >&5
9906 echo "${ECHO_T}$result" >&6; }
9910 defaultval=$wxUSE_ALL_FEATURES
9911 if test -z "$defaultval"; then
9912 if test x"$enablestring" = xdisable; then
9919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9921 # Check whether --enable-choice was given.
9922 if test "${enable_choice+set}" = set; then
9923 enableval=$enable_choice;
9924 if test "$enableval" = yes; then
9925 wx_cv_use_choice='wxUSE_CHOICE=yes'
9927 wx_cv_use_choice='wxUSE_CHOICE=no'
9932 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9937 eval "$wx_cv_use_choice"
9939 if test x"$enablestring" = xdisable; then
9940 if test $wxUSE_CHOICE = yes; then
9946 result=$wxUSE_CHOICE
9949 { echo "$as_me:$LINENO: result: $result" >&5
9950 echo "${ECHO_T}$result" >&6; }
9954 defaultval=$wxUSE_ALL_FEATURES
9955 if test -z "$defaultval"; then
9956 if test x"$enablestring" = xdisable; then
9963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9964 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9965 # Check whether --enable-choicebook was given.
9966 if test "${enable_choicebook+set}" = set; then
9967 enableval=$enable_choicebook;
9968 if test "$enableval" = yes; then
9969 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9971 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9976 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9981 eval "$wx_cv_use_choicebook"
9983 if test x"$enablestring" = xdisable; then
9984 if test $wxUSE_CHOICEBOOK = yes; then
9990 result=$wxUSE_CHOICEBOOK
9993 { echo "$as_me:$LINENO: result: $result" >&5
9994 echo "${ECHO_T}$result" >&6; }
9998 defaultval=$wxUSE_ALL_FEATURES
9999 if test -z "$defaultval"; then
10000 if test x"$enablestring" = xdisable; then
10007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10009 # Check whether --enable-collpane was given.
10010 if test "${enable_collpane+set}" = set; then
10011 enableval=$enable_collpane;
10012 if test "$enableval" = yes; then
10013 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10015 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10020 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10025 eval "$wx_cv_use_collpane"
10027 if test x"$enablestring" = xdisable; then
10028 if test $wxUSE_COLLPANE = yes; then
10034 result=$wxUSE_COLLPANE
10037 { echo "$as_me:$LINENO: result: $result" >&5
10038 echo "${ECHO_T}$result" >&6; }
10042 defaultval=$wxUSE_ALL_FEATURES
10043 if test -z "$defaultval"; then
10044 if test x"$enablestring" = xdisable; then
10051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10053 # Check whether --enable-colourpicker was given.
10054 if test "${enable_colourpicker+set}" = set; then
10055 enableval=$enable_colourpicker;
10056 if test "$enableval" = yes; then
10057 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10059 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10064 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10069 eval "$wx_cv_use_colourpicker"
10071 if test x"$enablestring" = xdisable; then
10072 if test $wxUSE_COLOURPICKERCTRL = yes; then
10078 result=$wxUSE_COLOURPICKERCTRL
10081 { echo "$as_me:$LINENO: result: $result" >&5
10082 echo "${ECHO_T}$result" >&6; }
10086 defaultval=$wxUSE_ALL_FEATURES
10087 if test -z "$defaultval"; then
10088 if test x"$enablestring" = xdisable; then
10095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10097 # Check whether --enable-combobox was given.
10098 if test "${enable_combobox+set}" = set; then
10099 enableval=$enable_combobox;
10100 if test "$enableval" = yes; then
10101 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10103 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10108 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10113 eval "$wx_cv_use_combobox"
10115 if test x"$enablestring" = xdisable; then
10116 if test $wxUSE_COMBOBOX = yes; then
10122 result=$wxUSE_COMBOBOX
10125 { echo "$as_me:$LINENO: result: $result" >&5
10126 echo "${ECHO_T}$result" >&6; }
10130 defaultval=$wxUSE_ALL_FEATURES
10131 if test -z "$defaultval"; then
10132 if test x"$enablestring" = xdisable; then
10139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10140 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10141 # Check whether --enable-comboctrl was given.
10142 if test "${enable_comboctrl+set}" = set; then
10143 enableval=$enable_comboctrl;
10144 if test "$enableval" = yes; then
10145 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10147 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10152 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10157 eval "$wx_cv_use_comboctrl"
10159 if test x"$enablestring" = xdisable; then
10160 if test $wxUSE_COMBOCTRL = yes; then
10166 result=$wxUSE_COMBOCTRL
10169 { echo "$as_me:$LINENO: result: $result" >&5
10170 echo "${ECHO_T}$result" >&6; }
10174 defaultval=$wxUSE_ALL_FEATURES
10175 if test -z "$defaultval"; then
10176 if test x"$enablestring" = xdisable; then
10183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10184 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10185 # Check whether --enable-datepick was given.
10186 if test "${enable_datepick+set}" = set; then
10187 enableval=$enable_datepick;
10188 if test "$enableval" = yes; then
10189 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10191 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10196 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10201 eval "$wx_cv_use_datepick"
10203 if test x"$enablestring" = xdisable; then
10204 if test $wxUSE_DATEPICKCTRL = yes; then
10210 result=$wxUSE_DATEPICKCTRL
10213 { echo "$as_me:$LINENO: result: $result" >&5
10214 echo "${ECHO_T}$result" >&6; }
10218 defaultval=$wxUSE_ALL_FEATURES
10219 if test -z "$defaultval"; then
10220 if test x"$enablestring" = xdisable; then
10227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10228 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10229 # Check whether --enable-dirpicker was given.
10230 if test "${enable_dirpicker+set}" = set; then
10231 enableval=$enable_dirpicker;
10232 if test "$enableval" = yes; then
10233 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10235 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10240 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10245 eval "$wx_cv_use_dirpicker"
10247 if test x"$enablestring" = xdisable; then
10248 if test $wxUSE_DIRPICKERCTRL = yes; then
10254 result=$wxUSE_DIRPICKERCTRL
10257 { echo "$as_me:$LINENO: result: $result" >&5
10258 echo "${ECHO_T}$result" >&6; }
10262 defaultval=$wxUSE_ALL_FEATURES
10263 if test -z "$defaultval"; then
10264 if test x"$enablestring" = xdisable; then
10271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10272 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10273 # Check whether --enable-display was given.
10274 if test "${enable_display+set}" = set; then
10275 enableval=$enable_display;
10276 if test "$enableval" = yes; then
10277 wx_cv_use_display='wxUSE_DISPLAY=yes'
10279 wx_cv_use_display='wxUSE_DISPLAY=no'
10284 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10289 eval "$wx_cv_use_display"
10291 if test x"$enablestring" = xdisable; then
10292 if test $wxUSE_DISPLAY = yes; then
10298 result=$wxUSE_DISPLAY
10301 { echo "$as_me:$LINENO: result: $result" >&5
10302 echo "${ECHO_T}$result" >&6; }
10306 defaultval=$wxUSE_ALL_FEATURES
10307 if test -z "$defaultval"; then
10308 if test x"$enablestring" = xdisable; then
10315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10316 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10317 # Check whether --enable-detect_sm was given.
10318 if test "${enable_detect_sm+set}" = set; then
10319 enableval=$enable_detect_sm;
10320 if test "$enableval" = yes; then
10321 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10323 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10328 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10333 eval "$wx_cv_use_detect_sm"
10335 if test x"$enablestring" = xdisable; then
10336 if test $wxUSE_DETECT_SM = yes; then
10342 result=$wxUSE_DETECT_SM
10345 { echo "$as_me:$LINENO: result: $result" >&5
10346 echo "${ECHO_T}$result" >&6; }
10350 defaultval=$wxUSE_ALL_FEATURES
10351 if test -z "$defaultval"; then
10352 if test x"$enablestring" = xdisable; then
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10361 # Check whether --enable-editablebox was given.
10362 if test "${enable_editablebox+set}" = set; then
10363 enableval=$enable_editablebox;
10364 if test "$enableval" = yes; then
10365 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10367 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10372 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10377 eval "$wx_cv_use_editablebox"
10379 if test x"$enablestring" = xdisable; then
10380 if test $wxUSE_EDITABLELISTBOX = yes; then
10386 result=$wxUSE_EDITABLELISTBOX
10389 { echo "$as_me:$LINENO: result: $result" >&5
10390 echo "${ECHO_T}$result" >&6; }
10394 defaultval=$wxUSE_ALL_FEATURES
10395 if test -z "$defaultval"; then
10396 if test x"$enablestring" = xdisable; then
10403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10404 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10405 # Check whether --enable-filepicker was given.
10406 if test "${enable_filepicker+set}" = set; then
10407 enableval=$enable_filepicker;
10408 if test "$enableval" = yes; then
10409 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10411 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10416 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10421 eval "$wx_cv_use_filepicker"
10423 if test x"$enablestring" = xdisable; then
10424 if test $wxUSE_FILEPICKERCTRL = yes; then
10430 result=$wxUSE_FILEPICKERCTRL
10433 { echo "$as_me:$LINENO: result: $result" >&5
10434 echo "${ECHO_T}$result" >&6; }
10438 defaultval=$wxUSE_ALL_FEATURES
10439 if test -z "$defaultval"; then
10440 if test x"$enablestring" = xdisable; then
10447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10448 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10449 # Check whether --enable-filectrl was given.
10450 if test "${enable_filectrl+set}" = set; then
10451 enableval=$enable_filectrl;
10452 if test "$enableval" = yes; then
10453 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10455 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10460 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10465 eval "$wx_cv_use_filectrl"
10467 if test x"$enablestring" = xdisable; then
10468 if test $wxUSE_FILECTRL = yes; then
10474 result=$wxUSE_FILECTRL
10477 { echo "$as_me:$LINENO: result: $result" >&5
10478 echo "${ECHO_T}$result" >&6; }
10482 defaultval=$wxUSE_ALL_FEATURES
10483 if test -z "$defaultval"; then
10484 if test x"$enablestring" = xdisable; then
10491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10492 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10493 # Check whether --enable-fontpicker was given.
10494 if test "${enable_fontpicker+set}" = set; then
10495 enableval=$enable_fontpicker;
10496 if test "$enableval" = yes; then
10497 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10499 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10504 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10509 eval "$wx_cv_use_fontpicker"
10511 if test x"$enablestring" = xdisable; then
10512 if test $wxUSE_FONTPICKERCTRL = yes; then
10518 result=$wxUSE_FONTPICKERCTRL
10521 { echo "$as_me:$LINENO: result: $result" >&5
10522 echo "${ECHO_T}$result" >&6; }
10526 defaultval=$wxUSE_ALL_FEATURES
10527 if test -z "$defaultval"; then
10528 if test x"$enablestring" = xdisable; then
10535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10536 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10537 # Check whether --enable-gauge was given.
10538 if test "${enable_gauge+set}" = set; then
10539 enableval=$enable_gauge;
10540 if test "$enableval" = yes; then
10541 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10543 wx_cv_use_gauge='wxUSE_GAUGE=no'
10548 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10553 eval "$wx_cv_use_gauge"
10555 if test x"$enablestring" = xdisable; then
10556 if test $wxUSE_GAUGE = yes; then
10562 result=$wxUSE_GAUGE
10565 { echo "$as_me:$LINENO: result: $result" >&5
10566 echo "${ECHO_T}$result" >&6; }
10570 defaultval=$wxUSE_ALL_FEATURES
10571 if test -z "$defaultval"; then
10572 if test x"$enablestring" = xdisable; then
10579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10580 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10581 # Check whether --enable-grid was given.
10582 if test "${enable_grid+set}" = set; then
10583 enableval=$enable_grid;
10584 if test "$enableval" = yes; then
10585 wx_cv_use_grid='wxUSE_GRID=yes'
10587 wx_cv_use_grid='wxUSE_GRID=no'
10592 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10597 eval "$wx_cv_use_grid"
10599 if test x"$enablestring" = xdisable; then
10600 if test $wxUSE_GRID = yes; then
10609 { echo "$as_me:$LINENO: result: $result" >&5
10610 echo "${ECHO_T}$result" >&6; }
10614 defaultval=$wxUSE_ALL_FEATURES
10615 if test -z "$defaultval"; then
10616 if test x"$enablestring" = xdisable; then
10623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10624 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10625 # Check whether --enable-dataviewctrl was given.
10626 if test "${enable_dataviewctrl+set}" = set; then
10627 enableval=$enable_dataviewctrl;
10628 if test "$enableval" = yes; then
10629 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10631 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10636 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10641 eval "$wx_cv_use_dataviewctrl"
10643 if test x"$enablestring" = xdisable; then
10644 if test $wxUSE_DATAVIEWCTRL = yes; then
10650 result=$wxUSE_DATAVIEWCTRL
10653 { echo "$as_me:$LINENO: result: $result" >&5
10654 echo "${ECHO_T}$result" >&6; }
10658 defaultval=$wxUSE_ALL_FEATURES
10659 if test -z "$defaultval"; then
10660 if test x"$enablestring" = xdisable; then
10667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10668 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10669 # Check whether --enable-hyperlink was given.
10670 if test "${enable_hyperlink+set}" = set; then
10671 enableval=$enable_hyperlink;
10672 if test "$enableval" = yes; then
10673 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10675 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10680 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10685 eval "$wx_cv_use_hyperlink"
10687 if test x"$enablestring" = xdisable; then
10688 if test $wxUSE_HYPERLINKCTRL = yes; then
10694 result=$wxUSE_HYPERLINKCTRL
10697 { echo "$as_me:$LINENO: result: $result" >&5
10698 echo "${ECHO_T}$result" >&6; }
10702 defaultval=$wxUSE_ALL_FEATURES
10703 if test -z "$defaultval"; then
10704 if test x"$enablestring" = xdisable; then
10711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10712 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10713 # Check whether --enable-imaglist was given.
10714 if test "${enable_imaglist+set}" = set; then
10715 enableval=$enable_imaglist;
10716 if test "$enableval" = yes; then
10717 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10719 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10724 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10729 eval "$wx_cv_use_imaglist"
10731 if test x"$enablestring" = xdisable; then
10732 if test $wxUSE_IMAGLIST = yes; then
10738 result=$wxUSE_IMAGLIST
10741 { echo "$as_me:$LINENO: result: $result" >&5
10742 echo "${ECHO_T}$result" >&6; }
10746 defaultval=$wxUSE_ALL_FEATURES
10747 if test -z "$defaultval"; then
10748 if test x"$enablestring" = xdisable; then
10755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10756 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10757 # Check whether --enable-listbook was given.
10758 if test "${enable_listbook+set}" = set; then
10759 enableval=$enable_listbook;
10760 if test "$enableval" = yes; then
10761 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10763 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10768 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10773 eval "$wx_cv_use_listbook"
10775 if test x"$enablestring" = xdisable; then
10776 if test $wxUSE_LISTBOOK = yes; then
10782 result=$wxUSE_LISTBOOK
10785 { echo "$as_me:$LINENO: result: $result" >&5
10786 echo "${ECHO_T}$result" >&6; }
10790 defaultval=$wxUSE_ALL_FEATURES
10791 if test -z "$defaultval"; then
10792 if test x"$enablestring" = xdisable; then
10799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10800 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10801 # Check whether --enable-listbox was given.
10802 if test "${enable_listbox+set}" = set; then
10803 enableval=$enable_listbox;
10804 if test "$enableval" = yes; then
10805 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10807 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10812 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10817 eval "$wx_cv_use_listbox"
10819 if test x"$enablestring" = xdisable; then
10820 if test $wxUSE_LISTBOX = yes; then
10826 result=$wxUSE_LISTBOX
10829 { echo "$as_me:$LINENO: result: $result" >&5
10830 echo "${ECHO_T}$result" >&6; }
10834 defaultval=$wxUSE_ALL_FEATURES
10835 if test -z "$defaultval"; then
10836 if test x"$enablestring" = xdisable; then
10843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10844 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10845 # Check whether --enable-listctrl was given.
10846 if test "${enable_listctrl+set}" = set; then
10847 enableval=$enable_listctrl;
10848 if test "$enableval" = yes; then
10849 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10851 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10856 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10861 eval "$wx_cv_use_listctrl"
10863 if test x"$enablestring" = xdisable; then
10864 if test $wxUSE_LISTCTRL = yes; then
10870 result=$wxUSE_LISTCTRL
10873 { echo "$as_me:$LINENO: result: $result" >&5
10874 echo "${ECHO_T}$result" >&6; }
10878 defaultval=$wxUSE_ALL_FEATURES
10879 if test -z "$defaultval"; then
10880 if test x"$enablestring" = xdisable; then
10887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10888 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10889 # Check whether --enable-notebook was given.
10890 if test "${enable_notebook+set}" = set; then
10891 enableval=$enable_notebook;
10892 if test "$enableval" = yes; then
10893 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10895 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10900 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10905 eval "$wx_cv_use_notebook"
10907 if test x"$enablestring" = xdisable; then
10908 if test $wxUSE_NOTEBOOK = yes; then
10914 result=$wxUSE_NOTEBOOK
10917 { echo "$as_me:$LINENO: result: $result" >&5
10918 echo "${ECHO_T}$result" >&6; }
10922 defaultval=$wxUSE_ALL_FEATURES
10923 if test -z "$defaultval"; then
10924 if test x"$enablestring" = xdisable; then
10931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10932 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10933 # Check whether --enable-notifmsg was given.
10934 if test "${enable_notifmsg+set}" = set; then
10935 enableval=$enable_notifmsg;
10936 if test "$enableval" = yes; then
10937 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10939 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10944 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10949 eval "$wx_cv_use_notifmsg"
10951 if test x"$enablestring" = xdisable; then
10952 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10958 result=$wxUSE_NOTIFICATION_MESSAGE
10961 { echo "$as_me:$LINENO: result: $result" >&5
10962 echo "${ECHO_T}$result" >&6; }
10966 defaultval=$wxUSE_ALL_FEATURES
10967 if test -z "$defaultval"; then
10968 if test x"$enablestring" = xdisable; then
10975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10976 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10977 # Check whether --enable-odcombobox was given.
10978 if test "${enable_odcombobox+set}" = set; then
10979 enableval=$enable_odcombobox;
10980 if test "$enableval" = yes; then
10981 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10983 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10988 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10993 eval "$wx_cv_use_odcombobox"
10995 if test x"$enablestring" = xdisable; then
10996 if test $wxUSE_ODCOMBOBOX = yes; then
11002 result=$wxUSE_ODCOMBOBOX
11005 { echo "$as_me:$LINENO: result: $result" >&5
11006 echo "${ECHO_T}$result" >&6; }
11010 defaultval=$wxUSE_ALL_FEATURES
11011 if test -z "$defaultval"; then
11012 if test x"$enablestring" = xdisable; then
11019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11020 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11021 # Check whether --enable-radiobox was given.
11022 if test "${enable_radiobox+set}" = set; then
11023 enableval=$enable_radiobox;
11024 if test "$enableval" = yes; then
11025 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11027 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11032 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11037 eval "$wx_cv_use_radiobox"
11039 if test x"$enablestring" = xdisable; then
11040 if test $wxUSE_RADIOBOX = yes; then
11046 result=$wxUSE_RADIOBOX
11049 { echo "$as_me:$LINENO: result: $result" >&5
11050 echo "${ECHO_T}$result" >&6; }
11054 defaultval=$wxUSE_ALL_FEATURES
11055 if test -z "$defaultval"; then
11056 if test x"$enablestring" = xdisable; then
11063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11064 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11065 # Check whether --enable-radiobtn was given.
11066 if test "${enable_radiobtn+set}" = set; then
11067 enableval=$enable_radiobtn;
11068 if test "$enableval" = yes; then
11069 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11071 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11076 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11081 eval "$wx_cv_use_radiobtn"
11083 if test x"$enablestring" = xdisable; then
11084 if test $wxUSE_RADIOBTN = yes; then
11090 result=$wxUSE_RADIOBTN
11093 { echo "$as_me:$LINENO: result: $result" >&5
11094 echo "${ECHO_T}$result" >&6; }
11098 defaultval=$wxUSE_ALL_FEATURES
11099 if test -z "$defaultval"; then
11100 if test x"$enablestring" = xdisable; then
11107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11108 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11109 # Check whether --enable-sash was given.
11110 if test "${enable_sash+set}" = set; then
11111 enableval=$enable_sash;
11112 if test "$enableval" = yes; then
11113 wx_cv_use_sash='wxUSE_SASH=yes'
11115 wx_cv_use_sash='wxUSE_SASH=no'
11120 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11125 eval "$wx_cv_use_sash"
11127 if test x"$enablestring" = xdisable; then
11128 if test $wxUSE_SASH = yes; then
11137 { echo "$as_me:$LINENO: result: $result" >&5
11138 echo "${ECHO_T}$result" >&6; }
11142 defaultval=$wxUSE_ALL_FEATURES
11143 if test -z "$defaultval"; then
11144 if test x"$enablestring" = xdisable; then
11151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11152 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11153 # Check whether --enable-scrollbar was given.
11154 if test "${enable_scrollbar+set}" = set; then
11155 enableval=$enable_scrollbar;
11156 if test "$enableval" = yes; then
11157 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11159 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11164 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11169 eval "$wx_cv_use_scrollbar"
11171 if test x"$enablestring" = xdisable; then
11172 if test $wxUSE_SCROLLBAR = yes; then
11178 result=$wxUSE_SCROLLBAR
11181 { echo "$as_me:$LINENO: result: $result" >&5
11182 echo "${ECHO_T}$result" >&6; }
11186 defaultval=$wxUSE_ALL_FEATURES
11187 if test -z "$defaultval"; then
11188 if test x"$enablestring" = xdisable; then
11195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11196 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11197 # Check whether --enable-searchctrl was given.
11198 if test "${enable_searchctrl+set}" = set; then
11199 enableval=$enable_searchctrl;
11200 if test "$enableval" = yes; then
11201 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11203 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11208 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11213 eval "$wx_cv_use_searchctrl"
11215 if test x"$enablestring" = xdisable; then
11216 if test $wxUSE_SEARCHCTRL = yes; then
11222 result=$wxUSE_SEARCHCTRL
11225 { echo "$as_me:$LINENO: result: $result" >&5
11226 echo "${ECHO_T}$result" >&6; }
11230 defaultval=$wxUSE_ALL_FEATURES
11231 if test -z "$defaultval"; then
11232 if test x"$enablestring" = xdisable; then
11239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11240 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11241 # Check whether --enable-slider was given.
11242 if test "${enable_slider+set}" = set; then
11243 enableval=$enable_slider;
11244 if test "$enableval" = yes; then
11245 wx_cv_use_slider='wxUSE_SLIDER=yes'
11247 wx_cv_use_slider='wxUSE_SLIDER=no'
11252 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11257 eval "$wx_cv_use_slider"
11259 if test x"$enablestring" = xdisable; then
11260 if test $wxUSE_SLIDER = yes; then
11266 result=$wxUSE_SLIDER
11269 { echo "$as_me:$LINENO: result: $result" >&5
11270 echo "${ECHO_T}$result" >&6; }
11274 defaultval=$wxUSE_ALL_FEATURES
11275 if test -z "$defaultval"; then
11276 if test x"$enablestring" = xdisable; then
11283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11284 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11285 # Check whether --enable-spinbtn was given.
11286 if test "${enable_spinbtn+set}" = set; then
11287 enableval=$enable_spinbtn;
11288 if test "$enableval" = yes; then
11289 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11291 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11296 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11301 eval "$wx_cv_use_spinbtn"
11303 if test x"$enablestring" = xdisable; then
11304 if test $wxUSE_SPINBTN = yes; then
11310 result=$wxUSE_SPINBTN
11313 { echo "$as_me:$LINENO: result: $result" >&5
11314 echo "${ECHO_T}$result" >&6; }
11318 defaultval=$wxUSE_ALL_FEATURES
11319 if test -z "$defaultval"; then
11320 if test x"$enablestring" = xdisable; then
11327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11328 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11329 # Check whether --enable-spinctrl was given.
11330 if test "${enable_spinctrl+set}" = set; then
11331 enableval=$enable_spinctrl;
11332 if test "$enableval" = yes; then
11333 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11335 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11340 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11345 eval "$wx_cv_use_spinctrl"
11347 if test x"$enablestring" = xdisable; then
11348 if test $wxUSE_SPINCTRL = yes; then
11354 result=$wxUSE_SPINCTRL
11357 { echo "$as_me:$LINENO: result: $result" >&5
11358 echo "${ECHO_T}$result" >&6; }
11362 defaultval=$wxUSE_ALL_FEATURES
11363 if test -z "$defaultval"; then
11364 if test x"$enablestring" = xdisable; then
11371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11372 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11373 # Check whether --enable-splitter was given.
11374 if test "${enable_splitter+set}" = set; then
11375 enableval=$enable_splitter;
11376 if test "$enableval" = yes; then
11377 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11379 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11384 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11389 eval "$wx_cv_use_splitter"
11391 if test x"$enablestring" = xdisable; then
11392 if test $wxUSE_SPLITTER = yes; then
11398 result=$wxUSE_SPLITTER
11401 { echo "$as_me:$LINENO: result: $result" >&5
11402 echo "${ECHO_T}$result" >&6; }
11406 defaultval=$wxUSE_ALL_FEATURES
11407 if test -z "$defaultval"; then
11408 if test x"$enablestring" = xdisable; then
11415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11416 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11417 # Check whether --enable-statbmp was given.
11418 if test "${enable_statbmp+set}" = set; then
11419 enableval=$enable_statbmp;
11420 if test "$enableval" = yes; then
11421 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11423 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11428 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11433 eval "$wx_cv_use_statbmp"
11435 if test x"$enablestring" = xdisable; then
11436 if test $wxUSE_STATBMP = yes; then
11442 result=$wxUSE_STATBMP
11445 { echo "$as_me:$LINENO: result: $result" >&5
11446 echo "${ECHO_T}$result" >&6; }
11450 defaultval=$wxUSE_ALL_FEATURES
11451 if test -z "$defaultval"; then
11452 if test x"$enablestring" = xdisable; then
11459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11460 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11461 # Check whether --enable-statbox was given.
11462 if test "${enable_statbox+set}" = set; then
11463 enableval=$enable_statbox;
11464 if test "$enableval" = yes; then
11465 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11467 wx_cv_use_statbox='wxUSE_STATBOX=no'
11472 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11477 eval "$wx_cv_use_statbox"
11479 if test x"$enablestring" = xdisable; then
11480 if test $wxUSE_STATBOX = yes; then
11486 result=$wxUSE_STATBOX
11489 { echo "$as_me:$LINENO: result: $result" >&5
11490 echo "${ECHO_T}$result" >&6; }
11494 defaultval=$wxUSE_ALL_FEATURES
11495 if test -z "$defaultval"; then
11496 if test x"$enablestring" = xdisable; then
11503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11504 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11505 # Check whether --enable-statline was given.
11506 if test "${enable_statline+set}" = set; then
11507 enableval=$enable_statline;
11508 if test "$enableval" = yes; then
11509 wx_cv_use_statline='wxUSE_STATLINE=yes'
11511 wx_cv_use_statline='wxUSE_STATLINE=no'
11516 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11521 eval "$wx_cv_use_statline"
11523 if test x"$enablestring" = xdisable; then
11524 if test $wxUSE_STATLINE = yes; then
11530 result=$wxUSE_STATLINE
11533 { echo "$as_me:$LINENO: result: $result" >&5
11534 echo "${ECHO_T}$result" >&6; }
11538 defaultval=$wxUSE_ALL_FEATURES
11539 if test -z "$defaultval"; then
11540 if test x"$enablestring" = xdisable; then
11547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11548 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11549 # Check whether --enable-stattext was given.
11550 if test "${enable_stattext+set}" = set; then
11551 enableval=$enable_stattext;
11552 if test "$enableval" = yes; then
11553 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11555 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11560 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11565 eval "$wx_cv_use_stattext"
11567 if test x"$enablestring" = xdisable; then
11568 if test $wxUSE_STATTEXT = yes; then
11574 result=$wxUSE_STATTEXT
11577 { echo "$as_me:$LINENO: result: $result" >&5
11578 echo "${ECHO_T}$result" >&6; }
11582 defaultval=$wxUSE_ALL_FEATURES
11583 if test -z "$defaultval"; then
11584 if test x"$enablestring" = xdisable; then
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11593 # Check whether --enable-statusbar was given.
11594 if test "${enable_statusbar+set}" = set; then
11595 enableval=$enable_statusbar;
11596 if test "$enableval" = yes; then
11597 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11599 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11604 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11609 eval "$wx_cv_use_statusbar"
11611 if test x"$enablestring" = xdisable; then
11612 if test $wxUSE_STATUSBAR = yes; then
11618 result=$wxUSE_STATUSBAR
11621 { echo "$as_me:$LINENO: result: $result" >&5
11622 echo "${ECHO_T}$result" >&6; }
11626 defaultval=$wxUSE_ALL_FEATURES
11627 if test -z "$defaultval"; then
11628 if test x"$enablestring" = xdisable; then
11635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11636 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11637 # Check whether --enable-tabdialog was given.
11638 if test "${enable_tabdialog+set}" = set; then
11639 enableval=$enable_tabdialog;
11640 if test "$enableval" = yes; then
11641 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11643 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11648 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11653 eval "$wx_cv_use_tabdialog"
11655 if test x"$enablestring" = xdisable; then
11656 if test $wxUSE_TAB_DIALOG = yes; then
11662 result=$wxUSE_TAB_DIALOG
11665 { echo "$as_me:$LINENO: result: $result" >&5
11666 echo "${ECHO_T}$result" >&6; }
11670 defaultval=$wxUSE_ALL_FEATURES
11671 if test -z "$defaultval"; then
11672 if test x"$enablestring" = xdisable; then
11679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11680 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11681 # Check whether --enable-taskbaricon was given.
11682 if test "${enable_taskbaricon+set}" = set; then
11683 enableval=$enable_taskbaricon;
11684 if test "$enableval" = yes; then
11685 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11687 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11692 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11697 eval "$wx_cv_use_taskbaricon"
11699 if test x"$enablestring" = xdisable; then
11700 if test $wxUSE_TASKBARICON = yes; then
11706 result=$wxUSE_TASKBARICON
11709 { echo "$as_me:$LINENO: result: $result" >&5
11710 echo "${ECHO_T}$result" >&6; }
11714 defaultval=$wxUSE_ALL_FEATURES
11715 if test -z "$defaultval"; then
11716 if test x"$enablestring" = xdisable; then
11723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11724 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11725 # Check whether --enable-textctrl was given.
11726 if test "${enable_textctrl+set}" = set; then
11727 enableval=$enable_textctrl;
11728 if test "$enableval" = yes; then
11729 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11731 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11736 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11741 eval "$wx_cv_use_textctrl"
11743 if test x"$enablestring" = xdisable; then
11744 if test $wxUSE_TEXTCTRL = yes; then
11750 result=$wxUSE_TEXTCTRL
11753 { echo "$as_me:$LINENO: result: $result" >&5
11754 echo "${ECHO_T}$result" >&6; }
11758 defaultval=$wxUSE_ALL_FEATURES
11759 if test -z "$defaultval"; then
11760 if test x"$enablestring" = xdisable; then
11767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11768 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11769 # Check whether --enable-togglebtn was given.
11770 if test "${enable_togglebtn+set}" = set; then
11771 enableval=$enable_togglebtn;
11772 if test "$enableval" = yes; then
11773 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11775 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11780 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11785 eval "$wx_cv_use_togglebtn"
11787 if test x"$enablestring" = xdisable; then
11788 if test $wxUSE_TOGGLEBTN = yes; then
11794 result=$wxUSE_TOGGLEBTN
11797 { echo "$as_me:$LINENO: result: $result" >&5
11798 echo "${ECHO_T}$result" >&6; }
11802 defaultval=$wxUSE_ALL_FEATURES
11803 if test -z "$defaultval"; then
11804 if test x"$enablestring" = xdisable; then
11811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11812 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11813 # Check whether --enable-toolbar was given.
11814 if test "${enable_toolbar+set}" = set; then
11815 enableval=$enable_toolbar;
11816 if test "$enableval" = yes; then
11817 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11819 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11824 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11829 eval "$wx_cv_use_toolbar"
11831 if test x"$enablestring" = xdisable; then
11832 if test $wxUSE_TOOLBAR = yes; then
11838 result=$wxUSE_TOOLBAR
11841 { echo "$as_me:$LINENO: result: $result" >&5
11842 echo "${ECHO_T}$result" >&6; }
11846 defaultval=$wxUSE_ALL_FEATURES
11847 if test -z "$defaultval"; then
11848 if test x"$enablestring" = xdisable; then
11855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11856 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11857 # Check whether --enable-tbarnative was given.
11858 if test "${enable_tbarnative+set}" = set; then
11859 enableval=$enable_tbarnative;
11860 if test "$enableval" = yes; then
11861 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11863 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11868 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11873 eval "$wx_cv_use_tbarnative"
11875 if test x"$enablestring" = xdisable; then
11876 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11882 result=$wxUSE_TOOLBAR_NATIVE
11885 { echo "$as_me:$LINENO: result: $result" >&5
11886 echo "${ECHO_T}$result" >&6; }
11890 defaultval=$wxUSE_ALL_FEATURES
11891 if test -z "$defaultval"; then
11892 if test x"$enablestring" = xdisable; then
11899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11900 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11901 # Check whether --enable-treebook was given.
11902 if test "${enable_treebook+set}" = set; then
11903 enableval=$enable_treebook;
11904 if test "$enableval" = yes; then
11905 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11907 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11912 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11917 eval "$wx_cv_use_treebook"
11919 if test x"$enablestring" = xdisable; then
11920 if test $wxUSE_TREEBOOK = yes; then
11926 result=$wxUSE_TREEBOOK
11929 { echo "$as_me:$LINENO: result: $result" >&5
11930 echo "${ECHO_T}$result" >&6; }
11934 defaultval=$wxUSE_ALL_FEATURES
11935 if test -z "$defaultval"; then
11936 if test x"$enablestring" = xdisable; then
11943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11944 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11945 # Check whether --enable-toolbook was given.
11946 if test "${enable_toolbook+set}" = set; then
11947 enableval=$enable_toolbook;
11948 if test "$enableval" = yes; then
11949 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11951 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11956 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11961 eval "$wx_cv_use_toolbook"
11963 if test x"$enablestring" = xdisable; then
11964 if test $wxUSE_TOOLBOOK = yes; then
11970 result=$wxUSE_TOOLBOOK
11973 { echo "$as_me:$LINENO: result: $result" >&5
11974 echo "${ECHO_T}$result" >&6; }
11978 defaultval=$wxUSE_ALL_FEATURES
11979 if test -z "$defaultval"; then
11980 if test x"$enablestring" = xdisable; then
11987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11988 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11989 # Check whether --enable-treectrl was given.
11990 if test "${enable_treectrl+set}" = set; then
11991 enableval=$enable_treectrl;
11992 if test "$enableval" = yes; then
11993 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11995 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12000 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12005 eval "$wx_cv_use_treectrl"
12007 if test x"$enablestring" = xdisable; then
12008 if test $wxUSE_TREECTRL = yes; then
12014 result=$wxUSE_TREECTRL
12017 { echo "$as_me:$LINENO: result: $result" >&5
12018 echo "${ECHO_T}$result" >&6; }
12022 defaultval=$wxUSE_ALL_FEATURES
12023 if test -z "$defaultval"; then
12024 if test x"$enablestring" = xdisable; then
12031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12032 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12033 # Check whether --enable-tipwindow was given.
12034 if test "${enable_tipwindow+set}" = set; then
12035 enableval=$enable_tipwindow;
12036 if test "$enableval" = yes; then
12037 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12039 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12044 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12049 eval "$wx_cv_use_tipwindow"
12051 if test x"$enablestring" = xdisable; then
12052 if test $wxUSE_TIPWINDOW = yes; then
12058 result=$wxUSE_TIPWINDOW
12061 { echo "$as_me:$LINENO: result: $result" >&5
12062 echo "${ECHO_T}$result" >&6; }
12066 defaultval=$wxUSE_ALL_FEATURES
12067 if test -z "$defaultval"; then
12068 if test x"$enablestring" = xdisable; then
12075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12076 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12077 # Check whether --enable-popupwin was given.
12078 if test "${enable_popupwin+set}" = set; then
12079 enableval=$enable_popupwin;
12080 if test "$enableval" = yes; then
12081 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12083 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12088 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12093 eval "$wx_cv_use_popupwin"
12095 if test x"$enablestring" = xdisable; then
12096 if test $wxUSE_POPUPWIN = yes; then
12102 result=$wxUSE_POPUPWIN
12105 { echo "$as_me:$LINENO: result: $result" >&5
12106 echo "${ECHO_T}$result" >&6; }
12112 defaultval=$wxUSE_ALL_FEATURES
12113 if test -z "$defaultval"; then
12114 if test x"$enablestring" = xdisable; then
12121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12122 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12123 # Check whether --enable-commondlg was given.
12124 if test "${enable_commondlg+set}" = set; then
12125 enableval=$enable_commondlg;
12126 if test "$enableval" = yes; then
12127 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12129 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12134 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12139 eval "$wx_cv_use_commondlg"
12141 if test x"$enablestring" = xdisable; then
12142 if test $wxUSE_COMMONDLGS = yes; then
12148 result=$wxUSE_COMMONDLGS
12151 { echo "$as_me:$LINENO: result: $result" >&5
12152 echo "${ECHO_T}$result" >&6; }
12156 defaultval=$wxUSE_ALL_FEATURES
12157 if test -z "$defaultval"; then
12158 if test x"$enablestring" = xdisable; then
12165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12166 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12167 # Check whether --enable-aboutdlg was given.
12168 if test "${enable_aboutdlg+set}" = set; then
12169 enableval=$enable_aboutdlg;
12170 if test "$enableval" = yes; then
12171 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12173 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12178 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12183 eval "$wx_cv_use_aboutdlg"
12185 if test x"$enablestring" = xdisable; then
12186 if test $wxUSE_ABOUTDLG = yes; then
12192 result=$wxUSE_ABOUTDLG
12195 { echo "$as_me:$LINENO: result: $result" >&5
12196 echo "${ECHO_T}$result" >&6; }
12200 defaultval=$wxUSE_ALL_FEATURES
12201 if test -z "$defaultval"; then
12202 if test x"$enablestring" = xdisable; then
12209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12210 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12211 # Check whether --enable-choicedlg was given.
12212 if test "${enable_choicedlg+set}" = set; then
12213 enableval=$enable_choicedlg;
12214 if test "$enableval" = yes; then
12215 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12217 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12222 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12227 eval "$wx_cv_use_choicedlg"
12229 if test x"$enablestring" = xdisable; then
12230 if test $wxUSE_CHOICEDLG = yes; then
12236 result=$wxUSE_CHOICEDLG
12239 { echo "$as_me:$LINENO: result: $result" >&5
12240 echo "${ECHO_T}$result" >&6; }
12244 defaultval=$wxUSE_ALL_FEATURES
12245 if test -z "$defaultval"; then
12246 if test x"$enablestring" = xdisable; then
12253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12254 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12255 # Check whether --enable-coldlg was given.
12256 if test "${enable_coldlg+set}" = set; then
12257 enableval=$enable_coldlg;
12258 if test "$enableval" = yes; then
12259 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12261 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12266 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12271 eval "$wx_cv_use_coldlg"
12273 if test x"$enablestring" = xdisable; then
12274 if test $wxUSE_COLOURDLG = yes; then
12280 result=$wxUSE_COLOURDLG
12283 { echo "$as_me:$LINENO: result: $result" >&5
12284 echo "${ECHO_T}$result" >&6; }
12288 defaultval=$wxUSE_ALL_FEATURES
12289 if test -z "$defaultval"; then
12290 if test x"$enablestring" = xdisable; then
12297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12298 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12299 # Check whether --enable-filedlg was given.
12300 if test "${enable_filedlg+set}" = set; then
12301 enableval=$enable_filedlg;
12302 if test "$enableval" = yes; then
12303 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12305 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12310 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12315 eval "$wx_cv_use_filedlg"
12317 if test x"$enablestring" = xdisable; then
12318 if test $wxUSE_FILEDLG = yes; then
12324 result=$wxUSE_FILEDLG
12327 { echo "$as_me:$LINENO: result: $result" >&5
12328 echo "${ECHO_T}$result" >&6; }
12332 defaultval=$wxUSE_ALL_FEATURES
12333 if test -z "$defaultval"; then
12334 if test x"$enablestring" = xdisable; then
12341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12342 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12343 # Check whether --enable-finddlg was given.
12344 if test "${enable_finddlg+set}" = set; then
12345 enableval=$enable_finddlg;
12346 if test "$enableval" = yes; then
12347 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12349 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12354 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12359 eval "$wx_cv_use_finddlg"
12361 if test x"$enablestring" = xdisable; then
12362 if test $wxUSE_FINDREPLDLG = yes; then
12368 result=$wxUSE_FINDREPLDLG
12371 { echo "$as_me:$LINENO: result: $result" >&5
12372 echo "${ECHO_T}$result" >&6; }
12376 defaultval=$wxUSE_ALL_FEATURES
12377 if test -z "$defaultval"; then
12378 if test x"$enablestring" = xdisable; then
12385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12386 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12387 # Check whether --enable-fontdlg was given.
12388 if test "${enable_fontdlg+set}" = set; then
12389 enableval=$enable_fontdlg;
12390 if test "$enableval" = yes; then
12391 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12393 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12398 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12403 eval "$wx_cv_use_fontdlg"
12405 if test x"$enablestring" = xdisable; then
12406 if test $wxUSE_FONTDLG = yes; then
12412 result=$wxUSE_FONTDLG
12415 { echo "$as_me:$LINENO: result: $result" >&5
12416 echo "${ECHO_T}$result" >&6; }
12420 defaultval=$wxUSE_ALL_FEATURES
12421 if test -z "$defaultval"; then
12422 if test x"$enablestring" = xdisable; then
12429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12430 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12431 # Check whether --enable-dirdlg was given.
12432 if test "${enable_dirdlg+set}" = set; then
12433 enableval=$enable_dirdlg;
12434 if test "$enableval" = yes; then
12435 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12437 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12442 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12447 eval "$wx_cv_use_dirdlg"
12449 if test x"$enablestring" = xdisable; then
12450 if test $wxUSE_DIRDLG = yes; then
12456 result=$wxUSE_DIRDLG
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}-msgdlg" >&5
12474 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12475 # Check whether --enable-msgdlg was given.
12476 if test "${enable_msgdlg+set}" = set; then
12477 enableval=$enable_msgdlg;
12478 if test "$enableval" = yes; then
12479 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12481 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12486 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12491 eval "$wx_cv_use_msgdlg"
12493 if test x"$enablestring" = xdisable; then
12494 if test $wxUSE_MSGDLG = yes; then
12500 result=$wxUSE_MSGDLG
12503 { echo "$as_me:$LINENO: result: $result" >&5
12504 echo "${ECHO_T}$result" >&6; }
12508 defaultval=$wxUSE_ALL_FEATURES
12509 if test -z "$defaultval"; then
12510 if test x"$enablestring" = xdisable; then
12517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12518 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12519 # Check whether --enable-numberdlg was given.
12520 if test "${enable_numberdlg+set}" = set; then
12521 enableval=$enable_numberdlg;
12522 if test "$enableval" = yes; then
12523 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12525 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12530 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12535 eval "$wx_cv_use_numberdlg"
12537 if test x"$enablestring" = xdisable; then
12538 if test $wxUSE_NUMBERDLG = yes; then
12544 result=$wxUSE_NUMBERDLG
12547 { echo "$as_me:$LINENO: result: $result" >&5
12548 echo "${ECHO_T}$result" >&6; }
12552 defaultval=$wxUSE_ALL_FEATURES
12553 if test -z "$defaultval"; then
12554 if test x"$enablestring" = xdisable; then
12561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12562 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12563 # Check whether --enable-splash was given.
12564 if test "${enable_splash+set}" = set; then
12565 enableval=$enable_splash;
12566 if test "$enableval" = yes; then
12567 wx_cv_use_splash='wxUSE_SPLASH=yes'
12569 wx_cv_use_splash='wxUSE_SPLASH=no'
12574 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12579 eval "$wx_cv_use_splash"
12581 if test x"$enablestring" = xdisable; then
12582 if test $wxUSE_SPLASH = yes; then
12588 result=$wxUSE_SPLASH
12591 { echo "$as_me:$LINENO: result: $result" >&5
12592 echo "${ECHO_T}$result" >&6; }
12596 defaultval=$wxUSE_ALL_FEATURES
12597 if test -z "$defaultval"; then
12598 if test x"$enablestring" = xdisable; then
12605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12606 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12607 # Check whether --enable-textdlg was given.
12608 if test "${enable_textdlg+set}" = set; then
12609 enableval=$enable_textdlg;
12610 if test "$enableval" = yes; then
12611 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12613 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12618 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12623 eval "$wx_cv_use_textdlg"
12625 if test x"$enablestring" = xdisable; then
12626 if test $wxUSE_TEXTDLG = yes; then
12632 result=$wxUSE_TEXTDLG
12635 { echo "$as_me:$LINENO: result: $result" >&5
12636 echo "${ECHO_T}$result" >&6; }
12640 defaultval=$wxUSE_ALL_FEATURES
12641 if test -z "$defaultval"; then
12642 if test x"$enablestring" = xdisable; then
12649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12650 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12651 # Check whether --enable-tipdlg was given.
12652 if test "${enable_tipdlg+set}" = set; then
12653 enableval=$enable_tipdlg;
12654 if test "$enableval" = yes; then
12655 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12657 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12662 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12667 eval "$wx_cv_use_tipdlg"
12669 if test x"$enablestring" = xdisable; then
12670 if test $wxUSE_STARTUP_TIPS = yes; then
12676 result=$wxUSE_STARTUP_TIPS
12679 { echo "$as_me:$LINENO: result: $result" >&5
12680 echo "${ECHO_T}$result" >&6; }
12684 defaultval=$wxUSE_ALL_FEATURES
12685 if test -z "$defaultval"; then
12686 if test x"$enablestring" = xdisable; then
12693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12694 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12695 # Check whether --enable-progressdlg was given.
12696 if test "${enable_progressdlg+set}" = set; then
12697 enableval=$enable_progressdlg;
12698 if test "$enableval" = yes; then
12699 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12701 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12706 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12711 eval "$wx_cv_use_progressdlg"
12713 if test x"$enablestring" = xdisable; then
12714 if test $wxUSE_PROGRESSDLG = yes; then
12720 result=$wxUSE_PROGRESSDLG
12723 { echo "$as_me:$LINENO: result: $result" >&5
12724 echo "${ECHO_T}$result" >&6; }
12728 defaultval=$wxUSE_ALL_FEATURES
12729 if test -z "$defaultval"; then
12730 if test x"$enablestring" = xdisable; then
12737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12738 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12739 # Check whether --enable-wizarddlg was given.
12740 if test "${enable_wizarddlg+set}" = set; then
12741 enableval=$enable_wizarddlg;
12742 if test "$enableval" = yes; then
12743 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12745 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12750 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12755 eval "$wx_cv_use_wizarddlg"
12757 if test x"$enablestring" = xdisable; then
12758 if test $wxUSE_WIZARDDLG = yes; then
12764 result=$wxUSE_WIZARDDLG
12767 { echo "$as_me:$LINENO: result: $result" >&5
12768 echo "${ECHO_T}$result" >&6; }
12774 defaultval=$wxUSE_ALL_FEATURES
12775 if test -z "$defaultval"; then
12776 if test x"$enablestring" = xdisable; then
12783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12784 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12785 # Check whether --enable-menus was given.
12786 if test "${enable_menus+set}" = set; then
12787 enableval=$enable_menus;
12788 if test "$enableval" = yes; then
12789 wx_cv_use_menus='wxUSE_MENUS=yes'
12791 wx_cv_use_menus='wxUSE_MENUS=no'
12796 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12801 eval "$wx_cv_use_menus"
12803 if test x"$enablestring" = xdisable; then
12804 if test $wxUSE_MENUS = yes; then
12810 result=$wxUSE_MENUS
12813 { echo "$as_me:$LINENO: result: $result" >&5
12814 echo "${ECHO_T}$result" >&6; }
12818 defaultval=$wxUSE_ALL_FEATURES
12819 if test -z "$defaultval"; then
12820 if test x"$enablestring" = xdisable; then
12827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12828 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12829 # Check whether --enable-miniframe was given.
12830 if test "${enable_miniframe+set}" = set; then
12831 enableval=$enable_miniframe;
12832 if test "$enableval" = yes; then
12833 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12835 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12840 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12845 eval "$wx_cv_use_miniframe"
12847 if test x"$enablestring" = xdisable; then
12848 if test $wxUSE_MINIFRAME = yes; then
12854 result=$wxUSE_MINIFRAME
12857 { echo "$as_me:$LINENO: result: $result" >&5
12858 echo "${ECHO_T}$result" >&6; }
12862 defaultval=$wxUSE_ALL_FEATURES
12863 if test -z "$defaultval"; then
12864 if test x"$enablestring" = xdisable; then
12871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12872 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12873 # Check whether --enable-tooltips was given.
12874 if test "${enable_tooltips+set}" = set; then
12875 enableval=$enable_tooltips;
12876 if test "$enableval" = yes; then
12877 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12879 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12884 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12889 eval "$wx_cv_use_tooltips"
12891 if test x"$enablestring" = xdisable; then
12892 if test $wxUSE_TOOLTIPS = yes; then
12898 result=$wxUSE_TOOLTIPS
12901 { echo "$as_me:$LINENO: result: $result" >&5
12902 echo "${ECHO_T}$result" >&6; }
12906 defaultval=$wxUSE_ALL_FEATURES
12907 if test -z "$defaultval"; then
12908 if test x"$enablestring" = xdisable; then
12915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12916 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12917 # Check whether --enable-splines was given.
12918 if test "${enable_splines+set}" = set; then
12919 enableval=$enable_splines;
12920 if test "$enableval" = yes; then
12921 wx_cv_use_splines='wxUSE_SPLINES=yes'
12923 wx_cv_use_splines='wxUSE_SPLINES=no'
12928 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12933 eval "$wx_cv_use_splines"
12935 if test x"$enablestring" = xdisable; then
12936 if test $wxUSE_SPLINES = yes; then
12942 result=$wxUSE_SPLINES
12945 { echo "$as_me:$LINENO: result: $result" >&5
12946 echo "${ECHO_T}$result" >&6; }
12950 defaultval=$wxUSE_ALL_FEATURES
12951 if test -z "$defaultval"; then
12952 if test x"$enablestring" = xdisable; then
12959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12960 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12961 # Check whether --enable-mousewheel was given.
12962 if test "${enable_mousewheel+set}" = set; then
12963 enableval=$enable_mousewheel;
12964 if test "$enableval" = yes; then
12965 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12967 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12972 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12977 eval "$wx_cv_use_mousewheel"
12979 if test x"$enablestring" = xdisable; then
12980 if test $wxUSE_MOUSEWHEEL = yes; then
12986 result=$wxUSE_MOUSEWHEEL
12989 { echo "$as_me:$LINENO: result: $result" >&5
12990 echo "${ECHO_T}$result" >&6; }
12994 defaultval=$wxUSE_ALL_FEATURES
12995 if test -z "$defaultval"; then
12996 if test x"$enablestring" = xdisable; then
13003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13004 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13005 # Check whether --enable-validators was given.
13006 if test "${enable_validators+set}" = set; then
13007 enableval=$enable_validators;
13008 if test "$enableval" = yes; then
13009 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13011 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13016 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13021 eval "$wx_cv_use_validators"
13023 if test x"$enablestring" = xdisable; then
13024 if test $wxUSE_VALIDATORS = yes; then
13030 result=$wxUSE_VALIDATORS
13033 { echo "$as_me:$LINENO: result: $result" >&5
13034 echo "${ECHO_T}$result" >&6; }
13038 defaultval=$wxUSE_ALL_FEATURES
13039 if test -z "$defaultval"; then
13040 if test x"$enablestring" = xdisable; then
13047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13048 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13049 # Check whether --enable-busyinfo was given.
13050 if test "${enable_busyinfo+set}" = set; then
13051 enableval=$enable_busyinfo;
13052 if test "$enableval" = yes; then
13053 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13055 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13060 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13065 eval "$wx_cv_use_busyinfo"
13067 if test x"$enablestring" = xdisable; then
13068 if test $wxUSE_BUSYINFO = yes; then
13074 result=$wxUSE_BUSYINFO
13077 { echo "$as_me:$LINENO: result: $result" >&5
13078 echo "${ECHO_T}$result" >&6; }
13082 defaultval=$wxUSE_ALL_FEATURES
13083 if test -z "$defaultval"; then
13084 if test x"$enablestring" = xdisable; then
13091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13092 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13093 # Check whether --enable-joystick was given.
13094 if test "${enable_joystick+set}" = set; then
13095 enableval=$enable_joystick;
13096 if test "$enableval" = yes; then
13097 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13099 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13104 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13109 eval "$wx_cv_use_joystick"
13111 if test x"$enablestring" = xdisable; then
13112 if test $wxUSE_JOYSTICK = yes; then
13118 result=$wxUSE_JOYSTICK
13121 { echo "$as_me:$LINENO: result: $result" >&5
13122 echo "${ECHO_T}$result" >&6; }
13126 defaultval=$wxUSE_ALL_FEATURES
13127 if test -z "$defaultval"; then
13128 if test x"$enablestring" = xdisable; then
13135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13136 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13137 # Check whether --enable-metafile was given.
13138 if test "${enable_metafile+set}" = set; then
13139 enableval=$enable_metafile;
13140 if test "$enableval" = yes; then
13141 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13143 wx_cv_use_metafile='wxUSE_METAFILE=no'
13148 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13153 eval "$wx_cv_use_metafile"
13155 if test x"$enablestring" = xdisable; then
13156 if test $wxUSE_METAFILE = yes; then
13162 result=$wxUSE_METAFILE
13165 { echo "$as_me:$LINENO: result: $result" >&5
13166 echo "${ECHO_T}$result" >&6; }
13170 defaultval=$wxUSE_ALL_FEATURES
13171 if test -z "$defaultval"; then
13172 if test x"$enablestring" = xdisable; then
13179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13180 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13181 # Check whether --enable-dragimage was given.
13182 if test "${enable_dragimage+set}" = set; then
13183 enableval=$enable_dragimage;
13184 if test "$enableval" = yes; then
13185 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13187 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13192 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13197 eval "$wx_cv_use_dragimage"
13199 if test x"$enablestring" = xdisable; then
13200 if test $wxUSE_DRAGIMAGE = yes; then
13206 result=$wxUSE_DRAGIMAGE
13209 { echo "$as_me:$LINENO: result: $result" >&5
13210 echo "${ECHO_T}$result" >&6; }
13214 defaultval=$wxUSE_ALL_FEATURES
13215 if test -z "$defaultval"; then
13216 if test x"$enablestring" = xdisable; then
13223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13224 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13225 # Check whether --enable-accessibility was given.
13226 if test "${enable_accessibility+set}" = set; then
13227 enableval=$enable_accessibility;
13228 if test "$enableval" = yes; then
13229 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13231 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13236 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13241 eval "$wx_cv_use_accessibility"
13243 if test x"$enablestring" = xdisable; then
13244 if test $wxUSE_ACCESSIBILITY = yes; then
13250 result=$wxUSE_ACCESSIBILITY
13253 { echo "$as_me:$LINENO: result: $result" >&5
13254 echo "${ECHO_T}$result" >&6; }
13260 defaultval=$wxUSE_ALL_FEATURES
13261 if test -z "$defaultval"; then
13262 if test x"$enablestring" = xdisable; then
13269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13270 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13271 # Check whether --enable-palette was given.
13272 if test "${enable_palette+set}" = set; then
13273 enableval=$enable_palette;
13274 if test "$enableval" = yes; then
13275 wx_cv_use_palette='wxUSE_PALETTE=yes'
13277 wx_cv_use_palette='wxUSE_PALETTE=no'
13282 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13287 eval "$wx_cv_use_palette"
13289 if test x"$enablestring" = xdisable; then
13290 if test $wxUSE_PALETTE = yes; then
13296 result=$wxUSE_PALETTE
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}-image" >&5
13314 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13315 # Check whether --enable-image was given.
13316 if test "${enable_image+set}" = set; then
13317 enableval=$enable_image;
13318 if test "$enableval" = yes; then
13319 wx_cv_use_image='wxUSE_IMAGE=yes'
13321 wx_cv_use_image='wxUSE_IMAGE=no'
13326 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13331 eval "$wx_cv_use_image"
13333 if test x"$enablestring" = xdisable; then
13334 if test $wxUSE_IMAGE = yes; then
13340 result=$wxUSE_IMAGE
13343 { echo "$as_me:$LINENO: result: $result" >&5
13344 echo "${ECHO_T}$result" >&6; }
13348 defaultval=$wxUSE_ALL_FEATURES
13349 if test -z "$defaultval"; then
13350 if test x"$enablestring" = xdisable; then
13357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13358 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13359 # Check whether --enable-gif was given.
13360 if test "${enable_gif+set}" = set; then
13361 enableval=$enable_gif;
13362 if test "$enableval" = yes; then
13363 wx_cv_use_gif='wxUSE_GIF=yes'
13365 wx_cv_use_gif='wxUSE_GIF=no'
13370 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13375 eval "$wx_cv_use_gif"
13377 if test x"$enablestring" = xdisable; then
13378 if test $wxUSE_GIF = yes; then
13387 { echo "$as_me:$LINENO: result: $result" >&5
13388 echo "${ECHO_T}$result" >&6; }
13392 defaultval=$wxUSE_ALL_FEATURES
13393 if test -z "$defaultval"; then
13394 if test x"$enablestring" = xdisable; then
13401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13402 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13403 # Check whether --enable-pcx was given.
13404 if test "${enable_pcx+set}" = set; then
13405 enableval=$enable_pcx;
13406 if test "$enableval" = yes; then
13407 wx_cv_use_pcx='wxUSE_PCX=yes'
13409 wx_cv_use_pcx='wxUSE_PCX=no'
13414 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13419 eval "$wx_cv_use_pcx"
13421 if test x"$enablestring" = xdisable; then
13422 if test $wxUSE_PCX = yes; then
13431 { echo "$as_me:$LINENO: result: $result" >&5
13432 echo "${ECHO_T}$result" >&6; }
13436 defaultval=$wxUSE_ALL_FEATURES
13437 if test -z "$defaultval"; then
13438 if test x"$enablestring" = xdisable; then
13445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13446 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13447 # Check whether --enable-tga was given.
13448 if test "${enable_tga+set}" = set; then
13449 enableval=$enable_tga;
13450 if test "$enableval" = yes; then
13451 wx_cv_use_tga='wxUSE_TGA=yes'
13453 wx_cv_use_tga='wxUSE_TGA=no'
13458 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13463 eval "$wx_cv_use_tga"
13465 if test x"$enablestring" = xdisable; then
13466 if test $wxUSE_TGA = yes; then
13475 { echo "$as_me:$LINENO: result: $result" >&5
13476 echo "${ECHO_T}$result" >&6; }
13480 defaultval=$wxUSE_ALL_FEATURES
13481 if test -z "$defaultval"; then
13482 if test x"$enablestring" = xdisable; then
13489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13490 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13491 # Check whether --enable-iff was given.
13492 if test "${enable_iff+set}" = set; then
13493 enableval=$enable_iff;
13494 if test "$enableval" = yes; then
13495 wx_cv_use_iff='wxUSE_IFF=yes'
13497 wx_cv_use_iff='wxUSE_IFF=no'
13502 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13507 eval "$wx_cv_use_iff"
13509 if test x"$enablestring" = xdisable; then
13510 if test $wxUSE_IFF = yes; then
13519 { echo "$as_me:$LINENO: result: $result" >&5
13520 echo "${ECHO_T}$result" >&6; }
13524 defaultval=$wxUSE_ALL_FEATURES
13525 if test -z "$defaultval"; then
13526 if test x"$enablestring" = xdisable; then
13533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13534 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13535 # Check whether --enable-pnm was given.
13536 if test "${enable_pnm+set}" = set; then
13537 enableval=$enable_pnm;
13538 if test "$enableval" = yes; then
13539 wx_cv_use_pnm='wxUSE_PNM=yes'
13541 wx_cv_use_pnm='wxUSE_PNM=no'
13546 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13551 eval "$wx_cv_use_pnm"
13553 if test x"$enablestring" = xdisable; then
13554 if test $wxUSE_PNM = yes; then
13563 { echo "$as_me:$LINENO: result: $result" >&5
13564 echo "${ECHO_T}$result" >&6; }
13568 defaultval=$wxUSE_ALL_FEATURES
13569 if test -z "$defaultval"; then
13570 if test x"$enablestring" = xdisable; then
13577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13578 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13579 # Check whether --enable-xpm was given.
13580 if test "${enable_xpm+set}" = set; then
13581 enableval=$enable_xpm;
13582 if test "$enableval" = yes; then
13583 wx_cv_use_xpm='wxUSE_XPM=yes'
13585 wx_cv_use_xpm='wxUSE_XPM=no'
13590 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13595 eval "$wx_cv_use_xpm"
13597 if test x"$enablestring" = xdisable; then
13598 if test $wxUSE_XPM = yes; then
13607 { echo "$as_me:$LINENO: result: $result" >&5
13608 echo "${ECHO_T}$result" >&6; }
13612 defaultval=$wxUSE_ALL_FEATURES
13613 if test -z "$defaultval"; then
13614 if test x"$enablestring" = xdisable; then
13621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13622 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13623 # Check whether --enable-ico_cur was given.
13624 if test "${enable_ico_cur+set}" = set; then
13625 enableval=$enable_ico_cur;
13626 if test "$enableval" = yes; then
13627 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13629 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13634 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13639 eval "$wx_cv_use_ico_cur"
13641 if test x"$enablestring" = xdisable; then
13642 if test $wxUSE_ICO_CUR = yes; then
13648 result=$wxUSE_ICO_CUR
13651 { echo "$as_me:$LINENO: result: $result" >&5
13652 echo "${ECHO_T}$result" >&6; }
13658 defaultval=$wxUSE_ALL_FEATURES
13659 if test -z "$defaultval"; then
13660 if test x"$enablestring" = xdisable; then
13667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13668 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13669 # Check whether --enable-dccache was given.
13670 if test "${enable_dccache+set}" = set; then
13671 enableval=$enable_dccache;
13672 if test "$enableval" = yes; then
13673 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13675 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13680 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13685 eval "$wx_cv_use_dccache"
13687 if test x"$enablestring" = xdisable; then
13688 if test $wxUSE_DC_CACHEING = yes; then
13694 result=$wxUSE_DC_CACHEING
13697 { echo "$as_me:$LINENO: result: $result" >&5
13698 echo "${ECHO_T}$result" >&6; }
13702 defaultval=$wxUSE_ALL_FEATURES
13703 if test -z "$defaultval"; then
13704 if test x"$enablestring" = xdisable; then
13711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13712 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13713 # Check whether --enable-ps-in-msw was given.
13714 if test "${enable_ps_in_msw+set}" = set; then
13715 enableval=$enable_ps_in_msw;
13716 if test "$enableval" = yes; then
13717 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13719 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13724 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13729 eval "$wx_cv_use_ps_in_msw"
13731 if test x"$enablestring" = xdisable; then
13732 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13738 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13741 { echo "$as_me:$LINENO: result: $result" >&5
13742 echo "${ECHO_T}$result" >&6; }
13746 defaultval=$wxUSE_ALL_FEATURES
13747 if test -z "$defaultval"; then
13748 if test x"$enablestring" = xdisable; then
13755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13756 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13757 # Check whether --enable-ownerdrawn was given.
13758 if test "${enable_ownerdrawn+set}" = set; then
13759 enableval=$enable_ownerdrawn;
13760 if test "$enableval" = yes; then
13761 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13763 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13768 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13773 eval "$wx_cv_use_ownerdrawn"
13775 if test x"$enablestring" = xdisable; then
13776 if test $wxUSE_OWNER_DRAWN = yes; then
13782 result=$wxUSE_OWNER_DRAWN
13785 { echo "$as_me:$LINENO: result: $result" >&5
13786 echo "${ECHO_T}$result" >&6; }
13790 defaultval=$wxUSE_ALL_FEATURES
13791 if test -z "$defaultval"; then
13792 if test x"$enablestring" = xdisable; then
13799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13800 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13801 # Check whether --enable-uxtheme was given.
13802 if test "${enable_uxtheme+set}" = set; then
13803 enableval=$enable_uxtheme;
13804 if test "$enableval" = yes; then
13805 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13807 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13812 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13817 eval "$wx_cv_use_uxtheme"
13819 if test x"$enablestring" = xdisable; then
13820 if test $wxUSE_UXTHEME = yes; then
13826 result=$wxUSE_UXTHEME
13829 { echo "$as_me:$LINENO: result: $result" >&5
13830 echo "${ECHO_T}$result" >&6; }
13834 defaultval=$wxUSE_ALL_FEATURES
13835 if test -z "$defaultval"; then
13836 if test x"$enablestring" = xdisable; then
13843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13844 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13845 # Check whether --enable-wxdib was given.
13846 if test "${enable_wxdib+set}" = set; then
13847 enableval=$enable_wxdib;
13848 if test "$enableval" = yes; then
13849 wx_cv_use_wxdib='wxUSE_DIB=yes'
13851 wx_cv_use_wxdib='wxUSE_DIB=no'
13856 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13861 eval "$wx_cv_use_wxdib"
13863 if test x"$enablestring" = xdisable; then
13864 if test $wxUSE_DIB = yes; then
13873 { echo "$as_me:$LINENO: result: $result" >&5
13874 echo "${ECHO_T}$result" >&6; }
13877 if test "$wxUSE_MSW" != 1; then
13878 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13883 defaultval=$wxUSE_ALL_FEATURES
13884 if test -z "$defaultval"; then
13885 if test x"$enablestring" = xdisable; then
13892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13893 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13894 # Check whether --enable-autoidman was given.
13895 if test "${enable_autoidman+set}" = set; then
13896 enableval=$enable_autoidman;
13897 if test "$enableval" = yes; then
13898 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13900 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13905 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13910 eval "$wx_cv_use_autoidman"
13912 if test x"$enablestring" = xdisable; then
13913 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13919 result=$wxUSE_AUTOID_MANAGEMENT
13922 { echo "$as_me:$LINENO: result: $result" >&5
13923 echo "${ECHO_T}$result" >&6; }
13929 cat >confcache <<\_ACEOF
13930 # This file is a shell script that caches the results of configure
13931 # tests run on this system so they can be shared between configure
13932 # scripts and configure runs, see configure's option --config-cache.
13933 # It is not useful on other systems. If it contains results you don't
13934 # want to keep, you may remove or edit it.
13936 # config.status only pays attention to the cache file if you give it
13937 # the --recheck option to rerun configure.
13939 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13940 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13941 # following values.
13945 # The following way of writing the cache mishandles newlines in values,
13946 # but we know of no workaround that is simple, portable, and efficient.
13947 # So, we kill variables containing newlines.
13948 # Ultrix sh set writes to stderr and can't be redirected directly,
13949 # and sets the high bit in the cache file unless we assign to the vars.
13951 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13952 eval ac_val=\$$ac_var
13956 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13957 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13960 _ | IFS | as_nl) ;; #(
13961 *) $as_unset $ac_var ;;
13967 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13968 *${as_nl}ac_space=\ *)
13969 # `set' does not quote correctly, so add quotes (double-quote
13970 # substitution turns \\\\ into \\, and sed turns \\ into \).
13973 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13976 # `set' quotes correctly as required by POSIX, so do not add quotes.
13977 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13986 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13988 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13990 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13991 if test -w "$cache_file"; then
13992 test "x$cache_file" != "x/dev/null" &&
13993 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13994 echo "$as_me: updating cache $cache_file" >&6;}
13995 cat confcache >$cache_file
13997 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13998 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14008 ac_cpp='$CPP $CPPFLAGS'
14009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14012 if test -n "$ac_tool_prefix"; then
14013 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14014 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14017 if test "${ac_cv_prog_CC+set}" = set; then
14018 echo $ECHO_N "(cached) $ECHO_C" >&6
14020 if test -n "$CC"; then
14021 ac_cv_prog_CC="$CC" # Let the user override the test.
14023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14024 for as_dir in $PATH
14027 test -z "$as_dir" && as_dir=.
14028 for ac_exec_ext in '' $ac_executable_extensions; do
14029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14030 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14041 if test -n "$CC"; then
14042 { echo "$as_me:$LINENO: result: $CC" >&5
14043 echo "${ECHO_T}$CC" >&6; }
14045 { echo "$as_me:$LINENO: result: no" >&5
14046 echo "${ECHO_T}no" >&6; }
14051 if test -z "$ac_cv_prog_CC"; then
14053 # Extract the first word of "gcc", so it can be a program name with args.
14054 set dummy gcc; ac_word=$2
14055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14057 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14058 echo $ECHO_N "(cached) $ECHO_C" >&6
14060 if test -n "$ac_ct_CC"; then
14061 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14064 for as_dir in $PATH
14067 test -z "$as_dir" && as_dir=.
14068 for ac_exec_ext in '' $ac_executable_extensions; do
14069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14070 ac_cv_prog_ac_ct_CC="gcc"
14071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14080 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14081 if test -n "$ac_ct_CC"; then
14082 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14083 echo "${ECHO_T}$ac_ct_CC" >&6; }
14085 { echo "$as_me:$LINENO: result: no" >&5
14086 echo "${ECHO_T}no" >&6; }
14089 if test "x$ac_ct_CC" = x; then
14092 case $cross_compiling:$ac_tool_warned in
14094 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14095 whose name does not start with the host triplet. If you think this
14096 configuration is useful to you, please write to autoconf@gnu.org." >&5
14097 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14098 whose name does not start with the host triplet. If you think this
14099 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14100 ac_tool_warned=yes ;;
14105 CC="$ac_cv_prog_CC"
14108 if test -z "$CC"; then
14109 if test -n "$ac_tool_prefix"; then
14110 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14111 set dummy ${ac_tool_prefix}cc; ac_word=$2
14112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14114 if test "${ac_cv_prog_CC+set}" = set; then
14115 echo $ECHO_N "(cached) $ECHO_C" >&6
14117 if test -n "$CC"; then
14118 ac_cv_prog_CC="$CC" # Let the user override the test.
14120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14121 for as_dir in $PATH
14124 test -z "$as_dir" && as_dir=.
14125 for ac_exec_ext in '' $ac_executable_extensions; do
14126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14127 ac_cv_prog_CC="${ac_tool_prefix}cc"
14128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14138 if test -n "$CC"; then
14139 { echo "$as_me:$LINENO: result: $CC" >&5
14140 echo "${ECHO_T}$CC" >&6; }
14142 { echo "$as_me:$LINENO: result: no" >&5
14143 echo "${ECHO_T}no" >&6; }
14149 if test -z "$CC"; then
14150 # Extract the first word of "cc", so it can be a program name with args.
14151 set dummy cc; ac_word=$2
14152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14154 if test "${ac_cv_prog_CC+set}" = set; then
14155 echo $ECHO_N "(cached) $ECHO_C" >&6
14157 if test -n "$CC"; then
14158 ac_cv_prog_CC="$CC" # Let the user override the test.
14160 ac_prog_rejected=no
14161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14162 for as_dir in $PATH
14165 test -z "$as_dir" && as_dir=.
14166 for ac_exec_ext in '' $ac_executable_extensions; do
14167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14168 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14169 ac_prog_rejected=yes
14173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14180 if test $ac_prog_rejected = yes; then
14181 # We found a bogon in the path, so make sure we never use it.
14182 set dummy $ac_cv_prog_CC
14184 if test $# != 0; then
14185 # We chose a different compiler from the bogus one.
14186 # However, it has the same basename, so the bogon will be chosen
14187 # first if we set CC to just the basename; use the full file name.
14189 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14195 if test -n "$CC"; then
14196 { echo "$as_me:$LINENO: result: $CC" >&5
14197 echo "${ECHO_T}$CC" >&6; }
14199 { echo "$as_me:$LINENO: result: no" >&5
14200 echo "${ECHO_T}no" >&6; }
14205 if test -z "$CC"; then
14206 if test -n "$ac_tool_prefix"; then
14207 for ac_prog in cl.exe
14209 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14210 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14213 if test "${ac_cv_prog_CC+set}" = set; then
14214 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 if test -n "$CC"; then
14217 ac_cv_prog_CC="$CC" # Let the user override the test.
14219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14220 for as_dir in $PATH
14223 test -z "$as_dir" && as_dir=.
14224 for ac_exec_ext in '' $ac_executable_extensions; do
14225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14226 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14237 if test -n "$CC"; then
14238 { echo "$as_me:$LINENO: result: $CC" >&5
14239 echo "${ECHO_T}$CC" >&6; }
14241 { echo "$as_me:$LINENO: result: no" >&5
14242 echo "${ECHO_T}no" >&6; }
14246 test -n "$CC" && break
14249 if test -z "$CC"; then
14251 for ac_prog in cl.exe
14253 # Extract the first word of "$ac_prog", so it can be a program name with args.
14254 set dummy $ac_prog; ac_word=$2
14255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14257 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14258 echo $ECHO_N "(cached) $ECHO_C" >&6
14260 if test -n "$ac_ct_CC"; then
14261 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14264 for as_dir in $PATH
14267 test -z "$as_dir" && as_dir=.
14268 for ac_exec_ext in '' $ac_executable_extensions; do
14269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14270 ac_cv_prog_ac_ct_CC="$ac_prog"
14271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14280 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14281 if test -n "$ac_ct_CC"; then
14282 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14283 echo "${ECHO_T}$ac_ct_CC" >&6; }
14285 { echo "$as_me:$LINENO: result: no" >&5
14286 echo "${ECHO_T}no" >&6; }
14290 test -n "$ac_ct_CC" && break
14293 if test "x$ac_ct_CC" = x; then
14296 case $cross_compiling:$ac_tool_warned in
14298 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14299 whose name does not start with the host triplet. If you think this
14300 configuration is useful to you, please write to autoconf@gnu.org." >&5
14301 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14302 whose name does not start with the host triplet. If you think this
14303 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14304 ac_tool_warned=yes ;;
14313 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14314 See \`config.log' for more details." >&5
14315 echo "$as_me: error: no acceptable C compiler found in \$PATH
14316 See \`config.log' for more details." >&2;}
14317 { (exit 1); exit 1; }; }
14319 # Provide some information about the compiler.
14320 echo "$as_me:$LINENO: checking for C compiler version" >&5
14321 ac_compiler=`set X $ac_compile; echo $2`
14322 { (ac_try="$ac_compiler --version >&5"
14323 case "(($ac_try" in
14324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14325 *) ac_try_echo=$ac_try;;
14327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14328 (eval "$ac_compiler --version >&5") 2>&5
14330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14331 (exit $ac_status); }
14332 { (ac_try="$ac_compiler -v >&5"
14333 case "(($ac_try" in
14334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14335 *) ac_try_echo=$ac_try;;
14337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14338 (eval "$ac_compiler -v >&5") 2>&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); }
14342 { (ac_try="$ac_compiler -V >&5"
14343 case "(($ac_try" in
14344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14345 *) ac_try_echo=$ac_try;;
14347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14348 (eval "$ac_compiler -V >&5") 2>&5
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); }
14353 cat >conftest.$ac_ext <<_ACEOF
14356 cat confdefs.h >>conftest.$ac_ext
14357 cat >>conftest.$ac_ext <<_ACEOF
14358 /* end confdefs.h. */
14368 ac_clean_files_save=$ac_clean_files
14369 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14370 # Try to create an executable without -o first, disregard a.out.
14371 # It will help us diagnose broken compilers, and finding out an intuition
14373 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14374 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14375 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14377 # List of possible output files, starting from the most likely.
14378 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14379 # only as a last resort. b.out is created by i960 compilers.
14380 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14382 # The IRIX 6 linker writes into existing files which may not be
14383 # executable, retaining their permissions. Remove them first so a
14384 # subsequent execution test works.
14386 for ac_file in $ac_files
14389 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14390 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14395 if { (ac_try="$ac_link_default"
14396 case "(($ac_try" in
14397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14398 *) ac_try_echo=$ac_try;;
14400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14401 (eval "$ac_link_default") 2>&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); }; then
14405 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14406 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14407 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14408 # so that the user can short-circuit this test for compilers unknown to
14410 for ac_file in $ac_files ''
14412 test -f "$ac_file" || continue
14414 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14417 # We found the default executable, but exeext='' is most
14421 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14423 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14425 # We set ac_cv_exeext here because the later test for it is not
14426 # safe: cross compilers may not add the suffix if given an `-o'
14427 # argument, so we may need to know it at that point already.
14428 # Even if this section looks crufty: it has the advantage of
14429 # actually working.
14435 test "$ac_cv_exeext" = no && ac_cv_exeext=
14441 { echo "$as_me:$LINENO: result: $ac_file" >&5
14442 echo "${ECHO_T}$ac_file" >&6; }
14443 if test -z "$ac_file"; then
14444 echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.$ac_ext >&5
14447 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14448 See \`config.log' for more details." >&5
14449 echo "$as_me: error: C compiler cannot create executables
14450 See \`config.log' for more details." >&2;}
14451 { (exit 77); exit 77; }; }
14454 ac_exeext=$ac_cv_exeext
14456 # Check that the compiler produces executables we can run. If not, either
14457 # the compiler is broken, or we cross compile.
14458 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14459 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14460 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14461 # If not cross compiling, check that we can run a simple program.
14462 if test "$cross_compiling" != yes; then
14463 if { ac_try='./$ac_file'
14464 { (case "(($ac_try" in
14465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14466 *) ac_try_echo=$ac_try;;
14468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14469 (eval "$ac_try") 2>&5
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; }; then
14475 if test "$cross_compiling" = maybe; then
14476 cross_compiling=yes
14478 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14479 If you meant to cross compile, use \`--host'.
14480 See \`config.log' for more details." >&5
14481 echo "$as_me: error: cannot run C compiled programs.
14482 If you meant to cross compile, use \`--host'.
14483 See \`config.log' for more details." >&2;}
14484 { (exit 1); exit 1; }; }
14488 { echo "$as_me:$LINENO: result: yes" >&5
14489 echo "${ECHO_T}yes" >&6; }
14491 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14492 ac_clean_files=$ac_clean_files_save
14493 # Check that the compiler produces executables we can run. If not, either
14494 # the compiler is broken, or we cross compile.
14495 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14496 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14497 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14498 echo "${ECHO_T}$cross_compiling" >&6; }
14500 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14501 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14502 if { (ac_try="$ac_link"
14503 case "(($ac_try" in
14504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14505 *) ac_try_echo=$ac_try;;
14507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14508 (eval "$ac_link") 2>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; then
14512 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14513 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14514 # work properly (i.e., refer to `conftest.exe'), while it won't with
14516 for ac_file in conftest.exe conftest conftest.*; do
14517 test -f "$ac_file" || continue
14519 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14520 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14526 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14527 See \`config.log' for more details." >&5
14528 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14529 See \`config.log' for more details." >&2;}
14530 { (exit 1); exit 1; }; }
14533 rm -f conftest$ac_cv_exeext
14534 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14535 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14537 rm -f conftest.$ac_ext
14538 EXEEXT=$ac_cv_exeext
14540 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14541 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14542 if test "${ac_cv_objext+set}" = set; then
14543 echo $ECHO_N "(cached) $ECHO_C" >&6
14545 cat >conftest.$ac_ext <<_ACEOF
14548 cat confdefs.h >>conftest.$ac_ext
14549 cat >>conftest.$ac_ext <<_ACEOF
14550 /* end confdefs.h. */
14560 rm -f conftest.o conftest.obj
14561 if { (ac_try="$ac_compile"
14562 case "(($ac_try" in
14563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14564 *) ac_try_echo=$ac_try;;
14566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14567 (eval "$ac_compile") 2>&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }; then
14571 for ac_file in conftest.o conftest.obj conftest.*; do
14572 test -f "$ac_file" || continue;
14574 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14575 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14580 echo "$as_me: failed program was:" >&5
14581 sed 's/^/| /' conftest.$ac_ext >&5
14583 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14584 See \`config.log' for more details." >&5
14585 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14586 See \`config.log' for more details." >&2;}
14587 { (exit 1); exit 1; }; }
14590 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14592 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14593 echo "${ECHO_T}$ac_cv_objext" >&6; }
14594 OBJEXT=$ac_cv_objext
14596 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14597 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14598 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14599 echo $ECHO_N "(cached) $ECHO_C" >&6
14601 cat >conftest.$ac_ext <<_ACEOF
14604 cat confdefs.h >>conftest.$ac_ext
14605 cat >>conftest.$ac_ext <<_ACEOF
14606 /* end confdefs.h. */
14619 rm -f conftest.$ac_objext
14620 if { (ac_try="$ac_compile"
14621 case "(($ac_try" in
14622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14623 *) ac_try_echo=$ac_try;;
14625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14626 (eval "$ac_compile") 2>conftest.er1
14628 grep -v '^ *+' conftest.er1 >conftest.err
14630 cat conftest.err >&5
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); } && {
14633 test -z "$ac_c_werror_flag" ||
14634 test ! -s conftest.err
14635 } && test -s conftest.$ac_objext; then
14636 ac_compiler_gnu=yes
14638 echo "$as_me: failed program was:" >&5
14639 sed 's/^/| /' conftest.$ac_ext >&5
14644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14645 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14648 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14649 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14650 GCC=`test $ac_compiler_gnu = yes && echo yes`
14651 ac_test_CFLAGS=${CFLAGS+set}
14652 ac_save_CFLAGS=$CFLAGS
14653 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14654 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14655 if test "${ac_cv_prog_cc_g+set}" = set; then
14656 echo $ECHO_N "(cached) $ECHO_C" >&6
14658 ac_save_c_werror_flag=$ac_c_werror_flag
14659 ac_c_werror_flag=yes
14662 cat >conftest.$ac_ext <<_ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14677 rm -f conftest.$ac_objext
14678 if { (ac_try="$ac_compile"
14679 case "(($ac_try" in
14680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14681 *) ac_try_echo=$ac_try;;
14683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14684 (eval "$ac_compile") 2>conftest.er1
14686 grep -v '^ *+' conftest.er1 >conftest.err
14688 cat conftest.err >&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } && {
14691 test -z "$ac_c_werror_flag" ||
14692 test ! -s conftest.err
14693 } && test -s conftest.$ac_objext; then
14694 ac_cv_prog_cc_g=yes
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14700 cat >conftest.$ac_ext <<_ACEOF
14703 cat confdefs.h >>conftest.$ac_ext
14704 cat >>conftest.$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14715 rm -f conftest.$ac_objext
14716 if { (ac_try="$ac_compile"
14717 case "(($ac_try" in
14718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14719 *) ac_try_echo=$ac_try;;
14721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14722 (eval "$ac_compile") 2>conftest.er1
14724 grep -v '^ *+' conftest.er1 >conftest.err
14726 cat conftest.err >&5
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); } && {
14729 test -z "$ac_c_werror_flag" ||
14730 test ! -s conftest.err
14731 } && test -s conftest.$ac_objext; then
14734 echo "$as_me: failed program was:" >&5
14735 sed 's/^/| /' conftest.$ac_ext >&5
14737 ac_c_werror_flag=$ac_save_c_werror_flag
14739 cat >conftest.$ac_ext <<_ACEOF
14742 cat confdefs.h >>conftest.$ac_ext
14743 cat >>conftest.$ac_ext <<_ACEOF
14744 /* end confdefs.h. */
14754 rm -f conftest.$ac_objext
14755 if { (ac_try="$ac_compile"
14756 case "(($ac_try" in
14757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14758 *) ac_try_echo=$ac_try;;
14760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14761 (eval "$ac_compile") 2>conftest.er1
14763 grep -v '^ *+' conftest.er1 >conftest.err
14765 cat conftest.err >&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); } && {
14768 test -z "$ac_c_werror_flag" ||
14769 test ! -s conftest.err
14770 } && test -s conftest.$ac_objext; then
14771 ac_cv_prog_cc_g=yes
14773 echo "$as_me: failed program was:" >&5
14774 sed 's/^/| /' conftest.$ac_ext >&5
14779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14786 ac_c_werror_flag=$ac_save_c_werror_flag
14788 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14789 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14790 if test "$ac_test_CFLAGS" = set; then
14791 CFLAGS=$ac_save_CFLAGS
14792 elif test $ac_cv_prog_cc_g = yes; then
14793 if test "$GCC" = yes; then
14799 if test "$GCC" = yes; then
14805 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14806 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14807 if test "${ac_cv_prog_cc_c89+set}" = set; then
14808 echo $ECHO_N "(cached) $ECHO_C" >&6
14810 ac_cv_prog_cc_c89=no
14812 cat >conftest.$ac_ext <<_ACEOF
14815 cat confdefs.h >>conftest.$ac_ext
14816 cat >>conftest.$ac_ext <<_ACEOF
14817 /* end confdefs.h. */
14818 #include <stdarg.h>
14820 #include <sys/types.h>
14821 #include <sys/stat.h>
14822 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14823 struct buf { int x; };
14824 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14825 static char *e (p, i)
14831 static char *f (char * (*g) (char **, int), char **p, ...)
14836 s = g (p, va_arg (v,int));
14841 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14842 function prototypes and stuff, but not '\xHH' hex character constants.
14843 These don't provoke an error unfortunately, instead are silently treated
14844 as 'x'. The following induces an error, until -std is added to get
14845 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14846 array size at least. It's necessary to write '\x00'==0 to get something
14847 that's true only with -std. */
14848 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14850 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14851 inside strings and character constants. */
14853 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14855 int test (int i, double x);
14856 struct s1 {int (*f) (int a);};
14857 struct s2 {int (*f) (double a);};
14858 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14864 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14869 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14870 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14872 CC="$ac_save_CC $ac_arg"
14873 rm -f conftest.$ac_objext
14874 if { (ac_try="$ac_compile"
14875 case "(($ac_try" in
14876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14877 *) ac_try_echo=$ac_try;;
14879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14880 (eval "$ac_compile") 2>conftest.er1
14882 grep -v '^ *+' conftest.er1 >conftest.err
14884 cat conftest.err >&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); } && {
14887 test -z "$ac_c_werror_flag" ||
14888 test ! -s conftest.err
14889 } && test -s conftest.$ac_objext; then
14890 ac_cv_prog_cc_c89=$ac_arg
14892 echo "$as_me: failed program was:" >&5
14893 sed 's/^/| /' conftest.$ac_ext >&5
14898 rm -f core conftest.err conftest.$ac_objext
14899 test "x$ac_cv_prog_cc_c89" != "xno" && break
14901 rm -f conftest.$ac_ext
14906 case "x$ac_cv_prog_cc_c89" in
14908 { echo "$as_me:$LINENO: result: none needed" >&5
14909 echo "${ECHO_T}none needed" >&6; } ;;
14911 { echo "$as_me:$LINENO: result: unsupported" >&5
14912 echo "${ECHO_T}unsupported" >&6; } ;;
14914 CC="$CC $ac_cv_prog_cc_c89"
14915 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14916 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14921 ac_cpp='$CPP $CPPFLAGS'
14922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14930 ac_cpp='$CPP $CPPFLAGS'
14931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14935 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14936 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14937 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14938 echo $ECHO_N "(cached) $ECHO_C" >&6
14940 cat >conftest.$ac_ext <<_ACEOF
14943 cat confdefs.h >>conftest.$ac_ext
14944 cat >>conftest.$ac_ext <<_ACEOF
14945 /* end confdefs.h. */
14951 #ifndef __INTEL_COMPILER
14959 rm -f conftest.$ac_objext
14960 if { (ac_try="$ac_compile"
14961 case "(($ac_try" in
14962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14963 *) ac_try_echo=$ac_try;;
14965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14966 (eval "$ac_compile") 2>conftest.er1
14968 grep -v '^ *+' conftest.er1 >conftest.err
14970 cat conftest.err >&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); } && {
14973 test -z "$ac_c_werror_flag" ||
14974 test ! -s conftest.err
14975 } && test -s conftest.$ac_objext; then
14976 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14978 echo "$as_me: failed program was:" >&5
14979 sed 's/^/| /' conftest.$ac_ext >&5
14981 bakefile_cv_c_compiler___INTEL_COMPILER=no
14985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14989 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14990 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14991 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14997 ac_cpp='$CPP $CPPFLAGS'
14998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15005 if test "x$GCC" != "xyes"; then
15006 if test "xCC" = "xC"; then
15007 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15008 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15009 if test "${bakefile_cv_c_exto+set}" = set; then
15010 echo $ECHO_N "(cached) $ECHO_C" >&6
15012 cat >conftest.$ac_ext <<_ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15027 rm -f conftest.$ac_objext conftest.$ac_ext.o
15028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15029 (eval $ac_compile) 2>&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); }; then
15033 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15035 conftest.$ac_ext.o)
15036 bakefile_cv_c_exto="-ext o"
15043 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15044 See \`config.log' for more details." >&5
15045 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15046 See \`config.log' for more details." >&2;}
15047 { (exit 1); exit 1; }; }
15051 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15054 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15055 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15056 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15057 if test "c" = "c"; then
15058 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15060 if test "c" = "cxx"; then
15061 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15065 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15066 unset ac_cv_prog_cc_g
15067 ac_test_CFLAGS=${CFLAGS+set}
15068 ac_save_CFLAGS=$CFLAGS
15069 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15070 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15071 if test "${ac_cv_prog_cc_g+set}" = set; then
15072 echo $ECHO_N "(cached) $ECHO_C" >&6
15074 ac_save_c_werror_flag=$ac_c_werror_flag
15075 ac_c_werror_flag=yes
15078 cat >conftest.$ac_ext <<_ACEOF
15081 cat confdefs.h >>conftest.$ac_ext
15082 cat >>conftest.$ac_ext <<_ACEOF
15083 /* end confdefs.h. */
15093 rm -f conftest.$ac_objext
15094 if { (ac_try="$ac_compile"
15095 case "(($ac_try" in
15096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15097 *) ac_try_echo=$ac_try;;
15099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15100 (eval "$ac_compile") 2>conftest.er1
15102 grep -v '^ *+' conftest.er1 >conftest.err
15104 cat conftest.err >&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); } && {
15107 test -z "$ac_c_werror_flag" ||
15108 test ! -s conftest.err
15109 } && test -s conftest.$ac_objext; then
15110 ac_cv_prog_cc_g=yes
15112 echo "$as_me: failed program was:" >&5
15113 sed 's/^/| /' conftest.$ac_ext >&5
15116 cat >conftest.$ac_ext <<_ACEOF
15119 cat confdefs.h >>conftest.$ac_ext
15120 cat >>conftest.$ac_ext <<_ACEOF
15121 /* end confdefs.h. */
15131 rm -f conftest.$ac_objext
15132 if { (ac_try="$ac_compile"
15133 case "(($ac_try" in
15134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15135 *) ac_try_echo=$ac_try;;
15137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15138 (eval "$ac_compile") 2>conftest.er1
15140 grep -v '^ *+' conftest.er1 >conftest.err
15142 cat conftest.err >&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); } && {
15145 test -z "$ac_c_werror_flag" ||
15146 test ! -s conftest.err
15147 } && test -s conftest.$ac_objext; then
15150 echo "$as_me: failed program was:" >&5
15151 sed 's/^/| /' conftest.$ac_ext >&5
15153 ac_c_werror_flag=$ac_save_c_werror_flag
15155 cat >conftest.$ac_ext <<_ACEOF
15158 cat confdefs.h >>conftest.$ac_ext
15159 cat >>conftest.$ac_ext <<_ACEOF
15160 /* end confdefs.h. */
15170 rm -f conftest.$ac_objext
15171 if { (ac_try="$ac_compile"
15172 case "(($ac_try" in
15173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15174 *) ac_try_echo=$ac_try;;
15176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15177 (eval "$ac_compile") 2>conftest.er1
15179 grep -v '^ *+' conftest.er1 >conftest.err
15181 cat conftest.err >&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); } && {
15184 test -z "$ac_c_werror_flag" ||
15185 test ! -s conftest.err
15186 } && test -s conftest.$ac_objext; then
15187 ac_cv_prog_cc_g=yes
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.$ac_ext >&5
15195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15202 ac_c_werror_flag=$ac_save_c_werror_flag
15204 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15205 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15206 if test "$ac_test_CFLAGS" = set; then
15207 CFLAGS=$ac_save_CFLAGS
15208 elif test $ac_cv_prog_cc_g = yes; then
15209 if test "$GCC" = yes; then
15215 if test "$GCC" = yes; then
15229 ac_cpp='$CPP $CPPFLAGS'
15230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15234 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15235 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15236 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15237 echo $ECHO_N "(cached) $ECHO_C" >&6
15239 cat >conftest.$ac_ext <<_ACEOF
15242 cat confdefs.h >>conftest.$ac_ext
15243 cat >>conftest.$ac_ext <<_ACEOF
15244 /* end confdefs.h. */
15258 rm -f conftest.$ac_objext
15259 if { (ac_try="$ac_compile"
15260 case "(($ac_try" in
15261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15262 *) ac_try_echo=$ac_try;;
15264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15265 (eval "$ac_compile") 2>conftest.er1
15267 grep -v '^ *+' conftest.er1 >conftest.err
15269 cat conftest.err >&5
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); } && {
15272 test -z "$ac_c_werror_flag" ||
15273 test ! -s conftest.err
15274 } && test -s conftest.$ac_objext; then
15275 bakefile_cv_c_compiler___xlC__=yes
15277 echo "$as_me: failed program was:" >&5
15278 sed 's/^/| /' conftest.$ac_ext >&5
15280 bakefile_cv_c_compiler___xlC__=no
15284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15288 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15289 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15290 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15296 ac_cpp='$CPP $CPPFLAGS'
15297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15309 ac_cpp='$CPP $CPPFLAGS'
15310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15314 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15315 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15316 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15319 cat >conftest.$ac_ext <<_ACEOF
15322 cat confdefs.h >>conftest.$ac_ext
15323 cat >>conftest.$ac_ext <<_ACEOF
15324 /* end confdefs.h. */
15338 rm -f conftest.$ac_objext
15339 if { (ac_try="$ac_compile"
15340 case "(($ac_try" in
15341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15342 *) ac_try_echo=$ac_try;;
15344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15345 (eval "$ac_compile") 2>conftest.er1
15347 grep -v '^ *+' conftest.er1 >conftest.err
15349 cat conftest.err >&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } && {
15352 test -z "$ac_c_werror_flag" ||
15353 test ! -s conftest.err
15354 } && test -s conftest.$ac_objext; then
15355 bakefile_cv_c_compiler___MWERKS__=yes
15357 echo "$as_me: failed program was:" >&5
15358 sed 's/^/| /' conftest.$ac_ext >&5
15360 bakefile_cv_c_compiler___MWERKS__=no
15364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15368 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15369 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15370 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15376 ac_cpp='$CPP $CPPFLAGS'
15377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15386 ac_cpp='$CPP $CPPFLAGS'
15387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15391 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15392 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15393 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15394 echo $ECHO_N "(cached) $ECHO_C" >&6
15396 cat >conftest.$ac_ext <<_ACEOF
15399 cat confdefs.h >>conftest.$ac_ext
15400 cat >>conftest.$ac_ext <<_ACEOF
15401 /* end confdefs.h. */
15415 rm -f conftest.$ac_objext
15416 if { (ac_try="$ac_compile"
15417 case "(($ac_try" in
15418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15419 *) ac_try_echo=$ac_try;;
15421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15422 (eval "$ac_compile") 2>conftest.er1
15424 grep -v '^ *+' conftest.er1 >conftest.err
15426 cat conftest.err >&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); } && {
15429 test -z "$ac_c_werror_flag" ||
15430 test ! -s conftest.err
15431 } && test -s conftest.$ac_objext; then
15432 bakefile_cv_c_compiler___xlC__=yes
15434 echo "$as_me: failed program was:" >&5
15435 sed 's/^/| /' conftest.$ac_ext >&5
15437 bakefile_cv_c_compiler___xlC__=no
15441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15445 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15446 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15447 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15453 ac_cpp='$CPP $CPPFLAGS'
15454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15466 ac_cpp='$CPP $CPPFLAGS'
15467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15471 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15472 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15473 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15474 echo $ECHO_N "(cached) $ECHO_C" >&6
15476 cat >conftest.$ac_ext <<_ACEOF
15479 cat confdefs.h >>conftest.$ac_ext
15480 cat >>conftest.$ac_ext <<_ACEOF
15481 /* end confdefs.h. */
15487 #ifndef _SGI_COMPILER_VERSION
15495 rm -f conftest.$ac_objext
15496 if { (ac_try="$ac_compile"
15497 case "(($ac_try" in
15498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15499 *) ac_try_echo=$ac_try;;
15501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15502 (eval "$ac_compile") 2>conftest.er1
15504 grep -v '^ *+' conftest.er1 >conftest.err
15506 cat conftest.err >&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); } && {
15509 test -z "$ac_c_werror_flag" ||
15510 test ! -s conftest.err
15511 } && test -s conftest.$ac_objext; then
15512 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15514 echo "$as_me: failed program was:" >&5
15515 sed 's/^/| /' conftest.$ac_ext >&5
15517 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15525 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15526 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15527 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15533 ac_cpp='$CPP $CPPFLAGS'
15534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15546 ac_cpp='$CPP $CPPFLAGS'
15547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15551 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15552 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15553 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15554 echo $ECHO_N "(cached) $ECHO_C" >&6
15556 cat >conftest.$ac_ext <<_ACEOF
15559 cat confdefs.h >>conftest.$ac_ext
15560 cat >>conftest.$ac_ext <<_ACEOF
15561 /* end confdefs.h. */
15575 rm -f conftest.$ac_objext
15576 if { (ac_try="$ac_compile"
15577 case "(($ac_try" in
15578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15579 *) ac_try_echo=$ac_try;;
15581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15582 (eval "$ac_compile") 2>conftest.er1
15584 grep -v '^ *+' conftest.er1 >conftest.err
15586 cat conftest.err >&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); } && {
15589 test -z "$ac_c_werror_flag" ||
15590 test ! -s conftest.err
15591 } && test -s conftest.$ac_objext; then
15592 bakefile_cv_c_compiler___SUNPRO_C=yes
15594 echo "$as_me: failed program was:" >&5
15595 sed 's/^/| /' conftest.$ac_ext >&5
15597 bakefile_cv_c_compiler___SUNPRO_C=no
15601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15605 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15606 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15607 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15613 ac_cpp='$CPP $CPPFLAGS'
15614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15626 ac_cpp='$CPP $CPPFLAGS'
15627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15631 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15632 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15633 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15634 echo $ECHO_N "(cached) $ECHO_C" >&6
15636 cat >conftest.$ac_ext <<_ACEOF
15639 cat confdefs.h >>conftest.$ac_ext
15640 cat >>conftest.$ac_ext <<_ACEOF
15641 /* end confdefs.h. */
15655 rm -f conftest.$ac_objext
15656 if { (ac_try="$ac_compile"
15657 case "(($ac_try" in
15658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15659 *) ac_try_echo=$ac_try;;
15661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15662 (eval "$ac_compile") 2>conftest.er1
15664 grep -v '^ *+' conftest.er1 >conftest.err
15666 cat conftest.err >&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); } && {
15669 test -z "$ac_c_werror_flag" ||
15670 test ! -s conftest.err
15671 } && test -s conftest.$ac_objext; then
15672 bakefile_cv_c_compiler___HP_cc=yes
15674 echo "$as_me: failed program was:" >&5
15675 sed 's/^/| /' conftest.$ac_ext >&5
15677 bakefile_cv_c_compiler___HP_cc=no
15681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15685 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15686 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15687 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15693 ac_cpp='$CPP $CPPFLAGS'
15694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15706 ac_cpp='$CPP $CPPFLAGS'
15707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15711 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15712 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15713 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15714 echo $ECHO_N "(cached) $ECHO_C" >&6
15716 cat >conftest.$ac_ext <<_ACEOF
15719 cat confdefs.h >>conftest.$ac_ext
15720 cat >>conftest.$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15735 rm -f conftest.$ac_objext
15736 if { (ac_try="$ac_compile"
15737 case "(($ac_try" in
15738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15739 *) ac_try_echo=$ac_try;;
15741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15742 (eval "$ac_compile") 2>conftest.er1
15744 grep -v '^ *+' conftest.er1 >conftest.err
15746 cat conftest.err >&5
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); } && {
15749 test -z "$ac_c_werror_flag" ||
15750 test ! -s conftest.err
15751 } && test -s conftest.$ac_objext; then
15752 bakefile_cv_c_compiler___DECC=yes
15754 echo "$as_me: failed program was:" >&5
15755 sed 's/^/| /' conftest.$ac_ext >&5
15757 bakefile_cv_c_compiler___DECC=no
15761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15765 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15766 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15767 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15773 ac_cpp='$CPP $CPPFLAGS'
15774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15786 ac_cpp='$CPP $CPPFLAGS'
15787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15791 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15792 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15793 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15794 echo $ECHO_N "(cached) $ECHO_C" >&6
15796 cat >conftest.$ac_ext <<_ACEOF
15799 cat confdefs.h >>conftest.$ac_ext
15800 cat >>conftest.$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15815 rm -f conftest.$ac_objext
15816 if { (ac_try="$ac_compile"
15817 case "(($ac_try" in
15818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15819 *) ac_try_echo=$ac_try;;
15821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15822 (eval "$ac_compile") 2>conftest.er1
15824 grep -v '^ *+' conftest.er1 >conftest.err
15826 cat conftest.err >&5
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); } && {
15829 test -z "$ac_c_werror_flag" ||
15830 test ! -s conftest.err
15831 } && test -s conftest.$ac_objext; then
15832 bakefile_cv_c_compiler___SUNPRO_C=yes
15834 echo "$as_me: failed program was:" >&5
15835 sed 's/^/| /' conftest.$ac_ext >&5
15837 bakefile_cv_c_compiler___SUNPRO_C=no
15841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15845 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15846 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15847 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15853 ac_cpp='$CPP $CPPFLAGS'
15854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15867 ac_cpp='$CPP $CPPFLAGS'
15868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15871 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15872 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15873 # On Suns, sometimes $CPP names a directory.
15874 if test -n "$CPP" && test -d "$CPP"; then
15877 if test -z "$CPP"; then
15878 if test "${ac_cv_prog_CPP+set}" = set; then
15879 echo $ECHO_N "(cached) $ECHO_C" >&6
15881 # Double quotes because CPP needs to be expanded
15882 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15884 ac_preproc_ok=false
15885 for ac_c_preproc_warn_flag in '' yes
15887 # Use a header file that comes with gcc, so configuring glibc
15888 # with a fresh cross-compiler works.
15889 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15890 # <limits.h> exists even on freestanding compilers.
15891 # On the NeXT, cc -E runs the code through the compiler's parser,
15892 # not just through cpp. "Syntax error" is here to catch this case.
15893 cat >conftest.$ac_ext <<_ACEOF
15896 cat confdefs.h >>conftest.$ac_ext
15897 cat >>conftest.$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15900 # include <limits.h>
15902 # include <assert.h>
15906 if { (ac_try="$ac_cpp conftest.$ac_ext"
15907 case "(($ac_try" in
15908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15909 *) ac_try_echo=$ac_try;;
15911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15912 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15914 grep -v '^ *+' conftest.er1 >conftest.err
15916 cat conftest.err >&5
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); } >/dev/null && {
15919 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15920 test ! -s conftest.err
15924 echo "$as_me: failed program was:" >&5
15925 sed 's/^/| /' conftest.$ac_ext >&5
15927 # Broken: fails on valid input.
15931 rm -f conftest.err conftest.$ac_ext
15933 # OK, works on sane cases. Now check whether nonexistent headers
15934 # can be detected and how.
15935 cat >conftest.$ac_ext <<_ACEOF
15938 cat confdefs.h >>conftest.$ac_ext
15939 cat >>conftest.$ac_ext <<_ACEOF
15940 /* end confdefs.h. */
15941 #include <ac_nonexistent.h>
15943 if { (ac_try="$ac_cpp conftest.$ac_ext"
15944 case "(($ac_try" in
15945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15946 *) ac_try_echo=$ac_try;;
15948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15951 grep -v '^ *+' conftest.er1 >conftest.err
15953 cat conftest.err >&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); } >/dev/null && {
15956 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15957 test ! -s conftest.err
15959 # Broken: success on invalid input.
15962 echo "$as_me: failed program was:" >&5
15963 sed 's/^/| /' conftest.$ac_ext >&5
15965 # Passes both tests.
15970 rm -f conftest.err conftest.$ac_ext
15973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15974 rm -f conftest.err conftest.$ac_ext
15975 if $ac_preproc_ok; then
15980 ac_cv_prog_CPP=$CPP
15983 CPP=$ac_cv_prog_CPP
15985 ac_cv_prog_CPP=$CPP
15987 { echo "$as_me:$LINENO: result: $CPP" >&5
15988 echo "${ECHO_T}$CPP" >&6; }
15989 ac_preproc_ok=false
15990 for ac_c_preproc_warn_flag in '' yes
15992 # Use a header file that comes with gcc, so configuring glibc
15993 # with a fresh cross-compiler works.
15994 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15995 # <limits.h> exists even on freestanding compilers.
15996 # On the NeXT, cc -E runs the code through the compiler's parser,
15997 # not just through cpp. "Syntax error" is here to catch this case.
15998 cat >conftest.$ac_ext <<_ACEOF
16001 cat confdefs.h >>conftest.$ac_ext
16002 cat >>conftest.$ac_ext <<_ACEOF
16003 /* end confdefs.h. */
16005 # include <limits.h>
16007 # include <assert.h>
16011 if { (ac_try="$ac_cpp conftest.$ac_ext"
16012 case "(($ac_try" in
16013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16014 *) ac_try_echo=$ac_try;;
16016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16017 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16019 grep -v '^ *+' conftest.er1 >conftest.err
16021 cat conftest.err >&5
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); } >/dev/null && {
16024 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16025 test ! -s conftest.err
16029 echo "$as_me: failed program was:" >&5
16030 sed 's/^/| /' conftest.$ac_ext >&5
16032 # Broken: fails on valid input.
16036 rm -f conftest.err conftest.$ac_ext
16038 # OK, works on sane cases. Now check whether nonexistent headers
16039 # can be detected and how.
16040 cat >conftest.$ac_ext <<_ACEOF
16043 cat confdefs.h >>conftest.$ac_ext
16044 cat >>conftest.$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16046 #include <ac_nonexistent.h>
16048 if { (ac_try="$ac_cpp conftest.$ac_ext"
16049 case "(($ac_try" in
16050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16051 *) ac_try_echo=$ac_try;;
16053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16054 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16056 grep -v '^ *+' conftest.er1 >conftest.err
16058 cat conftest.err >&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); } >/dev/null && {
16061 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16062 test ! -s conftest.err
16064 # Broken: success on invalid input.
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.$ac_ext >&5
16070 # Passes both tests.
16075 rm -f conftest.err conftest.$ac_ext
16078 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16079 rm -f conftest.err conftest.$ac_ext
16080 if $ac_preproc_ok; then
16083 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16084 See \`config.log' for more details." >&5
16085 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16086 See \`config.log' for more details." >&2;}
16087 { (exit 1); exit 1; }; }
16091 ac_cpp='$CPP $CPPFLAGS'
16092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16097 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16098 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16099 if test "${ac_cv_path_GREP+set}" = set; then
16100 echo $ECHO_N "(cached) $ECHO_C" >&6
16102 # Extract the first word of "grep ggrep" to use in msg output
16103 if test -z "$GREP"; then
16104 set dummy grep ggrep; ac_prog_name=$2
16105 if test "${ac_cv_path_GREP+set}" = set; then
16106 echo $ECHO_N "(cached) $ECHO_C" >&6
16108 ac_path_GREP_found=false
16109 # Loop through the user's path and test for each of PROGNAME-LIST
16110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16111 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16114 test -z "$as_dir" && as_dir=.
16115 for ac_prog in grep ggrep; do
16116 for ac_exec_ext in '' $ac_executable_extensions; do
16117 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16118 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16119 # Check for GNU ac_path_GREP and select it if it is found.
16120 # Check for GNU $ac_path_GREP
16121 case `"$ac_path_GREP" --version 2>&1` in
16123 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16126 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16129 cat "conftest.in" "conftest.in" >"conftest.tmp"
16130 mv "conftest.tmp" "conftest.in"
16131 cp "conftest.in" "conftest.nl"
16132 echo 'GREP' >> "conftest.nl"
16133 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16134 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16135 ac_count=`expr $ac_count + 1`
16136 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16137 # Best one so far, save it but keep looking for a better one
16138 ac_cv_path_GREP="$ac_path_GREP"
16139 ac_path_GREP_max=$ac_count
16141 # 10*(2^10) chars as input seems more than enough
16142 test $ac_count -gt 10 && break
16144 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16148 $ac_path_GREP_found && break 3
16158 GREP="$ac_cv_path_GREP"
16159 if test -z "$GREP"; then
16160 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16161 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16162 { (exit 1); exit 1; }; }
16166 ac_cv_path_GREP=$GREP
16171 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16172 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16173 GREP="$ac_cv_path_GREP"
16176 { echo "$as_me:$LINENO: checking for egrep" >&5
16177 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16178 if test "${ac_cv_path_EGREP+set}" = set; then
16179 echo $ECHO_N "(cached) $ECHO_C" >&6
16181 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16182 then ac_cv_path_EGREP="$GREP -E"
16184 # Extract the first word of "egrep" to use in msg output
16185 if test -z "$EGREP"; then
16186 set dummy egrep; ac_prog_name=$2
16187 if test "${ac_cv_path_EGREP+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16190 ac_path_EGREP_found=false
16191 # Loop through the user's path and test for each of PROGNAME-LIST
16192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16193 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16196 test -z "$as_dir" && as_dir=.
16197 for ac_prog in egrep; do
16198 for ac_exec_ext in '' $ac_executable_extensions; do
16199 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16200 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16201 # Check for GNU ac_path_EGREP and select it if it is found.
16202 # Check for GNU $ac_path_EGREP
16203 case `"$ac_path_EGREP" --version 2>&1` in
16205 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16208 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16211 cat "conftest.in" "conftest.in" >"conftest.tmp"
16212 mv "conftest.tmp" "conftest.in"
16213 cp "conftest.in" "conftest.nl"
16214 echo 'EGREP' >> "conftest.nl"
16215 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16216 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16217 ac_count=`expr $ac_count + 1`
16218 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16219 # Best one so far, save it but keep looking for a better one
16220 ac_cv_path_EGREP="$ac_path_EGREP"
16221 ac_path_EGREP_max=$ac_count
16223 # 10*(2^10) chars as input seems more than enough
16224 test $ac_count -gt 10 && break
16226 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16230 $ac_path_EGREP_found && break 3
16240 EGREP="$ac_cv_path_EGREP"
16241 if test -z "$EGREP"; then
16242 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16243 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16244 { (exit 1); exit 1; }; }
16248 ac_cv_path_EGREP=$EGREP
16254 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16255 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16256 EGREP="$ac_cv_path_EGREP"
16259 if test $ac_cv_c_compiler_gnu = yes; then
16260 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16261 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16262 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16265 ac_pattern="Autoconf.*'x'"
16266 cat >conftest.$ac_ext <<_ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16276 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16277 ac_cv_prog_gcc_traditional=yes
16279 ac_cv_prog_gcc_traditional=no
16284 if test $ac_cv_prog_gcc_traditional = no; then
16285 cat >conftest.$ac_ext <<_ACEOF
16288 cat confdefs.h >>conftest.$ac_ext
16289 cat >>conftest.$ac_ext <<_ACEOF
16290 /* end confdefs.h. */
16291 #include <termio.h>
16294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16295 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16296 ac_cv_prog_gcc_traditional=yes
16302 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16303 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16304 if test $ac_cv_prog_gcc_traditional = yes; then
16305 CC="$CC -traditional"
16310 CXXFLAGS=${CXXFLAGS:=}
16315 ac_cpp='$CXXCPP $CPPFLAGS'
16316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16319 if test -z "$CXX"; then
16320 if test -n "$CCC"; then
16323 if test -n "$ac_tool_prefix"; then
16324 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16326 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16327 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16330 if test "${ac_cv_prog_CXX+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16333 if test -n "$CXX"; then
16334 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16337 for as_dir in $PATH
16340 test -z "$as_dir" && as_dir=.
16341 for ac_exec_ext in '' $ac_executable_extensions; do
16342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16343 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16353 CXX=$ac_cv_prog_CXX
16354 if test -n "$CXX"; then
16355 { echo "$as_me:$LINENO: result: $CXX" >&5
16356 echo "${ECHO_T}$CXX" >&6; }
16358 { echo "$as_me:$LINENO: result: no" >&5
16359 echo "${ECHO_T}no" >&6; }
16363 test -n "$CXX" && break
16366 if test -z "$CXX"; then
16368 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16370 # Extract the first word of "$ac_prog", so it can be a program name with args.
16371 set dummy $ac_prog; ac_word=$2
16372 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16374 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16375 echo $ECHO_N "(cached) $ECHO_C" >&6
16377 if test -n "$ac_ct_CXX"; then
16378 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16381 for as_dir in $PATH
16384 test -z "$as_dir" && as_dir=.
16385 for ac_exec_ext in '' $ac_executable_extensions; do
16386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16387 ac_cv_prog_ac_ct_CXX="$ac_prog"
16388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16397 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16398 if test -n "$ac_ct_CXX"; then
16399 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16400 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16402 { echo "$as_me:$LINENO: result: no" >&5
16403 echo "${ECHO_T}no" >&6; }
16407 test -n "$ac_ct_CXX" && break
16410 if test "x$ac_ct_CXX" = x; then
16413 case $cross_compiling:$ac_tool_warned in
16415 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16416 whose name does not start with the host triplet. If you think this
16417 configuration is useful to you, please write to autoconf@gnu.org." >&5
16418 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16419 whose name does not start with the host triplet. If you think this
16420 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16421 ac_tool_warned=yes ;;
16429 # Provide some information about the compiler.
16430 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16431 ac_compiler=`set X $ac_compile; echo $2`
16432 { (ac_try="$ac_compiler --version >&5"
16433 case "(($ac_try" in
16434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16435 *) ac_try_echo=$ac_try;;
16437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16438 (eval "$ac_compiler --version >&5") 2>&5
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); }
16442 { (ac_try="$ac_compiler -v >&5"
16443 case "(($ac_try" in
16444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16445 *) ac_try_echo=$ac_try;;
16447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16448 (eval "$ac_compiler -v >&5") 2>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }
16452 { (ac_try="$ac_compiler -V >&5"
16453 case "(($ac_try" in
16454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16455 *) ac_try_echo=$ac_try;;
16457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16458 (eval "$ac_compiler -V >&5") 2>&5
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); }
16463 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16464 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16465 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16466 echo $ECHO_N "(cached) $ECHO_C" >&6
16468 cat >conftest.$ac_ext <<_ACEOF
16471 cat confdefs.h >>conftest.$ac_ext
16472 cat >>conftest.$ac_ext <<_ACEOF
16473 /* end confdefs.h. */
16486 rm -f conftest.$ac_objext
16487 if { (ac_try="$ac_compile"
16488 case "(($ac_try" in
16489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16490 *) ac_try_echo=$ac_try;;
16492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16493 (eval "$ac_compile") 2>conftest.er1
16495 grep -v '^ *+' conftest.er1 >conftest.err
16497 cat conftest.err >&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } && {
16500 test -z "$ac_cxx_werror_flag" ||
16501 test ! -s conftest.err
16502 } && test -s conftest.$ac_objext; then
16503 ac_compiler_gnu=yes
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.$ac_ext >&5
16511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16512 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16515 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16516 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16517 GXX=`test $ac_compiler_gnu = yes && echo yes`
16518 ac_test_CXXFLAGS=${CXXFLAGS+set}
16519 ac_save_CXXFLAGS=$CXXFLAGS
16520 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16521 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16522 if test "${ac_cv_prog_cxx_g+set}" = set; then
16523 echo $ECHO_N "(cached) $ECHO_C" >&6
16525 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16526 ac_cxx_werror_flag=yes
16527 ac_cv_prog_cxx_g=no
16529 cat >conftest.$ac_ext <<_ACEOF
16532 cat confdefs.h >>conftest.$ac_ext
16533 cat >>conftest.$ac_ext <<_ACEOF
16534 /* end confdefs.h. */
16544 rm -f conftest.$ac_objext
16545 if { (ac_try="$ac_compile"
16546 case "(($ac_try" in
16547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16548 *) ac_try_echo=$ac_try;;
16550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16551 (eval "$ac_compile") 2>conftest.er1
16553 grep -v '^ *+' conftest.er1 >conftest.err
16555 cat conftest.err >&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } && {
16558 test -z "$ac_cxx_werror_flag" ||
16559 test ! -s conftest.err
16560 } && test -s conftest.$ac_objext; then
16561 ac_cv_prog_cxx_g=yes
16563 echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.$ac_ext >&5
16567 cat >conftest.$ac_ext <<_ACEOF
16570 cat confdefs.h >>conftest.$ac_ext
16571 cat >>conftest.$ac_ext <<_ACEOF
16572 /* end confdefs.h. */
16582 rm -f conftest.$ac_objext
16583 if { (ac_try="$ac_compile"
16584 case "(($ac_try" in
16585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16586 *) ac_try_echo=$ac_try;;
16588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16589 (eval "$ac_compile") 2>conftest.er1
16591 grep -v '^ *+' conftest.er1 >conftest.err
16593 cat conftest.err >&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } && {
16596 test -z "$ac_cxx_werror_flag" ||
16597 test ! -s conftest.err
16598 } && test -s conftest.$ac_objext; then
16601 echo "$as_me: failed program was:" >&5
16602 sed 's/^/| /' conftest.$ac_ext >&5
16604 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16606 cat >conftest.$ac_ext <<_ACEOF
16609 cat confdefs.h >>conftest.$ac_ext
16610 cat >>conftest.$ac_ext <<_ACEOF
16611 /* end confdefs.h. */
16621 rm -f conftest.$ac_objext
16622 if { (ac_try="$ac_compile"
16623 case "(($ac_try" in
16624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16625 *) ac_try_echo=$ac_try;;
16627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16628 (eval "$ac_compile") 2>conftest.er1
16630 grep -v '^ *+' conftest.er1 >conftest.err
16632 cat conftest.err >&5
16633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); } && {
16635 test -z "$ac_cxx_werror_flag" ||
16636 test ! -s conftest.err
16637 } && test -s conftest.$ac_objext; then
16638 ac_cv_prog_cxx_g=yes
16640 echo "$as_me: failed program was:" >&5
16641 sed 's/^/| /' conftest.$ac_ext >&5
16646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16653 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16655 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16656 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16657 if test "$ac_test_CXXFLAGS" = set; then
16658 CXXFLAGS=$ac_save_CXXFLAGS
16659 elif test $ac_cv_prog_cxx_g = yes; then
16660 if test "$GXX" = yes; then
16666 if test "$GXX" = yes; then
16673 ac_cpp='$CPP $CPPFLAGS'
16674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16682 ac_cpp='$CXXCPP $CPPFLAGS'
16683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16687 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16688 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16689 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16690 echo $ECHO_N "(cached) $ECHO_C" >&6
16692 cat >conftest.$ac_ext <<_ACEOF
16695 cat confdefs.h >>conftest.$ac_ext
16696 cat >>conftest.$ac_ext <<_ACEOF
16697 /* end confdefs.h. */
16703 #ifndef __INTEL_COMPILER
16711 rm -f conftest.$ac_objext
16712 if { (ac_try="$ac_compile"
16713 case "(($ac_try" in
16714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16715 *) ac_try_echo=$ac_try;;
16717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16718 (eval "$ac_compile") 2>conftest.er1
16720 grep -v '^ *+' conftest.er1 >conftest.err
16722 cat conftest.err >&5
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); } && {
16725 test -z "$ac_cxx_werror_flag" ||
16726 test ! -s conftest.err
16727 } && test -s conftest.$ac_objext; then
16728 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16730 echo "$as_me: failed program was:" >&5
16731 sed 's/^/| /' conftest.$ac_ext >&5
16733 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16741 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16742 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16743 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16749 ac_cpp='$CPP $CPPFLAGS'
16750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16757 if test "x$GCXX" != "xyes"; then
16758 if test "xCXX" = "xC"; then
16759 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16760 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16761 if test "${bakefile_cv_c_exto+set}" = set; then
16762 echo $ECHO_N "(cached) $ECHO_C" >&6
16764 cat >conftest.$ac_ext <<_ACEOF
16767 cat confdefs.h >>conftest.$ac_ext
16768 cat >>conftest.$ac_ext <<_ACEOF
16769 /* end confdefs.h. */
16779 rm -f conftest.$ac_objext conftest.$ac_ext.o
16780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16781 (eval $ac_compile) 2>&5
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); }; then
16785 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16787 conftest.$ac_ext.o)
16788 bakefile_cv_c_exto="-ext o"
16795 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16796 See \`config.log' for more details." >&5
16797 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16798 See \`config.log' for more details." >&2;}
16799 { (exit 1); exit 1; }; }
16803 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16806 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16807 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16808 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16809 if test "c" = "c"; then
16810 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16812 if test "c" = "cxx"; then
16813 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16817 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16818 unset ac_cv_prog_cc_g
16819 ac_test_CFLAGS=${CFLAGS+set}
16820 ac_save_CFLAGS=$CFLAGS
16821 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16822 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16823 if test "${ac_cv_prog_cc_g+set}" = set; then
16824 echo $ECHO_N "(cached) $ECHO_C" >&6
16826 ac_save_c_werror_flag=$ac_c_werror_flag
16827 ac_c_werror_flag=yes
16830 cat >conftest.$ac_ext <<_ACEOF
16833 cat confdefs.h >>conftest.$ac_ext
16834 cat >>conftest.$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16845 rm -f conftest.$ac_objext
16846 if { (ac_try="$ac_compile"
16847 case "(($ac_try" in
16848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16849 *) ac_try_echo=$ac_try;;
16851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16852 (eval "$ac_compile") 2>conftest.er1
16854 grep -v '^ *+' conftest.er1 >conftest.err
16856 cat conftest.err >&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); } && {
16859 test -z "$ac_c_werror_flag" ||
16860 test ! -s conftest.err
16861 } && test -s conftest.$ac_objext; then
16862 ac_cv_prog_cc_g=yes
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.$ac_ext >&5
16868 cat >conftest.$ac_ext <<_ACEOF
16871 cat confdefs.h >>conftest.$ac_ext
16872 cat >>conftest.$ac_ext <<_ACEOF
16873 /* end confdefs.h. */
16883 rm -f conftest.$ac_objext
16884 if { (ac_try="$ac_compile"
16885 case "(($ac_try" in
16886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16887 *) ac_try_echo=$ac_try;;
16889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16890 (eval "$ac_compile") 2>conftest.er1
16892 grep -v '^ *+' conftest.er1 >conftest.err
16894 cat conftest.err >&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } && {
16897 test -z "$ac_c_werror_flag" ||
16898 test ! -s conftest.err
16899 } && test -s conftest.$ac_objext; then
16902 echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.$ac_ext >&5
16905 ac_c_werror_flag=$ac_save_c_werror_flag
16907 cat >conftest.$ac_ext <<_ACEOF
16910 cat confdefs.h >>conftest.$ac_ext
16911 cat >>conftest.$ac_ext <<_ACEOF
16912 /* end confdefs.h. */
16922 rm -f conftest.$ac_objext
16923 if { (ac_try="$ac_compile"
16924 case "(($ac_try" in
16925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16926 *) ac_try_echo=$ac_try;;
16928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16929 (eval "$ac_compile") 2>conftest.er1
16931 grep -v '^ *+' conftest.er1 >conftest.err
16933 cat conftest.err >&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); } && {
16936 test -z "$ac_c_werror_flag" ||
16937 test ! -s conftest.err
16938 } && test -s conftest.$ac_objext; then
16939 ac_cv_prog_cc_g=yes
16941 echo "$as_me: failed program was:" >&5
16942 sed 's/^/| /' conftest.$ac_ext >&5
16947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16954 ac_c_werror_flag=$ac_save_c_werror_flag
16956 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16957 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16958 if test "$ac_test_CFLAGS" = set; then
16959 CFLAGS=$ac_save_CFLAGS
16960 elif test $ac_cv_prog_cc_g = yes; then
16961 if test "$GCC" = yes; then
16967 if test "$GCC" = yes; then
16981 ac_cpp='$CXXCPP $CPPFLAGS'
16982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16986 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16987 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16988 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16989 echo $ECHO_N "(cached) $ECHO_C" >&6
16991 cat >conftest.$ac_ext <<_ACEOF
16994 cat confdefs.h >>conftest.$ac_ext
16995 cat >>conftest.$ac_ext <<_ACEOF
16996 /* end confdefs.h. */
17010 rm -f conftest.$ac_objext
17011 if { (ac_try="$ac_compile"
17012 case "(($ac_try" in
17013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17014 *) ac_try_echo=$ac_try;;
17016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17017 (eval "$ac_compile") 2>conftest.er1
17019 grep -v '^ *+' conftest.er1 >conftest.err
17021 cat conftest.err >&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); } && {
17024 test -z "$ac_cxx_werror_flag" ||
17025 test ! -s conftest.err
17026 } && test -s conftest.$ac_objext; then
17027 bakefile_cv_cxx_compiler___xlC__=yes
17029 echo "$as_me: failed program was:" >&5
17030 sed 's/^/| /' conftest.$ac_ext >&5
17032 bakefile_cv_cxx_compiler___xlC__=no
17036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17040 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17041 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17042 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17048 ac_cpp='$CPP $CPPFLAGS'
17049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17061 ac_cpp='$CXXCPP $CPPFLAGS'
17062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17066 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17067 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17068 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17071 cat >conftest.$ac_ext <<_ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17090 rm -f conftest.$ac_objext
17091 if { (ac_try="$ac_compile"
17092 case "(($ac_try" in
17093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17094 *) ac_try_echo=$ac_try;;
17096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17097 (eval "$ac_compile") 2>conftest.er1
17099 grep -v '^ *+' conftest.er1 >conftest.err
17101 cat conftest.err >&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } && {
17104 test -z "$ac_cxx_werror_flag" ||
17105 test ! -s conftest.err
17106 } && test -s conftest.$ac_objext; then
17107 bakefile_cv_cxx_compiler___MWERKS__=yes
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.$ac_ext >&5
17112 bakefile_cv_cxx_compiler___MWERKS__=no
17116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17120 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17121 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17122 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17128 ac_cpp='$CPP $CPPFLAGS'
17129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17138 ac_cpp='$CXXCPP $CPPFLAGS'
17139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17143 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17144 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17145 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17146 echo $ECHO_N "(cached) $ECHO_C" >&6
17148 cat >conftest.$ac_ext <<_ACEOF
17151 cat confdefs.h >>conftest.$ac_ext
17152 cat >>conftest.$ac_ext <<_ACEOF
17153 /* end confdefs.h. */
17167 rm -f conftest.$ac_objext
17168 if { (ac_try="$ac_compile"
17169 case "(($ac_try" in
17170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17171 *) ac_try_echo=$ac_try;;
17173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17174 (eval "$ac_compile") 2>conftest.er1
17176 grep -v '^ *+' conftest.er1 >conftest.err
17178 cat conftest.err >&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); } && {
17181 test -z "$ac_cxx_werror_flag" ||
17182 test ! -s conftest.err
17183 } && test -s conftest.$ac_objext; then
17184 bakefile_cv_cxx_compiler___xlC__=yes
17186 echo "$as_me: failed program was:" >&5
17187 sed 's/^/| /' conftest.$ac_ext >&5
17189 bakefile_cv_cxx_compiler___xlC__=no
17193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17197 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17198 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17199 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17205 ac_cpp='$CPP $CPPFLAGS'
17206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17218 ac_cpp='$CXXCPP $CPPFLAGS'
17219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17223 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17224 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17225 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17228 cat >conftest.$ac_ext <<_ACEOF
17231 cat confdefs.h >>conftest.$ac_ext
17232 cat >>conftest.$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17239 #ifndef _SGI_COMPILER_VERSION
17247 rm -f conftest.$ac_objext
17248 if { (ac_try="$ac_compile"
17249 case "(($ac_try" in
17250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17251 *) ac_try_echo=$ac_try;;
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_compile") 2>conftest.er1
17256 grep -v '^ *+' conftest.er1 >conftest.err
17258 cat conftest.err >&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } && {
17261 test -z "$ac_cxx_werror_flag" ||
17262 test ! -s conftest.err
17263 } && test -s conftest.$ac_objext; then
17264 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17269 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17277 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17278 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17279 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17285 ac_cpp='$CPP $CPPFLAGS'
17286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17298 ac_cpp='$CXXCPP $CPPFLAGS'
17299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17303 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17304 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17305 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17306 echo $ECHO_N "(cached) $ECHO_C" >&6
17308 cat >conftest.$ac_ext <<_ACEOF
17311 cat confdefs.h >>conftest.$ac_ext
17312 cat >>conftest.$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17319 #ifndef __SUNPRO_CC
17327 rm -f conftest.$ac_objext
17328 if { (ac_try="$ac_compile"
17329 case "(($ac_try" in
17330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17331 *) ac_try_echo=$ac_try;;
17333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17334 (eval "$ac_compile") 2>conftest.er1
17336 grep -v '^ *+' conftest.er1 >conftest.err
17338 cat conftest.err >&5
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); } && {
17341 test -z "$ac_cxx_werror_flag" ||
17342 test ! -s conftest.err
17343 } && test -s conftest.$ac_objext; then
17344 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17346 echo "$as_me: failed program was:" >&5
17347 sed 's/^/| /' conftest.$ac_ext >&5
17349 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17357 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17358 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17359 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17365 ac_cpp='$CPP $CPPFLAGS'
17366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17378 ac_cpp='$CXXCPP $CPPFLAGS'
17379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17383 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17384 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17385 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17386 echo $ECHO_N "(cached) $ECHO_C" >&6
17388 cat >conftest.$ac_ext <<_ACEOF
17391 cat confdefs.h >>conftest.$ac_ext
17392 cat >>conftest.$ac_ext <<_ACEOF
17393 /* end confdefs.h. */
17407 rm -f conftest.$ac_objext
17408 if { (ac_try="$ac_compile"
17409 case "(($ac_try" in
17410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17411 *) ac_try_echo=$ac_try;;
17413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17414 (eval "$ac_compile") 2>conftest.er1
17416 grep -v '^ *+' conftest.er1 >conftest.err
17418 cat conftest.err >&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); } && {
17421 test -z "$ac_cxx_werror_flag" ||
17422 test ! -s conftest.err
17423 } && test -s conftest.$ac_objext; then
17424 bakefile_cv_cxx_compiler___HP_aCC=yes
17426 echo "$as_me: failed program was:" >&5
17427 sed 's/^/| /' conftest.$ac_ext >&5
17429 bakefile_cv_cxx_compiler___HP_aCC=no
17433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17437 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17438 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17439 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17445 ac_cpp='$CPP $CPPFLAGS'
17446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17458 ac_cpp='$CXXCPP $CPPFLAGS'
17459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17463 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17464 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17465 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17466 echo $ECHO_N "(cached) $ECHO_C" >&6
17468 cat >conftest.$ac_ext <<_ACEOF
17471 cat confdefs.h >>conftest.$ac_ext
17472 cat >>conftest.$ac_ext <<_ACEOF
17473 /* end confdefs.h. */
17487 rm -f conftest.$ac_objext
17488 if { (ac_try="$ac_compile"
17489 case "(($ac_try" in
17490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17491 *) ac_try_echo=$ac_try;;
17493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17494 (eval "$ac_compile") 2>conftest.er1
17496 grep -v '^ *+' conftest.er1 >conftest.err
17498 cat conftest.err >&5
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); } && {
17501 test -z "$ac_cxx_werror_flag" ||
17502 test ! -s conftest.err
17503 } && test -s conftest.$ac_objext; then
17504 bakefile_cv_cxx_compiler___DECCXX=yes
17506 echo "$as_me: failed program was:" >&5
17507 sed 's/^/| /' conftest.$ac_ext >&5
17509 bakefile_cv_cxx_compiler___DECCXX=no
17513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17517 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17518 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17519 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17525 ac_cpp='$CPP $CPPFLAGS'
17526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17538 ac_cpp='$CXXCPP $CPPFLAGS'
17539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17543 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17544 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17545 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17546 echo $ECHO_N "(cached) $ECHO_C" >&6
17548 cat >conftest.$ac_ext <<_ACEOF
17551 cat confdefs.h >>conftest.$ac_ext
17552 cat >>conftest.$ac_ext <<_ACEOF
17553 /* end confdefs.h. */
17559 #ifndef __SUNPRO_CC
17567 rm -f conftest.$ac_objext
17568 if { (ac_try="$ac_compile"
17569 case "(($ac_try" in
17570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17571 *) ac_try_echo=$ac_try;;
17573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17574 (eval "$ac_compile") 2>conftest.er1
17576 grep -v '^ *+' conftest.er1 >conftest.err
17578 cat conftest.err >&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); } && {
17581 test -z "$ac_cxx_werror_flag" ||
17582 test ! -s conftest.err
17583 } && test -s conftest.$ac_objext; then
17584 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17586 echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.$ac_ext >&5
17589 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17597 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17598 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17599 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17605 ac_cpp='$CPP $CPPFLAGS'
17606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17618 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17619 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17620 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17621 { (exit 1); exit 1; }; }
17624 if test "x$SUNCXX" != xyes; then
17625 if test -n "$ac_tool_prefix"; then
17626 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17627 set dummy ${ac_tool_prefix}ar; ac_word=$2
17628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17630 if test "${ac_cv_prog_AR+set}" = set; then
17631 echo $ECHO_N "(cached) $ECHO_C" >&6
17633 if test -n "$AR"; then
17634 ac_cv_prog_AR="$AR" # Let the user override the test.
17636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17637 for as_dir in $PATH
17640 test -z "$as_dir" && as_dir=.
17641 for ac_exec_ext in '' $ac_executable_extensions; do
17642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17643 ac_cv_prog_AR="${ac_tool_prefix}ar"
17644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17654 if test -n "$AR"; then
17655 { echo "$as_me:$LINENO: result: $AR" >&5
17656 echo "${ECHO_T}$AR" >&6; }
17658 { echo "$as_me:$LINENO: result: no" >&5
17659 echo "${ECHO_T}no" >&6; }
17664 if test -z "$ac_cv_prog_AR"; then
17666 # Extract the first word of "ar", so it can be a program name with args.
17667 set dummy ar; ac_word=$2
17668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17670 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17671 echo $ECHO_N "(cached) $ECHO_C" >&6
17673 if test -n "$ac_ct_AR"; then
17674 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17677 for as_dir in $PATH
17680 test -z "$as_dir" && as_dir=.
17681 for ac_exec_ext in '' $ac_executable_extensions; do
17682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17683 ac_cv_prog_ac_ct_AR="ar"
17684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17693 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17694 if test -n "$ac_ct_AR"; then
17695 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17696 echo "${ECHO_T}$ac_ct_AR" >&6; }
17698 { echo "$as_me:$LINENO: result: no" >&5
17699 echo "${ECHO_T}no" >&6; }
17702 if test "x$ac_ct_AR" = x; then
17705 case $cross_compiling:$ac_tool_warned in
17707 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17708 whose name does not start with the host triplet. If you think this
17709 configuration is useful to you, please write to autoconf@gnu.org." >&5
17710 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17711 whose name does not start with the host triplet. If you think this
17712 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17713 ac_tool_warned=yes ;;
17718 AR="$ac_cv_prog_AR"
17721 if test "x$AR" = "x" ; then
17722 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17723 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17724 { (exit 1); exit 1; }; }
17728 retest_macosx_linking=no
17730 #if test "$wxUSE_MAC" = 1; then
17731 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17732 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17733 # Implicitly turn on the new --with-macosx-sdk using the default
17734 # SDK which provides the behavior this option has always had.
17735 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17736 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17737 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17738 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17739 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17740 wxUSE_MACOSX_SDK=yes
17743 # Complain to user if he specified an argument to --enable-universal_binary
17744 # and also 1) specified --with-macosx-sdk using the default (yes) or
17745 # 2) specified --with-macosx-sdk using a path or 3) specified
17746 # --without-macosx-sdk (no).
17747 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17748 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17749 See \`config.log' for more details." >&5
17750 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17751 See \`config.log' for more details." >&2;}
17752 { (exit 1); exit 1; }; }
17754 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17755 # special-case the empty string because the below test simply
17756 # converts "no" to the empty string anyway.
17757 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17758 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17759 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17762 OSX_UNIV_OPTS="-arch ppc -arch i386"
17763 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17764 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17765 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17766 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17767 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17768 retest_macosx_linking=yes
17770 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17771 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17776 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17778 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17779 # TODO: Search for most recent SDK and use it.
17780 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17784 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17785 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17786 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17787 if ! test -d "$wxUSE_MACOSX_SDK"; then
17788 { { echo "$as_me:$LINENO: error: not found
17789 See \`config.log' for more details." >&5
17790 echo "$as_me: error: not found
17791 See \`config.log' for more details." >&2;}
17792 { (exit 1); exit 1; }; }
17794 { echo "$as_me:$LINENO: result: exists" >&5
17795 echo "${ECHO_T}exists" >&6; }
17797 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17798 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17799 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17800 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17801 retest_macosx_linking=yes
17804 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17805 wxUSE_MACOSX_VERSION_MIN=
17806 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17807 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17808 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17809 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17811 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/'`
17813 # If that failed, try again with the new key
17814 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17816 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/'`
17820 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17821 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17822 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17823 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17825 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17826 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17827 wxUSE_MACOSX_VERSION_MIN=
17830 wxUSE_MACOSX_VERSION_MIN=
17832 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17833 if test "$wxUSE_MAC" = 1; then
17834 # otherwise configure stops on leopard for universal_binary
17835 wxUSE_MACOSX_VERSION_MIN=10.4
17839 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17840 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17841 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17842 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17843 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17844 retest_macosx_linking=yes
17847 if test "x$retest_macosx_linking" = "xyes"; then
17849 ac_cpp='$CPP $CPPFLAGS'
17850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17854 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17855 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17856 cat >conftest.$ac_ext <<_ACEOF
17859 cat confdefs.h >>conftest.$ac_ext
17860 cat >>conftest.$ac_ext <<_ACEOF
17861 /* end confdefs.h. */
17871 rm -f conftest.$ac_objext conftest$ac_exeext
17872 if { (ac_try="$ac_link"
17873 case "(($ac_try" in
17874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17875 *) ac_try_echo=$ac_try;;
17877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17878 (eval "$ac_link") 2>conftest.er1
17880 grep -v '^ *+' conftest.er1 >conftest.err
17882 cat conftest.err >&5
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); } && {
17885 test -z "$ac_c_werror_flag" ||
17886 test ! -s conftest.err
17887 } && test -s conftest$ac_exeext &&
17888 $as_test_x conftest$ac_exeext; then
17889 { echo "$as_me:$LINENO: result: yes" >&5
17890 echo "${ECHO_T}yes" >&6; }
17892 echo "$as_me: failed program was:" >&5
17893 sed 's/^/| /' conftest.$ac_ext >&5
17895 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17896 See \`config.log' for more details." >&5
17897 echo "$as_me: error: no. Try a different SDK
17898 See \`config.log' for more details." >&2;}
17899 { (exit 1); exit 1; }; }; exit 1
17902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17903 conftest$ac_exeext conftest.$ac_ext
17905 ac_cpp='$CPP $CPPFLAGS'
17906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17912 ac_cpp='$CXXCPP $CPPFLAGS'
17913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17917 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17918 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17919 cat >conftest.$ac_ext <<_ACEOF
17922 cat confdefs.h >>conftest.$ac_ext
17923 cat >>conftest.$ac_ext <<_ACEOF
17924 /* end confdefs.h. */
17934 rm -f conftest.$ac_objext conftest$ac_exeext
17935 if { (ac_try="$ac_link"
17936 case "(($ac_try" in
17937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17938 *) ac_try_echo=$ac_try;;
17940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17941 (eval "$ac_link") 2>conftest.er1
17943 grep -v '^ *+' conftest.er1 >conftest.err
17945 cat conftest.err >&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } && {
17948 test -z "$ac_cxx_werror_flag" ||
17949 test ! -s conftest.err
17950 } && test -s conftest$ac_exeext &&
17951 $as_test_x conftest$ac_exeext; then
17952 { echo "$as_me:$LINENO: result: yes" >&5
17953 echo "${ECHO_T}yes" >&6; }
17955 echo "$as_me: failed program was:" >&5
17956 sed 's/^/| /' conftest.$ac_ext >&5
17958 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17959 See \`config.log' for more details." >&5
17960 echo "$as_me: error: no. Try a different SDK
17961 See \`config.log' for more details." >&2;}
17962 { (exit 1); exit 1; }; }; exit 1
17965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17966 conftest$ac_exeext conftest.$ac_ext
17968 ac_cpp='$CPP $CPPFLAGS'
17969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17979 INSTALL_PROGRAM="cp -fp"
17980 INSTALL_DATA="cp -fp"
17987 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17988 CXXFLAGS="-qunique $CXXFLAGS"
17992 powerpc-*-darwin* )
17993 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17994 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17995 cat >conftest.$ac_ext <<_ACEOF
17998 cat confdefs.h >>conftest.$ac_ext
17999 cat >>conftest.$ac_ext <<_ACEOF
18000 /* end confdefs.h. */
18005 #ifndef __POWERPC__
18006 choke me for lack of PowerPC
18013 rm -f conftest.$ac_objext
18014 if { (ac_try="$ac_compile"
18015 case "(($ac_try" in
18016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18017 *) ac_try_echo=$ac_try;;
18019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18020 (eval "$ac_compile") 2>conftest.er1
18022 grep -v '^ *+' conftest.er1 >conftest.err
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } && {
18027 test -z "$ac_c_werror_flag" ||
18028 test ! -s conftest.err
18029 } && test -s conftest.$ac_objext; then
18030 { echo "$as_me:$LINENO: result: yes" >&5
18031 echo "${ECHO_T}yes" >&6; }
18033 echo "$as_me: failed program was:" >&5
18034 sed 's/^/| /' conftest.$ac_ext >&5
18036 { echo "$as_me:$LINENO: result: no" >&5
18037 echo "${ECHO_T}no" >&6; }
18038 cat >>confdefs.h <<\_ACEOF
18039 #define __POWERPC__ 1
18045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18051 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18052 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18053 cat >conftest.$ac_ext <<_ACEOF
18056 cat confdefs.h >>conftest.$ac_ext
18057 cat >>conftest.$ac_ext <<_ACEOF
18058 /* end confdefs.h. */
18059 #include <CoreFoundation/CFBase.h>
18069 rm -f conftest.$ac_objext
18070 if { (ac_try="$ac_compile"
18071 case "(($ac_try" in
18072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18073 *) ac_try_echo=$ac_try;;
18075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18076 (eval "$ac_compile") 2>conftest.er1
18078 grep -v '^ *+' conftest.er1 >conftest.err
18080 cat conftest.err >&5
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); } && {
18083 test -z "$ac_c_werror_flag" ||
18084 test ! -s conftest.err
18085 } && test -s conftest.$ac_objext; then
18086 { echo "$as_me:$LINENO: result: yes" >&5
18087 echo "${ECHO_T}yes" >&6; }
18089 echo "$as_me: failed program was:" >&5
18090 sed 's/^/| /' conftest.$ac_ext >&5
18092 { echo "$as_me:$LINENO: result: no" >&5
18093 echo "${ECHO_T}no" >&6; }
18094 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18095 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18096 cat >conftest.$ac_ext <<_ACEOF
18099 cat confdefs.h >>conftest.$ac_ext
18100 cat >>conftest.$ac_ext <<_ACEOF
18101 /* end confdefs.h. */
18102 #define __CF_USE_FRAMEWORK_INCLUDES__
18103 #include <CoreFoundation/CFBase.h>
18113 rm -f conftest.$ac_objext
18114 if { (ac_try="$ac_compile"
18115 case "(($ac_try" in
18116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18117 *) ac_try_echo=$ac_try;;
18119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18120 (eval "$ac_compile") 2>conftest.er1
18122 grep -v '^ *+' conftest.er1 >conftest.err
18124 cat conftest.err >&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); } && {
18127 test -z "$ac_c_werror_flag" ||
18128 test ! -s conftest.err
18129 } && test -s conftest.$ac_objext; then
18130 { echo "$as_me:$LINENO: result: yes" >&5
18131 echo "${ECHO_T}yes" >&6; }
18132 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18134 echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.$ac_ext >&5
18137 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18138 See \`config.log' for more details." >&5
18139 echo "$as_me: error: no. CoreFoundation not available.
18140 See \`config.log' for more details." >&2;}
18141 { (exit 1); exit 1; }; }
18145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18155 doesnt_want_win32=0
18158 if test "$wxUSE_MSW" = 1 ; then
18161 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18162 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18163 if test "${wx_cv_nocygwin+set}" = set; then
18164 echo $ECHO_N "(cached) $ECHO_C" >&6
18167 cat >conftest.$ac_ext <<_ACEOF
18170 cat confdefs.h >>conftest.$ac_ext
18171 cat >>conftest.$ac_ext <<_ACEOF
18172 /* end confdefs.h. */
18186 rm -f conftest.$ac_objext
18187 if { (ac_try="$ac_compile"
18188 case "(($ac_try" in
18189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18190 *) ac_try_echo=$ac_try;;
18192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18193 (eval "$ac_compile") 2>conftest.er1
18195 grep -v '^ *+' conftest.er1 >conftest.err
18197 cat conftest.err >&5
18198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18199 (exit $ac_status); } && {
18200 test -z "$ac_c_werror_flag" ||
18201 test ! -s conftest.err
18202 } && test -s conftest.$ac_objext; then
18205 echo "$as_me: failed program was:" >&5
18206 sed 's/^/| /' conftest.$ac_ext >&5
18212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18216 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18217 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18219 if test "$wx_cv_nocygwin" = "yes"; then
18222 doesnt_want_win32=1
18225 if test "$wants_win32" = 1 ; then
18226 BAKEFILE_FORCE_PLATFORM=win32
18234 if test "$wxUSE_WINE" = "yes"; then
18236 LDFLAGS_GUI="-mwindows"
18239 if test "$wants_win32" = 1 ; then
18242 cat >>confdefs.h <<\_ACEOF
18243 #define __WIN32__ 1
18246 cat >>confdefs.h <<\_ACEOF
18247 #define __WIN95__ 1
18250 cat >>confdefs.h <<\_ACEOF
18251 #define __WINDOWS__ 1
18254 cat >>confdefs.h <<\_ACEOF
18255 #define __GNUWIN32__ 1
18258 cat >>confdefs.h <<\_ACEOF
18263 if test "$doesnt_want_win32" = 1 ; then
18268 if test "$USE_UNIX" = 1 ; then
18270 cat >>confdefs.h <<\_ACEOF
18277 *-pc-os2_emx | *-pc-os2-emx )
18278 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18279 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18280 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18281 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18282 echo $ECHO_N "(cached) $ECHO_C" >&6
18284 ac_check_lib_save_LIBS=$LIBS
18285 LIBS="-lcExt $LIBS"
18286 cat >conftest.$ac_ext <<_ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18293 /* Override any GCC internal prototype to avoid an error.
18294 Use char because int might match the return type of a GCC
18295 builtin and then its argument prototype would still apply. */
18308 rm -f conftest.$ac_objext conftest$ac_exeext
18309 if { (ac_try="$ac_link"
18310 case "(($ac_try" in
18311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18312 *) ac_try_echo=$ac_try;;
18314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18315 (eval "$ac_link") 2>conftest.er1
18317 grep -v '^ *+' conftest.er1 >conftest.err
18319 cat conftest.err >&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } && {
18322 test -z "$ac_c_werror_flag" ||
18323 test ! -s conftest.err
18324 } && test -s conftest$ac_exeext &&
18325 $as_test_x conftest$ac_exeext; then
18326 ac_cv_lib_cExt_drand48=yes
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.$ac_ext >&5
18331 ac_cv_lib_cExt_drand48=no
18334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18335 conftest$ac_exeext conftest.$ac_ext
18336 LIBS=$ac_check_lib_save_LIBS
18338 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18339 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18340 if test $ac_cv_lib_cExt_drand48 = yes; then
18341 LIBS="$LIBS -lcExt"
18345 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18347 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18348 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18349 if test "${wx_cv_gccversion+set}" = set; then
18350 echo $ECHO_N "(cached) $ECHO_C" >&6
18353 if test "$cross_compiling" = yes; then
18354 wx_cv_gccversion="EMX2"
18357 cat >conftest.$ac_ext <<_ACEOF
18360 cat confdefs.h >>conftest.$ac_ext
18361 cat >>conftest.$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18368 FILE *f=fopen("conftestval", "w");
18373 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18375 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18385 rm -f conftest$ac_exeext
18386 if { (ac_try="$ac_link"
18387 case "(($ac_try" in
18388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18389 *) ac_try_echo=$ac_try;;
18391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18392 (eval "$ac_link") 2>&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18396 { (case "(($ac_try" in
18397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18398 *) ac_try_echo=$ac_try;;
18400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18401 (eval "$ac_try") 2>&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); }; }; then
18405 wx_cv_gccversion=`cat conftestval`
18407 echo "$as_me: program exited with status $ac_status" >&5
18408 echo "$as_me: failed program was:" >&5
18409 sed 's/^/| /' conftest.$ac_ext >&5
18411 ( exit $ac_status )
18412 wx_cv_gccversion="EMX2"
18414 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18420 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18421 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18422 if test "$wx_cv_gccversion" = "EMX2"; then
18423 LIBS="$LIBS -lstdcpp"
18424 LDFLAGS="$LDFLAGS -Zsysv-signals"
18426 if test "$wx_cv_gccversion" = "EMX3"; then
18427 LIBS="$LIBS -lstdcxx -lgcc"
18428 LDFLAGS="$LDFLAGS -Zsysv-signals"
18430 LIBS="$LIBS -lstdc++"
18433 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18434 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18435 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18442 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18443 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18444 if test "${ac_cv_string_strcasecmp+set}" = set; then
18445 echo $ECHO_N "(cached) $ECHO_C" >&6
18448 cat >conftest.$ac_ext <<_ACEOF
18451 cat confdefs.h >>conftest.$ac_ext
18452 cat >>conftest.$ac_ext <<_ACEOF
18453 /* end confdefs.h. */
18455 #include <string.h>
18461 strcasecmp("foo", "bar");
18467 rm -f conftest.$ac_objext conftest$ac_exeext
18468 if { (ac_try="$ac_link"
18469 case "(($ac_try" in
18470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18471 *) ac_try_echo=$ac_try;;
18473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18474 (eval "$ac_link") 2>conftest.er1
18476 grep -v '^ *+' conftest.er1 >conftest.err
18478 cat conftest.err >&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); } && {
18481 test -z "$ac_c_werror_flag" ||
18482 test ! -s conftest.err
18483 } && test -s conftest$ac_exeext &&
18484 $as_test_x conftest$ac_exeext; then
18485 ac_cv_string_strcasecmp=yes
18487 echo "$as_me: failed program was:" >&5
18488 sed 's/^/| /' conftest.$ac_ext >&5
18490 ac_cv_string_strcasecmp=no
18494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18495 conftest$ac_exeext conftest.$ac_ext
18498 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18499 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18501 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18502 cat >>confdefs.h <<\_ACEOF
18503 #define HAVE_STRCASECMP_IN_STRING_H 1
18507 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18508 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18509 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18510 echo $ECHO_N "(cached) $ECHO_C" >&6
18513 cat >conftest.$ac_ext <<_ACEOF
18516 cat confdefs.h >>conftest.$ac_ext
18517 cat >>conftest.$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18520 #include <strings.h>
18526 strcasecmp("foo", "bar");
18532 rm -f conftest.$ac_objext conftest$ac_exeext
18533 if { (ac_try="$ac_link"
18534 case "(($ac_try" in
18535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18536 *) ac_try_echo=$ac_try;;
18538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18539 (eval "$ac_link") 2>conftest.er1
18541 grep -v '^ *+' conftest.er1 >conftest.err
18543 cat conftest.err >&5
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); } && {
18546 test -z "$ac_c_werror_flag" ||
18547 test ! -s conftest.err
18548 } && test -s conftest$ac_exeext &&
18549 $as_test_x conftest$ac_exeext; then
18550 ac_cv_strings_strcasecmp=yes
18552 echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.$ac_ext >&5
18555 ac_cv_strings_strcasecmp=no
18559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18560 conftest$ac_exeext conftest.$ac_ext
18563 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18564 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18566 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18567 cat >>confdefs.h <<\_ACEOF
18568 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18572 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18573 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18574 { (exit 1); exit 1; }; }
18582 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18583 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18584 if test "${ac_cv_header_stdc+set}" = set; then
18585 echo $ECHO_N "(cached) $ECHO_C" >&6
18587 cat >conftest.$ac_ext <<_ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 #include <stdlib.h>
18594 #include <stdarg.h>
18595 #include <string.h>
18606 rm -f conftest.$ac_objext
18607 if { (ac_try="$ac_compile"
18608 case "(($ac_try" in
18609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18610 *) ac_try_echo=$ac_try;;
18612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18613 (eval "$ac_compile") 2>conftest.er1
18615 grep -v '^ *+' conftest.er1 >conftest.err
18617 cat conftest.err >&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); } && {
18620 test -z "$ac_c_werror_flag" ||
18621 test ! -s conftest.err
18622 } && test -s conftest.$ac_objext; then
18623 ac_cv_header_stdc=yes
18625 echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.$ac_ext >&5
18628 ac_cv_header_stdc=no
18631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18633 if test $ac_cv_header_stdc = yes; then
18634 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18635 cat >conftest.$ac_ext <<_ACEOF
18638 cat confdefs.h >>conftest.$ac_ext
18639 cat >>conftest.$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 #include <string.h>
18644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18645 $EGREP "memchr" >/dev/null 2>&1; then
18648 ac_cv_header_stdc=no
18654 if test $ac_cv_header_stdc = yes; then
18655 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18656 cat >conftest.$ac_ext <<_ACEOF
18659 cat confdefs.h >>conftest.$ac_ext
18660 cat >>conftest.$ac_ext <<_ACEOF
18661 /* end confdefs.h. */
18662 #include <stdlib.h>
18665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18666 $EGREP "free" >/dev/null 2>&1; then
18669 ac_cv_header_stdc=no
18675 if test $ac_cv_header_stdc = yes; then
18676 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18677 if test "$cross_compiling" = yes; then
18680 cat >conftest.$ac_ext <<_ACEOF
18683 cat confdefs.h >>conftest.$ac_ext
18684 cat >>conftest.$ac_ext <<_ACEOF
18685 /* end confdefs.h. */
18687 #include <stdlib.h>
18688 #if ((' ' & 0x0FF) == 0x020)
18689 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18690 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18692 # define ISLOWER(c) \
18693 (('a' <= (c) && (c) <= 'i') \
18694 || ('j' <= (c) && (c) <= 'r') \
18695 || ('s' <= (c) && (c) <= 'z'))
18696 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18699 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18704 for (i = 0; i < 256; i++)
18705 if (XOR (islower (i), ISLOWER (i))
18706 || toupper (i) != TOUPPER (i))
18711 rm -f conftest$ac_exeext
18712 if { (ac_try="$ac_link"
18713 case "(($ac_try" in
18714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18715 *) ac_try_echo=$ac_try;;
18717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18718 (eval "$ac_link") 2>&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18722 { (case "(($ac_try" in
18723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18724 *) ac_try_echo=$ac_try;;
18726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18727 (eval "$ac_try") 2>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; }; then
18733 echo "$as_me: program exited with status $ac_status" >&5
18734 echo "$as_me: failed program was:" >&5
18735 sed 's/^/| /' conftest.$ac_ext >&5
18737 ( exit $ac_status )
18738 ac_cv_header_stdc=no
18740 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18746 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18747 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18748 if test $ac_cv_header_stdc = yes; then
18750 cat >>confdefs.h <<\_ACEOF
18751 #define STDC_HEADERS 1
18756 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18766 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18767 inttypes.h stdint.h unistd.h
18769 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18770 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18772 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18773 echo $ECHO_N "(cached) $ECHO_C" >&6
18775 cat >conftest.$ac_ext <<_ACEOF
18778 cat confdefs.h >>conftest.$ac_ext
18779 cat >>conftest.$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 $ac_includes_default
18783 #include <$ac_header>
18785 rm -f conftest.$ac_objext
18786 if { (ac_try="$ac_compile"
18787 case "(($ac_try" in
18788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18789 *) ac_try_echo=$ac_try;;
18791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18792 (eval "$ac_compile") 2>conftest.er1
18794 grep -v '^ *+' conftest.er1 >conftest.err
18796 cat conftest.err >&5
18797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798 (exit $ac_status); } && {
18799 test -z "$ac_c_werror_flag" ||
18800 test ! -s conftest.err
18801 } && test -s conftest.$ac_objext; then
18802 eval "$as_ac_Header=yes"
18804 echo "$as_me: failed program was:" >&5
18805 sed 's/^/| /' conftest.$ac_ext >&5
18807 eval "$as_ac_Header=no"
18810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18812 ac_res=`eval echo '${'$as_ac_Header'}'`
18813 { echo "$as_me:$LINENO: result: $ac_res" >&5
18814 echo "${ECHO_T}$ac_res" >&6; }
18815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18816 cat >>confdefs.h <<_ACEOF
18817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18827 for ac_header in langinfo.h wchar.h
18829 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18830 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18835 cat >conftest.$ac_ext <<_ACEOF
18838 cat confdefs.h >>conftest.$ac_ext
18839 cat >>conftest.$ac_ext <<_ACEOF
18840 /* end confdefs.h. */
18841 $ac_includes_default
18843 #include <$ac_header>
18845 rm -f conftest.$ac_objext
18846 if { (ac_try="$ac_compile"
18847 case "(($ac_try" in
18848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18849 *) ac_try_echo=$ac_try;;
18851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18852 (eval "$ac_compile") 2>conftest.er1
18854 grep -v '^ *+' conftest.er1 >conftest.err
18856 cat conftest.err >&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } && {
18859 test -z "$ac_c_werror_flag" ||
18860 test ! -s conftest.err
18861 } && test -s conftest.$ac_objext; then
18862 eval "$as_ac_Header=yes"
18864 echo "$as_me: failed program was:" >&5
18865 sed 's/^/| /' conftest.$ac_ext >&5
18867 eval "$as_ac_Header=no"
18870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18872 ac_res=`eval echo '${'$as_ac_Header'}'`
18873 { echo "$as_me:$LINENO: result: $ac_res" >&5
18874 echo "${ECHO_T}$ac_res" >&6; }
18875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18876 cat >>confdefs.h <<_ACEOF
18877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18885 if test "$ac_cv_header_wchar_h" != "yes"; then
18887 for ac_header in wcstr.h
18889 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18890 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18892 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18893 echo $ECHO_N "(cached) $ECHO_C" >&6
18895 cat >conftest.$ac_ext <<_ACEOF
18898 cat confdefs.h >>conftest.$ac_ext
18899 cat >>conftest.$ac_ext <<_ACEOF
18900 /* end confdefs.h. */
18901 $ac_includes_default
18903 #include <$ac_header>
18905 rm -f conftest.$ac_objext
18906 if { (ac_try="$ac_compile"
18907 case "(($ac_try" in
18908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18909 *) ac_try_echo=$ac_try;;
18911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18912 (eval "$ac_compile") 2>conftest.er1
18914 grep -v '^ *+' conftest.er1 >conftest.err
18916 cat conftest.err >&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); } && {
18919 test -z "$ac_c_werror_flag" ||
18920 test ! -s conftest.err
18921 } && test -s conftest.$ac_objext; then
18922 eval "$as_ac_Header=yes"
18924 echo "$as_me: failed program was:" >&5
18925 sed 's/^/| /' conftest.$ac_ext >&5
18927 eval "$as_ac_Header=no"
18930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18932 ac_res=`eval echo '${'$as_ac_Header'}'`
18933 { echo "$as_me:$LINENO: result: $ac_res" >&5
18934 echo "${ECHO_T}$ac_res" >&6; }
18935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18936 cat >>confdefs.h <<_ACEOF
18937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18947 *-pc-os2_emx | *-pc-os2-emx )
18948 if test $ac_cv_header_langinfo_h = "yes" \
18949 -a \( "$wx_cv_gccversion" = "EMX2" \
18950 -o "$wx_cv_gccversion" = "EMX3" \
18951 -o "$wx_cv_gccversion" = "Innotek5" \); then
18952 LIBS="$LIBS -lintl"
18957 if test "$USE_UNIX" = 1 ; then
18959 for ac_header in sys/select.h
18961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18962 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18964 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18965 echo $ECHO_N "(cached) $ECHO_C" >&6
18967 cat >conftest.$ac_ext <<_ACEOF
18970 cat confdefs.h >>conftest.$ac_ext
18971 cat >>conftest.$ac_ext <<_ACEOF
18972 /* end confdefs.h. */
18973 $ac_includes_default
18975 #include <$ac_header>
18977 rm -f conftest.$ac_objext
18978 if { (ac_try="$ac_compile"
18979 case "(($ac_try" in
18980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18981 *) ac_try_echo=$ac_try;;
18983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18984 (eval "$ac_compile") 2>conftest.er1
18986 grep -v '^ *+' conftest.er1 >conftest.err
18988 cat conftest.err >&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } && {
18991 test -z "$ac_c_werror_flag" ||
18992 test ! -s conftest.err
18993 } && test -s conftest.$ac_objext; then
18994 eval "$as_ac_Header=yes"
18996 echo "$as_me: failed program was:" >&5
18997 sed 's/^/| /' conftest.$ac_ext >&5
18999 eval "$as_ac_Header=no"
19002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19004 ac_res=`eval echo '${'$as_ac_Header'}'`
19005 { echo "$as_me:$LINENO: result: $ac_res" >&5
19006 echo "${ECHO_T}$ac_res" >&6; }
19007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19008 cat >>confdefs.h <<_ACEOF
19009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19019 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19020 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19021 if test "${ac_cv_c_const+set}" = set; then
19022 echo $ECHO_N "(cached) $ECHO_C" >&6
19024 cat >conftest.$ac_ext <<_ACEOF
19027 cat confdefs.h >>conftest.$ac_ext
19028 cat >>conftest.$ac_ext <<_ACEOF
19029 /* end confdefs.h. */
19034 /* FIXME: Include the comments suggested by Paul. */
19035 #ifndef __cplusplus
19036 /* Ultrix mips cc rejects this. */
19037 typedef int charset[2];
19039 /* SunOS 4.1.1 cc rejects this. */
19040 char const *const *pcpcc;
19042 /* NEC SVR4.0.2 mips cc rejects this. */
19043 struct point {int x, y;};
19044 static struct point const zero = {0,0};
19045 /* AIX XL C 1.02.0.0 rejects this.
19046 It does not let you subtract one const X* pointer from another in
19047 an arm of an if-expression whose if-part is not a constant
19049 const char *g = "string";
19050 pcpcc = &g + (g ? g-g : 0);
19051 /* HPUX 7.0 cc rejects these. */
19053 ppc = (char**) pcpcc;
19054 pcpcc = (char const *const *) ppc;
19055 { /* SCO 3.2v4 cc rejects this. */
19057 char const *s = 0 ? (char *) 0 : (char const *) 0;
19062 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19063 int x[] = {25, 17};
19064 const int *foo = &x[0];
19067 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19068 typedef const int *iptr;
19072 { /* AIX XL C 1.02.0.0 rejects this saying
19073 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19074 struct s { int j; const int *ap[3]; };
19075 struct s *b; b->j = 5;
19077 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19078 const int foo = 10;
19079 if (!foo) return 0;
19081 return !cs[0] && !zero.x;
19088 rm -f conftest.$ac_objext
19089 if { (ac_try="$ac_compile"
19090 case "(($ac_try" in
19091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19092 *) ac_try_echo=$ac_try;;
19094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19095 (eval "$ac_compile") 2>conftest.er1
19097 grep -v '^ *+' conftest.er1 >conftest.err
19099 cat conftest.err >&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); } && {
19102 test -z "$ac_c_werror_flag" ||
19103 test ! -s conftest.err
19104 } && test -s conftest.$ac_objext; then
19107 echo "$as_me: failed program was:" >&5
19108 sed 's/^/| /' conftest.$ac_ext >&5
19113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19115 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19116 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19117 if test $ac_cv_c_const = no; then
19119 cat >>confdefs.h <<\_ACEOF
19125 { echo "$as_me:$LINENO: checking for inline" >&5
19126 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19127 if test "${ac_cv_c_inline+set}" = set; then
19128 echo $ECHO_N "(cached) $ECHO_C" >&6
19131 for ac_kw in inline __inline__ __inline; do
19132 cat >conftest.$ac_ext <<_ACEOF
19135 cat confdefs.h >>conftest.$ac_ext
19136 cat >>conftest.$ac_ext <<_ACEOF
19137 /* end confdefs.h. */
19138 #ifndef __cplusplus
19140 static $ac_kw foo_t static_foo () {return 0; }
19141 $ac_kw foo_t foo () {return 0; }
19145 rm -f conftest.$ac_objext
19146 if { (ac_try="$ac_compile"
19147 case "(($ac_try" in
19148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19149 *) ac_try_echo=$ac_try;;
19151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19152 (eval "$ac_compile") 2>conftest.er1
19154 grep -v '^ *+' conftest.er1 >conftest.err
19156 cat conftest.err >&5
19157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158 (exit $ac_status); } && {
19159 test -z "$ac_c_werror_flag" ||
19160 test ! -s conftest.err
19161 } && test -s conftest.$ac_objext; then
19162 ac_cv_c_inline=$ac_kw
19164 echo "$as_me: failed program was:" >&5
19165 sed 's/^/| /' conftest.$ac_ext >&5
19170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19171 test "$ac_cv_c_inline" != no && break
19175 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19176 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19179 case $ac_cv_c_inline in
19182 case $ac_cv_c_inline in
19184 *) ac_val=$ac_cv_c_inline;;
19186 cat >>confdefs.h <<_ACEOF
19187 #ifndef __cplusplus
19188 #define inline $ac_val
19195 { echo "$as_me:$LINENO: checking for short" >&5
19196 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19197 if test "${ac_cv_type_short+set}" = set; then
19198 echo $ECHO_N "(cached) $ECHO_C" >&6
19200 cat >conftest.$ac_ext <<_ACEOF
19203 cat confdefs.h >>conftest.$ac_ext
19204 cat >>conftest.$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206 $ac_includes_default
19207 typedef short ac__type_new_;
19211 if ((ac__type_new_ *) 0)
19213 if (sizeof (ac__type_new_))
19219 rm -f conftest.$ac_objext
19220 if { (ac_try="$ac_compile"
19221 case "(($ac_try" in
19222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19223 *) ac_try_echo=$ac_try;;
19225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19226 (eval "$ac_compile") 2>conftest.er1
19228 grep -v '^ *+' conftest.er1 >conftest.err
19230 cat conftest.err >&5
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); } && {
19233 test -z "$ac_c_werror_flag" ||
19234 test ! -s conftest.err
19235 } && test -s conftest.$ac_objext; then
19236 ac_cv_type_short=yes
19238 echo "$as_me: failed program was:" >&5
19239 sed 's/^/| /' conftest.$ac_ext >&5
19241 ac_cv_type_short=no
19244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19246 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19247 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19249 # The cast to long int works around a bug in the HP C Compiler
19250 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19251 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19252 # This bug is HP SR number 8606223364.
19253 { echo "$as_me:$LINENO: checking size of short" >&5
19254 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19255 if test "${ac_cv_sizeof_short+set}" = set; then
19256 echo $ECHO_N "(cached) $ECHO_C" >&6
19258 if test "$cross_compiling" = yes; then
19259 # Depending upon the size, compute the lo and hi bounds.
19260 cat >conftest.$ac_ext <<_ACEOF
19263 cat confdefs.h >>conftest.$ac_ext
19264 cat >>conftest.$ac_ext <<_ACEOF
19265 /* end confdefs.h. */
19266 $ac_includes_default
19267 typedef short ac__type_sizeof_;
19271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19278 rm -f conftest.$ac_objext
19279 if { (ac_try="$ac_compile"
19280 case "(($ac_try" in
19281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19282 *) ac_try_echo=$ac_try;;
19284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19285 (eval "$ac_compile") 2>conftest.er1
19287 grep -v '^ *+' conftest.er1 >conftest.err
19289 cat conftest.err >&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); } && {
19292 test -z "$ac_c_werror_flag" ||
19293 test ! -s conftest.err
19294 } && test -s conftest.$ac_objext; then
19297 cat >conftest.$ac_ext <<_ACEOF
19300 cat confdefs.h >>conftest.$ac_ext
19301 cat >>conftest.$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303 $ac_includes_default
19304 typedef short ac__type_sizeof_;
19308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19315 rm -f conftest.$ac_objext
19316 if { (ac_try="$ac_compile"
19317 case "(($ac_try" in
19318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19319 *) ac_try_echo=$ac_try;;
19321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19322 (eval "$ac_compile") 2>conftest.er1
19324 grep -v '^ *+' conftest.er1 >conftest.err
19326 cat conftest.err >&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); } && {
19329 test -z "$ac_c_werror_flag" ||
19330 test ! -s conftest.err
19331 } && test -s conftest.$ac_objext; then
19332 ac_hi=$ac_mid; break
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19337 ac_lo=`expr $ac_mid + 1`
19338 if test $ac_lo -le $ac_mid; then
19342 ac_mid=`expr 2 '*' $ac_mid + 1`
19345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.$ac_ext >&5
19351 cat >conftest.$ac_ext <<_ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 $ac_includes_default
19358 typedef short ac__type_sizeof_;
19362 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19369 rm -f conftest.$ac_objext
19370 if { (ac_try="$ac_compile"
19371 case "(($ac_try" in
19372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19373 *) ac_try_echo=$ac_try;;
19375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19376 (eval "$ac_compile") 2>conftest.er1
19378 grep -v '^ *+' conftest.er1 >conftest.err
19380 cat conftest.err >&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } && {
19383 test -z "$ac_c_werror_flag" ||
19384 test ! -s conftest.err
19385 } && test -s conftest.$ac_objext; then
19388 cat >conftest.$ac_ext <<_ACEOF
19391 cat confdefs.h >>conftest.$ac_ext
19392 cat >>conftest.$ac_ext <<_ACEOF
19393 /* end confdefs.h. */
19394 $ac_includes_default
19395 typedef short ac__type_sizeof_;
19399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
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_c_werror_flag" ||
19421 test ! -s conftest.err
19422 } && test -s conftest.$ac_objext; then
19423 ac_lo=$ac_mid; break
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.$ac_ext >&5
19428 ac_hi=`expr '(' $ac_mid ')' - 1`
19429 if test $ac_mid -le $ac_hi; then
19433 ac_mid=`expr 2 '*' $ac_mid`
19436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19439 echo "$as_me: failed program was:" >&5
19440 sed 's/^/| /' conftest.$ac_ext >&5
19445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19449 # Binary search between lo and hi bounds.
19450 while test "x$ac_lo" != "x$ac_hi"; do
19451 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19452 cat >conftest.$ac_ext <<_ACEOF
19455 cat confdefs.h >>conftest.$ac_ext
19456 cat >>conftest.$ac_ext <<_ACEOF
19457 /* end confdefs.h. */
19458 $ac_includes_default
19459 typedef short ac__type_sizeof_;
19463 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19470 rm -f conftest.$ac_objext
19471 if { (ac_try="$ac_compile"
19472 case "(($ac_try" in
19473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19474 *) ac_try_echo=$ac_try;;
19476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19477 (eval "$ac_compile") 2>conftest.er1
19479 grep -v '^ *+' conftest.er1 >conftest.err
19481 cat conftest.err >&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } && {
19484 test -z "$ac_c_werror_flag" ||
19485 test ! -s conftest.err
19486 } && test -s conftest.$ac_objext; then
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19492 ac_lo=`expr '(' $ac_mid ')' + 1`
19495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19498 ?*) ac_cv_sizeof_short=$ac_lo;;
19499 '') if test "$ac_cv_type_short" = yes; then
19500 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19501 See \`config.log' for more details." >&5
19502 echo "$as_me: error: cannot compute sizeof (short)
19503 See \`config.log' for more details." >&2;}
19504 { (exit 77); exit 77; }; }
19506 ac_cv_sizeof_short=0
19510 cat >conftest.$ac_ext <<_ACEOF
19513 cat confdefs.h >>conftest.$ac_ext
19514 cat >>conftest.$ac_ext <<_ACEOF
19515 /* end confdefs.h. */
19516 $ac_includes_default
19517 typedef short ac__type_sizeof_;
19518 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19519 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19521 #include <stdlib.h>
19526 FILE *f = fopen ("conftest.val", "w");
19529 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19531 long int i = longval ();
19532 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19534 fprintf (f, "%ld\n", i);
19538 unsigned long int i = ulongval ();
19539 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19541 fprintf (f, "%lu\n", i);
19543 return ferror (f) || fclose (f) != 0;
19549 rm -f conftest$ac_exeext
19550 if { (ac_try="$ac_link"
19551 case "(($ac_try" in
19552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19553 *) ac_try_echo=$ac_try;;
19555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19556 (eval "$ac_link") 2>&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19560 { (case "(($ac_try" in
19561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19562 *) ac_try_echo=$ac_try;;
19564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19565 (eval "$ac_try") 2>&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); }; }; then
19569 ac_cv_sizeof_short=`cat conftest.val`
19571 echo "$as_me: program exited with status $ac_status" >&5
19572 echo "$as_me: failed program was:" >&5
19573 sed 's/^/| /' conftest.$ac_ext >&5
19575 ( exit $ac_status )
19576 if test "$ac_cv_type_short" = yes; then
19577 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19578 See \`config.log' for more details." >&5
19579 echo "$as_me: error: cannot compute sizeof (short)
19580 See \`config.log' for more details." >&2;}
19581 { (exit 77); exit 77; }; }
19583 ac_cv_sizeof_short=0
19586 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19590 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19591 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19595 cat >>confdefs.h <<_ACEOF
19596 #define SIZEOF_SHORT $ac_cv_sizeof_short
19600 { echo "$as_me:$LINENO: checking for void *" >&5
19601 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19602 if test "${ac_cv_type_void_p+set}" = set; then
19603 echo $ECHO_N "(cached) $ECHO_C" >&6
19605 cat >conftest.$ac_ext <<_ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19612 typedef void * ac__type_new_;
19616 if ((ac__type_new_ *) 0)
19618 if (sizeof (ac__type_new_))
19624 rm -f conftest.$ac_objext
19625 if { (ac_try="$ac_compile"
19626 case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_compile") 2>conftest.er1
19633 grep -v '^ *+' conftest.er1 >conftest.err
19635 cat conftest.err >&5
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); } && {
19638 test -z "$ac_c_werror_flag" ||
19639 test ! -s conftest.err
19640 } && test -s conftest.$ac_objext; then
19641 ac_cv_type_void_p=yes
19643 echo "$as_me: failed program was:" >&5
19644 sed 's/^/| /' conftest.$ac_ext >&5
19646 ac_cv_type_void_p=no
19649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19651 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19652 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19654 # The cast to long int works around a bug in the HP C Compiler
19655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19657 # This bug is HP SR number 8606223364.
19658 { echo "$as_me:$LINENO: checking size of void *" >&5
19659 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19660 if test "${ac_cv_sizeof_void_p+set}" = set; then
19661 echo $ECHO_N "(cached) $ECHO_C" >&6
19663 if test "$cross_compiling" = yes; then
19664 # Depending upon the size, compute the lo and hi bounds.
19665 cat >conftest.$ac_ext <<_ACEOF
19668 cat confdefs.h >>conftest.$ac_ext
19669 cat >>conftest.$ac_ext <<_ACEOF
19670 /* end confdefs.h. */
19671 $ac_includes_default
19672 typedef void * ac__type_sizeof_;
19676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19683 rm -f conftest.$ac_objext
19684 if { (ac_try="$ac_compile"
19685 case "(($ac_try" in
19686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19687 *) ac_try_echo=$ac_try;;
19689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19690 (eval "$ac_compile") 2>conftest.er1
19692 grep -v '^ *+' conftest.er1 >conftest.err
19694 cat conftest.err >&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); } && {
19697 test -z "$ac_c_werror_flag" ||
19698 test ! -s conftest.err
19699 } && test -s conftest.$ac_objext; then
19702 cat >conftest.$ac_ext <<_ACEOF
19705 cat confdefs.h >>conftest.$ac_ext
19706 cat >>conftest.$ac_ext <<_ACEOF
19707 /* end confdefs.h. */
19708 $ac_includes_default
19709 typedef void * ac__type_sizeof_;
19713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19720 rm -f conftest.$ac_objext
19721 if { (ac_try="$ac_compile"
19722 case "(($ac_try" in
19723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19724 *) ac_try_echo=$ac_try;;
19726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19727 (eval "$ac_compile") 2>conftest.er1
19729 grep -v '^ *+' conftest.er1 >conftest.err
19731 cat conftest.err >&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } && {
19734 test -z "$ac_c_werror_flag" ||
19735 test ! -s conftest.err
19736 } && test -s conftest.$ac_objext; then
19737 ac_hi=$ac_mid; break
19739 echo "$as_me: failed program was:" >&5
19740 sed 's/^/| /' conftest.$ac_ext >&5
19742 ac_lo=`expr $ac_mid + 1`
19743 if test $ac_lo -le $ac_mid; then
19747 ac_mid=`expr 2 '*' $ac_mid + 1`
19750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19753 echo "$as_me: failed program was:" >&5
19754 sed 's/^/| /' conftest.$ac_ext >&5
19756 cat >conftest.$ac_ext <<_ACEOF
19759 cat confdefs.h >>conftest.$ac_ext
19760 cat >>conftest.$ac_ext <<_ACEOF
19761 /* end confdefs.h. */
19762 $ac_includes_default
19763 typedef void * ac__type_sizeof_;
19767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19774 rm -f conftest.$ac_objext
19775 if { (ac_try="$ac_compile"
19776 case "(($ac_try" in
19777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19778 *) ac_try_echo=$ac_try;;
19780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19781 (eval "$ac_compile") 2>conftest.er1
19783 grep -v '^ *+' conftest.er1 >conftest.err
19785 cat conftest.err >&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); } && {
19788 test -z "$ac_c_werror_flag" ||
19789 test ! -s conftest.err
19790 } && test -s conftest.$ac_objext; then
19793 cat >conftest.$ac_ext <<_ACEOF
19796 cat confdefs.h >>conftest.$ac_ext
19797 cat >>conftest.$ac_ext <<_ACEOF
19798 /* end confdefs.h. */
19799 $ac_includes_default
19800 typedef void * ac__type_sizeof_;
19804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19811 rm -f conftest.$ac_objext
19812 if { (ac_try="$ac_compile"
19813 case "(($ac_try" in
19814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19815 *) ac_try_echo=$ac_try;;
19817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19818 (eval "$ac_compile") 2>conftest.er1
19820 grep -v '^ *+' conftest.er1 >conftest.err
19822 cat conftest.err >&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); } && {
19825 test -z "$ac_c_werror_flag" ||
19826 test ! -s conftest.err
19827 } && test -s conftest.$ac_objext; then
19828 ac_lo=$ac_mid; break
19830 echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19833 ac_hi=`expr '(' $ac_mid ')' - 1`
19834 if test $ac_mid -le $ac_hi; then
19838 ac_mid=`expr 2 '*' $ac_mid`
19841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19844 echo "$as_me: failed program was:" >&5
19845 sed 's/^/| /' conftest.$ac_ext >&5
19850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19854 # Binary search between lo and hi bounds.
19855 while test "x$ac_lo" != "x$ac_hi"; do
19856 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19857 cat >conftest.$ac_ext <<_ACEOF
19860 cat confdefs.h >>conftest.$ac_ext
19861 cat >>conftest.$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19863 $ac_includes_default
19864 typedef void * ac__type_sizeof_;
19868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19875 rm -f conftest.$ac_objext
19876 if { (ac_try="$ac_compile"
19877 case "(($ac_try" in
19878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_compile") 2>conftest.er1
19884 grep -v '^ *+' conftest.er1 >conftest.err
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } && {
19889 test -z "$ac_c_werror_flag" ||
19890 test ! -s conftest.err
19891 } && test -s conftest.$ac_objext; then
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19897 ac_lo=`expr '(' $ac_mid ')' + 1`
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19903 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19904 '') if test "$ac_cv_type_void_p" = yes; then
19905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19906 See \`config.log' for more details." >&5
19907 echo "$as_me: error: cannot compute sizeof (void *)
19908 See \`config.log' for more details." >&2;}
19909 { (exit 77); exit 77; }; }
19911 ac_cv_sizeof_void_p=0
19915 cat >conftest.$ac_ext <<_ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 $ac_includes_default
19922 typedef void * ac__type_sizeof_;
19923 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19924 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19926 #include <stdlib.h>
19931 FILE *f = fopen ("conftest.val", "w");
19934 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19936 long int i = longval ();
19937 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19939 fprintf (f, "%ld\n", i);
19943 unsigned long int i = ulongval ();
19944 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19946 fprintf (f, "%lu\n", i);
19948 return ferror (f) || fclose (f) != 0;
19954 rm -f conftest$ac_exeext
19955 if { (ac_try="$ac_link"
19956 case "(($ac_try" in
19957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19958 *) ac_try_echo=$ac_try;;
19960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19961 (eval "$ac_link") 2>&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19965 { (case "(($ac_try" in
19966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19967 *) ac_try_echo=$ac_try;;
19969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19970 (eval "$ac_try") 2>&5
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); }; }; then
19974 ac_cv_sizeof_void_p=`cat conftest.val`
19976 echo "$as_me: program exited with status $ac_status" >&5
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.$ac_ext >&5
19980 ( exit $ac_status )
19981 if test "$ac_cv_type_void_p" = yes; then
19982 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19983 See \`config.log' for more details." >&5
19984 echo "$as_me: error: cannot compute sizeof (void *)
19985 See \`config.log' for more details." >&2;}
19986 { (exit 77); exit 77; }; }
19988 ac_cv_sizeof_void_p=0
19991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19995 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19996 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20000 cat >>confdefs.h <<_ACEOF
20001 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20005 { echo "$as_me:$LINENO: checking for int" >&5
20006 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20007 if test "${ac_cv_type_int+set}" = set; then
20008 echo $ECHO_N "(cached) $ECHO_C" >&6
20010 cat >conftest.$ac_ext <<_ACEOF
20013 cat confdefs.h >>conftest.$ac_ext
20014 cat >>conftest.$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20016 $ac_includes_default
20017 typedef int ac__type_new_;
20021 if ((ac__type_new_ *) 0)
20023 if (sizeof (ac__type_new_))
20029 rm -f conftest.$ac_objext
20030 if { (ac_try="$ac_compile"
20031 case "(($ac_try" in
20032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033 *) ac_try_echo=$ac_try;;
20035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_compile") 2>conftest.er1
20038 grep -v '^ *+' conftest.er1 >conftest.err
20040 cat conftest.err >&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } && {
20043 test -z "$ac_c_werror_flag" ||
20044 test ! -s conftest.err
20045 } && test -s conftest.$ac_objext; then
20048 echo "$as_me: failed program was:" >&5
20049 sed 's/^/| /' conftest.$ac_ext >&5
20054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20056 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20057 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20059 # The cast to long int works around a bug in the HP C Compiler
20060 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20061 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20062 # This bug is HP SR number 8606223364.
20063 { echo "$as_me:$LINENO: checking size of int" >&5
20064 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20065 if test "${ac_cv_sizeof_int+set}" = set; then
20066 echo $ECHO_N "(cached) $ECHO_C" >&6
20068 if test "$cross_compiling" = yes; then
20069 # Depending upon the size, compute the lo and hi bounds.
20070 cat >conftest.$ac_ext <<_ACEOF
20073 cat confdefs.h >>conftest.$ac_ext
20074 cat >>conftest.$ac_ext <<_ACEOF
20075 /* end confdefs.h. */
20076 $ac_includes_default
20077 typedef int ac__type_sizeof_;
20081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20088 rm -f conftest.$ac_objext
20089 if { (ac_try="$ac_compile"
20090 case "(($ac_try" in
20091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20092 *) ac_try_echo=$ac_try;;
20094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20095 (eval "$ac_compile") 2>conftest.er1
20097 grep -v '^ *+' conftest.er1 >conftest.err
20099 cat conftest.err >&5
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); } && {
20102 test -z "$ac_c_werror_flag" ||
20103 test ! -s conftest.err
20104 } && test -s conftest.$ac_objext; then
20107 cat >conftest.$ac_ext <<_ACEOF
20110 cat confdefs.h >>conftest.$ac_ext
20111 cat >>conftest.$ac_ext <<_ACEOF
20112 /* end confdefs.h. */
20113 $ac_includes_default
20114 typedef int ac__type_sizeof_;
20118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20125 rm -f conftest.$ac_objext
20126 if { (ac_try="$ac_compile"
20127 case "(($ac_try" in
20128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20129 *) ac_try_echo=$ac_try;;
20131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20132 (eval "$ac_compile") 2>conftest.er1
20134 grep -v '^ *+' conftest.er1 >conftest.err
20136 cat conftest.err >&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); } && {
20139 test -z "$ac_c_werror_flag" ||
20140 test ! -s conftest.err
20141 } && test -s conftest.$ac_objext; then
20142 ac_hi=$ac_mid; break
20144 echo "$as_me: failed program was:" >&5
20145 sed 's/^/| /' conftest.$ac_ext >&5
20147 ac_lo=`expr $ac_mid + 1`
20148 if test $ac_lo -le $ac_mid; then
20152 ac_mid=`expr 2 '*' $ac_mid + 1`
20155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20158 echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.$ac_ext >&5
20161 cat >conftest.$ac_ext <<_ACEOF
20164 cat confdefs.h >>conftest.$ac_ext
20165 cat >>conftest.$ac_ext <<_ACEOF
20166 /* end confdefs.h. */
20167 $ac_includes_default
20168 typedef int ac__type_sizeof_;
20172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20179 rm -f conftest.$ac_objext
20180 if { (ac_try="$ac_compile"
20181 case "(($ac_try" in
20182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20183 *) ac_try_echo=$ac_try;;
20185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20186 (eval "$ac_compile") 2>conftest.er1
20188 grep -v '^ *+' conftest.er1 >conftest.err
20190 cat conftest.err >&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); } && {
20193 test -z "$ac_c_werror_flag" ||
20194 test ! -s conftest.err
20195 } && test -s conftest.$ac_objext; then
20198 cat >conftest.$ac_ext <<_ACEOF
20201 cat confdefs.h >>conftest.$ac_ext
20202 cat >>conftest.$ac_ext <<_ACEOF
20203 /* end confdefs.h. */
20204 $ac_includes_default
20205 typedef int ac__type_sizeof_;
20209 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20216 rm -f conftest.$ac_objext
20217 if { (ac_try="$ac_compile"
20218 case "(($ac_try" in
20219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20220 *) ac_try_echo=$ac_try;;
20222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20223 (eval "$ac_compile") 2>conftest.er1
20225 grep -v '^ *+' conftest.er1 >conftest.err
20227 cat conftest.err >&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && {
20230 test -z "$ac_c_werror_flag" ||
20231 test ! -s conftest.err
20232 } && test -s conftest.$ac_objext; then
20233 ac_lo=$ac_mid; break
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.$ac_ext >&5
20238 ac_hi=`expr '(' $ac_mid ')' - 1`
20239 if test $ac_mid -le $ac_hi; then
20243 ac_mid=`expr 2 '*' $ac_mid`
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20249 echo "$as_me: failed program was:" >&5
20250 sed 's/^/| /' conftest.$ac_ext >&5
20255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20259 # Binary search between lo and hi bounds.
20260 while test "x$ac_lo" != "x$ac_hi"; do
20261 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20262 cat >conftest.$ac_ext <<_ACEOF
20265 cat confdefs.h >>conftest.$ac_ext
20266 cat >>conftest.$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20268 $ac_includes_default
20269 typedef int ac__type_sizeof_;
20273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20280 rm -f conftest.$ac_objext
20281 if { (ac_try="$ac_compile"
20282 case "(($ac_try" in
20283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20284 *) ac_try_echo=$ac_try;;
20286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20287 (eval "$ac_compile") 2>conftest.er1
20289 grep -v '^ *+' conftest.er1 >conftest.err
20291 cat conftest.err >&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } && {
20294 test -z "$ac_c_werror_flag" ||
20295 test ! -s conftest.err
20296 } && test -s conftest.$ac_objext; then
20299 echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.$ac_ext >&5
20302 ac_lo=`expr '(' $ac_mid ')' + 1`
20305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20308 ?*) ac_cv_sizeof_int=$ac_lo;;
20309 '') if test "$ac_cv_type_int" = yes; then
20310 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20311 See \`config.log' for more details." >&5
20312 echo "$as_me: error: cannot compute sizeof (int)
20313 See \`config.log' for more details." >&2;}
20314 { (exit 77); exit 77; }; }
20320 cat >conftest.$ac_ext <<_ACEOF
20323 cat confdefs.h >>conftest.$ac_ext
20324 cat >>conftest.$ac_ext <<_ACEOF
20325 /* end confdefs.h. */
20326 $ac_includes_default
20327 typedef int ac__type_sizeof_;
20328 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20329 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20331 #include <stdlib.h>
20336 FILE *f = fopen ("conftest.val", "w");
20339 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20341 long int i = longval ();
20342 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20344 fprintf (f, "%ld\n", i);
20348 unsigned long int i = ulongval ();
20349 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20351 fprintf (f, "%lu\n", i);
20353 return ferror (f) || fclose (f) != 0;
20359 rm -f conftest$ac_exeext
20360 if { (ac_try="$ac_link"
20361 case "(($ac_try" in
20362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20363 *) ac_try_echo=$ac_try;;
20365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20366 (eval "$ac_link") 2>&5
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20370 { (case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20372 *) ac_try_echo=$ac_try;;
20374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20375 (eval "$ac_try") 2>&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); }; }; then
20379 ac_cv_sizeof_int=`cat conftest.val`
20381 echo "$as_me: program exited with status $ac_status" >&5
20382 echo "$as_me: failed program was:" >&5
20383 sed 's/^/| /' conftest.$ac_ext >&5
20385 ( exit $ac_status )
20386 if test "$ac_cv_type_int" = yes; then
20387 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20388 See \`config.log' for more details." >&5
20389 echo "$as_me: error: cannot compute sizeof (int)
20390 See \`config.log' for more details." >&2;}
20391 { (exit 77); exit 77; }; }
20396 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20400 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20401 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20405 cat >>confdefs.h <<_ACEOF
20406 #define SIZEOF_INT $ac_cv_sizeof_int
20410 { echo "$as_me:$LINENO: checking for long" >&5
20411 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20412 if test "${ac_cv_type_long+set}" = set; then
20413 echo $ECHO_N "(cached) $ECHO_C" >&6
20415 cat >conftest.$ac_ext <<_ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421 $ac_includes_default
20422 typedef long ac__type_new_;
20426 if ((ac__type_new_ *) 0)
20428 if (sizeof (ac__type_new_))
20434 rm -f conftest.$ac_objext
20435 if { (ac_try="$ac_compile"
20436 case "(($ac_try" in
20437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_compile") 2>conftest.er1
20443 grep -v '^ *+' conftest.er1 >conftest.err
20445 cat conftest.err >&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } && {
20448 test -z "$ac_c_werror_flag" ||
20449 test ! -s conftest.err
20450 } && test -s conftest.$ac_objext; then
20451 ac_cv_type_long=yes
20453 echo "$as_me: failed program was:" >&5
20454 sed 's/^/| /' conftest.$ac_ext >&5
20459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20461 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20462 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20464 # The cast to long int works around a bug in the HP C Compiler
20465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20467 # This bug is HP SR number 8606223364.
20468 { echo "$as_me:$LINENO: checking size of long" >&5
20469 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20470 if test "${ac_cv_sizeof_long+set}" = set; then
20471 echo $ECHO_N "(cached) $ECHO_C" >&6
20473 if test "$cross_compiling" = yes; then
20474 # Depending upon the size, compute the lo and hi bounds.
20475 cat >conftest.$ac_ext <<_ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20481 $ac_includes_default
20482 typedef long ac__type_sizeof_;
20486 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20493 rm -f conftest.$ac_objext
20494 if { (ac_try="$ac_compile"
20495 case "(($ac_try" in
20496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20497 *) ac_try_echo=$ac_try;;
20499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20500 (eval "$ac_compile") 2>conftest.er1
20502 grep -v '^ *+' conftest.er1 >conftest.err
20504 cat conftest.err >&5
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); } && {
20507 test -z "$ac_c_werror_flag" ||
20508 test ! -s conftest.err
20509 } && test -s conftest.$ac_objext; then
20512 cat >conftest.$ac_ext <<_ACEOF
20515 cat confdefs.h >>conftest.$ac_ext
20516 cat >>conftest.$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 $ac_includes_default
20519 typedef long ac__type_sizeof_;
20523 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20530 rm -f conftest.$ac_objext
20531 if { (ac_try="$ac_compile"
20532 case "(($ac_try" in
20533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20534 *) ac_try_echo=$ac_try;;
20536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20537 (eval "$ac_compile") 2>conftest.er1
20539 grep -v '^ *+' conftest.er1 >conftest.err
20541 cat conftest.err >&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } && {
20544 test -z "$ac_c_werror_flag" ||
20545 test ! -s conftest.err
20546 } && test -s conftest.$ac_objext; then
20547 ac_hi=$ac_mid; break
20549 echo "$as_me: failed program was:" >&5
20550 sed 's/^/| /' conftest.$ac_ext >&5
20552 ac_lo=`expr $ac_mid + 1`
20553 if test $ac_lo -le $ac_mid; then
20557 ac_mid=`expr 2 '*' $ac_mid + 1`
20560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20566 cat >conftest.$ac_ext <<_ACEOF
20569 cat confdefs.h >>conftest.$ac_ext
20570 cat >>conftest.$ac_ext <<_ACEOF
20571 /* end confdefs.h. */
20572 $ac_includes_default
20573 typedef long ac__type_sizeof_;
20577 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20584 rm -f conftest.$ac_objext
20585 if { (ac_try="$ac_compile"
20586 case "(($ac_try" in
20587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20588 *) ac_try_echo=$ac_try;;
20590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20591 (eval "$ac_compile") 2>conftest.er1
20593 grep -v '^ *+' conftest.er1 >conftest.err
20595 cat conftest.err >&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); } && {
20598 test -z "$ac_c_werror_flag" ||
20599 test ! -s conftest.err
20600 } && test -s conftest.$ac_objext; then
20603 cat >conftest.$ac_ext <<_ACEOF
20606 cat confdefs.h >>conftest.$ac_ext
20607 cat >>conftest.$ac_ext <<_ACEOF
20608 /* end confdefs.h. */
20609 $ac_includes_default
20610 typedef long ac__type_sizeof_;
20614 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20621 rm -f conftest.$ac_objext
20622 if { (ac_try="$ac_compile"
20623 case "(($ac_try" in
20624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20625 *) ac_try_echo=$ac_try;;
20627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20628 (eval "$ac_compile") 2>conftest.er1
20630 grep -v '^ *+' conftest.er1 >conftest.err
20632 cat conftest.err >&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); } && {
20635 test -z "$ac_c_werror_flag" ||
20636 test ! -s conftest.err
20637 } && test -s conftest.$ac_objext; then
20638 ac_lo=$ac_mid; break
20640 echo "$as_me: failed program was:" >&5
20641 sed 's/^/| /' conftest.$ac_ext >&5
20643 ac_hi=`expr '(' $ac_mid ')' - 1`
20644 if test $ac_mid -le $ac_hi; then
20648 ac_mid=`expr 2 '*' $ac_mid`
20651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20654 echo "$as_me: failed program was:" >&5
20655 sed 's/^/| /' conftest.$ac_ext >&5
20660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20664 # Binary search between lo and hi bounds.
20665 while test "x$ac_lo" != "x$ac_hi"; do
20666 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20667 cat >conftest.$ac_ext <<_ACEOF
20670 cat confdefs.h >>conftest.$ac_ext
20671 cat >>conftest.$ac_ext <<_ACEOF
20672 /* end confdefs.h. */
20673 $ac_includes_default
20674 typedef long ac__type_sizeof_;
20678 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20685 rm -f conftest.$ac_objext
20686 if { (ac_try="$ac_compile"
20687 case "(($ac_try" in
20688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20689 *) ac_try_echo=$ac_try;;
20691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20692 (eval "$ac_compile") 2>conftest.er1
20694 grep -v '^ *+' conftest.er1 >conftest.err
20696 cat conftest.err >&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); } && {
20699 test -z "$ac_c_werror_flag" ||
20700 test ! -s conftest.err
20701 } && test -s conftest.$ac_objext; then
20704 echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.$ac_ext >&5
20707 ac_lo=`expr '(' $ac_mid ')' + 1`
20710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20713 ?*) ac_cv_sizeof_long=$ac_lo;;
20714 '') if test "$ac_cv_type_long" = yes; then
20715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20716 See \`config.log' for more details." >&5
20717 echo "$as_me: error: cannot compute sizeof (long)
20718 See \`config.log' for more details." >&2;}
20719 { (exit 77); exit 77; }; }
20721 ac_cv_sizeof_long=0
20725 cat >conftest.$ac_ext <<_ACEOF
20728 cat confdefs.h >>conftest.$ac_ext
20729 cat >>conftest.$ac_ext <<_ACEOF
20730 /* end confdefs.h. */
20731 $ac_includes_default
20732 typedef long ac__type_sizeof_;
20733 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20734 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20736 #include <stdlib.h>
20741 FILE *f = fopen ("conftest.val", "w");
20744 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20746 long int i = longval ();
20747 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20749 fprintf (f, "%ld\n", i);
20753 unsigned long int i = ulongval ();
20754 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20756 fprintf (f, "%lu\n", i);
20758 return ferror (f) || fclose (f) != 0;
20764 rm -f conftest$ac_exeext
20765 if { (ac_try="$ac_link"
20766 case "(($ac_try" in
20767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20768 *) ac_try_echo=$ac_try;;
20770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20771 (eval "$ac_link") 2>&5
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20775 { (case "(($ac_try" in
20776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20777 *) ac_try_echo=$ac_try;;
20779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20780 (eval "$ac_try") 2>&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; }; then
20784 ac_cv_sizeof_long=`cat conftest.val`
20786 echo "$as_me: program exited with status $ac_status" >&5
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.$ac_ext >&5
20790 ( exit $ac_status )
20791 if test "$ac_cv_type_long" = yes; then
20792 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20793 See \`config.log' for more details." >&5
20794 echo "$as_me: error: cannot compute sizeof (long)
20795 See \`config.log' for more details." >&2;}
20796 { (exit 77); exit 77; }; }
20798 ac_cv_sizeof_long=0
20801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20805 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20806 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20810 cat >>confdefs.h <<_ACEOF
20811 #define SIZEOF_LONG $ac_cv_sizeof_long
20815 { echo "$as_me:$LINENO: checking for size_t" >&5
20816 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20817 if test "${ac_cv_type_size_t+set}" = set; then
20818 echo $ECHO_N "(cached) $ECHO_C" >&6
20820 cat >conftest.$ac_ext <<_ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 $ac_includes_default
20827 typedef size_t ac__type_new_;
20831 if ((ac__type_new_ *) 0)
20833 if (sizeof (ac__type_new_))
20839 rm -f conftest.$ac_objext
20840 if { (ac_try="$ac_compile"
20841 case "(($ac_try" in
20842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20843 *) ac_try_echo=$ac_try;;
20845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20846 (eval "$ac_compile") 2>conftest.er1
20848 grep -v '^ *+' conftest.er1 >conftest.err
20850 cat conftest.err >&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } && {
20853 test -z "$ac_c_werror_flag" ||
20854 test ! -s conftest.err
20855 } && test -s conftest.$ac_objext; then
20856 ac_cv_type_size_t=yes
20858 echo "$as_me: failed program was:" >&5
20859 sed 's/^/| /' conftest.$ac_ext >&5
20861 ac_cv_type_size_t=no
20864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20866 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20867 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20869 # The cast to long int works around a bug in the HP C Compiler
20870 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20871 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20872 # This bug is HP SR number 8606223364.
20873 { echo "$as_me:$LINENO: checking size of size_t" >&5
20874 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20875 if test "${ac_cv_sizeof_size_t+set}" = set; then
20876 echo $ECHO_N "(cached) $ECHO_C" >&6
20878 if test "$cross_compiling" = yes; then
20879 # Depending upon the size, compute the lo and hi bounds.
20880 cat >conftest.$ac_ext <<_ACEOF
20883 cat confdefs.h >>conftest.$ac_ext
20884 cat >>conftest.$ac_ext <<_ACEOF
20885 /* end confdefs.h. */
20886 $ac_includes_default
20887 typedef size_t ac__type_sizeof_;
20891 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20898 rm -f conftest.$ac_objext
20899 if { (ac_try="$ac_compile"
20900 case "(($ac_try" in
20901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20902 *) ac_try_echo=$ac_try;;
20904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20905 (eval "$ac_compile") 2>conftest.er1
20907 grep -v '^ *+' conftest.er1 >conftest.err
20909 cat conftest.err >&5
20910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911 (exit $ac_status); } && {
20912 test -z "$ac_c_werror_flag" ||
20913 test ! -s conftest.err
20914 } && test -s conftest.$ac_objext; then
20917 cat >conftest.$ac_ext <<_ACEOF
20920 cat confdefs.h >>conftest.$ac_ext
20921 cat >>conftest.$ac_ext <<_ACEOF
20922 /* end confdefs.h. */
20923 $ac_includes_default
20924 typedef size_t ac__type_sizeof_;
20928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20935 rm -f conftest.$ac_objext
20936 if { (ac_try="$ac_compile"
20937 case "(($ac_try" in
20938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20939 *) ac_try_echo=$ac_try;;
20941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20942 (eval "$ac_compile") 2>conftest.er1
20944 grep -v '^ *+' conftest.er1 >conftest.err
20946 cat conftest.err >&5
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); } && {
20949 test -z "$ac_c_werror_flag" ||
20950 test ! -s conftest.err
20951 } && test -s conftest.$ac_objext; then
20952 ac_hi=$ac_mid; break
20954 echo "$as_me: failed program was:" >&5
20955 sed 's/^/| /' conftest.$ac_ext >&5
20957 ac_lo=`expr $ac_mid + 1`
20958 if test $ac_lo -le $ac_mid; then
20962 ac_mid=`expr 2 '*' $ac_mid + 1`
20965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20968 echo "$as_me: failed program was:" >&5
20969 sed 's/^/| /' conftest.$ac_ext >&5
20971 cat >conftest.$ac_ext <<_ACEOF
20974 cat confdefs.h >>conftest.$ac_ext
20975 cat >>conftest.$ac_ext <<_ACEOF
20976 /* end confdefs.h. */
20977 $ac_includes_default
20978 typedef size_t ac__type_sizeof_;
20982 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20989 rm -f conftest.$ac_objext
20990 if { (ac_try="$ac_compile"
20991 case "(($ac_try" in
20992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20993 *) ac_try_echo=$ac_try;;
20995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20996 (eval "$ac_compile") 2>conftest.er1
20998 grep -v '^ *+' conftest.er1 >conftest.err
21000 cat conftest.err >&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); } && {
21003 test -z "$ac_c_werror_flag" ||
21004 test ! -s conftest.err
21005 } && test -s conftest.$ac_objext; then
21008 cat >conftest.$ac_ext <<_ACEOF
21011 cat confdefs.h >>conftest.$ac_ext
21012 cat >>conftest.$ac_ext <<_ACEOF
21013 /* end confdefs.h. */
21014 $ac_includes_default
21015 typedef size_t ac__type_sizeof_;
21019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21026 rm -f conftest.$ac_objext
21027 if { (ac_try="$ac_compile"
21028 case "(($ac_try" in
21029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21030 *) ac_try_echo=$ac_try;;
21032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21033 (eval "$ac_compile") 2>conftest.er1
21035 grep -v '^ *+' conftest.er1 >conftest.err
21037 cat conftest.err >&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } && {
21040 test -z "$ac_c_werror_flag" ||
21041 test ! -s conftest.err
21042 } && test -s conftest.$ac_objext; then
21043 ac_lo=$ac_mid; break
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.$ac_ext >&5
21048 ac_hi=`expr '(' $ac_mid ')' - 1`
21049 if test $ac_mid -le $ac_hi; then
21053 ac_mid=`expr 2 '*' $ac_mid`
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21059 echo "$as_me: failed program was:" >&5
21060 sed 's/^/| /' conftest.$ac_ext >&5
21065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21069 # Binary search between lo and hi bounds.
21070 while test "x$ac_lo" != "x$ac_hi"; do
21071 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21072 cat >conftest.$ac_ext <<_ACEOF
21075 cat confdefs.h >>conftest.$ac_ext
21076 cat >>conftest.$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078 $ac_includes_default
21079 typedef size_t ac__type_sizeof_;
21083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21090 rm -f conftest.$ac_objext
21091 if { (ac_try="$ac_compile"
21092 case "(($ac_try" in
21093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21094 *) ac_try_echo=$ac_try;;
21096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21097 (eval "$ac_compile") 2>conftest.er1
21099 grep -v '^ *+' conftest.er1 >conftest.err
21101 cat conftest.err >&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); } && {
21104 test -z "$ac_c_werror_flag" ||
21105 test ! -s conftest.err
21106 } && test -s conftest.$ac_objext; then
21109 echo "$as_me: failed program was:" >&5
21110 sed 's/^/| /' conftest.$ac_ext >&5
21112 ac_lo=`expr '(' $ac_mid ')' + 1`
21115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21118 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21119 '') if test "$ac_cv_type_size_t" = yes; then
21120 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21121 See \`config.log' for more details." >&5
21122 echo "$as_me: error: cannot compute sizeof (size_t)
21123 See \`config.log' for more details." >&2;}
21124 { (exit 77); exit 77; }; }
21126 ac_cv_sizeof_size_t=0
21130 cat >conftest.$ac_ext <<_ACEOF
21133 cat confdefs.h >>conftest.$ac_ext
21134 cat >>conftest.$ac_ext <<_ACEOF
21135 /* end confdefs.h. */
21136 $ac_includes_default
21137 typedef size_t ac__type_sizeof_;
21138 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21139 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21141 #include <stdlib.h>
21146 FILE *f = fopen ("conftest.val", "w");
21149 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21151 long int i = longval ();
21152 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21154 fprintf (f, "%ld\n", i);
21158 unsigned long int i = ulongval ();
21159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21161 fprintf (f, "%lu\n", i);
21163 return ferror (f) || fclose (f) != 0;
21169 rm -f conftest$ac_exeext
21170 if { (ac_try="$ac_link"
21171 case "(($ac_try" in
21172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21173 *) ac_try_echo=$ac_try;;
21175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21176 (eval "$ac_link") 2>&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21180 { (case "(($ac_try" in
21181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21182 *) ac_try_echo=$ac_try;;
21184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21185 (eval "$ac_try") 2>&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); }; }; then
21189 ac_cv_sizeof_size_t=`cat conftest.val`
21191 echo "$as_me: program exited with status $ac_status" >&5
21192 echo "$as_me: failed program was:" >&5
21193 sed 's/^/| /' conftest.$ac_ext >&5
21195 ( exit $ac_status )
21196 if test "$ac_cv_type_size_t" = yes; then
21197 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21198 See \`config.log' for more details." >&5
21199 echo "$as_me: error: cannot compute sizeof (size_t)
21200 See \`config.log' for more details." >&2;}
21201 { (exit 77); exit 77; }; }
21203 ac_cv_sizeof_size_t=0
21206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21210 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21211 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21215 cat >>confdefs.h <<_ACEOF
21216 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21223 { echo "$as_me:$LINENO: checking for long long" >&5
21224 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21225 if test "${ac_cv_type_long_long+set}" = set; then
21226 echo $ECHO_N "(cached) $ECHO_C" >&6
21228 cat >conftest.$ac_ext <<_ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 $ac_includes_default
21235 typedef long long ac__type_new_;
21239 if ((ac__type_new_ *) 0)
21241 if (sizeof (ac__type_new_))
21247 rm -f conftest.$ac_objext
21248 if { (ac_try="$ac_compile"
21249 case "(($ac_try" in
21250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21251 *) ac_try_echo=$ac_try;;
21253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21254 (eval "$ac_compile") 2>conftest.er1
21256 grep -v '^ *+' conftest.er1 >conftest.err
21258 cat conftest.err >&5
21259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260 (exit $ac_status); } && {
21261 test -z "$ac_c_werror_flag" ||
21262 test ! -s conftest.err
21263 } && test -s conftest.$ac_objext; then
21264 ac_cv_type_long_long=yes
21266 echo "$as_me: failed program was:" >&5
21267 sed 's/^/| /' conftest.$ac_ext >&5
21269 ac_cv_type_long_long=no
21272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21274 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21275 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21277 # The cast to long int works around a bug in the HP C Compiler
21278 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21279 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21280 # This bug is HP SR number 8606223364.
21281 { echo "$as_me:$LINENO: checking size of long long" >&5
21282 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21283 if test "${ac_cv_sizeof_long_long+set}" = set; then
21284 echo $ECHO_N "(cached) $ECHO_C" >&6
21286 if test "$cross_compiling" = yes; then
21287 # Depending upon the size, compute the lo and hi bounds.
21288 cat >conftest.$ac_ext <<_ACEOF
21291 cat confdefs.h >>conftest.$ac_ext
21292 cat >>conftest.$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21294 $ac_includes_default
21295 typedef long long ac__type_sizeof_;
21299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21306 rm -f conftest.$ac_objext
21307 if { (ac_try="$ac_compile"
21308 case "(($ac_try" in
21309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21310 *) ac_try_echo=$ac_try;;
21312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21313 (eval "$ac_compile") 2>conftest.er1
21315 grep -v '^ *+' conftest.er1 >conftest.err
21317 cat conftest.err >&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } && {
21320 test -z "$ac_c_werror_flag" ||
21321 test ! -s conftest.err
21322 } && test -s conftest.$ac_objext; then
21325 cat >conftest.$ac_ext <<_ACEOF
21328 cat confdefs.h >>conftest.$ac_ext
21329 cat >>conftest.$ac_ext <<_ACEOF
21330 /* end confdefs.h. */
21331 $ac_includes_default
21332 typedef long long ac__type_sizeof_;
21336 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21343 rm -f conftest.$ac_objext
21344 if { (ac_try="$ac_compile"
21345 case "(($ac_try" in
21346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21347 *) ac_try_echo=$ac_try;;
21349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21350 (eval "$ac_compile") 2>conftest.er1
21352 grep -v '^ *+' conftest.er1 >conftest.err
21354 cat conftest.err >&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); } && {
21357 test -z "$ac_c_werror_flag" ||
21358 test ! -s conftest.err
21359 } && test -s conftest.$ac_objext; then
21360 ac_hi=$ac_mid; break
21362 echo "$as_me: failed program was:" >&5
21363 sed 's/^/| /' conftest.$ac_ext >&5
21365 ac_lo=`expr $ac_mid + 1`
21366 if test $ac_lo -le $ac_mid; then
21370 ac_mid=`expr 2 '*' $ac_mid + 1`
21373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21376 echo "$as_me: failed program was:" >&5
21377 sed 's/^/| /' conftest.$ac_ext >&5
21379 cat >conftest.$ac_ext <<_ACEOF
21382 cat confdefs.h >>conftest.$ac_ext
21383 cat >>conftest.$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 $ac_includes_default
21386 typedef long long ac__type_sizeof_;
21390 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21397 rm -f conftest.$ac_objext
21398 if { (ac_try="$ac_compile"
21399 case "(($ac_try" in
21400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21401 *) ac_try_echo=$ac_try;;
21403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21404 (eval "$ac_compile") 2>conftest.er1
21406 grep -v '^ *+' conftest.er1 >conftest.err
21408 cat conftest.err >&5
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); } && {
21411 test -z "$ac_c_werror_flag" ||
21412 test ! -s conftest.err
21413 } && test -s conftest.$ac_objext; then
21416 cat >conftest.$ac_ext <<_ACEOF
21419 cat confdefs.h >>conftest.$ac_ext
21420 cat >>conftest.$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422 $ac_includes_default
21423 typedef long long ac__type_sizeof_;
21427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21434 rm -f conftest.$ac_objext
21435 if { (ac_try="$ac_compile"
21436 case "(($ac_try" in
21437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21438 *) ac_try_echo=$ac_try;;
21440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21441 (eval "$ac_compile") 2>conftest.er1
21443 grep -v '^ *+' conftest.er1 >conftest.err
21445 cat conftest.err >&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } && {
21448 test -z "$ac_c_werror_flag" ||
21449 test ! -s conftest.err
21450 } && test -s conftest.$ac_objext; then
21451 ac_lo=$ac_mid; break
21453 echo "$as_me: failed program was:" >&5
21454 sed 's/^/| /' conftest.$ac_ext >&5
21456 ac_hi=`expr '(' $ac_mid ')' - 1`
21457 if test $ac_mid -le $ac_hi; then
21461 ac_mid=`expr 2 '*' $ac_mid`
21464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21467 echo "$as_me: failed program was:" >&5
21468 sed 's/^/| /' conftest.$ac_ext >&5
21473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21477 # Binary search between lo and hi bounds.
21478 while test "x$ac_lo" != "x$ac_hi"; do
21479 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21480 cat >conftest.$ac_ext <<_ACEOF
21483 cat confdefs.h >>conftest.$ac_ext
21484 cat >>conftest.$ac_ext <<_ACEOF
21485 /* end confdefs.h. */
21486 $ac_includes_default
21487 typedef long long ac__type_sizeof_;
21491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21498 rm -f conftest.$ac_objext
21499 if { (ac_try="$ac_compile"
21500 case "(($ac_try" in
21501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21502 *) ac_try_echo=$ac_try;;
21504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21505 (eval "$ac_compile") 2>conftest.er1
21507 grep -v '^ *+' conftest.er1 >conftest.err
21509 cat conftest.err >&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); } && {
21512 test -z "$ac_c_werror_flag" ||
21513 test ! -s conftest.err
21514 } && test -s conftest.$ac_objext; then
21517 echo "$as_me: failed program was:" >&5
21518 sed 's/^/| /' conftest.$ac_ext >&5
21520 ac_lo=`expr '(' $ac_mid ')' + 1`
21523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21526 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21527 '') if test "$ac_cv_type_long_long" = yes; then
21528 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21529 See \`config.log' for more details." >&5
21530 echo "$as_me: error: cannot compute sizeof (long long)
21531 See \`config.log' for more details." >&2;}
21532 { (exit 77); exit 77; }; }
21534 ac_cv_sizeof_long_long=0
21538 cat >conftest.$ac_ext <<_ACEOF
21541 cat confdefs.h >>conftest.$ac_ext
21542 cat >>conftest.$ac_ext <<_ACEOF
21543 /* end confdefs.h. */
21544 $ac_includes_default
21545 typedef long long ac__type_sizeof_;
21546 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21547 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21549 #include <stdlib.h>
21554 FILE *f = fopen ("conftest.val", "w");
21557 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21559 long int i = longval ();
21560 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21562 fprintf (f, "%ld\n", i);
21566 unsigned long int i = ulongval ();
21567 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21569 fprintf (f, "%lu\n", i);
21571 return ferror (f) || fclose (f) != 0;
21577 rm -f conftest$ac_exeext
21578 if { (ac_try="$ac_link"
21579 case "(($ac_try" in
21580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21581 *) ac_try_echo=$ac_try;;
21583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21584 (eval "$ac_link") 2>&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21588 { (case "(($ac_try" in
21589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21590 *) ac_try_echo=$ac_try;;
21592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21593 (eval "$ac_try") 2>&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); }; }; then
21597 ac_cv_sizeof_long_long=`cat conftest.val`
21599 echo "$as_me: program exited with status $ac_status" >&5
21600 echo "$as_me: failed program was:" >&5
21601 sed 's/^/| /' conftest.$ac_ext >&5
21603 ( exit $ac_status )
21604 if test "$ac_cv_type_long_long" = yes; then
21605 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21606 See \`config.log' for more details." >&5
21607 echo "$as_me: error: cannot compute sizeof (long long)
21608 See \`config.log' for more details." >&2;}
21609 { (exit 77); exit 77; }; }
21611 ac_cv_sizeof_long_long=0
21614 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21618 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21619 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21623 cat >>confdefs.h <<_ACEOF
21624 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21630 { echo "$as_me:$LINENO: checking for long long" >&5
21631 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21632 if test "${ac_cv_type_long_long+set}" = set; then
21633 echo $ECHO_N "(cached) $ECHO_C" >&6
21635 cat >conftest.$ac_ext <<_ACEOF
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21641 $ac_includes_default
21642 typedef long long ac__type_new_;
21646 if ((ac__type_new_ *) 0)
21648 if (sizeof (ac__type_new_))
21654 rm -f conftest.$ac_objext
21655 if { (ac_try="$ac_compile"
21656 case "(($ac_try" in
21657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21658 *) ac_try_echo=$ac_try;;
21660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21661 (eval "$ac_compile") 2>conftest.er1
21663 grep -v '^ *+' conftest.er1 >conftest.err
21665 cat conftest.err >&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); } && {
21668 test -z "$ac_c_werror_flag" ||
21669 test ! -s conftest.err
21670 } && test -s conftest.$ac_objext; then
21671 ac_cv_type_long_long=yes
21673 echo "$as_me: failed program was:" >&5
21674 sed 's/^/| /' conftest.$ac_ext >&5
21676 ac_cv_type_long_long=no
21679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21681 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21682 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21684 # The cast to long int works around a bug in the HP C Compiler
21685 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21686 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21687 # This bug is HP SR number 8606223364.
21688 { echo "$as_me:$LINENO: checking size of long long" >&5
21689 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21690 if test "${ac_cv_sizeof_long_long+set}" = set; then
21691 echo $ECHO_N "(cached) $ECHO_C" >&6
21693 if test "$cross_compiling" = yes; then
21694 # Depending upon the size, compute the lo and hi bounds.
21695 cat >conftest.$ac_ext <<_ACEOF
21698 cat confdefs.h >>conftest.$ac_ext
21699 cat >>conftest.$ac_ext <<_ACEOF
21700 /* end confdefs.h. */
21701 $ac_includes_default
21702 typedef long long ac__type_sizeof_;
21706 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21713 rm -f conftest.$ac_objext
21714 if { (ac_try="$ac_compile"
21715 case "(($ac_try" in
21716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21717 *) ac_try_echo=$ac_try;;
21719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21720 (eval "$ac_compile") 2>conftest.er1
21722 grep -v '^ *+' conftest.er1 >conftest.err
21724 cat conftest.err >&5
21725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21726 (exit $ac_status); } && {
21727 test -z "$ac_c_werror_flag" ||
21728 test ! -s conftest.err
21729 } && test -s conftest.$ac_objext; then
21732 cat >conftest.$ac_ext <<_ACEOF
21735 cat confdefs.h >>conftest.$ac_ext
21736 cat >>conftest.$ac_ext <<_ACEOF
21737 /* end confdefs.h. */
21738 $ac_includes_default
21739 typedef long long ac__type_sizeof_;
21743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21750 rm -f conftest.$ac_objext
21751 if { (ac_try="$ac_compile"
21752 case "(($ac_try" in
21753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21754 *) ac_try_echo=$ac_try;;
21756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21757 (eval "$ac_compile") 2>conftest.er1
21759 grep -v '^ *+' conftest.er1 >conftest.err
21761 cat conftest.err >&5
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); } && {
21764 test -z "$ac_c_werror_flag" ||
21765 test ! -s conftest.err
21766 } && test -s conftest.$ac_objext; then
21767 ac_hi=$ac_mid; break
21769 echo "$as_me: failed program was:" >&5
21770 sed 's/^/| /' conftest.$ac_ext >&5
21772 ac_lo=`expr $ac_mid + 1`
21773 if test $ac_lo -le $ac_mid; then
21777 ac_mid=`expr 2 '*' $ac_mid + 1`
21780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21783 echo "$as_me: failed program was:" >&5
21784 sed 's/^/| /' conftest.$ac_ext >&5
21786 cat >conftest.$ac_ext <<_ACEOF
21789 cat confdefs.h >>conftest.$ac_ext
21790 cat >>conftest.$ac_ext <<_ACEOF
21791 /* end confdefs.h. */
21792 $ac_includes_default
21793 typedef long long ac__type_sizeof_;
21797 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21804 rm -f conftest.$ac_objext
21805 if { (ac_try="$ac_compile"
21806 case "(($ac_try" in
21807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21808 *) ac_try_echo=$ac_try;;
21810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21811 (eval "$ac_compile") 2>conftest.er1
21813 grep -v '^ *+' conftest.er1 >conftest.err
21815 cat conftest.err >&5
21816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21817 (exit $ac_status); } && {
21818 test -z "$ac_c_werror_flag" ||
21819 test ! -s conftest.err
21820 } && test -s conftest.$ac_objext; then
21823 cat >conftest.$ac_ext <<_ACEOF
21826 cat confdefs.h >>conftest.$ac_ext
21827 cat >>conftest.$ac_ext <<_ACEOF
21828 /* end confdefs.h. */
21829 $ac_includes_default
21830 typedef long long ac__type_sizeof_;
21834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21841 rm -f conftest.$ac_objext
21842 if { (ac_try="$ac_compile"
21843 case "(($ac_try" in
21844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21845 *) ac_try_echo=$ac_try;;
21847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21848 (eval "$ac_compile") 2>conftest.er1
21850 grep -v '^ *+' conftest.er1 >conftest.err
21852 cat conftest.err >&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); } && {
21855 test -z "$ac_c_werror_flag" ||
21856 test ! -s conftest.err
21857 } && test -s conftest.$ac_objext; then
21858 ac_lo=$ac_mid; break
21860 echo "$as_me: failed program was:" >&5
21861 sed 's/^/| /' conftest.$ac_ext >&5
21863 ac_hi=`expr '(' $ac_mid ')' - 1`
21864 if test $ac_mid -le $ac_hi; then
21868 ac_mid=`expr 2 '*' $ac_mid`
21871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21884 # Binary search between lo and hi bounds.
21885 while test "x$ac_lo" != "x$ac_hi"; do
21886 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21887 cat >conftest.$ac_ext <<_ACEOF
21890 cat confdefs.h >>conftest.$ac_ext
21891 cat >>conftest.$ac_ext <<_ACEOF
21892 /* end confdefs.h. */
21893 $ac_includes_default
21894 typedef long long ac__type_sizeof_;
21898 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21905 rm -f conftest.$ac_objext
21906 if { (ac_try="$ac_compile"
21907 case "(($ac_try" in
21908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21909 *) ac_try_echo=$ac_try;;
21911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21912 (eval "$ac_compile") 2>conftest.er1
21914 grep -v '^ *+' conftest.er1 >conftest.err
21916 cat conftest.err >&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); } && {
21919 test -z "$ac_c_werror_flag" ||
21920 test ! -s conftest.err
21921 } && test -s conftest.$ac_objext; then
21924 echo "$as_me: failed program was:" >&5
21925 sed 's/^/| /' conftest.$ac_ext >&5
21927 ac_lo=`expr '(' $ac_mid ')' + 1`
21930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21933 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21934 '') if test "$ac_cv_type_long_long" = yes; then
21935 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21936 See \`config.log' for more details." >&5
21937 echo "$as_me: error: cannot compute sizeof (long long)
21938 See \`config.log' for more details." >&2;}
21939 { (exit 77); exit 77; }; }
21941 ac_cv_sizeof_long_long=0
21945 cat >conftest.$ac_ext <<_ACEOF
21948 cat confdefs.h >>conftest.$ac_ext
21949 cat >>conftest.$ac_ext <<_ACEOF
21950 /* end confdefs.h. */
21951 $ac_includes_default
21952 typedef long long ac__type_sizeof_;
21953 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21954 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21956 #include <stdlib.h>
21961 FILE *f = fopen ("conftest.val", "w");
21964 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21966 long int i = longval ();
21967 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21969 fprintf (f, "%ld\n", i);
21973 unsigned long int i = ulongval ();
21974 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21976 fprintf (f, "%lu\n", i);
21978 return ferror (f) || fclose (f) != 0;
21984 rm -f conftest$ac_exeext
21985 if { (ac_try="$ac_link"
21986 case "(($ac_try" in
21987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21988 *) ac_try_echo=$ac_try;;
21990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21991 (eval "$ac_link") 2>&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21995 { (case "(($ac_try" in
21996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21997 *) ac_try_echo=$ac_try;;
21999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_try") 2>&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); }; }; then
22004 ac_cv_sizeof_long_long=`cat conftest.val`
22006 echo "$as_me: program exited with status $ac_status" >&5
22007 echo "$as_me: failed program was:" >&5
22008 sed 's/^/| /' conftest.$ac_ext >&5
22010 ( exit $ac_status )
22011 if test "$ac_cv_type_long_long" = yes; then
22012 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22013 See \`config.log' for more details." >&5
22014 echo "$as_me: error: cannot compute sizeof (long long)
22015 See \`config.log' for more details." >&2;}
22016 { (exit 77); exit 77; }; }
22018 ac_cv_sizeof_long_long=0
22021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22025 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22026 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22030 cat >>confdefs.h <<_ACEOF
22031 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22035 if test "$ac_cv_sizeof_long_long" != 0; then
22036 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22040 { echo "$as_me:$LINENO: checking for long long" >&5
22041 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22042 if test "${ac_cv_type_long_long+set}" = set; then
22043 echo $ECHO_N "(cached) $ECHO_C" >&6
22045 cat >conftest.$ac_ext <<_ACEOF
22048 cat confdefs.h >>conftest.$ac_ext
22049 cat >>conftest.$ac_ext <<_ACEOF
22050 /* end confdefs.h. */
22051 $ac_includes_default
22052 typedef long long ac__type_new_;
22056 if ((ac__type_new_ *) 0)
22058 if (sizeof (ac__type_new_))
22064 rm -f conftest.$ac_objext
22065 if { (ac_try="$ac_compile"
22066 case "(($ac_try" in
22067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22068 *) ac_try_echo=$ac_try;;
22070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22071 (eval "$ac_compile") 2>conftest.er1
22073 grep -v '^ *+' conftest.er1 >conftest.err
22075 cat conftest.err >&5
22076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22077 (exit $ac_status); } && {
22078 test -z "$ac_c_werror_flag" ||
22079 test ! -s conftest.err
22080 } && test -s conftest.$ac_objext; then
22081 ac_cv_type_long_long=yes
22083 echo "$as_me: failed program was:" >&5
22084 sed 's/^/| /' conftest.$ac_ext >&5
22086 ac_cv_type_long_long=no
22089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22091 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22092 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22094 # The cast to long int works around a bug in the HP C Compiler
22095 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22096 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22097 # This bug is HP SR number 8606223364.
22098 { echo "$as_me:$LINENO: checking size of long long" >&5
22099 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22100 if test "${ac_cv_sizeof_long_long+set}" = set; then
22101 echo $ECHO_N "(cached) $ECHO_C" >&6
22103 if test "$cross_compiling" = yes; then
22104 # Depending upon the size, compute the lo and hi bounds.
22105 cat >conftest.$ac_ext <<_ACEOF
22108 cat confdefs.h >>conftest.$ac_ext
22109 cat >>conftest.$ac_ext <<_ACEOF
22110 /* end confdefs.h. */
22111 $ac_includes_default
22112 typedef long long ac__type_sizeof_;
22116 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22123 rm -f conftest.$ac_objext
22124 if { (ac_try="$ac_compile"
22125 case "(($ac_try" in
22126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22127 *) ac_try_echo=$ac_try;;
22129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22130 (eval "$ac_compile") 2>conftest.er1
22132 grep -v '^ *+' conftest.er1 >conftest.err
22134 cat conftest.err >&5
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); } && {
22137 test -z "$ac_c_werror_flag" ||
22138 test ! -s conftest.err
22139 } && test -s conftest.$ac_objext; then
22142 cat >conftest.$ac_ext <<_ACEOF
22145 cat confdefs.h >>conftest.$ac_ext
22146 cat >>conftest.$ac_ext <<_ACEOF
22147 /* end confdefs.h. */
22148 $ac_includes_default
22149 typedef long long ac__type_sizeof_;
22153 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22160 rm -f conftest.$ac_objext
22161 if { (ac_try="$ac_compile"
22162 case "(($ac_try" in
22163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22164 *) ac_try_echo=$ac_try;;
22166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22167 (eval "$ac_compile") 2>conftest.er1
22169 grep -v '^ *+' conftest.er1 >conftest.err
22171 cat conftest.err >&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); } && {
22174 test -z "$ac_c_werror_flag" ||
22175 test ! -s conftest.err
22176 } && test -s conftest.$ac_objext; then
22177 ac_hi=$ac_mid; break
22179 echo "$as_me: failed program was:" >&5
22180 sed 's/^/| /' conftest.$ac_ext >&5
22182 ac_lo=`expr $ac_mid + 1`
22183 if test $ac_lo -le $ac_mid; then
22187 ac_mid=`expr 2 '*' $ac_mid + 1`
22190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22193 echo "$as_me: failed program was:" >&5
22194 sed 's/^/| /' conftest.$ac_ext >&5
22196 cat >conftest.$ac_ext <<_ACEOF
22199 cat confdefs.h >>conftest.$ac_ext
22200 cat >>conftest.$ac_ext <<_ACEOF
22201 /* end confdefs.h. */
22202 $ac_includes_default
22203 typedef long long ac__type_sizeof_;
22207 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22214 rm -f conftest.$ac_objext
22215 if { (ac_try="$ac_compile"
22216 case "(($ac_try" in
22217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22218 *) ac_try_echo=$ac_try;;
22220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22221 (eval "$ac_compile") 2>conftest.er1
22223 grep -v '^ *+' conftest.er1 >conftest.err
22225 cat conftest.err >&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); } && {
22228 test -z "$ac_c_werror_flag" ||
22229 test ! -s conftest.err
22230 } && test -s conftest.$ac_objext; then
22233 cat >conftest.$ac_ext <<_ACEOF
22236 cat confdefs.h >>conftest.$ac_ext
22237 cat >>conftest.$ac_ext <<_ACEOF
22238 /* end confdefs.h. */
22239 $ac_includes_default
22240 typedef long long ac__type_sizeof_;
22244 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22251 rm -f conftest.$ac_objext
22252 if { (ac_try="$ac_compile"
22253 case "(($ac_try" in
22254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22255 *) ac_try_echo=$ac_try;;
22257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22258 (eval "$ac_compile") 2>conftest.er1
22260 grep -v '^ *+' conftest.er1 >conftest.err
22262 cat conftest.err >&5
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); } && {
22265 test -z "$ac_c_werror_flag" ||
22266 test ! -s conftest.err
22267 } && test -s conftest.$ac_objext; then
22268 ac_lo=$ac_mid; break
22270 echo "$as_me: failed program was:" >&5
22271 sed 's/^/| /' conftest.$ac_ext >&5
22273 ac_hi=`expr '(' $ac_mid ')' - 1`
22274 if test $ac_mid -le $ac_hi; then
22278 ac_mid=`expr 2 '*' $ac_mid`
22281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22284 echo "$as_me: failed program was:" >&5
22285 sed 's/^/| /' conftest.$ac_ext >&5
22290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22294 # Binary search between lo and hi bounds.
22295 while test "x$ac_lo" != "x$ac_hi"; do
22296 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22297 cat >conftest.$ac_ext <<_ACEOF
22300 cat confdefs.h >>conftest.$ac_ext
22301 cat >>conftest.$ac_ext <<_ACEOF
22302 /* end confdefs.h. */
22303 $ac_includes_default
22304 typedef long long ac__type_sizeof_;
22308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22315 rm -f conftest.$ac_objext
22316 if { (ac_try="$ac_compile"
22317 case "(($ac_try" in
22318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22319 *) ac_try_echo=$ac_try;;
22321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22322 (eval "$ac_compile") 2>conftest.er1
22324 grep -v '^ *+' conftest.er1 >conftest.err
22326 cat conftest.err >&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); } && {
22329 test -z "$ac_c_werror_flag" ||
22330 test ! -s conftest.err
22331 } && test -s conftest.$ac_objext; then
22334 echo "$as_me: failed program was:" >&5
22335 sed 's/^/| /' conftest.$ac_ext >&5
22337 ac_lo=`expr '(' $ac_mid ')' + 1`
22340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22343 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22344 '') if test "$ac_cv_type_long_long" = yes; then
22345 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22346 See \`config.log' for more details." >&5
22347 echo "$as_me: error: cannot compute sizeof (long long)
22348 See \`config.log' for more details." >&2;}
22349 { (exit 77); exit 77; }; }
22351 ac_cv_sizeof_long_long=0
22355 cat >conftest.$ac_ext <<_ACEOF
22358 cat confdefs.h >>conftest.$ac_ext
22359 cat >>conftest.$ac_ext <<_ACEOF
22360 /* end confdefs.h. */
22361 $ac_includes_default
22362 typedef long long ac__type_sizeof_;
22363 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22364 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22366 #include <stdlib.h>
22371 FILE *f = fopen ("conftest.val", "w");
22374 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22376 long int i = longval ();
22377 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22379 fprintf (f, "%ld\n", i);
22383 unsigned long int i = ulongval ();
22384 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22386 fprintf (f, "%lu\n", i);
22388 return ferror (f) || fclose (f) != 0;
22394 rm -f conftest$ac_exeext
22395 if { (ac_try="$ac_link"
22396 case "(($ac_try" in
22397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22398 *) ac_try_echo=$ac_try;;
22400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22401 (eval "$ac_link") 2>&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22405 { (case "(($ac_try" in
22406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22407 *) ac_try_echo=$ac_try;;
22409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22410 (eval "$ac_try") 2>&5
22412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413 (exit $ac_status); }; }; then
22414 ac_cv_sizeof_long_long=`cat conftest.val`
22416 echo "$as_me: program exited with status $ac_status" >&5
22417 echo "$as_me: failed program was:" >&5
22418 sed 's/^/| /' conftest.$ac_ext >&5
22420 ( exit $ac_status )
22421 if test "$ac_cv_type_long_long" = yes; then
22422 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22423 See \`config.log' for more details." >&5
22424 echo "$as_me: error: cannot compute sizeof (long long)
22425 See \`config.log' for more details." >&2;}
22426 { (exit 77); exit 77; }; }
22428 ac_cv_sizeof_long_long=0
22431 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22435 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22436 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22440 cat >>confdefs.h <<_ACEOF
22441 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22447 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22448 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22449 if test "${ac_cv_type_wchar_t+set}" = set; then
22450 echo $ECHO_N "(cached) $ECHO_C" >&6
22452 cat >conftest.$ac_ext <<_ACEOF
22455 cat confdefs.h >>conftest.$ac_ext
22456 cat >>conftest.$ac_ext <<_ACEOF
22457 /* end confdefs.h. */
22459 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22460 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22461 # error "fake wchar_t"
22463 #ifdef HAVE_WCHAR_H
22465 # include <stddef.h>
22467 # include <wchar.h>
22469 #ifdef HAVE_STDLIB_H
22470 # include <stdlib.h>
22476 typedef wchar_t ac__type_new_;
22480 if ((ac__type_new_ *) 0)
22482 if (sizeof (ac__type_new_))
22488 rm -f conftest.$ac_objext
22489 if { (ac_try="$ac_compile"
22490 case "(($ac_try" in
22491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22492 *) ac_try_echo=$ac_try;;
22494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22495 (eval "$ac_compile") 2>conftest.er1
22497 grep -v '^ *+' conftest.er1 >conftest.err
22499 cat conftest.err >&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } && {
22502 test -z "$ac_c_werror_flag" ||
22503 test ! -s conftest.err
22504 } && test -s conftest.$ac_objext; then
22505 ac_cv_type_wchar_t=yes
22507 echo "$as_me: failed program was:" >&5
22508 sed 's/^/| /' conftest.$ac_ext >&5
22510 ac_cv_type_wchar_t=no
22513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22515 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22516 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22518 # The cast to long int works around a bug in the HP C Compiler
22519 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22520 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22521 # This bug is HP SR number 8606223364.
22522 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22523 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22524 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22525 echo $ECHO_N "(cached) $ECHO_C" >&6
22527 if test "$cross_compiling" = yes; then
22528 # Depending upon the size, compute the lo and hi bounds.
22529 cat >conftest.$ac_ext <<_ACEOF
22532 cat confdefs.h >>conftest.$ac_ext
22533 cat >>conftest.$ac_ext <<_ACEOF
22534 /* end confdefs.h. */
22536 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22537 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22538 # error "fake wchar_t"
22540 #ifdef HAVE_WCHAR_H
22542 # include <stddef.h>
22544 # include <wchar.h>
22546 #ifdef HAVE_STDLIB_H
22547 # include <stdlib.h>
22553 typedef wchar_t ac__type_sizeof_;
22557 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22564 rm -f conftest.$ac_objext
22565 if { (ac_try="$ac_compile"
22566 case "(($ac_try" in
22567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22568 *) ac_try_echo=$ac_try;;
22570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22571 (eval "$ac_compile") 2>conftest.er1
22573 grep -v '^ *+' conftest.er1 >conftest.err
22575 cat conftest.err >&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); } && {
22578 test -z "$ac_c_werror_flag" ||
22579 test ! -s conftest.err
22580 } && test -s conftest.$ac_objext; then
22583 cat >conftest.$ac_ext <<_ACEOF
22586 cat confdefs.h >>conftest.$ac_ext
22587 cat >>conftest.$ac_ext <<_ACEOF
22588 /* end confdefs.h. */
22590 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22591 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22592 # error "fake wchar_t"
22594 #ifdef HAVE_WCHAR_H
22596 # include <stddef.h>
22598 # include <wchar.h>
22600 #ifdef HAVE_STDLIB_H
22601 # include <stdlib.h>
22607 typedef wchar_t ac__type_sizeof_;
22611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22618 rm -f conftest.$ac_objext
22619 if { (ac_try="$ac_compile"
22620 case "(($ac_try" in
22621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22622 *) ac_try_echo=$ac_try;;
22624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22625 (eval "$ac_compile") 2>conftest.er1
22627 grep -v '^ *+' conftest.er1 >conftest.err
22629 cat conftest.err >&5
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); } && {
22632 test -z "$ac_c_werror_flag" ||
22633 test ! -s conftest.err
22634 } && test -s conftest.$ac_objext; then
22635 ac_hi=$ac_mid; break
22637 echo "$as_me: failed program was:" >&5
22638 sed 's/^/| /' conftest.$ac_ext >&5
22640 ac_lo=`expr $ac_mid + 1`
22641 if test $ac_lo -le $ac_mid; then
22645 ac_mid=`expr 2 '*' $ac_mid + 1`
22648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22651 echo "$as_me: failed program was:" >&5
22652 sed 's/^/| /' conftest.$ac_ext >&5
22654 cat >conftest.$ac_ext <<_ACEOF
22657 cat confdefs.h >>conftest.$ac_ext
22658 cat >>conftest.$ac_ext <<_ACEOF
22659 /* end confdefs.h. */
22661 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22662 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22663 # error "fake wchar_t"
22665 #ifdef HAVE_WCHAR_H
22667 # include <stddef.h>
22669 # include <wchar.h>
22671 #ifdef HAVE_STDLIB_H
22672 # include <stdlib.h>
22678 typedef wchar_t ac__type_sizeof_;
22682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22689 rm -f conftest.$ac_objext
22690 if { (ac_try="$ac_compile"
22691 case "(($ac_try" in
22692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22693 *) ac_try_echo=$ac_try;;
22695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22696 (eval "$ac_compile") 2>conftest.er1
22698 grep -v '^ *+' conftest.er1 >conftest.err
22700 cat conftest.err >&5
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); } && {
22703 test -z "$ac_c_werror_flag" ||
22704 test ! -s conftest.err
22705 } && test -s conftest.$ac_objext; then
22708 cat >conftest.$ac_ext <<_ACEOF
22711 cat confdefs.h >>conftest.$ac_ext
22712 cat >>conftest.$ac_ext <<_ACEOF
22713 /* end confdefs.h. */
22715 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22716 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22717 # error "fake wchar_t"
22719 #ifdef HAVE_WCHAR_H
22721 # include <stddef.h>
22723 # include <wchar.h>
22725 #ifdef HAVE_STDLIB_H
22726 # include <stdlib.h>
22732 typedef wchar_t ac__type_sizeof_;
22736 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22743 rm -f conftest.$ac_objext
22744 if { (ac_try="$ac_compile"
22745 case "(($ac_try" in
22746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22747 *) ac_try_echo=$ac_try;;
22749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22750 (eval "$ac_compile") 2>conftest.er1
22752 grep -v '^ *+' conftest.er1 >conftest.err
22754 cat conftest.err >&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); } && {
22757 test -z "$ac_c_werror_flag" ||
22758 test ! -s conftest.err
22759 } && test -s conftest.$ac_objext; then
22760 ac_lo=$ac_mid; break
22762 echo "$as_me: failed program was:" >&5
22763 sed 's/^/| /' conftest.$ac_ext >&5
22765 ac_hi=`expr '(' $ac_mid ')' - 1`
22766 if test $ac_mid -le $ac_hi; then
22770 ac_mid=`expr 2 '*' $ac_mid`
22773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22776 echo "$as_me: failed program was:" >&5
22777 sed 's/^/| /' conftest.$ac_ext >&5
22782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22786 # Binary search between lo and hi bounds.
22787 while test "x$ac_lo" != "x$ac_hi"; do
22788 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22789 cat >conftest.$ac_ext <<_ACEOF
22792 cat confdefs.h >>conftest.$ac_ext
22793 cat >>conftest.$ac_ext <<_ACEOF
22794 /* end confdefs.h. */
22796 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22797 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22798 # error "fake wchar_t"
22800 #ifdef HAVE_WCHAR_H
22802 # include <stddef.h>
22804 # include <wchar.h>
22806 #ifdef HAVE_STDLIB_H
22807 # include <stdlib.h>
22813 typedef wchar_t ac__type_sizeof_;
22817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22824 rm -f conftest.$ac_objext
22825 if { (ac_try="$ac_compile"
22826 case "(($ac_try" in
22827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22828 *) ac_try_echo=$ac_try;;
22830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22831 (eval "$ac_compile") 2>conftest.er1
22833 grep -v '^ *+' conftest.er1 >conftest.err
22835 cat conftest.err >&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } && {
22838 test -z "$ac_c_werror_flag" ||
22839 test ! -s conftest.err
22840 } && test -s conftest.$ac_objext; then
22843 echo "$as_me: failed program was:" >&5
22844 sed 's/^/| /' conftest.$ac_ext >&5
22846 ac_lo=`expr '(' $ac_mid ')' + 1`
22849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22852 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22853 '') if test "$ac_cv_type_wchar_t" = yes; then
22854 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22855 See \`config.log' for more details." >&5
22856 echo "$as_me: error: cannot compute sizeof (wchar_t)
22857 See \`config.log' for more details." >&2;}
22858 { (exit 77); exit 77; }; }
22860 ac_cv_sizeof_wchar_t=0
22864 cat >conftest.$ac_ext <<_ACEOF
22867 cat confdefs.h >>conftest.$ac_ext
22868 cat >>conftest.$ac_ext <<_ACEOF
22869 /* end confdefs.h. */
22871 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22872 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22873 # error "fake wchar_t"
22875 #ifdef HAVE_WCHAR_H
22877 # include <stddef.h>
22879 # include <wchar.h>
22881 #ifdef HAVE_STDLIB_H
22882 # include <stdlib.h>
22888 typedef wchar_t ac__type_sizeof_;
22889 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22890 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22892 #include <stdlib.h>
22897 FILE *f = fopen ("conftest.val", "w");
22900 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22902 long int i = longval ();
22903 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22905 fprintf (f, "%ld\n", i);
22909 unsigned long int i = ulongval ();
22910 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22912 fprintf (f, "%lu\n", i);
22914 return ferror (f) || fclose (f) != 0;
22920 rm -f conftest$ac_exeext
22921 if { (ac_try="$ac_link"
22922 case "(($ac_try" in
22923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22924 *) ac_try_echo=$ac_try;;
22926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22927 (eval "$ac_link") 2>&5
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22931 { (case "(($ac_try" in
22932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22933 *) ac_try_echo=$ac_try;;
22935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22936 (eval "$ac_try") 2>&5
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); }; }; then
22940 ac_cv_sizeof_wchar_t=`cat conftest.val`
22942 echo "$as_me: program exited with status $ac_status" >&5
22943 echo "$as_me: failed program was:" >&5
22944 sed 's/^/| /' conftest.$ac_ext >&5
22946 ( exit $ac_status )
22947 if test "$ac_cv_type_wchar_t" = yes; then
22948 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22949 See \`config.log' for more details." >&5
22950 echo "$as_me: error: cannot compute sizeof (wchar_t)
22951 See \`config.log' for more details." >&2;}
22952 { (exit 77); exit 77; }; }
22954 ac_cv_sizeof_wchar_t=0
22957 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22961 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22962 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22966 cat >>confdefs.h <<_ACEOF
22967 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22971 if test "$ac_cv_sizeof_wchar_t" != 0; then
22977 { echo "$as_me:$LINENO: checking for va_copy" >&5
22978 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22979 if test "${wx_cv_func_va_copy+set}" = set; then
22980 echo $ECHO_N "(cached) $ECHO_C" >&6
22984 ac_cpp='$CXXCPP $CPPFLAGS'
22985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22989 cat >conftest.$ac_ext <<_ACEOF
22991 #include <stdarg.h>
22992 void foo(char *f, ...)
23006 rm -f conftest.$ac_objext conftest$ac_exeext
23007 if { (ac_try="$ac_link"
23008 case "(($ac_try" in
23009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23010 *) ac_try_echo=$ac_try;;
23012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23013 (eval "$ac_link") 2>conftest.er1
23015 grep -v '^ *+' conftest.er1 >conftest.err
23017 cat conftest.err >&5
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); } && {
23020 test -z "$ac_cxx_werror_flag" ||
23021 test ! -s conftest.err
23022 } && test -s conftest$ac_exeext &&
23023 $as_test_x conftest$ac_exeext; then
23024 wx_cv_func_va_copy=yes
23026 echo "$as_me: failed program was:" >&5
23027 sed 's/^/| /' conftest.$ac_ext >&5
23029 wx_cv_func_va_copy=no
23033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23034 conftest$ac_exeext conftest.$ac_ext
23036 ac_cpp='$CPP $CPPFLAGS'
23037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23044 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23045 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23047 if test $wx_cv_func_va_copy = "yes"; then
23048 cat >>confdefs.h <<\_ACEOF
23049 #define HAVE_VA_COPY 1
23053 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23054 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23055 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23056 echo $ECHO_N "(cached) $ECHO_C" >&6
23059 if test "$cross_compiling" = yes; then
23060 wx_cv_type_va_list_lvalue=yes
23063 cat >conftest.$ac_ext <<_ACEOF
23065 #include <stdarg.h>
23066 int foo(char *f, ...)
23071 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23079 return foo("hi", 17);
23082 rm -f conftest$ac_exeext
23083 if { (ac_try="$ac_link"
23084 case "(($ac_try" in
23085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23086 *) ac_try_echo=$ac_try;;
23088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23089 (eval "$ac_link") 2>&5
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23093 { (case "(($ac_try" in
23094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23095 *) ac_try_echo=$ac_try;;
23097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23098 (eval "$ac_try") 2>&5
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); }; }; then
23102 wx_cv_type_va_list_lvalue=yes
23104 echo "$as_me: program exited with status $ac_status" >&5
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.$ac_ext >&5
23108 ( exit $ac_status )
23109 wx_cv_type_va_list_lvalue=no
23111 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23118 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23119 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23121 if test $wx_cv_type_va_list_lvalue != "yes"; then
23122 cat >>confdefs.h <<\_ACEOF
23123 #define VA_LIST_IS_ARRAY 1
23129 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23131 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23132 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23133 if test "${wx_cv_have_variadic_macros+set}" = set; then
23134 echo $ECHO_N "(cached) $ECHO_C" >&6
23138 ac_cpp='$CXXCPP $CPPFLAGS'
23139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23143 cat >conftest.$ac_ext <<_ACEOF
23146 cat confdefs.h >>conftest.$ac_ext
23147 cat >>conftest.$ac_ext <<_ACEOF
23148 /* end confdefs.h. */
23151 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23157 test("%s %d %p", "test", 1, 0);
23164 rm -f conftest.$ac_objext
23165 if { (ac_try="$ac_compile"
23166 case "(($ac_try" in
23167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23168 *) ac_try_echo=$ac_try;;
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_compile") 2>conftest.er1
23173 grep -v '^ *+' conftest.er1 >conftest.err
23175 cat conftest.err >&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } && {
23178 test -z "$ac_cxx_werror_flag" ||
23179 test ! -s conftest.err
23180 } && test -s conftest.$ac_objext; then
23181 wx_cv_have_variadic_macros=yes
23183 echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.$ac_ext >&5
23186 wx_cv_have_variadic_macros=no
23190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23192 ac_cpp='$CPP $CPPFLAGS'
23193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23200 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23201 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23203 if test $wx_cv_have_variadic_macros = "yes"; then
23204 cat >>confdefs.h <<\_ACEOF
23205 #define HAVE_VARIADIC_MACROS 1
23211 # Check whether --enable-largefile was given.
23212 if test "${enable_largefile+set}" = set; then
23213 enableval=$enable_largefile;
23216 if test "$enable_largefile" != no; then
23219 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23220 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23221 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23222 echo $ECHO_N "(cached) $ECHO_C" >&6
23225 cat >conftest.$ac_ext <<_ACEOF
23228 cat confdefs.h >>conftest.$ac_ext
23229 cat >>conftest.$ac_ext <<_ACEOF
23230 /* end confdefs.h. */
23231 #define _FILE_OFFSET_BITS 64
23232 #include <sys/types.h>
23237 unsigned int field: sizeof(off_t) == 8;
23244 rm -f conftest.$ac_objext
23245 if { (ac_try="$ac_compile"
23246 case "(($ac_try" in
23247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23248 *) ac_try_echo=$ac_try;;
23250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23251 (eval "$ac_compile") 2>conftest.er1
23253 grep -v '^ *+' conftest.er1 >conftest.err
23255 cat conftest.err >&5
23256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23257 (exit $ac_status); } && {
23258 test -z "$ac_c_werror_flag" ||
23259 test ! -s conftest.err
23260 } && test -s conftest.$ac_objext; then
23261 ac_cv_sys_file_offset_bits=64
23263 echo "$as_me: failed program was:" >&5
23264 sed 's/^/| /' conftest.$ac_ext >&5
23266 ac_cv_sys_file_offset_bits=no
23269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23273 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23274 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23276 if test "$ac_cv_sys_file_offset_bits" != no; then
23278 cat >>confdefs.h <<_ACEOF
23279 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23284 if test "x$wx_largefile" != "xyes"; then
23286 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23287 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23288 if test "${ac_cv_sys_large_files+set}" = set; then
23289 echo $ECHO_N "(cached) $ECHO_C" >&6
23292 cat >conftest.$ac_ext <<_ACEOF
23295 cat confdefs.h >>conftest.$ac_ext
23296 cat >>conftest.$ac_ext <<_ACEOF
23297 /* end confdefs.h. */
23298 #define _LARGE_FILES 1
23299 #include <sys/types.h>
23304 unsigned int field: sizeof(off_t) == 8;
23311 rm -f conftest.$ac_objext
23312 if { (ac_try="$ac_compile"
23313 case "(($ac_try" in
23314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23315 *) ac_try_echo=$ac_try;;
23317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23318 (eval "$ac_compile") 2>conftest.er1
23320 grep -v '^ *+' conftest.er1 >conftest.err
23322 cat conftest.err >&5
23323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23324 (exit $ac_status); } && {
23325 test -z "$ac_c_werror_flag" ||
23326 test ! -s conftest.err
23327 } && test -s conftest.$ac_objext; then
23328 ac_cv_sys_large_files=1
23330 echo "$as_me: failed program was:" >&5
23331 sed 's/^/| /' conftest.$ac_ext >&5
23333 ac_cv_sys_large_files=no
23336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23340 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23341 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23343 if test "$ac_cv_sys_large_files" != no; then
23345 cat >>confdefs.h <<_ACEOF
23346 #define _LARGE_FILES $ac_cv_sys_large_files
23353 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23354 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23355 if test "x$wx_largefile" = "xyes"; then
23356 cat >>confdefs.h <<\_ACEOF
23357 #define HAVE_LARGEFILE_SUPPORT 1
23361 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23362 echo "${ECHO_T}$wx_largefile" >&6; }
23366 if test "x$wx_largefile" = "xyes"; then
23367 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23368 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23370 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23371 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23372 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23373 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23374 echo $ECHO_N "(cached) $ECHO_C" >&6
23378 ac_cpp='$CXXCPP $CPPFLAGS'
23379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23383 cat >conftest.$ac_ext <<_ACEOF
23386 cat confdefs.h >>conftest.$ac_ext
23387 cat >>conftest.$ac_ext <<_ACEOF
23388 /* end confdefs.h. */
23394 #ifndef __STDC_EXT__
23402 rm -f conftest.$ac_objext
23403 if { (ac_try="$ac_compile"
23404 case "(($ac_try" in
23405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23406 *) ac_try_echo=$ac_try;;
23408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23409 (eval "$ac_compile") 2>conftest.er1
23411 grep -v '^ *+' conftest.er1 >conftest.err
23413 cat conftest.err >&5
23414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23415 (exit $ac_status); } && {
23416 test -z "$ac_cxx_werror_flag" ||
23417 test ! -s conftest.err
23418 } && test -s conftest.$ac_objext; then
23419 wx_cv_STDC_EXT_required=no
23421 echo "$as_me: failed program was:" >&5
23422 sed 's/^/| /' conftest.$ac_ext >&5
23424 wx_cv_STDC_EXT_required=yes
23428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23430 ac_cpp='$CPP $CPPFLAGS'
23431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23438 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23439 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23440 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23441 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23445 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23447 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23448 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23449 if test "${ac_cv_sys_largefile_source+set}" = set; then
23450 echo $ECHO_N "(cached) $ECHO_C" >&6
23453 cat >conftest.$ac_ext <<_ACEOF
23456 cat confdefs.h >>conftest.$ac_ext
23457 cat >>conftest.$ac_ext <<_ACEOF
23458 /* end confdefs.h. */
23459 #include <sys/types.h> /* for off_t */
23464 int (*fp) (FILE *, off_t, int) = fseeko;
23465 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23470 rm -f conftest.$ac_objext conftest$ac_exeext
23471 if { (ac_try="$ac_link"
23472 case "(($ac_try" in
23473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23474 *) ac_try_echo=$ac_try;;
23476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23477 (eval "$ac_link") 2>conftest.er1
23479 grep -v '^ *+' conftest.er1 >conftest.err
23481 cat conftest.err >&5
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); } && {
23484 test -z "$ac_c_werror_flag" ||
23485 test ! -s conftest.err
23486 } && test -s conftest$ac_exeext &&
23487 $as_test_x conftest$ac_exeext; then
23488 ac_cv_sys_largefile_source=no; break
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.$ac_ext >&5
23496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23497 conftest$ac_exeext conftest.$ac_ext
23498 cat >conftest.$ac_ext <<_ACEOF
23501 cat confdefs.h >>conftest.$ac_ext
23502 cat >>conftest.$ac_ext <<_ACEOF
23503 /* end confdefs.h. */
23504 #define _LARGEFILE_SOURCE 1
23505 #include <sys/types.h> /* for off_t */
23510 int (*fp) (FILE *, off_t, int) = fseeko;
23511 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23516 rm -f conftest.$ac_objext conftest$ac_exeext
23517 if { (ac_try="$ac_link"
23518 case "(($ac_try" in
23519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23520 *) ac_try_echo=$ac_try;;
23522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23523 (eval "$ac_link") 2>conftest.er1
23525 grep -v '^ *+' conftest.er1 >conftest.err
23527 cat conftest.err >&5
23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529 (exit $ac_status); } && {
23530 test -z "$ac_c_werror_flag" ||
23531 test ! -s conftest.err
23532 } && test -s conftest$ac_exeext &&
23533 $as_test_x conftest$ac_exeext; then
23534 ac_cv_sys_largefile_source=1; break
23536 echo "$as_me: failed program was:" >&5
23537 sed 's/^/| /' conftest.$ac_ext >&5
23542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23543 conftest$ac_exeext conftest.$ac_ext
23544 ac_cv_sys_largefile_source=unknown
23548 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23549 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23550 case $ac_cv_sys_largefile_source in #(
23553 cat >>confdefs.h <<_ACEOF
23554 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23560 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23561 # in glibc 2.1.3, but that breaks too many other things.
23562 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23563 if test $ac_cv_sys_largefile_source != unknown; then
23565 cat >>confdefs.h <<\_ACEOF
23566 #define HAVE_FSEEKO 1
23571 if test "$ac_cv_sys_largefile_source" != no; then
23572 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23576 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23577 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23578 if test "${ac_cv_c_bigendian+set}" = set; then
23579 echo $ECHO_N "(cached) $ECHO_C" >&6
23581 ac_cv_c_bigendian=unknown
23582 # See if sys/param.h defines the BYTE_ORDER macro.
23583 cat >conftest.$ac_ext <<_ACEOF
23586 cat confdefs.h >>conftest.$ac_ext
23587 cat >>conftest.$ac_ext <<_ACEOF
23588 /* end confdefs.h. */
23589 #include <sys/types.h>
23590 #include <sys/param.h>
23595 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23596 bogus endian macros
23602 rm -f conftest.$ac_objext
23603 if { (ac_try="$ac_compile"
23604 case "(($ac_try" in
23605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23606 *) ac_try_echo=$ac_try;;
23608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23609 (eval "$ac_compile") 2>conftest.er1
23611 grep -v '^ *+' conftest.er1 >conftest.err
23613 cat conftest.err >&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); } && {
23616 test -z "$ac_c_werror_flag" ||
23617 test ! -s conftest.err
23618 } && test -s conftest.$ac_objext; then
23619 # It does; now see whether it defined to BIG_ENDIAN or not.
23620 cat >conftest.$ac_ext <<_ACEOF
23623 cat confdefs.h >>conftest.$ac_ext
23624 cat >>conftest.$ac_ext <<_ACEOF
23625 /* end confdefs.h. */
23626 #include <sys/types.h>
23627 #include <sys/param.h>
23632 #if BYTE_ORDER != BIG_ENDIAN
23639 rm -f conftest.$ac_objext
23640 if { (ac_try="$ac_compile"
23641 case "(($ac_try" in
23642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23643 *) ac_try_echo=$ac_try;;
23645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23646 (eval "$ac_compile") 2>conftest.er1
23648 grep -v '^ *+' conftest.er1 >conftest.err
23650 cat conftest.err >&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); } && {
23653 test -z "$ac_c_werror_flag" ||
23654 test ! -s conftest.err
23655 } && test -s conftest.$ac_objext; then
23656 ac_cv_c_bigendian=yes
23658 echo "$as_me: failed program was:" >&5
23659 sed 's/^/| /' conftest.$ac_ext >&5
23661 ac_cv_c_bigendian=no
23664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.$ac_ext >&5
23672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23673 if test $ac_cv_c_bigendian = unknown; then
23674 if test "$cross_compiling" = yes; then
23675 ac_cv_c_bigendian=unknown
23677 cat >conftest.$ac_ext <<_ACEOF
23680 cat confdefs.h >>conftest.$ac_ext
23681 cat >>conftest.$ac_ext <<_ACEOF
23682 /* end confdefs.h. */
23684 /* Are we little or big endian? From Harbison&Steele. */
23688 char c[sizeof (long)];
23691 exit (u.c[sizeof (long) - 1] == 1);
23694 rm -f conftest$ac_exeext
23695 if { (ac_try="$ac_link"
23696 case "(($ac_try" in
23697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23698 *) ac_try_echo=$ac_try;;
23700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23701 (eval "$ac_link") 2>&5
23703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23704 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23705 { (case "(($ac_try" in
23706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23707 *) ac_try_echo=$ac_try;;
23709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23710 (eval "$ac_try") 2>&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); }; }; then
23714 ac_cv_c_bigendian=no
23716 echo "$as_me: program exited with status $ac_status" >&5
23717 echo "$as_me: failed program was:" >&5
23718 sed 's/^/| /' conftest.$ac_ext >&5
23720 ( exit $ac_status )
23721 ac_cv_c_bigendian=yes
23723 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23729 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23730 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23731 if test $ac_cv_c_bigendian = unknown; then
23732 { 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
23733 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;}
23735 if test $ac_cv_c_bigendian = yes; then
23736 cat >>confdefs.h <<\_ACEOF
23737 #define WORDS_BIGENDIAN 1
23746 ac_cpp='$CXXCPP $CPPFLAGS'
23747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23753 for ac_header in iostream
23755 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23756 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23759 echo $ECHO_N "(cached) $ECHO_C" >&6
23761 cat >conftest.$ac_ext <<_ACEOF
23764 cat confdefs.h >>conftest.$ac_ext
23765 cat >>conftest.$ac_ext <<_ACEOF
23766 /* end confdefs.h. */
23769 #include <$ac_header>
23771 rm -f conftest.$ac_objext
23772 if { (ac_try="$ac_compile"
23773 case "(($ac_try" in
23774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23775 *) ac_try_echo=$ac_try;;
23777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23778 (eval "$ac_compile") 2>conftest.er1
23780 grep -v '^ *+' conftest.er1 >conftest.err
23782 cat conftest.err >&5
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); } && {
23785 test -z "$ac_cxx_werror_flag" ||
23786 test ! -s conftest.err
23787 } && test -s conftest.$ac_objext; then
23788 eval "$as_ac_Header=yes"
23790 echo "$as_me: failed program was:" >&5
23791 sed 's/^/| /' conftest.$ac_ext >&5
23793 eval "$as_ac_Header=no"
23796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23798 ac_res=`eval echo '${'$as_ac_Header'}'`
23799 { echo "$as_me:$LINENO: result: $ac_res" >&5
23800 echo "${ECHO_T}$ac_res" >&6; }
23801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23802 cat >>confdefs.h <<_ACEOF
23803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23811 if test "$ac_cv_header_iostream" = "yes" ; then
23814 cat >>confdefs.h <<\_ACEOF
23815 #define wxUSE_IOSTREAMH 1
23821 ac_cpp='$CPP $CPPFLAGS'
23822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23829 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23830 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23831 if test "${wx_cv_cpp_bool+set}" = set; then
23832 echo $ECHO_N "(cached) $ECHO_C" >&6
23837 ac_cpp='$CXXCPP $CPPFLAGS'
23838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23843 cat >conftest.$ac_ext <<_ACEOF
23846 cat confdefs.h >>conftest.$ac_ext
23847 cat >>conftest.$ac_ext <<_ACEOF
23848 /* end confdefs.h. */
23863 rm -f conftest.$ac_objext
23864 if { (ac_try="$ac_compile"
23865 case "(($ac_try" in
23866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23867 *) ac_try_echo=$ac_try;;
23869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23870 (eval "$ac_compile") 2>conftest.er1
23872 grep -v '^ *+' conftest.er1 >conftest.err
23874 cat conftest.err >&5
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); } && {
23877 test -z "$ac_cxx_werror_flag" ||
23878 test ! -s conftest.err
23879 } && test -s conftest.$ac_objext; then
23884 echo "$as_me: failed program was:" >&5
23885 sed 's/^/| /' conftest.$ac_ext >&5
23893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23896 ac_cpp='$CPP $CPPFLAGS'
23897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23903 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23904 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23906 if test "$wx_cv_cpp_bool" = "yes"; then
23907 cat >>confdefs.h <<\_ACEOF
23908 #define HAVE_BOOL 1
23915 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23916 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23917 if test "${wx_cv_explicit+set}" = set; then
23918 echo $ECHO_N "(cached) $ECHO_C" >&6
23923 ac_cpp='$CXXCPP $CPPFLAGS'
23924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23929 cat >conftest.$ac_ext <<_ACEOF
23932 cat confdefs.h >>conftest.$ac_ext
23933 cat >>conftest.$ac_ext <<_ACEOF
23934 /* end confdefs.h. */
23936 class Foo { public: explicit Foo(int) {} };
23948 rm -f conftest.$ac_objext
23949 if { (ac_try="$ac_compile"
23950 case "(($ac_try" in
23951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23952 *) ac_try_echo=$ac_try;;
23954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23955 (eval "$ac_compile") 2>conftest.er1
23957 grep -v '^ *+' conftest.er1 >conftest.err
23959 cat conftest.err >&5
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); } && {
23962 test -z "$ac_cxx_werror_flag" ||
23963 test ! -s conftest.err
23964 } && test -s conftest.$ac_objext; then
23966 cat >conftest.$ac_ext <<_ACEOF
23969 cat confdefs.h >>conftest.$ac_ext
23970 cat >>conftest.$ac_ext <<_ACEOF
23971 /* end confdefs.h. */
23973 class Foo { public: explicit Foo(int) {} };
23974 static void TakeFoo(const Foo& foo) { }
23987 rm -f conftest.$ac_objext
23988 if { (ac_try="$ac_compile"
23989 case "(($ac_try" in
23990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23991 *) ac_try_echo=$ac_try;;
23993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23994 (eval "$ac_compile") 2>conftest.er1
23996 grep -v '^ *+' conftest.er1 >conftest.err
23998 cat conftest.err >&5
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); } && {
24001 test -z "$ac_cxx_werror_flag" ||
24002 test ! -s conftest.err
24003 } && test -s conftest.$ac_objext; then
24006 echo "$as_me: failed program was:" >&5
24007 sed 's/^/| /' conftest.$ac_ext >&5
24013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24016 echo "$as_me: failed program was:" >&5
24017 sed 's/^/| /' conftest.$ac_ext >&5
24023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24026 ac_cpp='$CPP $CPPFLAGS'
24027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24033 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24034 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24036 if test "$wx_cv_explicit" = "yes"; then
24037 cat >>confdefs.h <<\_ACEOF
24038 #define HAVE_EXPLICIT 1
24044 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24045 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24046 if test "${ac_cv_cxx_const_cast+set}" = set; then
24047 echo $ECHO_N "(cached) $ECHO_C" >&6
24051 ac_cpp='$CXXCPP $CPPFLAGS'
24052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24056 cat >conftest.$ac_ext <<_ACEOF
24059 cat confdefs.h >>conftest.$ac_ext
24060 cat >>conftest.$ac_ext <<_ACEOF
24061 /* end confdefs.h. */
24066 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24071 rm -f conftest.$ac_objext
24072 if { (ac_try="$ac_compile"
24073 case "(($ac_try" in
24074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24075 *) ac_try_echo=$ac_try;;
24077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24078 (eval "$ac_compile") 2>conftest.er1
24080 grep -v '^ *+' conftest.er1 >conftest.err
24082 cat conftest.err >&5
24083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084 (exit $ac_status); } && {
24085 test -z "$ac_cxx_werror_flag" ||
24086 test ! -s conftest.err
24087 } && test -s conftest.$ac_objext; then
24088 ac_cv_cxx_const_cast=yes
24090 echo "$as_me: failed program was:" >&5
24091 sed 's/^/| /' conftest.$ac_ext >&5
24093 ac_cv_cxx_const_cast=no
24096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24098 ac_cpp='$CPP $CPPFLAGS'
24099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24105 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24106 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24107 if test "$ac_cv_cxx_const_cast" = yes; then
24109 cat >>confdefs.h <<\_ACEOF
24110 #define HAVE_CONST_CAST
24115 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24116 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24117 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24118 echo $ECHO_N "(cached) $ECHO_C" >&6
24122 ac_cpp='$CXXCPP $CPPFLAGS'
24123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24127 cat >conftest.$ac_ext <<_ACEOF
24130 cat confdefs.h >>conftest.$ac_ext
24131 cat >>conftest.$ac_ext <<_ACEOF
24132 /* end confdefs.h. */
24133 #include <typeinfo>
24134 class Base { public : Base () {} virtual void f () = 0;};
24135 class Derived : public Base { public : Derived () {} virtual void f () {} };
24136 class Unrelated { public : Unrelated () {} };
24137 int g (Unrelated&) { return 0; }
24142 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24147 rm -f conftest.$ac_objext
24148 if { (ac_try="$ac_compile"
24149 case "(($ac_try" in
24150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24151 *) ac_try_echo=$ac_try;;
24153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24154 (eval "$ac_compile") 2>conftest.er1
24156 grep -v '^ *+' conftest.er1 >conftest.err
24158 cat conftest.err >&5
24159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160 (exit $ac_status); } && {
24161 test -z "$ac_cxx_werror_flag" ||
24162 test ! -s conftest.err
24163 } && test -s conftest.$ac_objext; then
24164 ac_cv_cxx_reinterpret_cast=yes
24166 echo "$as_me: failed program was:" >&5
24167 sed 's/^/| /' conftest.$ac_ext >&5
24169 ac_cv_cxx_reinterpret_cast=no
24172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24174 ac_cpp='$CPP $CPPFLAGS'
24175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24181 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24182 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24183 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24185 cat >>confdefs.h <<\_ACEOF
24186 #define HAVE_REINTERPRET_CAST
24191 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24192 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24193 if test "${ac_cv_cxx_static_cast+set}" = set; then
24194 echo $ECHO_N "(cached) $ECHO_C" >&6
24198 ac_cpp='$CXXCPP $CPPFLAGS'
24199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24203 cat >conftest.$ac_ext <<_ACEOF
24206 cat confdefs.h >>conftest.$ac_ext
24207 cat >>conftest.$ac_ext <<_ACEOF
24208 /* end confdefs.h. */
24209 #include <typeinfo>
24210 class Base { public : Base () {} virtual void f () = 0; };
24211 class Derived : public Base { public : Derived () {} virtual void f () {} };
24212 int g (Derived&) { return 0; }
24217 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24222 rm -f conftest.$ac_objext
24223 if { (ac_try="$ac_compile"
24224 case "(($ac_try" in
24225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24226 *) ac_try_echo=$ac_try;;
24228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24229 (eval "$ac_compile") 2>conftest.er1
24231 grep -v '^ *+' conftest.er1 >conftest.err
24233 cat conftest.err >&5
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); } && {
24236 test -z "$ac_cxx_werror_flag" ||
24237 test ! -s conftest.err
24238 } && test -s conftest.$ac_objext; then
24239 ac_cv_cxx_static_cast=yes
24241 echo "$as_me: failed program was:" >&5
24242 sed 's/^/| /' conftest.$ac_ext >&5
24244 ac_cv_cxx_static_cast=no
24247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24249 ac_cpp='$CPP $CPPFLAGS'
24250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24256 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24257 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24258 if test "$ac_cv_cxx_static_cast" = yes; then
24260 cat >>confdefs.h <<\_ACEOF
24261 #define HAVE_STATIC_CAST
24267 if test "x$SUNCXX" = xyes; then
24268 CXXFLAGS="-features=tmplife $CXXFLAGS"
24271 if test "x$SUNCC" = xyes; then
24272 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24275 if test "x$SGICC" = "xyes"; then
24276 CFLAGS="-woff 3970 $CFLAGS"
24278 if test "x$SGICXX" = "xyes"; then
24279 CXXFLAGS="-woff 3970 $CXXFLAGS"
24282 if test "x$HPCC" = "xyes"; then
24283 CFLAGS="+W 2011,2450 $CFLAGS"
24285 if test "x$HPCXX" = "xyes"; then
24286 CXXFLAGS="+W 2340 $CXXFLAGS"
24289 if test "x$COMPAQCXX" = "xyes"; then
24290 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24294 ac_cpp='$CXXCPP $CPPFLAGS'
24295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24300 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24301 if test "$wxUSE_UNICODE" = "yes"; then
24302 std_string="std::wstring"
24303 char_type="wchar_t"
24305 std_string="std::string"
24309 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24310 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24311 if test "${wx_cv_class_stdstring+set}" = set; then
24312 echo $ECHO_N "(cached) $ECHO_C" >&6
24315 cat >conftest.$ac_ext <<_ACEOF
24318 cat confdefs.h >>conftest.$ac_ext
24319 cat >>conftest.$ac_ext <<_ACEOF
24320 /* end confdefs.h. */
24330 rm -f conftest.$ac_objext
24331 if { (ac_try="$ac_compile"
24332 case "(($ac_try" in
24333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24334 *) ac_try_echo=$ac_try;;
24336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24337 (eval "$ac_compile") 2>conftest.er1
24339 grep -v '^ *+' conftest.er1 >conftest.err
24341 cat conftest.err >&5
24342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24343 (exit $ac_status); } && {
24344 test -z "$ac_cxx_werror_flag" ||
24345 test ! -s conftest.err
24346 } && test -s conftest.$ac_objext; then
24347 wx_cv_class_stdstring=yes
24349 echo "$as_me: failed program was:" >&5
24350 sed 's/^/| /' conftest.$ac_ext >&5
24352 wx_cv_class_stdstring=no
24356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24360 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24361 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24363 if test "$wx_cv_class_stdstring" = yes; then
24364 if test "$wxUSE_UNICODE" = "yes"; then
24365 cat >>confdefs.h <<\_ACEOF
24366 #define HAVE_STD_WSTRING 1
24371 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24372 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24373 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24374 echo $ECHO_N "(cached) $ECHO_C" >&6
24377 cat >conftest.$ac_ext <<_ACEOF
24380 cat confdefs.h >>conftest.$ac_ext
24381 cat >>conftest.$ac_ext <<_ACEOF
24382 /* end confdefs.h. */
24384 #ifdef HAVE_WCHAR_H
24386 # include <stddef.h>
24388 # include <wchar.h>
24390 #ifdef HAVE_STDLIB_H
24391 # include <stdlib.h>
24399 std::basic_string<$char_type> foo;
24400 const $char_type* dummy = foo.c_str();
24405 rm -f conftest.$ac_objext
24406 if { (ac_try="$ac_compile"
24407 case "(($ac_try" in
24408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24409 *) ac_try_echo=$ac_try;;
24411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24412 (eval "$ac_compile") 2>conftest.er1
24414 grep -v '^ *+' conftest.er1 >conftest.err
24416 cat conftest.err >&5
24417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24418 (exit $ac_status); } && {
24419 test -z "$ac_cxx_werror_flag" ||
24420 test ! -s conftest.err
24421 } && test -s conftest.$ac_objext; then
24422 wx_cv_class_stdbasicstring=yes
24424 echo "$as_me: failed program was:" >&5
24425 sed 's/^/| /' conftest.$ac_ext >&5
24427 wx_cv_class_stdbasicstring=no
24431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24435 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24436 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24438 if test "$wx_cv_class_stdbasicstring" != yes; then
24439 if test "$wxUSE_STL" = "yes"; then
24440 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24441 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24442 { (exit 1); exit 1; }; }
24443 elif test "$wxUSE_STD_STRING" = "yes"; then
24444 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24445 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24446 { (exit 1); exit 1; }; }
24448 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24449 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24450 wxUSE_STD_STRING=no
24456 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24457 { echo "$as_me:$LINENO: checking for std::istream" >&5
24458 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24459 if test "${ac_cv_type_std__istream+set}" = set; then
24460 echo $ECHO_N "(cached) $ECHO_C" >&6
24462 cat >conftest.$ac_ext <<_ACEOF
24465 cat confdefs.h >>conftest.$ac_ext
24466 cat >>conftest.$ac_ext <<_ACEOF
24467 /* end confdefs.h. */
24468 #include <iostream>
24470 typedef std::istream ac__type_new_;
24474 if ((ac__type_new_ *) 0)
24476 if (sizeof (ac__type_new_))
24482 rm -f conftest.$ac_objext
24483 if { (ac_try="$ac_compile"
24484 case "(($ac_try" in
24485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24486 *) ac_try_echo=$ac_try;;
24488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24489 (eval "$ac_compile") 2>conftest.er1
24491 grep -v '^ *+' conftest.er1 >conftest.err
24493 cat conftest.err >&5
24494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24495 (exit $ac_status); } && {
24496 test -z "$ac_cxx_werror_flag" ||
24497 test ! -s conftest.err
24498 } && test -s conftest.$ac_objext; then
24499 ac_cv_type_std__istream=yes
24501 echo "$as_me: failed program was:" >&5
24502 sed 's/^/| /' conftest.$ac_ext >&5
24504 ac_cv_type_std__istream=no
24507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24509 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24510 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24511 if test $ac_cv_type_std__istream = yes; then
24513 cat >>confdefs.h <<_ACEOF
24514 #define HAVE_STD__ISTREAM 1
24519 wxUSE_STD_IOSTREAM=no
24521 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24522 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24523 if test "${ac_cv_type_std__ostream+set}" = set; then
24524 echo $ECHO_N "(cached) $ECHO_C" >&6
24526 cat >conftest.$ac_ext <<_ACEOF
24529 cat confdefs.h >>conftest.$ac_ext
24530 cat >>conftest.$ac_ext <<_ACEOF
24531 /* end confdefs.h. */
24532 #include <iostream>
24534 typedef std::ostream ac__type_new_;
24538 if ((ac__type_new_ *) 0)
24540 if (sizeof (ac__type_new_))
24546 rm -f conftest.$ac_objext
24547 if { (ac_try="$ac_compile"
24548 case "(($ac_try" in
24549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24550 *) ac_try_echo=$ac_try;;
24552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24553 (eval "$ac_compile") 2>conftest.er1
24555 grep -v '^ *+' conftest.er1 >conftest.err
24557 cat conftest.err >&5
24558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559 (exit $ac_status); } && {
24560 test -z "$ac_cxx_werror_flag" ||
24561 test ! -s conftest.err
24562 } && test -s conftest.$ac_objext; then
24563 ac_cv_type_std__ostream=yes
24565 echo "$as_me: failed program was:" >&5
24566 sed 's/^/| /' conftest.$ac_ext >&5
24568 ac_cv_type_std__ostream=no
24571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24573 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24574 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24575 if test $ac_cv_type_std__ostream = yes; then
24577 cat >>confdefs.h <<_ACEOF
24578 #define HAVE_STD__OSTREAM 1
24583 wxUSE_STD_IOSTREAM=no
24587 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24588 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24589 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24590 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24591 { (exit 1); exit 1; }; }
24593 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24594 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24599 if test "$wxUSE_STL" = "yes"; then
24600 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24601 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24602 if test "${wx_cv_lib_stl+set}" = set; then
24603 echo $ECHO_N "(cached) $ECHO_C" >&6
24605 cat >conftest.$ac_ext <<_ACEOF
24608 cat confdefs.h >>conftest.$ac_ext
24609 cat >>conftest.$ac_ext <<_ACEOF
24610 /* end confdefs.h. */
24612 #include <functional>
24613 #include <algorithm>
24619 std::vector<int> moo;
24620 std::list<int> foo;
24621 std::vector<int>::iterator it =
24622 std::find_if(moo.begin(), moo.end(),
24623 std::bind2nd(std::less<int>(), 3));
24628 rm -f conftest.$ac_objext
24629 if { (ac_try="$ac_compile"
24630 case "(($ac_try" in
24631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24632 *) ac_try_echo=$ac_try;;
24634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24635 (eval "$ac_compile") 2>conftest.er1
24637 grep -v '^ *+' conftest.er1 >conftest.err
24639 cat conftest.err >&5
24640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641 (exit $ac_status); } && {
24642 test -z "$ac_cxx_werror_flag" ||
24643 test ! -s conftest.err
24644 } && test -s conftest.$ac_objext; then
24647 echo "$as_me: failed program was:" >&5
24648 sed 's/^/| /' conftest.$ac_ext >&5
24654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24657 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24658 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24660 if test "$wx_cv_lib_stl" != yes; then
24661 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24662 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24663 { (exit 1); exit 1; }; }
24666 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24667 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24668 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24669 echo $ECHO_N "(cached) $ECHO_C" >&6
24671 cat >conftest.$ac_ext <<_ACEOF
24674 cat confdefs.h >>conftest.$ac_ext
24675 cat >>conftest.$ac_ext <<_ACEOF
24676 /* end confdefs.h. */
24681 std::string foo, bar;
24683 foo.compare(1, 1, bar);
24684 foo.compare(1, 1, bar, 1, 1);
24686 foo.compare(1, 1, "");
24687 foo.compare(1, 1, "", 2);
24692 rm -f conftest.$ac_objext
24693 if { (ac_try="$ac_compile"
24694 case "(($ac_try" in
24695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24696 *) ac_try_echo=$ac_try;;
24698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24699 (eval "$ac_compile") 2>conftest.er1
24701 grep -v '^ *+' conftest.er1 >conftest.err
24703 cat conftest.err >&5
24704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24705 (exit $ac_status); } && {
24706 test -z "$ac_cxx_werror_flag" ||
24707 test ! -s conftest.err
24708 } && test -s conftest.$ac_objext; then
24709 wx_cv_func_stdstring_compare=yes
24711 echo "$as_me: failed program was:" >&5
24712 sed 's/^/| /' conftest.$ac_ext >&5
24714 wx_cv_func_stdstring_compare=no
24718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24721 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24722 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24724 if test "$wx_cv_func_stdstring_compare" = yes; then
24725 cat >>confdefs.h <<\_ACEOF
24726 #define HAVE_STD_STRING_COMPARE 1
24731 if test "$wx_cv_class_gnuhashmapset" = yes; then
24732 cat >>confdefs.h <<\_ACEOF
24733 #define HAVE_EXT_HASH_MAP 1
24736 cat >>confdefs.h <<\_ACEOF
24737 #define HAVE_GNU_CXX_HASH_MAP 1
24742 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24743 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24744 if test "${ac_cv_header_unordered_map+set}" = set; then
24745 echo $ECHO_N "(cached) $ECHO_C" >&6
24747 cat >conftest.$ac_ext <<_ACEOF
24750 cat confdefs.h >>conftest.$ac_ext
24751 cat >>conftest.$ac_ext <<_ACEOF
24752 /* end confdefs.h. */
24756 #include <unordered_map>
24758 rm -f conftest.$ac_objext
24759 if { (ac_try="$ac_compile"
24760 case "(($ac_try" in
24761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24762 *) ac_try_echo=$ac_try;;
24764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24765 (eval "$ac_compile") 2>conftest.er1
24767 grep -v '^ *+' conftest.er1 >conftest.err
24769 cat conftest.err >&5
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); } && {
24772 test -z "$ac_cxx_werror_flag" ||
24773 test ! -s conftest.err
24774 } && test -s conftest.$ac_objext; then
24775 ac_cv_header_unordered_map=yes
24777 echo "$as_me: failed program was:" >&5
24778 sed 's/^/| /' conftest.$ac_ext >&5
24780 ac_cv_header_unordered_map=no
24783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24785 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24786 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24787 if test $ac_cv_header_unordered_map = yes; then
24788 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24789 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24790 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24791 echo $ECHO_N "(cached) $ECHO_C" >&6
24793 cat >conftest.$ac_ext <<_ACEOF
24796 cat confdefs.h >>conftest.$ac_ext
24797 cat >>conftest.$ac_ext <<_ACEOF
24798 /* end confdefs.h. */
24799 #include <unordered_map>
24800 #include <unordered_set>
24804 std::unordered_map<double*, char*> test1;
24805 std::unordered_set<char*> test2;
24810 rm -f conftest.$ac_objext
24811 if { (ac_try="$ac_compile"
24812 case "(($ac_try" in
24813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24814 *) ac_try_echo=$ac_try;;
24816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24817 (eval "$ac_compile") 2>conftest.er1
24819 grep -v '^ *+' conftest.er1 >conftest.err
24821 cat conftest.err >&5
24822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24823 (exit $ac_status); } && {
24824 test -z "$ac_cxx_werror_flag" ||
24825 test ! -s conftest.err
24826 } && test -s conftest.$ac_objext; then
24827 wx_cv_class_stdunorderedmapset=yes
24829 echo "$as_me: failed program was:" >&5
24830 sed 's/^/| /' conftest.$ac_ext >&5
24832 wx_cv_class_stdunorderedmapset=no
24835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24839 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24840 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24845 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24846 cat >>confdefs.h <<\_ACEOF
24847 #define HAVE_STD_UNORDERED_MAP 1
24850 cat >>confdefs.h <<\_ACEOF
24851 #define HAVE_STD_UNORDERED_SET 1
24855 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24856 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24857 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24858 echo $ECHO_N "(cached) $ECHO_C" >&6
24860 cat >conftest.$ac_ext <<_ACEOF
24863 cat confdefs.h >>conftest.$ac_ext
24864 cat >>conftest.$ac_ext <<_ACEOF
24865 /* end confdefs.h. */
24869 #include <tr1/unordered_map>
24871 rm -f conftest.$ac_objext
24872 if { (ac_try="$ac_compile"
24873 case "(($ac_try" in
24874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24875 *) ac_try_echo=$ac_try;;
24877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24878 (eval "$ac_compile") 2>conftest.er1
24880 grep -v '^ *+' conftest.er1 >conftest.err
24882 cat conftest.err >&5
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); } && {
24885 test -z "$ac_cxx_werror_flag" ||
24886 test ! -s conftest.err
24887 } && test -s conftest.$ac_objext; then
24888 ac_cv_header_tr1_unordered_map=yes
24890 echo "$as_me: failed program was:" >&5
24891 sed 's/^/| /' conftest.$ac_ext >&5
24893 ac_cv_header_tr1_unordered_map=no
24896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24898 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24899 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24900 if test $ac_cv_header_tr1_unordered_map = yes; then
24901 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24902 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24903 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24904 echo $ECHO_N "(cached) $ECHO_C" >&6
24906 cat >conftest.$ac_ext <<_ACEOF
24909 cat confdefs.h >>conftest.$ac_ext
24910 cat >>conftest.$ac_ext <<_ACEOF
24911 /* end confdefs.h. */
24912 #include <tr1/unordered_map>
24913 #include <tr1/unordered_set>
24917 std::tr1::unordered_map<double*, char*> test1;
24918 std::tr1::unordered_set<char*> test2;
24919 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24920 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24926 rm -f conftest.$ac_objext
24927 if { (ac_try="$ac_compile"
24928 case "(($ac_try" in
24929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24930 *) ac_try_echo=$ac_try;;
24932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24933 (eval "$ac_compile") 2>conftest.er1
24935 grep -v '^ *+' conftest.er1 >conftest.err
24937 cat conftest.err >&5
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); } && {
24940 test -z "$ac_cxx_werror_flag" ||
24941 test ! -s conftest.err
24942 } && test -s conftest.$ac_objext; then
24943 wx_cv_class_tr1unorderedmapset=yes
24945 echo "$as_me: failed program was:" >&5
24946 sed 's/^/| /' conftest.$ac_ext >&5
24948 wx_cv_class_tr1unorderedmapset=no
24951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24955 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
24956 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
24961 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
24962 cat >>confdefs.h <<\_ACEOF
24963 #define HAVE_TR1_UNORDERED_MAP 1
24966 cat >>confdefs.h <<\_ACEOF
24967 #define HAVE_TR1_UNORDERED_SET 1
24971 { echo "$as_me:$LINENO: checking for hash_map" >&5
24972 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24973 if test "${ac_cv_header_hash_map+set}" = set; then
24974 echo $ECHO_N "(cached) $ECHO_C" >&6
24976 cat >conftest.$ac_ext <<_ACEOF
24979 cat confdefs.h >>conftest.$ac_ext
24980 cat >>conftest.$ac_ext <<_ACEOF
24981 /* end confdefs.h. */
24985 #include <hash_map>
24987 rm -f conftest.$ac_objext
24988 if { (ac_try="$ac_compile"
24989 case "(($ac_try" in
24990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24991 *) ac_try_echo=$ac_try;;
24993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24994 (eval "$ac_compile") 2>conftest.er1
24996 grep -v '^ *+' conftest.er1 >conftest.err
24998 cat conftest.err >&5
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); } && {
25001 test -z "$ac_cxx_werror_flag" ||
25002 test ! -s conftest.err
25003 } && test -s conftest.$ac_objext; then
25004 ac_cv_header_hash_map=yes
25006 echo "$as_me: failed program was:" >&5
25007 sed 's/^/| /' conftest.$ac_ext >&5
25009 ac_cv_header_hash_map=no
25012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25014 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25015 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25016 if test $ac_cv_header_hash_map = yes; then
25017 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25018 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25019 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25020 echo $ECHO_N "(cached) $ECHO_C" >&6
25022 cat >conftest.$ac_ext <<_ACEOF
25025 cat confdefs.h >>conftest.$ac_ext
25026 cat >>conftest.$ac_ext <<_ACEOF
25027 /* end confdefs.h. */
25028 #include <hash_map>
25029 #include <hash_set>
25033 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25034 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25039 rm -f conftest.$ac_objext
25040 if { (ac_try="$ac_compile"
25041 case "(($ac_try" in
25042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25043 *) ac_try_echo=$ac_try;;
25045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25046 (eval "$ac_compile") 2>conftest.er1
25048 grep -v '^ *+' conftest.er1 >conftest.err
25050 cat conftest.err >&5
25051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052 (exit $ac_status); } && {
25053 test -z "$ac_cxx_werror_flag" ||
25054 test ! -s conftest.err
25055 } && test -s conftest.$ac_objext; then
25056 wx_cv_class_stdhashmapset=yes
25058 echo "$as_me: failed program was:" >&5
25059 sed 's/^/| /' conftest.$ac_ext >&5
25061 wx_cv_class_stdhashmapset=no
25064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25068 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25069 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25074 if test "$wx_cv_class_stdhashmapset" = yes; then
25075 cat >>confdefs.h <<\_ACEOF
25076 #define HAVE_HASH_MAP 1
25079 cat >>confdefs.h <<\_ACEOF
25080 #define HAVE_STD_HASH_MAP 1
25085 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25086 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25087 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25088 echo $ECHO_N "(cached) $ECHO_C" >&6
25090 cat >conftest.$ac_ext <<_ACEOF
25093 cat confdefs.h >>conftest.$ac_ext
25094 cat >>conftest.$ac_ext <<_ACEOF
25095 /* end confdefs.h. */
25099 #include <ext/hash_map>
25101 rm -f conftest.$ac_objext
25102 if { (ac_try="$ac_compile"
25103 case "(($ac_try" in
25104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25105 *) ac_try_echo=$ac_try;;
25107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25108 (eval "$ac_compile") 2>conftest.er1
25110 grep -v '^ *+' conftest.er1 >conftest.err
25112 cat conftest.err >&5
25113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114 (exit $ac_status); } && {
25115 test -z "$ac_cxx_werror_flag" ||
25116 test ! -s conftest.err
25117 } && test -s conftest.$ac_objext; then
25118 ac_cv_header_ext_hash_map=yes
25120 echo "$as_me: failed program was:" >&5
25121 sed 's/^/| /' conftest.$ac_ext >&5
25123 ac_cv_header_ext_hash_map=no
25126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25128 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25129 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25130 if test $ac_cv_header_ext_hash_map = yes; then
25131 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25132 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25133 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25134 echo $ECHO_N "(cached) $ECHO_C" >&6
25136 cat >conftest.$ac_ext <<_ACEOF
25139 cat confdefs.h >>conftest.$ac_ext
25140 cat >>conftest.$ac_ext <<_ACEOF
25141 /* end confdefs.h. */
25142 #include <ext/hash_map>
25143 #include <ext/hash_set>
25147 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25148 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25153 rm -f conftest.$ac_objext
25154 if { (ac_try="$ac_compile"
25155 case "(($ac_try" in
25156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25157 *) ac_try_echo=$ac_try;;
25159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25160 (eval "$ac_compile") 2>conftest.er1
25162 grep -v '^ *+' conftest.er1 >conftest.err
25164 cat conftest.err >&5
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); } && {
25167 test -z "$ac_cxx_werror_flag" ||
25168 test ! -s conftest.err
25169 } && test -s conftest.$ac_objext; then
25170 wx_cv_class_gnuhashmapset=yes
25172 echo "$as_me: failed program was:" >&5
25173 sed 's/^/| /' conftest.$ac_ext >&5
25175 wx_cv_class_gnuhashmapset=no
25178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25182 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25183 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25194 if test -n "$GCC"; then
25195 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25196 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25197 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25198 echo $ECHO_N "(cached) $ECHO_C" >&6
25201 cat >conftest.$ac_ext <<_ACEOF
25204 cat confdefs.h >>conftest.$ac_ext
25205 cat >>conftest.$ac_ext <<_ACEOF
25206 /* end confdefs.h. */
25212 unsigned int value=0;
25213 /* wxAtomicInc doesn't use return value here */
25214 __sync_fetch_and_add(&value, 2);
25215 __sync_sub_and_fetch(&value, 1);
25216 /* but wxAtomicDec does, so mimic that: */
25217 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25223 rm -f conftest.$ac_objext conftest$ac_exeext
25224 if { (ac_try="$ac_link"
25225 case "(($ac_try" in
25226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25227 *) ac_try_echo=$ac_try;;
25229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25230 (eval "$ac_link") 2>conftest.er1
25232 grep -v '^ *+' conftest.er1 >conftest.err
25234 cat conftest.err >&5
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); } && {
25237 test -z "$ac_cxx_werror_flag" ||
25238 test ! -s conftest.err
25239 } && test -s conftest$ac_exeext &&
25240 $as_test_x conftest$ac_exeext; then
25241 wx_cv_cc_gcc_atomic_builtins=yes
25243 echo "$as_me: failed program was:" >&5
25244 sed 's/^/| /' conftest.$ac_ext >&5
25246 wx_cv_cc_gcc_atomic_builtins=no
25249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25250 conftest$ac_exeext conftest.$ac_ext
25254 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25255 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25256 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25257 cat >>confdefs.h <<\_ACEOF
25258 #define HAVE_GCC_ATOMIC_BUILTINS 1
25266 ac_cpp='$CPP $CPPFLAGS'
25267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25274 /usr/local/include \
25275 /usr/local/X11/include \
25276 /usr/local/include/X11 \
25277 /usr/local/X11R6/include \
25278 /usr/local/include/X11R6 \
25280 /usr/Motif-2.1/include \
25281 /usr/Motif-1.2/include \
25282 /usr/include/Motif1.2 \
25285 /usr/openwin/include \
25289 /usr/X11R6/include \
25290 /usr/X11R6.4/include \
25292 /usr/include/X11R6 \
25297 /usr/XFree86/include/X11 \
25300 /usr/local/X1R5/include \
25301 /usr/local/include/X11R5 \
25302 /usr/X11R5/include \
25303 /usr/include/X11R5 \
25305 /usr/local/X11R4/include \
25306 /usr/local/include/X11R4 \
25307 /usr/X11R4/include \
25308 /usr/include/X11R4 \
25310 /usr/openwin/share/include"
25312 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25313 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25317 if test "${wx_cv_std_libpath+set}" = set; then
25318 echo $ECHO_N "(cached) $ECHO_C" >&6
25321 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25322 for e in a so sl dylib dll.a; do
25324 if test -f $libc; then
25327 cat >conftest.$ac_ext <<_ACEOF
25328 int main() { return 0; }
25330 rm -f conftest.$ac_objext conftest$ac_exeext
25331 if { (ac_try="$ac_link"
25332 case "(($ac_try" in
25333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25334 *) ac_try_echo=$ac_try;;
25336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25337 (eval "$ac_link") 2>conftest.er1
25339 grep -v '^ *+' conftest.er1 >conftest.err
25341 cat conftest.err >&5
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); } && {
25344 test -z "$ac_c_werror_flag" ||
25345 test ! -s conftest.err
25346 } && test -s conftest$ac_exeext &&
25347 $as_test_x conftest$ac_exeext; then
25348 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25350 echo "$as_me: failed program was:" >&5
25351 sed 's/^/| /' conftest.$ac_ext >&5
25356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25357 conftest$ac_exeext conftest.$ac_ext
25359 if test "x$wx_cv_std_libpath" != "x"; then
25365 if test "x$wx_cv_std_libpath" = "x"; then
25366 wx_cv_std_libpath="lib"
25375 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25376 wx_cv_std_libpath="lib/64"
25378 wx_cv_std_libpath="lib"
25383 if test "$ac_cv_sizeof_void_p" = 8 -a \
25384 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25385 wx_cv_std_libpath="lib64"
25387 wx_cv_std_libpath="lib"
25392 wx_cv_std_libpath="lib";
25396 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25397 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25399 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25401 if test "$build" != "$host" -a "$GCC" = yes; then
25402 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25403 cross_root=`dirname $cross_root`
25404 cross_root=`dirname $cross_root`
25406 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25407 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25408 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25410 if test -z "$PKG_CONFIG_PATH"; then
25411 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25412 export PKG_CONFIG_PATH
25415 if test -z "$x_includes" -o "$x_includes" = NONE; then
25418 for ac_dir in $SEARCH_INCLUDE /usr/include;
25420 if test -f "$ac_dir/X11/Intrinsic.h"; then
25421 ac_find_includes=$ac_dir
25426 x_includes=$ac_find_includes
25428 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25431 for ac_dir in $SEARCH_LIB;
25433 for ac_extension in a so sl dylib dll.a; do
25434 if test -f "$ac_dir/libXt.$ac_extension"; then
25435 ac_find_libraries=$ac_dir
25441 x_libraries=$ac_find_libraries
25447 cat >confcache <<\_ACEOF
25448 # This file is a shell script that caches the results of configure
25449 # tests run on this system so they can be shared between configure
25450 # scripts and configure runs, see configure's option --config-cache.
25451 # It is not useful on other systems. If it contains results you don't
25452 # want to keep, you may remove or edit it.
25454 # config.status only pays attention to the cache file if you give it
25455 # the --recheck option to rerun configure.
25457 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25458 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25459 # following values.
25463 # The following way of writing the cache mishandles newlines in values,
25464 # but we know of no workaround that is simple, portable, and efficient.
25465 # So, we kill variables containing newlines.
25466 # Ultrix sh set writes to stderr and can't be redirected directly,
25467 # and sets the high bit in the cache file unless we assign to the vars.
25469 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25470 eval ac_val=\$$ac_var
25474 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25475 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25478 _ | IFS | as_nl) ;; #(
25479 *) $as_unset $ac_var ;;
25485 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25486 *${as_nl}ac_space=\ *)
25487 # `set' does not quote correctly, so add quotes (double-quote
25488 # substitution turns \\\\ into \\, and sed turns \\ into \).
25491 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25494 # `set' quotes correctly as required by POSIX, so do not add quotes.
25495 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25504 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25506 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25508 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25509 if test -w "$cache_file"; then
25510 test "x$cache_file" != "x/dev/null" &&
25511 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25512 echo "$as_me: updating cache $cache_file" >&6;}
25513 cat confcache >$cache_file
25515 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25516 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25521 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25522 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25523 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25524 if test "${wx_cv_lib_glibc21+set}" = set; then
25525 echo $ECHO_N "(cached) $ECHO_C" >&6
25528 cat >conftest.$ac_ext <<_ACEOF
25531 cat confdefs.h >>conftest.$ac_ext
25532 cat >>conftest.$ac_ext <<_ACEOF
25533 /* end confdefs.h. */
25534 #include <features.h>
25539 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25547 rm -f conftest.$ac_objext
25548 if { (ac_try="$ac_compile"
25549 case "(($ac_try" in
25550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25551 *) ac_try_echo=$ac_try;;
25553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25554 (eval "$ac_compile") 2>conftest.er1
25556 grep -v '^ *+' conftest.er1 >conftest.err
25558 cat conftest.err >&5
25559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560 (exit $ac_status); } && {
25561 test -z "$ac_c_werror_flag" ||
25562 test ! -s conftest.err
25563 } && test -s conftest.$ac_objext; then
25565 wx_cv_lib_glibc21=yes
25568 echo "$as_me: failed program was:" >&5
25569 sed 's/^/| /' conftest.$ac_ext >&5
25572 wx_cv_lib_glibc21=no
25577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25580 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25581 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25582 if test "$wx_cv_lib_glibc21" = "yes"; then
25583 cat >>confdefs.h <<\_ACEOF
25584 #define wxHAVE_GLIBC2 1
25590 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25591 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25592 cat >>confdefs.h <<\_ACEOF
25593 #define _GNU_SOURCE 1
25604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25605 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25607 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25608 echo $ECHO_N "(cached) $ECHO_C" >&6
25610 cat >conftest.$ac_ext <<_ACEOF
25613 cat confdefs.h >>conftest.$ac_ext
25614 cat >>conftest.$ac_ext <<_ACEOF
25615 /* end confdefs.h. */
25616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25618 #define $ac_func innocuous_$ac_func
25620 /* System header to define __stub macros and hopefully few prototypes,
25621 which can conflict with char $ac_func (); below.
25622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25623 <limits.h> exists even on freestanding compilers. */
25626 # include <limits.h>
25628 # include <assert.h>
25633 /* Override any GCC internal prototype to avoid an error.
25634 Use char because int might match the return type of a GCC
25635 builtin and then its argument prototype would still apply. */
25640 /* The GNU C library defines this for functions which it implements
25641 to always fail with ENOSYS. Some functions are actually named
25642 something starting with __ and the normal name is an alias. */
25643 #if defined __stub_$ac_func || defined __stub___$ac_func
25650 return $ac_func ();
25655 rm -f conftest.$ac_objext conftest$ac_exeext
25656 if { (ac_try="$ac_link"
25657 case "(($ac_try" in
25658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25659 *) ac_try_echo=$ac_try;;
25661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25662 (eval "$ac_link") 2>conftest.er1
25664 grep -v '^ *+' conftest.er1 >conftest.err
25666 cat conftest.err >&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); } && {
25669 test -z "$ac_c_werror_flag" ||
25670 test ! -s conftest.err
25671 } && test -s conftest$ac_exeext &&
25672 $as_test_x conftest$ac_exeext; then
25673 eval "$as_ac_var=yes"
25675 echo "$as_me: failed program was:" >&5
25676 sed 's/^/| /' conftest.$ac_ext >&5
25678 eval "$as_ac_var=no"
25681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25682 conftest$ac_exeext conftest.$ac_ext
25684 ac_res=`eval echo '${'$as_ac_var'}'`
25685 { echo "$as_me:$LINENO: result: $ac_res" >&5
25686 echo "${ECHO_T}$ac_res" >&6; }
25687 if test `eval echo '${'$as_ac_var'}'` = yes; then
25688 cat >>confdefs.h <<_ACEOF
25689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25696 for ac_func in floor
25698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25699 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25701 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25702 echo $ECHO_N "(cached) $ECHO_C" >&6
25704 cat >conftest.$ac_ext <<_ACEOF
25707 cat confdefs.h >>conftest.$ac_ext
25708 cat >>conftest.$ac_ext <<_ACEOF
25709 /* end confdefs.h. */
25710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25712 #define $ac_func innocuous_$ac_func
25714 /* System header to define __stub macros and hopefully few prototypes,
25715 which can conflict with char $ac_func (); below.
25716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25717 <limits.h> exists even on freestanding compilers. */
25720 # include <limits.h>
25722 # include <assert.h>
25727 /* Override any GCC internal prototype to avoid an error.
25728 Use char because int might match the return type of a GCC
25729 builtin and then its argument prototype would still apply. */
25734 /* The GNU C library defines this for functions which it implements
25735 to always fail with ENOSYS. Some functions are actually named
25736 something starting with __ and the normal name is an alias. */
25737 #if defined __stub_$ac_func || defined __stub___$ac_func
25744 return $ac_func ();
25749 rm -f conftest.$ac_objext conftest$ac_exeext
25750 if { (ac_try="$ac_link"
25751 case "(($ac_try" in
25752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25753 *) ac_try_echo=$ac_try;;
25755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25756 (eval "$ac_link") 2>conftest.er1
25758 grep -v '^ *+' conftest.er1 >conftest.err
25760 cat conftest.err >&5
25761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); } && {
25763 test -z "$ac_c_werror_flag" ||
25764 test ! -s conftest.err
25765 } && test -s conftest$ac_exeext &&
25766 $as_test_x conftest$ac_exeext; then
25767 eval "$as_ac_var=yes"
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.$ac_ext >&5
25772 eval "$as_ac_var=no"
25775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25776 conftest$ac_exeext conftest.$ac_ext
25778 ac_res=`eval echo '${'$as_ac_var'}'`
25779 { echo "$as_me:$LINENO: result: $ac_res" >&5
25780 echo "${ECHO_T}$ac_res" >&6; }
25781 if test `eval echo '${'$as_ac_var'}'` = yes; then
25782 cat >>confdefs.h <<_ACEOF
25783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25789 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25790 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25791 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25792 { echo "$as_me:$LINENO: result: yes" >&5
25793 echo "${ECHO_T}yes" >&6; }
25795 { echo "$as_me:$LINENO: result: no" >&5
25796 echo "${ECHO_T}no" >&6; }
25798 # use different functions to avoid configure caching
25804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25805 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25807 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25808 echo $ECHO_N "(cached) $ECHO_C" >&6
25810 cat >conftest.$ac_ext <<_ACEOF
25813 cat confdefs.h >>conftest.$ac_ext
25814 cat >>conftest.$ac_ext <<_ACEOF
25815 /* end confdefs.h. */
25816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25818 #define $ac_func innocuous_$ac_func
25820 /* System header to define __stub macros and hopefully few prototypes,
25821 which can conflict with char $ac_func (); below.
25822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25823 <limits.h> exists even on freestanding compilers. */
25826 # include <limits.h>
25828 # include <assert.h>
25833 /* Override any GCC internal prototype to avoid an error.
25834 Use char because int might match the return type of a GCC
25835 builtin and then its argument prototype would still apply. */
25840 /* The GNU C library defines this for functions which it implements
25841 to always fail with ENOSYS. Some functions are actually named
25842 something starting with __ and the normal name is an alias. */
25843 #if defined __stub_$ac_func || defined __stub___$ac_func
25850 return $ac_func ();
25855 rm -f conftest.$ac_objext conftest$ac_exeext
25856 if { (ac_try="$ac_link"
25857 case "(($ac_try" in
25858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25859 *) ac_try_echo=$ac_try;;
25861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25862 (eval "$ac_link") 2>conftest.er1
25864 grep -v '^ *+' conftest.er1 >conftest.err
25866 cat conftest.err >&5
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); } && {
25869 test -z "$ac_c_werror_flag" ||
25870 test ! -s conftest.err
25871 } && test -s conftest$ac_exeext &&
25872 $as_test_x conftest$ac_exeext; then
25873 eval "$as_ac_var=yes"
25875 echo "$as_me: failed program was:" >&5
25876 sed 's/^/| /' conftest.$ac_ext >&5
25878 eval "$as_ac_var=no"
25881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25882 conftest$ac_exeext conftest.$ac_ext
25884 ac_res=`eval echo '${'$as_ac_var'}'`
25885 { echo "$as_me:$LINENO: result: $ac_res" >&5
25886 echo "${ECHO_T}$ac_res" >&6; }
25887 if test `eval echo '${'$as_ac_var'}'` = yes; then
25888 cat >>confdefs.h <<_ACEOF
25889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25896 for ac_func in ceil
25898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25899 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25901 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25904 cat >conftest.$ac_ext <<_ACEOF
25907 cat confdefs.h >>conftest.$ac_ext
25908 cat >>conftest.$ac_ext <<_ACEOF
25909 /* end confdefs.h. */
25910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25912 #define $ac_func innocuous_$ac_func
25914 /* System header to define __stub macros and hopefully few prototypes,
25915 which can conflict with char $ac_func (); below.
25916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25917 <limits.h> exists even on freestanding compilers. */
25920 # include <limits.h>
25922 # include <assert.h>
25927 /* Override any GCC internal prototype to avoid an error.
25928 Use char because int might match the return type of a GCC
25929 builtin and then its argument prototype would still apply. */
25934 /* The GNU C library defines this for functions which it implements
25935 to always fail with ENOSYS. Some functions are actually named
25936 something starting with __ and the normal name is an alias. */
25937 #if defined __stub_$ac_func || defined __stub___$ac_func
25944 return $ac_func ();
25949 rm -f conftest.$ac_objext conftest$ac_exeext
25950 if { (ac_try="$ac_link"
25951 case "(($ac_try" in
25952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25953 *) ac_try_echo=$ac_try;;
25955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25956 (eval "$ac_link") 2>conftest.er1
25958 grep -v '^ *+' conftest.er1 >conftest.err
25960 cat conftest.err >&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); } && {
25963 test -z "$ac_c_werror_flag" ||
25964 test ! -s conftest.err
25965 } && test -s conftest$ac_exeext &&
25966 $as_test_x conftest$ac_exeext; then
25967 eval "$as_ac_var=yes"
25969 echo "$as_me: failed program was:" >&5
25970 sed 's/^/| /' conftest.$ac_ext >&5
25972 eval "$as_ac_var=no"
25975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25976 conftest$ac_exeext conftest.$ac_ext
25978 ac_res=`eval echo '${'$as_ac_var'}'`
25979 { echo "$as_me:$LINENO: result: $ac_res" >&5
25980 echo "${ECHO_T}$ac_res" >&6; }
25981 if test `eval echo '${'$as_ac_var'}'` = yes; then
25982 cat >>confdefs.h <<_ACEOF
25983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25989 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25990 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25991 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25992 { echo "$as_me:$LINENO: result: yes" >&5
25993 echo "${ECHO_T}yes" >&6; }
25995 { echo "$as_me:$LINENO: result: no" >&5
25996 echo "${ECHO_T}no" >&6; }
25997 # not sure we should warn the user, crash, etc.
26002 ac_cpp='$CXXCPP $CPPFLAGS'
26003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26007 if test "wxUSE_UNICODE" = "yes"; then
26009 for wx_func in wcstoull
26011 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26012 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26013 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26014 echo $ECHO_N "(cached) $ECHO_C" >&6
26017 cat >conftest.$ac_ext <<_ACEOF
26021 cat confdefs.h >>conftest.$ac_ext
26022 cat >>conftest.$ac_ext <<_ACEOF
26023 /* end confdefs.h. */
26026 $ac_includes_default
26042 rm -f conftest.$ac_objext conftest$ac_exeext
26043 if { (ac_try="$ac_link"
26044 case "(($ac_try" in
26045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26046 *) ac_try_echo=$ac_try;;
26048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26049 (eval "$ac_link") 2>conftest.er1
26051 grep -v '^ *+' conftest.er1 >conftest.err
26053 cat conftest.err >&5
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); } && {
26056 test -z "$ac_cxx_werror_flag" ||
26057 test ! -s conftest.err
26058 } && test -s conftest$ac_exeext &&
26059 $as_test_x conftest$ac_exeext; then
26060 eval wx_cv_func_$wx_func=yes
26062 echo "$as_me: failed program was:" >&5
26063 sed 's/^/| /' conftest.$ac_ext >&5
26065 eval wx_cv_func_$wx_func=no
26068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26069 conftest$ac_exeext conftest.$ac_ext
26072 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26073 { echo "$as_me:$LINENO: result: $ac_res" >&5
26074 echo "${ECHO_T}$ac_res" >&6; }
26076 if eval test \$wx_cv_func_$wx_func = yes
26078 cat >>confdefs.h <<_ACEOF
26079 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26091 for wx_func in strtoull
26093 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26094 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26095 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26096 echo $ECHO_N "(cached) $ECHO_C" >&6
26099 cat >conftest.$ac_ext <<_ACEOF
26103 cat confdefs.h >>conftest.$ac_ext
26104 cat >>conftest.$ac_ext <<_ACEOF
26105 /* end confdefs.h. */
26108 $ac_includes_default
26124 rm -f conftest.$ac_objext conftest$ac_exeext
26125 if { (ac_try="$ac_link"
26126 case "(($ac_try" in
26127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26128 *) ac_try_echo=$ac_try;;
26130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26131 (eval "$ac_link") 2>conftest.er1
26133 grep -v '^ *+' conftest.er1 >conftest.err
26135 cat conftest.err >&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); } && {
26138 test -z "$ac_cxx_werror_flag" ||
26139 test ! -s conftest.err
26140 } && test -s conftest$ac_exeext &&
26141 $as_test_x conftest$ac_exeext; then
26142 eval wx_cv_func_$wx_func=yes
26144 echo "$as_me: failed program was:" >&5
26145 sed 's/^/| /' conftest.$ac_ext >&5
26147 eval wx_cv_func_$wx_func=no
26150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26151 conftest$ac_exeext conftest.$ac_ext
26154 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26155 { echo "$as_me:$LINENO: result: $ac_res" >&5
26156 echo "${ECHO_T}$ac_res" >&6; }
26158 if eval test \$wx_cv_func_$wx_func = yes
26160 cat >>confdefs.h <<_ACEOF
26161 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26173 ac_cpp='$CPP $CPPFLAGS'
26174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26181 if test "$wxUSE_REGEX" != "no"; then
26182 cat >>confdefs.h <<\_ACEOF
26183 #define wxUSE_REGEX 1
26187 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26188 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26189 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26190 wxUSE_REGEX=builtin
26193 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26194 { echo "$as_me:$LINENO: checking for regex.h" >&5
26195 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26196 if test "${ac_cv_header_regex_h+set}" = set; then
26197 echo $ECHO_N "(cached) $ECHO_C" >&6
26199 cat >conftest.$ac_ext <<_ACEOF
26202 cat confdefs.h >>conftest.$ac_ext
26203 cat >>conftest.$ac_ext <<_ACEOF
26204 /* end confdefs.h. */
26209 rm -f conftest.$ac_objext
26210 if { (ac_try="$ac_compile"
26211 case "(($ac_try" in
26212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26213 *) ac_try_echo=$ac_try;;
26215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26216 (eval "$ac_compile") 2>conftest.er1
26218 grep -v '^ *+' conftest.er1 >conftest.err
26220 cat conftest.err >&5
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); } && {
26223 test -z "$ac_c_werror_flag" ||
26224 test ! -s conftest.err
26225 } && test -s conftest.$ac_objext; then
26226 ac_cv_header_regex_h=yes
26228 echo "$as_me: failed program was:" >&5
26229 sed 's/^/| /' conftest.$ac_ext >&5
26231 ac_cv_header_regex_h=no
26234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26236 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26237 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26238 if test $ac_cv_header_regex_h = yes; then
26241 for ac_func in regcomp re_search
26243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26244 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26246 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26247 echo $ECHO_N "(cached) $ECHO_C" >&6
26249 cat >conftest.$ac_ext <<_ACEOF
26252 cat confdefs.h >>conftest.$ac_ext
26253 cat >>conftest.$ac_ext <<_ACEOF
26254 /* end confdefs.h. */
26255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26257 #define $ac_func innocuous_$ac_func
26259 /* System header to define __stub macros and hopefully few prototypes,
26260 which can conflict with char $ac_func (); below.
26261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26262 <limits.h> exists even on freestanding compilers. */
26265 # include <limits.h>
26267 # include <assert.h>
26272 /* Override any GCC internal prototype to avoid an error.
26273 Use char because int might match the return type of a GCC
26274 builtin and then its argument prototype would still apply. */
26279 /* The GNU C library defines this for functions which it implements
26280 to always fail with ENOSYS. Some functions are actually named
26281 something starting with __ and the normal name is an alias. */
26282 #if defined __stub_$ac_func || defined __stub___$ac_func
26289 return $ac_func ();
26294 rm -f conftest.$ac_objext conftest$ac_exeext
26295 if { (ac_try="$ac_link"
26296 case "(($ac_try" in
26297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26298 *) ac_try_echo=$ac_try;;
26300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26301 (eval "$ac_link") 2>conftest.er1
26303 grep -v '^ *+' conftest.er1 >conftest.err
26305 cat conftest.err >&5
26306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26307 (exit $ac_status); } && {
26308 test -z "$ac_c_werror_flag" ||
26309 test ! -s conftest.err
26310 } && test -s conftest$ac_exeext &&
26311 $as_test_x conftest$ac_exeext; then
26312 eval "$as_ac_var=yes"
26314 echo "$as_me: failed program was:" >&5
26315 sed 's/^/| /' conftest.$ac_ext >&5
26317 eval "$as_ac_var=no"
26320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26321 conftest$ac_exeext conftest.$ac_ext
26323 ac_res=`eval echo '${'$as_ac_var'}'`
26324 { echo "$as_me:$LINENO: result: $ac_res" >&5
26325 echo "${ECHO_T}$ac_res" >&6; }
26326 if test `eval echo '${'$as_ac_var'}'` = yes; then
26327 cat >>confdefs.h <<_ACEOF
26328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26338 if test "x$ac_cv_func_regcomp" != "xyes"; then
26339 if test "$wxUSE_REGEX" = "sys" ; then
26340 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26341 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26342 { (exit 1); exit 1; }; }
26344 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26345 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26346 wxUSE_REGEX=builtin
26350 cat >>confdefs.h <<\_ACEOF
26351 #define WX_NO_REGEX_ADVANCED 1
26360 if test "$wxUSE_ZLIB" != "no" ; then
26361 cat >>confdefs.h <<\_ACEOF
26362 #define wxUSE_ZLIB 1
26366 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26367 if test "$USE_DARWIN" = 1; then
26368 system_zlib_h_ok="yes"
26370 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26371 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26372 if test "${ac_cv_header_zlib_h+set}" = set; then
26373 echo $ECHO_N "(cached) $ECHO_C" >&6
26375 if test "$cross_compiling" = yes; then
26376 unset ac_cv_header_zlib_h
26379 cat >conftest.$ac_ext <<_ACEOF
26382 cat confdefs.h >>conftest.$ac_ext
26383 cat >>conftest.$ac_ext <<_ACEOF
26384 /* end confdefs.h. */
26391 FILE *f=fopen("conftestval", "w");
26394 ZLIB_VERSION[0] == '1' &&
26395 (ZLIB_VERSION[2] > '1' ||
26396 (ZLIB_VERSION[2] == '1' &&
26397 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26402 rm -f conftest$ac_exeext
26403 if { (ac_try="$ac_link"
26404 case "(($ac_try" in
26405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26406 *) ac_try_echo=$ac_try;;
26408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26409 (eval "$ac_link") 2>&5
26411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26413 { (case "(($ac_try" in
26414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26415 *) ac_try_echo=$ac_try;;
26417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26418 (eval "$ac_try") 2>&5
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); }; }; then
26422 ac_cv_header_zlib_h=`cat conftestval`
26424 echo "$as_me: program exited with status $ac_status" >&5
26425 echo "$as_me: failed program was:" >&5
26426 sed 's/^/| /' conftest.$ac_ext >&5
26428 ( exit $ac_status )
26429 ac_cv_header_zlib_h=no
26431 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26437 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26438 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26439 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26440 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26441 if test "${ac_cv_header_zlib_h+set}" = set; then
26442 echo $ECHO_N "(cached) $ECHO_C" >&6
26444 cat >conftest.$ac_ext <<_ACEOF
26447 cat confdefs.h >>conftest.$ac_ext
26448 cat >>conftest.$ac_ext <<_ACEOF
26449 /* end confdefs.h. */
26454 rm -f conftest.$ac_objext
26455 if { (ac_try="$ac_compile"
26456 case "(($ac_try" in
26457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26458 *) ac_try_echo=$ac_try;;
26460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26461 (eval "$ac_compile") 2>conftest.er1
26463 grep -v '^ *+' conftest.er1 >conftest.err
26465 cat conftest.err >&5
26466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26467 (exit $ac_status); } && {
26468 test -z "$ac_c_werror_flag" ||
26469 test ! -s conftest.err
26470 } && test -s conftest.$ac_objext; then
26471 ac_cv_header_zlib_h=yes
26473 echo "$as_me: failed program was:" >&5
26474 sed 's/^/| /' conftest.$ac_ext >&5
26476 ac_cv_header_zlib_h=no
26479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26481 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26482 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26486 system_zlib_h_ok=$ac_cv_header_zlib_h
26489 if test "$system_zlib_h_ok" = "yes"; then
26490 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26491 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26492 if test "${ac_cv_lib_z_deflate+set}" = set; then
26493 echo $ECHO_N "(cached) $ECHO_C" >&6
26495 ac_check_lib_save_LIBS=$LIBS
26497 cat >conftest.$ac_ext <<_ACEOF
26500 cat confdefs.h >>conftest.$ac_ext
26501 cat >>conftest.$ac_ext <<_ACEOF
26502 /* end confdefs.h. */
26504 /* Override any GCC internal prototype to avoid an error.
26505 Use char because int might match the return type of a GCC
26506 builtin and then its argument prototype would still apply. */
26519 rm -f conftest.$ac_objext conftest$ac_exeext
26520 if { (ac_try="$ac_link"
26521 case "(($ac_try" in
26522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26523 *) ac_try_echo=$ac_try;;
26525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26526 (eval "$ac_link") 2>conftest.er1
26528 grep -v '^ *+' conftest.er1 >conftest.err
26530 cat conftest.err >&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); } && {
26533 test -z "$ac_c_werror_flag" ||
26534 test ! -s conftest.err
26535 } && test -s conftest$ac_exeext &&
26536 $as_test_x conftest$ac_exeext; then
26537 ac_cv_lib_z_deflate=yes
26539 echo "$as_me: failed program was:" >&5
26540 sed 's/^/| /' conftest.$ac_ext >&5
26542 ac_cv_lib_z_deflate=no
26545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26546 conftest$ac_exeext conftest.$ac_ext
26547 LIBS=$ac_check_lib_save_LIBS
26549 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26550 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26551 if test $ac_cv_lib_z_deflate = yes; then
26557 if test "x$ZLIB_LINK" = "x" ; then
26558 if test "$wxUSE_ZLIB" = "sys" ; then
26559 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26560 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26561 { (exit 1); exit 1; }; }
26563 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26564 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26575 if test "$wxUSE_LIBPNG" != "no" ; then
26576 cat >>confdefs.h <<\_ACEOF
26577 #define wxUSE_LIBPNG 1
26581 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26582 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26583 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26587 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26588 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26589 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26590 wxUSE_LIBPNG=builtin
26593 if test "$wxUSE_MGL" != 1 ; then
26594 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26595 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26596 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26597 if test "${ac_cv_header_png_h+set}" = set; then
26598 echo $ECHO_N "(cached) $ECHO_C" >&6
26600 if test "$cross_compiling" = yes; then
26601 unset ac_cv_header_png_h
26604 cat >conftest.$ac_ext <<_ACEOF
26607 cat confdefs.h >>conftest.$ac_ext
26608 cat >>conftest.$ac_ext <<_ACEOF
26609 /* end confdefs.h. */
26616 FILE *f=fopen("conftestval", "w");
26619 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26624 rm -f conftest$ac_exeext
26625 if { (ac_try="$ac_link"
26626 case "(($ac_try" in
26627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26628 *) ac_try_echo=$ac_try;;
26630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26631 (eval "$ac_link") 2>&5
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26635 { (case "(($ac_try" in
26636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26637 *) ac_try_echo=$ac_try;;
26639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26640 (eval "$ac_try") 2>&5
26642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26643 (exit $ac_status); }; }; then
26644 ac_cv_header_png_h=`cat conftestval`
26646 echo "$as_me: program exited with status $ac_status" >&5
26647 echo "$as_me: failed program was:" >&5
26648 sed 's/^/| /' conftest.$ac_ext >&5
26650 ( exit $ac_status )
26651 ac_cv_header_png_h=no
26653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26659 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26660 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26661 { echo "$as_me:$LINENO: checking for png.h" >&5
26662 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26663 if test "${ac_cv_header_png_h+set}" = set; then
26664 echo $ECHO_N "(cached) $ECHO_C" >&6
26666 cat >conftest.$ac_ext <<_ACEOF
26669 cat confdefs.h >>conftest.$ac_ext
26670 cat >>conftest.$ac_ext <<_ACEOF
26671 /* end confdefs.h. */
26676 rm -f conftest.$ac_objext
26677 if { (ac_try="$ac_compile"
26678 case "(($ac_try" in
26679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26680 *) ac_try_echo=$ac_try;;
26682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26683 (eval "$ac_compile") 2>conftest.er1
26685 grep -v '^ *+' conftest.er1 >conftest.err
26687 cat conftest.err >&5
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); } && {
26690 test -z "$ac_c_werror_flag" ||
26691 test ! -s conftest.err
26692 } && test -s conftest.$ac_objext; then
26693 ac_cv_header_png_h=yes
26695 echo "$as_me: failed program was:" >&5
26696 sed 's/^/| /' conftest.$ac_ext >&5
26698 ac_cv_header_png_h=no
26701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26703 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26704 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26708 if test "$ac_cv_header_png_h" = "yes"; then
26709 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26710 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26711 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26712 echo $ECHO_N "(cached) $ECHO_C" >&6
26714 ac_check_lib_save_LIBS=$LIBS
26715 LIBS="-lpng -lz -lm $LIBS"
26716 cat >conftest.$ac_ext <<_ACEOF
26719 cat confdefs.h >>conftest.$ac_ext
26720 cat >>conftest.$ac_ext <<_ACEOF
26721 /* end confdefs.h. */
26723 /* Override any GCC internal prototype to avoid an error.
26724 Use char because int might match the return type of a GCC
26725 builtin and then its argument prototype would still apply. */
26729 char png_check_sig ();
26733 return png_check_sig ();
26738 rm -f conftest.$ac_objext conftest$ac_exeext
26739 if { (ac_try="$ac_link"
26740 case "(($ac_try" in
26741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26742 *) ac_try_echo=$ac_try;;
26744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26745 (eval "$ac_link") 2>conftest.er1
26747 grep -v '^ *+' conftest.er1 >conftest.err
26749 cat conftest.err >&5
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); } && {
26752 test -z "$ac_c_werror_flag" ||
26753 test ! -s conftest.err
26754 } && test -s conftest$ac_exeext &&
26755 $as_test_x conftest$ac_exeext; then
26756 ac_cv_lib_png_png_check_sig=yes
26758 echo "$as_me: failed program was:" >&5
26759 sed 's/^/| /' conftest.$ac_ext >&5
26761 ac_cv_lib_png_png_check_sig=no
26764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26765 conftest$ac_exeext conftest.$ac_ext
26766 LIBS=$ac_check_lib_save_LIBS
26768 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26769 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26770 if test $ac_cv_lib_png_png_check_sig = yes; then
26771 PNG_LINK=" -lpng -lz"
26776 if test "x$PNG_LINK" = "x" ; then
26777 if test "$wxUSE_LIBPNG" = "sys" ; then
26778 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26779 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26780 { (exit 1); exit 1; }; }
26782 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26783 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26784 wxUSE_LIBPNG=builtin
26795 if test "$wxUSE_LIBJPEG" != "no" ; then
26796 cat >>confdefs.h <<\_ACEOF
26797 #define wxUSE_LIBJPEG 1
26801 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26802 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26803 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26807 if test "$wxUSE_MGL" != 1 ; then
26808 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26809 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26810 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26811 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26812 echo $ECHO_N "(cached) $ECHO_C" >&6
26814 cat >conftest.$ac_ext <<_ACEOF
26817 cat confdefs.h >>conftest.$ac_ext
26818 cat >>conftest.$ac_ext <<_ACEOF
26819 /* end confdefs.h. */
26821 #undef HAVE_STDLIB_H
26823 #include <jpeglib.h>
26834 rm -f conftest.$ac_objext
26835 if { (ac_try="$ac_compile"
26836 case "(($ac_try" in
26837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26838 *) ac_try_echo=$ac_try;;
26840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26841 (eval "$ac_compile") 2>conftest.er1
26843 grep -v '^ *+' conftest.er1 >conftest.err
26845 cat conftest.err >&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); } && {
26848 test -z "$ac_c_werror_flag" ||
26849 test ! -s conftest.err
26850 } && test -s conftest.$ac_objext; then
26851 ac_cv_header_jpeglib_h=yes
26853 echo "$as_me: failed program was:" >&5
26854 sed 's/^/| /' conftest.$ac_ext >&5
26856 ac_cv_header_jpeglib_h=no
26860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26864 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26865 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26867 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26868 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26869 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26870 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26871 echo $ECHO_N "(cached) $ECHO_C" >&6
26873 ac_check_lib_save_LIBS=$LIBS
26874 LIBS="-ljpeg $LIBS"
26875 cat >conftest.$ac_ext <<_ACEOF
26878 cat confdefs.h >>conftest.$ac_ext
26879 cat >>conftest.$ac_ext <<_ACEOF
26880 /* end confdefs.h. */
26882 /* Override any GCC internal prototype to avoid an error.
26883 Use char because int might match the return type of a GCC
26884 builtin and then its argument prototype would still apply. */
26888 char jpeg_read_header ();
26892 return jpeg_read_header ();
26897 rm -f conftest.$ac_objext conftest$ac_exeext
26898 if { (ac_try="$ac_link"
26899 case "(($ac_try" in
26900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26901 *) ac_try_echo=$ac_try;;
26903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26904 (eval "$ac_link") 2>conftest.er1
26906 grep -v '^ *+' conftest.er1 >conftest.err
26908 cat conftest.err >&5
26909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910 (exit $ac_status); } && {
26911 test -z "$ac_c_werror_flag" ||
26912 test ! -s conftest.err
26913 } && test -s conftest$ac_exeext &&
26914 $as_test_x conftest$ac_exeext; then
26915 ac_cv_lib_jpeg_jpeg_read_header=yes
26917 echo "$as_me: failed program was:" >&5
26918 sed 's/^/| /' conftest.$ac_ext >&5
26920 ac_cv_lib_jpeg_jpeg_read_header=no
26923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26924 conftest$ac_exeext conftest.$ac_ext
26925 LIBS=$ac_check_lib_save_LIBS
26927 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26928 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26929 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26930 JPEG_LINK=" -ljpeg"
26935 if test "x$JPEG_LINK" = "x" ; then
26936 if test "$wxUSE_LIBJPEG" = "sys" ; then
26937 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26938 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26939 { (exit 1); exit 1; }; }
26941 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26942 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26943 wxUSE_LIBJPEG=builtin
26948 if test "$wxUSE_MSW" = 1; then
26949 { echo "$as_me:$LINENO: checking for boolean" >&5
26950 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26951 if test "${ac_cv_type_boolean+set}" = set; then
26952 echo $ECHO_N "(cached) $ECHO_C" >&6
26954 cat >conftest.$ac_ext <<_ACEOF
26957 cat confdefs.h >>conftest.$ac_ext
26958 cat >>conftest.$ac_ext <<_ACEOF
26959 /* end confdefs.h. */
26960 #include <windows.h>
26962 typedef boolean ac__type_new_;
26966 if ((ac__type_new_ *) 0)
26968 if (sizeof (ac__type_new_))
26974 rm -f conftest.$ac_objext
26975 if { (ac_try="$ac_compile"
26976 case "(($ac_try" in
26977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26978 *) ac_try_echo=$ac_try;;
26980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26981 (eval "$ac_compile") 2>conftest.er1
26983 grep -v '^ *+' conftest.er1 >conftest.err
26985 cat conftest.err >&5
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); } && {
26988 test -z "$ac_c_werror_flag" ||
26989 test ! -s conftest.err
26990 } && test -s conftest.$ac_objext; then
26991 ac_cv_type_boolean=yes
26993 echo "$as_me: failed program was:" >&5
26994 sed 's/^/| /' conftest.$ac_ext >&5
26996 ac_cv_type_boolean=no
26999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27001 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27002 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27003 if test $ac_cv_type_boolean = yes; then
27005 cat >>confdefs.h <<_ACEOF
27006 #define HAVE_BOOLEAN 1
27010 { echo "$as_me:$LINENO: checking for boolean" >&5
27011 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27012 if test "${ac_cv_type_boolean+set}" = set; then
27013 echo $ECHO_N "(cached) $ECHO_C" >&6
27015 cat >conftest.$ac_ext <<_ACEOF
27018 cat confdefs.h >>conftest.$ac_ext
27019 cat >>conftest.$ac_ext <<_ACEOF
27020 /* end confdefs.h. */
27022 #undef HAVE_BOOLEAN
27024 #include <jpeglib.h>
27027 typedef boolean ac__type_new_;
27031 if ((ac__type_new_ *) 0)
27033 if (sizeof (ac__type_new_))
27039 rm -f conftest.$ac_objext
27040 if { (ac_try="$ac_compile"
27041 case "(($ac_try" in
27042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27043 *) ac_try_echo=$ac_try;;
27045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27046 (eval "$ac_compile") 2>conftest.er1
27048 grep -v '^ *+' conftest.er1 >conftest.err
27050 cat conftest.err >&5
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); } && {
27053 test -z "$ac_c_werror_flag" ||
27054 test ! -s conftest.err
27055 } && test -s conftest.$ac_objext; then
27056 ac_cv_type_boolean=yes
27058 echo "$as_me: failed program was:" >&5
27059 sed 's/^/| /' conftest.$ac_ext >&5
27061 ac_cv_type_boolean=no
27064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27066 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27067 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27069 # The cast to long int works around a bug in the HP C Compiler
27070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27072 # This bug is HP SR number 8606223364.
27073 { echo "$as_me:$LINENO: checking size of boolean" >&5
27074 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27075 if test "${ac_cv_sizeof_boolean+set}" = set; then
27076 echo $ECHO_N "(cached) $ECHO_C" >&6
27078 if test "$cross_compiling" = yes; then
27079 # Depending upon the size, compute the lo and hi bounds.
27080 cat >conftest.$ac_ext <<_ACEOF
27083 cat confdefs.h >>conftest.$ac_ext
27084 cat >>conftest.$ac_ext <<_ACEOF
27085 /* end confdefs.h. */
27087 #undef HAVE_BOOLEAN
27089 #include <jpeglib.h>
27092 typedef boolean ac__type_sizeof_;
27096 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27103 rm -f conftest.$ac_objext
27104 if { (ac_try="$ac_compile"
27105 case "(($ac_try" in
27106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27107 *) ac_try_echo=$ac_try;;
27109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27110 (eval "$ac_compile") 2>conftest.er1
27112 grep -v '^ *+' conftest.er1 >conftest.err
27114 cat conftest.err >&5
27115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116 (exit $ac_status); } && {
27117 test -z "$ac_c_werror_flag" ||
27118 test ! -s conftest.err
27119 } && test -s conftest.$ac_objext; then
27122 cat >conftest.$ac_ext <<_ACEOF
27125 cat confdefs.h >>conftest.$ac_ext
27126 cat >>conftest.$ac_ext <<_ACEOF
27127 /* end confdefs.h. */
27129 #undef HAVE_BOOLEAN
27131 #include <jpeglib.h>
27134 typedef boolean ac__type_sizeof_;
27138 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27145 rm -f conftest.$ac_objext
27146 if { (ac_try="$ac_compile"
27147 case "(($ac_try" in
27148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27149 *) ac_try_echo=$ac_try;;
27151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27152 (eval "$ac_compile") 2>conftest.er1
27154 grep -v '^ *+' conftest.er1 >conftest.err
27156 cat conftest.err >&5
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); } && {
27159 test -z "$ac_c_werror_flag" ||
27160 test ! -s conftest.err
27161 } && test -s conftest.$ac_objext; then
27162 ac_hi=$ac_mid; break
27164 echo "$as_me: failed program was:" >&5
27165 sed 's/^/| /' conftest.$ac_ext >&5
27167 ac_lo=`expr $ac_mid + 1`
27168 if test $ac_lo -le $ac_mid; then
27172 ac_mid=`expr 2 '*' $ac_mid + 1`
27175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27178 echo "$as_me: failed program was:" >&5
27179 sed 's/^/| /' conftest.$ac_ext >&5
27181 cat >conftest.$ac_ext <<_ACEOF
27184 cat confdefs.h >>conftest.$ac_ext
27185 cat >>conftest.$ac_ext <<_ACEOF
27186 /* end confdefs.h. */
27188 #undef HAVE_BOOLEAN
27190 #include <jpeglib.h>
27193 typedef boolean ac__type_sizeof_;
27197 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27204 rm -f conftest.$ac_objext
27205 if { (ac_try="$ac_compile"
27206 case "(($ac_try" in
27207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27208 *) ac_try_echo=$ac_try;;
27210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27211 (eval "$ac_compile") 2>conftest.er1
27213 grep -v '^ *+' conftest.er1 >conftest.err
27215 cat conftest.err >&5
27216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27217 (exit $ac_status); } && {
27218 test -z "$ac_c_werror_flag" ||
27219 test ! -s conftest.err
27220 } && test -s conftest.$ac_objext; then
27223 cat >conftest.$ac_ext <<_ACEOF
27226 cat confdefs.h >>conftest.$ac_ext
27227 cat >>conftest.$ac_ext <<_ACEOF
27228 /* end confdefs.h. */
27230 #undef HAVE_BOOLEAN
27232 #include <jpeglib.h>
27235 typedef boolean ac__type_sizeof_;
27239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27246 rm -f conftest.$ac_objext
27247 if { (ac_try="$ac_compile"
27248 case "(($ac_try" in
27249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27250 *) ac_try_echo=$ac_try;;
27252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27253 (eval "$ac_compile") 2>conftest.er1
27255 grep -v '^ *+' conftest.er1 >conftest.err
27257 cat conftest.err >&5
27258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259 (exit $ac_status); } && {
27260 test -z "$ac_c_werror_flag" ||
27261 test ! -s conftest.err
27262 } && test -s conftest.$ac_objext; then
27263 ac_lo=$ac_mid; break
27265 echo "$as_me: failed program was:" >&5
27266 sed 's/^/| /' conftest.$ac_ext >&5
27268 ac_hi=`expr '(' $ac_mid ')' - 1`
27269 if test $ac_mid -le $ac_hi; then
27273 ac_mid=`expr 2 '*' $ac_mid`
27276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27279 echo "$as_me: failed program was:" >&5
27280 sed 's/^/| /' conftest.$ac_ext >&5
27285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27289 # Binary search between lo and hi bounds.
27290 while test "x$ac_lo" != "x$ac_hi"; do
27291 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27292 cat >conftest.$ac_ext <<_ACEOF
27295 cat confdefs.h >>conftest.$ac_ext
27296 cat >>conftest.$ac_ext <<_ACEOF
27297 /* end confdefs.h. */
27299 #undef HAVE_BOOLEAN
27301 #include <jpeglib.h>
27304 typedef boolean ac__type_sizeof_;
27308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27315 rm -f conftest.$ac_objext
27316 if { (ac_try="$ac_compile"
27317 case "(($ac_try" in
27318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27319 *) ac_try_echo=$ac_try;;
27321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27322 (eval "$ac_compile") 2>conftest.er1
27324 grep -v '^ *+' conftest.er1 >conftest.err
27326 cat conftest.err >&5
27327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27328 (exit $ac_status); } && {
27329 test -z "$ac_c_werror_flag" ||
27330 test ! -s conftest.err
27331 } && test -s conftest.$ac_objext; then
27334 echo "$as_me: failed program was:" >&5
27335 sed 's/^/| /' conftest.$ac_ext >&5
27337 ac_lo=`expr '(' $ac_mid ')' + 1`
27340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27343 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27344 '') if test "$ac_cv_type_boolean" = yes; then
27345 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27346 See \`config.log' for more details." >&5
27347 echo "$as_me: error: cannot compute sizeof (boolean)
27348 See \`config.log' for more details." >&2;}
27349 { (exit 77); exit 77; }; }
27351 ac_cv_sizeof_boolean=0
27355 cat >conftest.$ac_ext <<_ACEOF
27358 cat confdefs.h >>conftest.$ac_ext
27359 cat >>conftest.$ac_ext <<_ACEOF
27360 /* end confdefs.h. */
27362 #undef HAVE_BOOLEAN
27364 #include <jpeglib.h>
27367 typedef boolean ac__type_sizeof_;
27368 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27369 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27371 #include <stdlib.h>
27376 FILE *f = fopen ("conftest.val", "w");
27379 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27381 long int i = longval ();
27382 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27384 fprintf (f, "%ld\n", i);
27388 unsigned long int i = ulongval ();
27389 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27391 fprintf (f, "%lu\n", i);
27393 return ferror (f) || fclose (f) != 0;
27399 rm -f conftest$ac_exeext
27400 if { (ac_try="$ac_link"
27401 case "(($ac_try" in
27402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27403 *) ac_try_echo=$ac_try;;
27405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27406 (eval "$ac_link") 2>&5
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27410 { (case "(($ac_try" in
27411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27412 *) ac_try_echo=$ac_try;;
27414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27415 (eval "$ac_try") 2>&5
27417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 (exit $ac_status); }; }; then
27419 ac_cv_sizeof_boolean=`cat conftest.val`
27421 echo "$as_me: program exited with status $ac_status" >&5
27422 echo "$as_me: failed program was:" >&5
27423 sed 's/^/| /' conftest.$ac_ext >&5
27425 ( exit $ac_status )
27426 if test "$ac_cv_type_boolean" = yes; then
27427 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27428 See \`config.log' for more details." >&5
27429 echo "$as_me: error: cannot compute sizeof (boolean)
27430 See \`config.log' for more details." >&2;}
27431 { (exit 77); exit 77; }; }
27433 ac_cv_sizeof_boolean=0
27436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27440 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27441 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27445 cat >>confdefs.h <<_ACEOF
27446 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27450 cat >>confdefs.h <<_ACEOF
27451 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27465 TIFF_PREREQ_LINKS=-lm
27466 if test "$wxUSE_LIBTIFF" != "no" ; then
27467 cat >>confdefs.h <<\_ACEOF
27468 #define wxUSE_LIBTIFF 1
27472 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27473 if test "$wxUSE_LIBJPEG" = "sys"; then
27474 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27476 if test "$wxUSE_ZLIB" = "sys"; then
27477 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27479 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27480 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27481 if test "${ac_cv_header_tiffio_h+set}" = set; then
27482 echo $ECHO_N "(cached) $ECHO_C" >&6
27484 cat >conftest.$ac_ext <<_ACEOF
27487 cat confdefs.h >>conftest.$ac_ext
27488 cat >>conftest.$ac_ext <<_ACEOF
27489 /* end confdefs.h. */
27493 #include <tiffio.h>
27495 rm -f conftest.$ac_objext
27496 if { (ac_try="$ac_compile"
27497 case "(($ac_try" in
27498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27499 *) ac_try_echo=$ac_try;;
27501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27502 (eval "$ac_compile") 2>conftest.er1
27504 grep -v '^ *+' conftest.er1 >conftest.err
27506 cat conftest.err >&5
27507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27508 (exit $ac_status); } && {
27509 test -z "$ac_c_werror_flag" ||
27510 test ! -s conftest.err
27511 } && test -s conftest.$ac_objext; then
27512 ac_cv_header_tiffio_h=yes
27514 echo "$as_me: failed program was:" >&5
27515 sed 's/^/| /' conftest.$ac_ext >&5
27517 ac_cv_header_tiffio_h=no
27520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27522 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27523 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27524 if test $ac_cv_header_tiffio_h = yes; then
27526 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27527 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27528 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27529 echo $ECHO_N "(cached) $ECHO_C" >&6
27531 ac_check_lib_save_LIBS=$LIBS
27532 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27533 cat >conftest.$ac_ext <<_ACEOF
27536 cat confdefs.h >>conftest.$ac_ext
27537 cat >>conftest.$ac_ext <<_ACEOF
27538 /* end confdefs.h. */
27540 /* Override any GCC internal prototype to avoid an error.
27541 Use char because int might match the return type of a GCC
27542 builtin and then its argument prototype would still apply. */
27550 return TIFFError ();
27555 rm -f conftest.$ac_objext conftest$ac_exeext
27556 if { (ac_try="$ac_link"
27557 case "(($ac_try" in
27558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27559 *) ac_try_echo=$ac_try;;
27561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27562 (eval "$ac_link") 2>conftest.er1
27564 grep -v '^ *+' conftest.er1 >conftest.err
27566 cat conftest.err >&5
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); } && {
27569 test -z "$ac_c_werror_flag" ||
27570 test ! -s conftest.err
27571 } && test -s conftest$ac_exeext &&
27572 $as_test_x conftest$ac_exeext; then
27573 ac_cv_lib_tiff_TIFFError=yes
27575 echo "$as_me: failed program was:" >&5
27576 sed 's/^/| /' conftest.$ac_ext >&5
27578 ac_cv_lib_tiff_TIFFError=no
27581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27582 conftest$ac_exeext conftest.$ac_ext
27583 LIBS=$ac_check_lib_save_LIBS
27585 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27586 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27587 if test $ac_cv_lib_tiff_TIFFError = yes; then
27588 TIFF_LINK=" -ltiff"
27596 if test "x$TIFF_LINK" = "x" ; then
27597 if test "$wxUSE_LIBTIFF" = "sys" ; then
27598 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27599 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27600 { (exit 1); exit 1; }; }
27602 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27603 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27604 wxUSE_LIBTIFF=builtin
27610 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27611 if test "$wxUSE_LIBJPEG" = "no"; then
27612 ac_configure_args="$ac_configure_args --disable-jpeg"
27614 subdirs="$subdirs src/tiff"
27620 if test "$wxUSE_WCHAR_T" != "yes"; then
27621 if test "$wxUSE_EXPAT" != "no"; then
27622 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27623 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27626 if test "$wxUSE_XML" != "no"; then
27627 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27628 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27633 if test "$wxUSE_EXPAT" != "no"; then
27635 cat >>confdefs.h <<\_ACEOF
27636 #define wxUSE_EXPAT 1
27639 cat >>confdefs.h <<\_ACEOF
27640 #define wxUSE_XML 1
27644 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27645 { echo "$as_me:$LINENO: checking for expat.h" >&5
27646 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27647 if test "${ac_cv_header_expat_h+set}" = set; then
27648 echo $ECHO_N "(cached) $ECHO_C" >&6
27650 cat >conftest.$ac_ext <<_ACEOF
27653 cat confdefs.h >>conftest.$ac_ext
27654 cat >>conftest.$ac_ext <<_ACEOF
27655 /* end confdefs.h. */
27660 rm -f conftest.$ac_objext
27661 if { (ac_try="$ac_compile"
27662 case "(($ac_try" in
27663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27664 *) ac_try_echo=$ac_try;;
27666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27667 (eval "$ac_compile") 2>conftest.er1
27669 grep -v '^ *+' conftest.er1 >conftest.err
27671 cat conftest.err >&5
27672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27673 (exit $ac_status); } && {
27674 test -z "$ac_c_werror_flag" ||
27675 test ! -s conftest.err
27676 } && test -s conftest.$ac_objext; then
27677 ac_cv_header_expat_h=yes
27679 echo "$as_me: failed program was:" >&5
27680 sed 's/^/| /' conftest.$ac_ext >&5
27682 ac_cv_header_expat_h=no
27685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27687 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27688 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27689 if test $ac_cv_header_expat_h = yes; then
27694 if test "x$found_expat_h" = "x1"; then
27695 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27696 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27697 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27698 echo $ECHO_N "(cached) $ECHO_C" >&6
27702 ac_cpp='$CXXCPP $CPPFLAGS'
27703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27707 cat >conftest.$ac_ext <<_ACEOF
27710 cat confdefs.h >>conftest.$ac_ext
27711 cat >>conftest.$ac_ext <<_ACEOF
27712 /* end confdefs.h. */
27722 rm -f conftest.$ac_objext
27723 if { (ac_try="$ac_compile"
27724 case "(($ac_try" in
27725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27726 *) ac_try_echo=$ac_try;;
27728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27729 (eval "$ac_compile") 2>conftest.er1
27731 grep -v '^ *+' conftest.er1 >conftest.err
27733 cat conftest.err >&5
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); } && {
27736 test -z "$ac_cxx_werror_flag" ||
27737 test ! -s conftest.err
27738 } && test -s conftest.$ac_objext; then
27739 wx_cv_expat_is_not_broken=yes
27741 echo "$as_me: failed program was:" >&5
27742 sed 's/^/| /' conftest.$ac_ext >&5
27744 wx_cv_expat_is_not_broken=no
27748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27750 ac_cpp='$CPP $CPPFLAGS'
27751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27758 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27759 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27760 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27761 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27762 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27763 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27764 echo $ECHO_N "(cached) $ECHO_C" >&6
27766 ac_check_lib_save_LIBS=$LIBS
27767 LIBS="-lexpat $LIBS"
27768 cat >conftest.$ac_ext <<_ACEOF
27771 cat confdefs.h >>conftest.$ac_ext
27772 cat >>conftest.$ac_ext <<_ACEOF
27773 /* end confdefs.h. */
27775 /* Override any GCC internal prototype to avoid an error.
27776 Use char because int might match the return type of a GCC
27777 builtin and then its argument prototype would still apply. */
27781 char XML_ParserCreate ();
27785 return XML_ParserCreate ();
27790 rm -f conftest.$ac_objext conftest$ac_exeext
27791 if { (ac_try="$ac_link"
27792 case "(($ac_try" in
27793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27794 *) ac_try_echo=$ac_try;;
27796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27797 (eval "$ac_link") 2>conftest.er1
27799 grep -v '^ *+' conftest.er1 >conftest.err
27801 cat conftest.err >&5
27802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27803 (exit $ac_status); } && {
27804 test -z "$ac_c_werror_flag" ||
27805 test ! -s conftest.err
27806 } && test -s conftest$ac_exeext &&
27807 $as_test_x conftest$ac_exeext; then
27808 ac_cv_lib_expat_XML_ParserCreate=yes
27810 echo "$as_me: failed program was:" >&5
27811 sed 's/^/| /' conftest.$ac_ext >&5
27813 ac_cv_lib_expat_XML_ParserCreate=no
27816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27817 conftest$ac_exeext conftest.$ac_ext
27818 LIBS=$ac_check_lib_save_LIBS
27820 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27821 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27822 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27823 EXPAT_LINK=" -lexpat"
27828 if test "x$EXPAT_LINK" = "x" ; then
27829 if test "$wxUSE_EXPAT" = "sys" ; then
27830 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27831 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27832 { (exit 1); exit 1; }; }
27834 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27835 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27836 wxUSE_EXPAT=builtin
27842 if test "$wxUSE_EXPAT" = "builtin" ; then
27843 subdirs="$subdirs src/expat"
27850 if test "$wxUSE_LIBMSPACK" != "no"; then
27851 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27852 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27853 if test "${ac_cv_header_mspack_h+set}" = set; then
27854 echo $ECHO_N "(cached) $ECHO_C" >&6
27856 cat >conftest.$ac_ext <<_ACEOF
27859 cat confdefs.h >>conftest.$ac_ext
27860 cat >>conftest.$ac_ext <<_ACEOF
27861 /* end confdefs.h. */
27864 #include <mspack.h>
27866 rm -f conftest.$ac_objext
27867 if { (ac_try="$ac_compile"
27868 case "(($ac_try" in
27869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27870 *) ac_try_echo=$ac_try;;
27872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27873 (eval "$ac_compile") 2>conftest.er1
27875 grep -v '^ *+' conftest.er1 >conftest.err
27877 cat conftest.err >&5
27878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27879 (exit $ac_status); } && {
27880 test -z "$ac_c_werror_flag" ||
27881 test ! -s conftest.err
27882 } && test -s conftest.$ac_objext; then
27883 ac_cv_header_mspack_h=yes
27885 echo "$as_me: failed program was:" >&5
27886 sed 's/^/| /' conftest.$ac_ext >&5
27888 ac_cv_header_mspack_h=no
27891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27893 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27894 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27895 if test $ac_cv_header_mspack_h = yes; then
27900 if test "x$found_mspack_h" = "x1"; then
27901 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27902 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27903 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27904 echo $ECHO_N "(cached) $ECHO_C" >&6
27906 ac_check_lib_save_LIBS=$LIBS
27907 LIBS="-lmspack $LIBS"
27908 cat >conftest.$ac_ext <<_ACEOF
27911 cat confdefs.h >>conftest.$ac_ext
27912 cat >>conftest.$ac_ext <<_ACEOF
27913 /* end confdefs.h. */
27915 /* Override any GCC internal prototype to avoid an error.
27916 Use char because int might match the return type of a GCC
27917 builtin and then its argument prototype would still apply. */
27921 char mspack_create_chm_decompressor ();
27925 return mspack_create_chm_decompressor ();
27930 rm -f conftest.$ac_objext conftest$ac_exeext
27931 if { (ac_try="$ac_link"
27932 case "(($ac_try" in
27933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27934 *) ac_try_echo=$ac_try;;
27936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27937 (eval "$ac_link") 2>conftest.er1
27939 grep -v '^ *+' conftest.er1 >conftest.err
27941 cat conftest.err >&5
27942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27943 (exit $ac_status); } && {
27944 test -z "$ac_c_werror_flag" ||
27945 test ! -s conftest.err
27946 } && test -s conftest$ac_exeext &&
27947 $as_test_x conftest$ac_exeext; then
27948 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27950 echo "$as_me: failed program was:" >&5
27951 sed 's/^/| /' conftest.$ac_ext >&5
27953 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27957 conftest$ac_exeext conftest.$ac_ext
27958 LIBS=$ac_check_lib_save_LIBS
27960 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27961 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27962 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27963 MSPACK_LINK=" -lmspack"
27967 if test "x$MSPACK_LINK" = "x" ; then
27972 if test "$wxUSE_LIBMSPACK" != "no"; then
27973 cat >>confdefs.h <<\_ACEOF
27974 #define wxUSE_LIBMSPACK 1
27988 if test "$USE_WIN32" = 1 ; then
27990 for ac_header in w32api.h
27992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27996 echo $ECHO_N "(cached) $ECHO_C" >&6
27998 cat >conftest.$ac_ext <<_ACEOF
28001 cat confdefs.h >>conftest.$ac_ext
28002 cat >>conftest.$ac_ext <<_ACEOF
28003 /* end confdefs.h. */
28006 #include <$ac_header>
28008 rm -f conftest.$ac_objext
28009 if { (ac_try="$ac_compile"
28010 case "(($ac_try" in
28011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28012 *) ac_try_echo=$ac_try;;
28014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28015 (eval "$ac_compile") 2>conftest.er1
28017 grep -v '^ *+' conftest.er1 >conftest.err
28019 cat conftest.err >&5
28020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28021 (exit $ac_status); } && {
28022 test -z "$ac_c_werror_flag" ||
28023 test ! -s conftest.err
28024 } && test -s conftest.$ac_objext; then
28025 eval "$as_ac_Header=yes"
28027 echo "$as_me: failed program was:" >&5
28028 sed 's/^/| /' conftest.$ac_ext >&5
28030 eval "$as_ac_Header=no"
28033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28035 ac_res=`eval echo '${'$as_ac_Header'}'`
28036 { echo "$as_me:$LINENO: result: $ac_res" >&5
28037 echo "${ECHO_T}$ac_res" >&6; }
28038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28039 cat >>confdefs.h <<_ACEOF
28040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28047 { echo "$as_me:$LINENO: checking for windows.h" >&5
28048 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28049 if test "${ac_cv_header_windows_h+set}" = set; then
28050 echo $ECHO_N "(cached) $ECHO_C" >&6
28052 cat >conftest.$ac_ext <<_ACEOF
28055 cat confdefs.h >>conftest.$ac_ext
28056 cat >>conftest.$ac_ext <<_ACEOF
28057 /* end confdefs.h. */
28060 #include <windows.h>
28062 rm -f conftest.$ac_objext
28063 if { (ac_try="$ac_compile"
28064 case "(($ac_try" in
28065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28066 *) ac_try_echo=$ac_try;;
28068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28069 (eval "$ac_compile") 2>conftest.er1
28071 grep -v '^ *+' conftest.er1 >conftest.err
28073 cat conftest.err >&5
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); } && {
28076 test -z "$ac_c_werror_flag" ||
28077 test ! -s conftest.err
28078 } && test -s conftest.$ac_objext; then
28079 ac_cv_header_windows_h=yes
28081 echo "$as_me: failed program was:" >&5
28082 sed 's/^/| /' conftest.$ac_ext >&5
28084 ac_cv_header_windows_h=no
28087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28089 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28090 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28091 if test $ac_cv_header_windows_h = yes; then
28095 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28096 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28097 { (exit 1); exit 1; }; }
28104 x86_64-*-mingw32* )
28105 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28108 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28111 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28112 LIBS="$LIBS -loleacc"
28117 LIBS="$LIBS -lkernel32 -luser32"
28120 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28121 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28123 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28125 WIN32INSTALL=win32install
28127 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28128 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28129 if test "${ac_cv_header_pbt_h+set}" = set; then
28130 echo $ECHO_N "(cached) $ECHO_C" >&6
28132 cat >conftest.$ac_ext <<_ACEOF
28135 cat confdefs.h >>conftest.$ac_ext
28136 cat >>conftest.$ac_ext <<_ACEOF
28137 /* end confdefs.h. */
28142 rm -f conftest.$ac_objext
28143 if { (ac_try="$ac_compile"
28144 case "(($ac_try" in
28145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28146 *) ac_try_echo=$ac_try;;
28148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28149 (eval "$ac_compile") 2>conftest.er1
28151 grep -v '^ *+' conftest.er1 >conftest.err
28153 cat conftest.err >&5
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 (exit $ac_status); } && {
28156 test -z "$ac_c_werror_flag" ||
28157 test ! -s conftest.err
28158 } && test -s conftest.$ac_objext; then
28159 ac_cv_header_pbt_h=yes
28161 echo "$as_me: failed program was:" >&5
28162 sed 's/^/| /' conftest.$ac_ext >&5
28164 ac_cv_header_pbt_h=no
28167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28169 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28170 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28171 if test $ac_cv_header_pbt_h = yes; then
28174 cat >>confdefs.h <<\_ACEOF
28175 #define NEED_PBT_H 1
28183 if test "$wxUSE_GUI" = "yes"; then
28193 if test "$wxUSE_COCOA" = 1 ; then
28194 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28195 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28196 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28197 wxUSE_PRINTING_ARCHITECTURE=no
28199 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28200 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28201 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28202 wxUSE_DRAG_AND_DROP=no
28204 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28205 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28206 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28211 if test "$wxUSE_MSW" = 1 ; then
28217 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28221 if test "$wxUSE_GTK" = 1; then
28222 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28223 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28225 gtk_version_cached=1
28226 if test "${wx_cv_lib_gtk+set}" = set; then
28227 echo $ECHO_N "(cached) $ECHO_C" >&6
28230 gtk_version_cached=0
28231 { echo "$as_me:$LINENO: result: " >&5
28232 echo "${ECHO_T}" >&6; }
28235 if test "$wxUSE_THREADS" = "yes"; then
28236 GTK_MODULES=gthread
28240 if test "x$wxGTK_VERSION" != "x1"
28244 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28249 # Check whether --enable-gtktest was given.
28250 if test "${enable_gtktest+set}" = set; then
28251 enableval=$enable_gtktest;
28257 pkg_config_args=gtk+-2.0
28258 for module in . $GTK_MODULES
28262 pkg_config_args="$pkg_config_args gthread-2.0"
28269 # Extract the first word of "pkg-config", so it can be a program name with args.
28270 set dummy pkg-config; ac_word=$2
28271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28273 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28274 echo $ECHO_N "(cached) $ECHO_C" >&6
28276 case $PKG_CONFIG in
28278 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28282 for as_dir in $PATH
28285 test -z "$as_dir" && as_dir=.
28286 for ac_exec_ext in '' $ac_executable_extensions; do
28287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28288 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28296 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28300 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28301 if test -n "$PKG_CONFIG"; then
28302 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28303 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28305 { echo "$as_me:$LINENO: result: no" >&5
28306 echo "${ECHO_T}no" >&6; }
28311 if test x$PKG_CONFIG != xno ; then
28312 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28315 echo "*** pkg-config too old; version 0.7 or better required."
28323 min_gtk_version=2.4.0
28324 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28325 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28327 if test x$PKG_CONFIG != xno ; then
28328 ## don't try to run the test against uninstalled libtool libs
28329 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28330 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28334 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28341 if test x"$no_gtk" = x ; then
28342 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28343 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28344 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28345 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28346 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28348 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28349 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28350 if test "x$enable_gtktest" = "xyes" ; then
28351 ac_save_CFLAGS="$CFLAGS"
28352 ac_save_LIBS="$LIBS"
28353 CFLAGS="$CFLAGS $GTK_CFLAGS"
28354 LIBS="$GTK_LIBS $LIBS"
28356 if test "$cross_compiling" = yes; then
28357 echo $ac_n "cross compiling; assumed OK... $ac_c"
28359 cat >conftest.$ac_ext <<_ACEOF
28362 cat confdefs.h >>conftest.$ac_ext
28363 cat >>conftest.$ac_ext <<_ACEOF
28364 /* end confdefs.h. */
28366 #include <gtk/gtk.h>
28368 #include <stdlib.h>
28373 int major, minor, micro;
28376 system ("touch conf.gtktest");
28378 /* HP/UX 9 (%@#!) writes to sscanf strings */
28379 tmp_version = g_strdup("$min_gtk_version");
28380 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28381 printf("%s, bad version string\n", "$min_gtk_version");
28385 if ((gtk_major_version != $gtk_config_major_version) ||
28386 (gtk_minor_version != $gtk_config_minor_version) ||
28387 (gtk_micro_version != $gtk_config_micro_version))
28389 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28390 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28391 gtk_major_version, gtk_minor_version, gtk_micro_version);
28392 printf ("*** was found! If pkg-config was correct, then it is best\n");
28393 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28394 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28395 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28396 printf("*** required on your system.\n");
28397 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28398 printf("*** to point to the correct configuration files\n");
28400 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28401 (gtk_minor_version != GTK_MINOR_VERSION) ||
28402 (gtk_micro_version != GTK_MICRO_VERSION))
28404 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28405 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28406 printf("*** library (version %d.%d.%d)\n",
28407 gtk_major_version, gtk_minor_version, gtk_micro_version);
28411 if ((gtk_major_version > major) ||
28412 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28413 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28419 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28420 gtk_major_version, gtk_minor_version, gtk_micro_version);
28421 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28422 major, minor, micro);
28423 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28425 printf("*** If you have already installed a sufficiently new version, this error\n");
28426 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28427 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28428 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28429 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28430 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28431 printf("*** so that the correct libraries are found at run-time))\n");
28438 rm -f conftest$ac_exeext
28439 if { (ac_try="$ac_link"
28440 case "(($ac_try" in
28441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28442 *) ac_try_echo=$ac_try;;
28444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28445 (eval "$ac_link") 2>&5
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28449 { (case "(($ac_try" in
28450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28451 *) ac_try_echo=$ac_try;;
28453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28454 (eval "$ac_try") 2>&5
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); }; }; then
28460 echo "$as_me: program exited with status $ac_status" >&5
28461 echo "$as_me: failed program was:" >&5
28462 sed 's/^/| /' conftest.$ac_ext >&5
28464 ( exit $ac_status )
28467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28471 CFLAGS="$ac_save_CFLAGS"
28472 LIBS="$ac_save_LIBS"
28475 if test "x$no_gtk" = x ; then
28476 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28477 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28480 { echo "$as_me:$LINENO: result: no" >&5
28481 echo "${ECHO_T}no" >&6; }
28482 if test "$PKG_CONFIG" = "no" ; then
28483 echo "*** A new enough version of pkg-config was not found."
28484 echo "*** See http://pkgconfig.sourceforge.net"
28486 if test -f conf.gtktest ; then
28489 echo "*** Could not run GTK+ test program, checking why..."
28490 ac_save_CFLAGS="$CFLAGS"
28491 ac_save_LIBS="$LIBS"
28492 CFLAGS="$CFLAGS $GTK_CFLAGS"
28493 LIBS="$LIBS $GTK_LIBS"
28494 cat >conftest.$ac_ext <<_ACEOF
28497 cat confdefs.h >>conftest.$ac_ext
28498 cat >>conftest.$ac_ext <<_ACEOF
28499 /* end confdefs.h. */
28501 #include <gtk/gtk.h>
28507 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28512 rm -f conftest.$ac_objext conftest$ac_exeext
28513 if { (ac_try="$ac_link"
28514 case "(($ac_try" in
28515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28516 *) ac_try_echo=$ac_try;;
28518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28519 (eval "$ac_link") 2>conftest.er1
28521 grep -v '^ *+' conftest.er1 >conftest.err
28523 cat conftest.err >&5
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); } && {
28526 test -z "$ac_c_werror_flag" ||
28527 test ! -s conftest.err
28528 } && test -s conftest$ac_exeext &&
28529 $as_test_x conftest$ac_exeext; then
28530 echo "*** The test program compiled, but did not run. This usually means"
28531 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28532 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28533 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28534 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28535 echo "*** is required on your system"
28537 echo "*** If you have an old version installed, it is best to remove it, although"
28538 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28540 echo "$as_me: failed program was:" >&5
28541 sed 's/^/| /' conftest.$ac_ext >&5
28543 echo "*** The test program failed to compile or link. See the file config.log for the"
28544 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28548 conftest$ac_exeext conftest.$ac_ext
28549 CFLAGS="$ac_save_CFLAGS"
28550 LIBS="$ac_save_LIBS"
28564 if test "$wxUSE_SHARED" != "yes"; then
28565 GTK_LIBS="$GTK_LIBS -lX11"
28570 if test -z "$wx_cv_lib_gtk"; then
28571 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28573 # Check whether --with-gtk-prefix was given.
28574 if test "${with_gtk_prefix+set}" = set; then
28575 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28577 gtk_config_prefix=""
28581 # Check whether --with-gtk-exec-prefix was given.
28582 if test "${with_gtk_exec_prefix+set}" = set; then
28583 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28585 gtk_config_exec_prefix=""
28588 # Check whether --enable-gtktest was given.
28589 if test "${enable_gtktest+set}" = set; then
28590 enableval=$enable_gtktest;
28596 for module in . $GTK_MODULES
28600 gtk_config_args="$gtk_config_args gthread"
28605 if test x$gtk_config_exec_prefix != x ; then
28606 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28607 if test x${GTK_CONFIG+set} != xset ; then
28608 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28611 if test x$gtk_config_prefix != x ; then
28612 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28613 if test x${GTK_CONFIG+set} != xset ; then
28614 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28618 # Extract the first word of "gtk-config", so it can be a program name with args.
28619 set dummy gtk-config; ac_word=$2
28620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28622 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28623 echo $ECHO_N "(cached) $ECHO_C" >&6
28625 case $GTK_CONFIG in
28627 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28631 for as_dir in $PATH
28634 test -z "$as_dir" && as_dir=.
28635 for ac_exec_ext in '' $ac_executable_extensions; do
28636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28637 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28645 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28649 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28650 if test -n "$GTK_CONFIG"; then
28651 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28652 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28654 { echo "$as_me:$LINENO: result: no" >&5
28655 echo "${ECHO_T}no" >&6; }
28659 min_gtk_version=1.2.7
28660 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28661 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28663 if test "$GTK_CONFIG" = "no" ; then
28666 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28667 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28668 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28669 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28670 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28671 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28672 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28673 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28674 if test "x$enable_gtktest" = "xyes" ; then
28675 ac_save_CFLAGS="$CFLAGS"
28676 ac_save_LIBS="$LIBS"
28677 CFLAGS="$CFLAGS $GTK_CFLAGS"
28678 LIBS="$GTK_LIBS $LIBS"
28680 if test "$cross_compiling" = yes; then
28681 echo $ac_n "cross compiling; assumed OK... $ac_c"
28683 cat >conftest.$ac_ext <<_ACEOF
28686 cat confdefs.h >>conftest.$ac_ext
28687 cat >>conftest.$ac_ext <<_ACEOF
28688 /* end confdefs.h. */
28690 #include <gtk/gtk.h>
28692 #include <stdlib.h>
28697 int major, minor, micro;
28700 system ("touch conf.gtktest");
28702 /* HP/UX 9 (%@#!) writes to sscanf strings */
28703 tmp_version = g_strdup("$min_gtk_version");
28704 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28705 printf("%s, bad version string\n", "$min_gtk_version");
28709 if ((gtk_major_version != $gtk_config_major_version) ||
28710 (gtk_minor_version != $gtk_config_minor_version) ||
28711 (gtk_micro_version != $gtk_config_micro_version))
28713 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28714 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28715 gtk_major_version, gtk_minor_version, gtk_micro_version);
28716 printf ("*** was found! If gtk-config was correct, then it is best\n");
28717 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28718 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28719 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28720 printf("*** required on your system.\n");
28721 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28722 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28723 printf("*** before re-running configure\n");
28725 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28726 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28727 (gtk_minor_version != GTK_MINOR_VERSION) ||
28728 (gtk_micro_version != GTK_MICRO_VERSION))
28730 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28731 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28732 printf("*** library (version %d.%d.%d)\n",
28733 gtk_major_version, gtk_minor_version, gtk_micro_version);
28735 #endif /* defined (GTK_MAJOR_VERSION) ... */
28738 if ((gtk_major_version > major) ||
28739 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28740 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28746 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28747 gtk_major_version, gtk_minor_version, gtk_micro_version);
28748 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28749 major, minor, micro);
28750 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28752 printf("*** If you have already installed a sufficiently new version, this error\n");
28753 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28754 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28755 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28756 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28757 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28758 printf("*** so that the correct libraries are found at run-time))\n");
28765 rm -f conftest$ac_exeext
28766 if { (ac_try="$ac_link"
28767 case "(($ac_try" in
28768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28769 *) ac_try_echo=$ac_try;;
28771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28772 (eval "$ac_link") 2>&5
28774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28775 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28776 { (case "(($ac_try" in
28777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28778 *) ac_try_echo=$ac_try;;
28780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28781 (eval "$ac_try") 2>&5
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); }; }; then
28787 echo "$as_me: program exited with status $ac_status" >&5
28788 echo "$as_me: failed program was:" >&5
28789 sed 's/^/| /' conftest.$ac_ext >&5
28791 ( exit $ac_status )
28794 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28798 CFLAGS="$ac_save_CFLAGS"
28799 LIBS="$ac_save_LIBS"
28802 if test "x$no_gtk" = x ; then
28803 { echo "$as_me:$LINENO: result: yes" >&5
28804 echo "${ECHO_T}yes" >&6; }
28805 wx_cv_lib_gtk=1.2.7
28807 { echo "$as_me:$LINENO: result: no" >&5
28808 echo "${ECHO_T}no" >&6; }
28809 if test "$GTK_CONFIG" = "no" ; then
28810 echo "*** The gtk-config script installed by GTK could not be found"
28811 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28812 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28813 echo "*** full path to gtk-config."
28815 if test -f conf.gtktest ; then
28818 echo "*** Could not run GTK test program, checking why..."
28819 CFLAGS="$CFLAGS $GTK_CFLAGS"
28820 LIBS="$LIBS $GTK_LIBS"
28821 cat >conftest.$ac_ext <<_ACEOF
28824 cat confdefs.h >>conftest.$ac_ext
28825 cat >>conftest.$ac_ext <<_ACEOF
28826 /* end confdefs.h. */
28828 #include <gtk/gtk.h>
28834 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28839 rm -f conftest.$ac_objext conftest$ac_exeext
28840 if { (ac_try="$ac_link"
28841 case "(($ac_try" in
28842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28843 *) ac_try_echo=$ac_try;;
28845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28846 (eval "$ac_link") 2>conftest.er1
28848 grep -v '^ *+' conftest.er1 >conftest.err
28850 cat conftest.err >&5
28851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852 (exit $ac_status); } && {
28853 test -z "$ac_c_werror_flag" ||
28854 test ! -s conftest.err
28855 } && test -s conftest$ac_exeext &&
28856 $as_test_x conftest$ac_exeext; then
28857 echo "*** The test program compiled, but did not run. This usually means"
28858 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28859 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28860 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28861 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28862 echo "*** is required on your system"
28864 echo "*** If you have an old version installed, it is best to remove it, although"
28865 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28867 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28868 echo "*** came with the system with the command"
28870 echo "*** rpm --erase --nodeps gtk gtk-devel"
28872 echo "$as_me: failed program was:" >&5
28873 sed 's/^/| /' conftest.$ac_ext >&5
28875 echo "*** The test program failed to compile or link. See the file config.log for the"
28876 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28877 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28878 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28882 conftest$ac_exeext conftest.$ac_ext
28883 CFLAGS="$ac_save_CFLAGS"
28884 LIBS="$ac_save_LIBS"
28896 if test -z "$wx_cv_lib_gtk"; then
28898 # Check whether --with-gtk-prefix was given.
28899 if test "${with_gtk_prefix+set}" = set; then
28900 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28902 gtk_config_prefix=""
28906 # Check whether --with-gtk-exec-prefix was given.
28907 if test "${with_gtk_exec_prefix+set}" = set; then
28908 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28910 gtk_config_exec_prefix=""
28913 # Check whether --enable-gtktest was given.
28914 if test "${enable_gtktest+set}" = set; then
28915 enableval=$enable_gtktest;
28921 for module in . $GTK_MODULES
28925 gtk_config_args="$gtk_config_args gthread"
28930 if test x$gtk_config_exec_prefix != x ; then
28931 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28932 if test x${GTK_CONFIG+set} != xset ; then
28933 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28936 if test x$gtk_config_prefix != x ; then
28937 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28938 if test x${GTK_CONFIG+set} != xset ; then
28939 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28943 # Extract the first word of "gtk-config", so it can be a program name with args.
28944 set dummy gtk-config; ac_word=$2
28945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28947 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28948 echo $ECHO_N "(cached) $ECHO_C" >&6
28950 case $GTK_CONFIG in
28952 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28956 for as_dir in $PATH
28959 test -z "$as_dir" && as_dir=.
28960 for ac_exec_ext in '' $ac_executable_extensions; do
28961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28962 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28970 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28974 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28975 if test -n "$GTK_CONFIG"; then
28976 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28977 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28979 { echo "$as_me:$LINENO: result: no" >&5
28980 echo "${ECHO_T}no" >&6; }
28984 min_gtk_version=1.2.3
28985 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28986 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28988 if test "$GTK_CONFIG" = "no" ; then
28991 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28992 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28993 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28994 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28995 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28996 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28997 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28998 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28999 if test "x$enable_gtktest" = "xyes" ; then
29000 ac_save_CFLAGS="$CFLAGS"
29001 ac_save_LIBS="$LIBS"
29002 CFLAGS="$CFLAGS $GTK_CFLAGS"
29003 LIBS="$GTK_LIBS $LIBS"
29005 if test "$cross_compiling" = yes; then
29006 echo $ac_n "cross compiling; assumed OK... $ac_c"
29008 cat >conftest.$ac_ext <<_ACEOF
29011 cat confdefs.h >>conftest.$ac_ext
29012 cat >>conftest.$ac_ext <<_ACEOF
29013 /* end confdefs.h. */
29015 #include <gtk/gtk.h>
29017 #include <stdlib.h>
29022 int major, minor, micro;
29025 system ("touch conf.gtktest");
29027 /* HP/UX 9 (%@#!) writes to sscanf strings */
29028 tmp_version = g_strdup("$min_gtk_version");
29029 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29030 printf("%s, bad version string\n", "$min_gtk_version");
29034 if ((gtk_major_version != $gtk_config_major_version) ||
29035 (gtk_minor_version != $gtk_config_minor_version) ||
29036 (gtk_micro_version != $gtk_config_micro_version))
29038 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29039 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29040 gtk_major_version, gtk_minor_version, gtk_micro_version);
29041 printf ("*** was found! If gtk-config was correct, then it is best\n");
29042 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29043 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29044 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29045 printf("*** required on your system.\n");
29046 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29047 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29048 printf("*** before re-running configure\n");
29050 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29051 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29052 (gtk_minor_version != GTK_MINOR_VERSION) ||
29053 (gtk_micro_version != GTK_MICRO_VERSION))
29055 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29056 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29057 printf("*** library (version %d.%d.%d)\n",
29058 gtk_major_version, gtk_minor_version, gtk_micro_version);
29060 #endif /* defined (GTK_MAJOR_VERSION) ... */
29063 if ((gtk_major_version > major) ||
29064 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29065 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29071 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29072 gtk_major_version, gtk_minor_version, gtk_micro_version);
29073 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29074 major, minor, micro);
29075 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29077 printf("*** If you have already installed a sufficiently new version, this error\n");
29078 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29079 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29080 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29081 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29082 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29083 printf("*** so that the correct libraries are found at run-time))\n");
29090 rm -f conftest$ac_exeext
29091 if { (ac_try="$ac_link"
29092 case "(($ac_try" in
29093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29094 *) ac_try_echo=$ac_try;;
29096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29097 (eval "$ac_link") 2>&5
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29101 { (case "(($ac_try" in
29102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29103 *) ac_try_echo=$ac_try;;
29105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29106 (eval "$ac_try") 2>&5
29108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109 (exit $ac_status); }; }; then
29112 echo "$as_me: program exited with status $ac_status" >&5
29113 echo "$as_me: failed program was:" >&5
29114 sed 's/^/| /' conftest.$ac_ext >&5
29116 ( exit $ac_status )
29119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29123 CFLAGS="$ac_save_CFLAGS"
29124 LIBS="$ac_save_LIBS"
29127 if test "x$no_gtk" = x ; then
29128 { echo "$as_me:$LINENO: result: yes" >&5
29129 echo "${ECHO_T}yes" >&6; }
29130 wx_cv_lib_gtk=1.2.3
29132 { echo "$as_me:$LINENO: result: no" >&5
29133 echo "${ECHO_T}no" >&6; }
29134 if test "$GTK_CONFIG" = "no" ; then
29135 echo "*** The gtk-config script installed by GTK could not be found"
29136 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29137 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29138 echo "*** full path to gtk-config."
29140 if test -f conf.gtktest ; then
29143 echo "*** Could not run GTK test program, checking why..."
29144 CFLAGS="$CFLAGS $GTK_CFLAGS"
29145 LIBS="$LIBS $GTK_LIBS"
29146 cat >conftest.$ac_ext <<_ACEOF
29149 cat confdefs.h >>conftest.$ac_ext
29150 cat >>conftest.$ac_ext <<_ACEOF
29151 /* end confdefs.h. */
29153 #include <gtk/gtk.h>
29159 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29164 rm -f conftest.$ac_objext conftest$ac_exeext
29165 if { (ac_try="$ac_link"
29166 case "(($ac_try" in
29167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29168 *) ac_try_echo=$ac_try;;
29170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29171 (eval "$ac_link") 2>conftest.er1
29173 grep -v '^ *+' conftest.er1 >conftest.err
29175 cat conftest.err >&5
29176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29177 (exit $ac_status); } && {
29178 test -z "$ac_c_werror_flag" ||
29179 test ! -s conftest.err
29180 } && test -s conftest$ac_exeext &&
29181 $as_test_x conftest$ac_exeext; then
29182 echo "*** The test program compiled, but did not run. This usually means"
29183 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29184 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29185 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29186 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29187 echo "*** is required on your system"
29189 echo "*** If you have an old version installed, it is best to remove it, although"
29190 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29192 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29193 echo "*** came with the system with the command"
29195 echo "*** rpm --erase --nodeps gtk gtk-devel"
29197 echo "$as_me: failed program was:" >&5
29198 sed 's/^/| /' conftest.$ac_ext >&5
29200 echo "*** The test program failed to compile or link. See the file config.log for the"
29201 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29202 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29203 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29207 conftest$ac_exeext conftest.$ac_ext
29208 CFLAGS="$ac_save_CFLAGS"
29209 LIBS="$ac_save_LIBS"
29224 if test -z "$wx_cv_lib_gtk"; then
29227 wx_cv_cflags_gtk=$GTK_CFLAGS
29228 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29235 if test "$gtk_version_cached" = 1; then
29236 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29237 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29240 case "$wx_cv_lib_gtk" in
29249 *) { { echo "$as_me:$LINENO: error:
29250 The development files for GTK+ were not found. For GTK+ 2, please
29251 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29252 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29253 and that the version is 1.2.3 or above. Also check that the
29254 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29255 --libs' are in the LD_LIBRARY_PATH or equivalent.
29257 echo "$as_me: error:
29258 The development files for GTK+ were not found. For GTK+ 2, please
29259 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29260 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29261 and that the version is 1.2.3 or above. Also check that the
29262 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29263 --libs' are in the LD_LIBRARY_PATH or equivalent.
29265 { (exit 1); exit 1; }; }
29269 if test "$WXGTK2" = 1; then
29270 save_CFLAGS="$CFLAGS"
29272 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29273 LIBS="$LIBS $wx_cv_libs_gtk"
29275 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29276 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29277 cat >conftest.$ac_ext <<_ACEOF
29280 cat confdefs.h >>conftest.$ac_ext
29281 cat >>conftest.$ac_ext <<_ACEOF
29282 /* end confdefs.h. */
29284 #include <gtk/gtk.h>
29290 #if !GTK_CHECK_VERSION(2,10,0)
29298 rm -f conftest.$ac_objext
29299 if { (ac_try="$ac_compile"
29300 case "(($ac_try" in
29301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29302 *) ac_try_echo=$ac_try;;
29304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29305 (eval "$ac_compile") 2>conftest.er1
29307 grep -v '^ *+' conftest.er1 >conftest.err
29309 cat conftest.err >&5
29310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29311 (exit $ac_status); } && {
29312 test -z "$ac_c_werror_flag" ||
29313 test ! -s conftest.err
29314 } && test -s conftest.$ac_objext; then
29316 cat >>confdefs.h <<\_ACEOF
29317 #define __WXGTK210__ 1
29320 cat >>confdefs.h <<\_ACEOF
29321 #define __WXGTK26__ 1
29324 { echo "$as_me:$LINENO: result: yes" >&5
29325 echo "${ECHO_T}yes" >&6; }
29329 echo "$as_me: failed program was:" >&5
29330 sed 's/^/| /' conftest.$ac_ext >&5
29333 { echo "$as_me:$LINENO: result: no" >&5
29334 echo "${ECHO_T}no" >&6; }
29339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29341 if test "$ac_wxgtk210" = 0; then
29342 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29343 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29344 cat >conftest.$ac_ext <<_ACEOF
29347 cat confdefs.h >>conftest.$ac_ext
29348 cat >>conftest.$ac_ext <<_ACEOF
29349 /* end confdefs.h. */
29351 #include <gtk/gtk.h>
29357 #if !GTK_CHECK_VERSION(2,6,0)
29365 rm -f conftest.$ac_objext
29366 if { (ac_try="$ac_compile"
29367 case "(($ac_try" in
29368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29369 *) ac_try_echo=$ac_try;;
29371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29372 (eval "$ac_compile") 2>conftest.er1
29374 grep -v '^ *+' conftest.er1 >conftest.err
29376 cat conftest.err >&5
29377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29378 (exit $ac_status); } && {
29379 test -z "$ac_c_werror_flag" ||
29380 test ! -s conftest.err
29381 } && test -s conftest.$ac_objext; then
29383 cat >>confdefs.h <<\_ACEOF
29384 #define __WXGTK26__ 1
29387 { echo "$as_me:$LINENO: result: yes" >&5
29388 echo "${ECHO_T}yes" >&6; }
29392 echo "$as_me: failed program was:" >&5
29393 sed 's/^/| /' conftest.$ac_ext >&5
29396 { echo "$as_me:$LINENO: result: no" >&5
29397 echo "${ECHO_T}no" >&6; }
29402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29405 CFLAGS="$save_CFLAGS"
29408 if test "$wxUSE_UNICODE" = "yes"; then
29409 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29410 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29414 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29415 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29416 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29417 echo $ECHO_N "(cached) $ECHO_C" >&6
29419 ac_check_lib_save_LIBS=$LIBS
29421 cat >conftest.$ac_ext <<_ACEOF
29424 cat confdefs.h >>conftest.$ac_ext
29425 cat >>conftest.$ac_ext <<_ACEOF
29426 /* end confdefs.h. */
29428 /* Override any GCC internal prototype to avoid an error.
29429 Use char because int might match the return type of a GCC
29430 builtin and then its argument prototype would still apply. */
29434 char gdk_im_open ();
29438 return gdk_im_open ();
29443 rm -f conftest.$ac_objext conftest$ac_exeext
29444 if { (ac_try="$ac_link"
29445 case "(($ac_try" in
29446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29447 *) ac_try_echo=$ac_try;;
29449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29450 (eval "$ac_link") 2>conftest.er1
29452 grep -v '^ *+' conftest.er1 >conftest.err
29454 cat conftest.err >&5
29455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29456 (exit $ac_status); } && {
29457 test -z "$ac_c_werror_flag" ||
29458 test ! -s conftest.err
29459 } && test -s conftest$ac_exeext &&
29460 $as_test_x conftest$ac_exeext; then
29461 ac_cv_lib_gdk_gdk_im_open=yes
29463 echo "$as_me: failed program was:" >&5
29464 sed 's/^/| /' conftest.$ac_ext >&5
29466 ac_cv_lib_gdk_gdk_im_open=no
29469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29470 conftest$ac_exeext conftest.$ac_ext
29471 LIBS=$ac_check_lib_save_LIBS
29473 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29474 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29475 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29476 cat >>confdefs.h <<\_ACEOF
29483 if test "$USE_DARWIN" != 1; then
29485 for ac_func in poll
29487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29488 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29490 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29491 echo $ECHO_N "(cached) $ECHO_C" >&6
29493 cat >conftest.$ac_ext <<_ACEOF
29496 cat confdefs.h >>conftest.$ac_ext
29497 cat >>conftest.$ac_ext <<_ACEOF
29498 /* end confdefs.h. */
29499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29501 #define $ac_func innocuous_$ac_func
29503 /* System header to define __stub macros and hopefully few prototypes,
29504 which can conflict with char $ac_func (); below.
29505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29506 <limits.h> exists even on freestanding compilers. */
29509 # include <limits.h>
29511 # include <assert.h>
29516 /* Override any GCC internal prototype to avoid an error.
29517 Use char because int might match the return type of a GCC
29518 builtin and then its argument prototype would still apply. */
29523 /* The GNU C library defines this for functions which it implements
29524 to always fail with ENOSYS. Some functions are actually named
29525 something starting with __ and the normal name is an alias. */
29526 #if defined __stub_$ac_func || defined __stub___$ac_func
29533 return $ac_func ();
29538 rm -f conftest.$ac_objext conftest$ac_exeext
29539 if { (ac_try="$ac_link"
29540 case "(($ac_try" in
29541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29542 *) ac_try_echo=$ac_try;;
29544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29545 (eval "$ac_link") 2>conftest.er1
29547 grep -v '^ *+' conftest.er1 >conftest.err
29549 cat conftest.err >&5
29550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551 (exit $ac_status); } && {
29552 test -z "$ac_c_werror_flag" ||
29553 test ! -s conftest.err
29554 } && test -s conftest$ac_exeext &&
29555 $as_test_x conftest$ac_exeext; then
29556 eval "$as_ac_var=yes"
29558 echo "$as_me: failed program was:" >&5
29559 sed 's/^/| /' conftest.$ac_ext >&5
29561 eval "$as_ac_var=no"
29564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29565 conftest$ac_exeext conftest.$ac_ext
29567 ac_res=`eval echo '${'$as_ac_var'}'`
29568 { echo "$as_me:$LINENO: result: $ac_res" >&5
29569 echo "${ECHO_T}$ac_res" >&6; }
29570 if test `eval echo '${'$as_ac_var'}'` = yes; then
29571 cat >>confdefs.h <<_ACEOF
29572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29581 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29582 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29584 AFMINSTALL=afminstall
29588 if test "$wxUSE_GPE" = "yes"; then
29589 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29590 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29593 for ac_dir in $SEARCH_LIB;
29595 for ac_extension in a so sl dylib dll.a; do
29596 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29597 ac_find_libraries=$ac_dir
29603 if test "$ac_find_libraries" != "" ; then
29605 if test "$ac_find_libraries" = "default location"; then
29608 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29610 if test $result = 0; then
29613 ac_path_to_link=" -L$ac_find_libraries"
29617 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29619 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29620 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29622 { echo "$as_me:$LINENO: result: not found" >&5
29623 echo "${ECHO_T}not found" >&6; }
29629 if test "$wxUSE_MGL" = 1; then
29630 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29631 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29632 if test "x$MGL_ROOT" = x ; then
29633 { echo "$as_me:$LINENO: result: not found" >&5
29634 echo "${ECHO_T}not found" >&6; }
29635 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29636 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29637 { (exit 1); exit 1; }; }
29639 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29640 echo "${ECHO_T}$MGL_ROOT" >&6; }
29643 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29644 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29647 if test "x$wxUSE_SHARED" = xyes ; then
29648 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29650 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29654 mgl_os_candidates="dos32/dj2"
29657 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29658 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29659 { (exit 1); exit 1; }; }
29665 for mgl_os_i in $mgl_os_candidates ; do
29666 if test "x$mgl_os" = x ; then
29667 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29668 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29669 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29674 if test "x$mgl_lib_type" = x ; then
29675 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29676 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29677 mgl_lib_type=release
29684 if test "x$mgl_os" = x ; then
29685 { echo "$as_me:$LINENO: result: not found" >&5
29686 echo "${ECHO_T}not found" >&6; }
29687 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29688 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29689 { (exit 1); exit 1; }; }
29691 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29692 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29694 wxUSE_UNIVERSAL="yes"
29696 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29697 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29699 AFMINSTALL=afminstall
29704 if test "$wxUSE_DFB" = 1; then
29707 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29708 if test -n "$ac_tool_prefix"; then
29709 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29710 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29713 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29714 echo $ECHO_N "(cached) $ECHO_C" >&6
29716 case $PKG_CONFIG in
29718 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29722 for as_dir in $PATH
29725 test -z "$as_dir" && as_dir=.
29726 for ac_exec_ext in '' $ac_executable_extensions; do
29727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29728 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29739 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29740 if test -n "$PKG_CONFIG"; then
29741 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29742 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29744 { echo "$as_me:$LINENO: result: no" >&5
29745 echo "${ECHO_T}no" >&6; }
29750 if test -z "$ac_cv_path_PKG_CONFIG"; then
29751 ac_pt_PKG_CONFIG=$PKG_CONFIG
29752 # Extract the first word of "pkg-config", so it can be a program name with args.
29753 set dummy pkg-config; ac_word=$2
29754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29756 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29757 echo $ECHO_N "(cached) $ECHO_C" >&6
29759 case $ac_pt_PKG_CONFIG in
29761 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29765 for as_dir in $PATH
29768 test -z "$as_dir" && as_dir=.
29769 for ac_exec_ext in '' $ac_executable_extensions; do
29770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29771 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29782 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29783 if test -n "$ac_pt_PKG_CONFIG"; then
29784 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29785 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29787 { echo "$as_me:$LINENO: result: no" >&5
29788 echo "${ECHO_T}no" >&6; }
29791 if test "x$ac_pt_PKG_CONFIG" = x; then
29794 case $cross_compiling:$ac_tool_warned in
29796 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29797 whose name does not start with the host triplet. If you think this
29798 configuration is useful to you, please write to autoconf@gnu.org." >&5
29799 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29800 whose name does not start with the host triplet. If you think this
29801 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29802 ac_tool_warned=yes ;;
29804 PKG_CONFIG=$ac_pt_PKG_CONFIG
29807 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29811 if test -n "$PKG_CONFIG"; then
29812 _pkg_min_version=0.9.0
29813 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29814 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29815 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29816 { echo "$as_me:$LINENO: result: yes" >&5
29817 echo "${ECHO_T}yes" >&6; }
29819 { echo "$as_me:$LINENO: result: no" >&5
29820 echo "${ECHO_T}no" >&6; }
29828 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29829 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29831 if test -n "$PKG_CONFIG"; then
29832 if test -n "$DIRECTFB_CFLAGS"; then
29833 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29835 if test -n "$PKG_CONFIG" && \
29836 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29837 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29840 (exit $ac_status); }; then
29841 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29849 if test -n "$PKG_CONFIG"; then
29850 if test -n "$DIRECTFB_LIBS"; then
29851 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29853 if test -n "$PKG_CONFIG" && \
29854 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29855 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858 (exit $ac_status); }; then
29859 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29870 if test $pkg_failed = yes; then
29872 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29873 _pkg_short_errors_supported=yes
29875 _pkg_short_errors_supported=no
29877 if test $_pkg_short_errors_supported = yes; then
29878 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29880 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29882 # Put the nasty error message in config.log where it belongs
29883 echo "$DIRECTFB_PKG_ERRORS" >&5
29886 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29887 echo "$as_me: error: DirectFB not found." >&2;}
29888 { (exit 1); exit 1; }; }
29891 elif test $pkg_failed = untried; then
29893 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29894 echo "$as_me: error: DirectFB not found." >&2;}
29895 { (exit 1); exit 1; }; }
29899 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29900 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29901 { echo "$as_me:$LINENO: result: yes" >&5
29902 echo "${ECHO_T}yes" >&6; }
29904 wxUSE_UNIVERSAL="yes"
29905 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29906 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29913 if test "$wxUSE_MICROWIN" = 1; then
29914 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29915 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29916 if test "x$MICROWINDOWS" = x ; then
29917 { echo "$as_me:$LINENO: result: not found" >&5
29918 echo "${ECHO_T}not found" >&6; }
29919 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29920 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29921 { (exit 1); exit 1; }; }
29923 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29924 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29927 if test -f $MICROWINDOWS/lib/libmwin.a; then
29928 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29929 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29931 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29932 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29933 { (exit 1); exit 1; }; }
29936 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29937 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29939 wxUSE_UNIVERSAL="yes"
29941 AFMINSTALL=afminstall
29943 GUIDIST=MICROWIN_DIST
29945 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29948 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29949 { echo "$as_me:$LINENO: checking for X" >&5
29950 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29953 # Check whether --with-x was given.
29954 if test "${with_x+set}" = set; then
29958 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29959 if test "x$with_x" = xno; then
29960 # The user explicitly disabled X.
29963 case $x_includes,$x_libraries in #(
29964 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29965 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29966 { (exit 1); exit 1; }; };; #(
29967 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29968 echo $ECHO_N "(cached) $ECHO_C" >&6
29970 # One or both of the vars are not set, and there is no cached value.
29971 ac_x_includes=no ac_x_libraries=no
29972 rm -f -r conftest.dir
29973 if mkdir conftest.dir; then
29975 cat >Imakefile <<'_ACEOF'
29977 @echo incroot='${INCROOT}'
29979 @echo usrlibdir='${USRLIBDIR}'
29981 @echo libdir='${LIBDIR}'
29983 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29984 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29985 for ac_var in incroot usrlibdir libdir; do
29986 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29988 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29989 for ac_extension in a so sl; do
29990 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29991 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29992 ac_im_usrlibdir=$ac_im_libdir; break
29995 # Screen out bogus values from the imake configuration. They are
29996 # bogus both because they are the default anyway, and because
29997 # using them would break gcc on systems where it needs fixed includes.
29998 case $ac_im_incroot in
29999 /usr/include) ac_x_includes= ;;
30000 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30002 case $ac_im_usrlibdir in
30003 /usr/lib | /lib) ;;
30004 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30008 rm -f -r conftest.dir
30011 # Standard set of common directories for X headers.
30012 # Check X11 before X11Rn because it is often a symlink to the current release.
30024 /usr/local/X11/include
30025 /usr/local/X11R6/include
30026 /usr/local/X11R5/include
30027 /usr/local/X11R4/include
30029 /usr/local/include/X11
30030 /usr/local/include/X11R6
30031 /usr/local/include/X11R5
30032 /usr/local/include/X11R4
30036 /usr/XFree86/include/X11
30040 /usr/unsupported/include
30041 /usr/athena/include
30042 /usr/local/x11r5/include
30043 /usr/lpp/Xamples/include
30045 /usr/openwin/include
30046 /usr/openwin/share/include'
30048 if test "$ac_x_includes" = no; then
30049 # Guess where to find include files, by looking for Xlib.h.
30050 # First, try using that file with no special directory specified.
30051 cat >conftest.$ac_ext <<_ACEOF
30054 cat confdefs.h >>conftest.$ac_ext
30055 cat >>conftest.$ac_ext <<_ACEOF
30056 /* end confdefs.h. */
30057 #include <X11/Xlib.h>
30059 if { (ac_try="$ac_cpp conftest.$ac_ext"
30060 case "(($ac_try" in
30061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30062 *) ac_try_echo=$ac_try;;
30064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30065 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30067 grep -v '^ *+' conftest.er1 >conftest.err
30069 cat conftest.err >&5
30070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30071 (exit $ac_status); } >/dev/null && {
30072 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30073 test ! -s conftest.err
30075 # We can compile using X headers with no special include directory.
30078 echo "$as_me: failed program was:" >&5
30079 sed 's/^/| /' conftest.$ac_ext >&5
30081 for ac_dir in $ac_x_header_dirs; do
30082 if test -r "$ac_dir/X11/Xlib.h"; then
30083 ac_x_includes=$ac_dir
30089 rm -f conftest.err conftest.$ac_ext
30090 fi # $ac_x_includes = no
30092 if test "$ac_x_libraries" = no; then
30093 # Check for the libraries.
30094 # See if we find them without any special options.
30095 # Don't add to $LIBS permanently.
30098 cat >conftest.$ac_ext <<_ACEOF
30101 cat confdefs.h >>conftest.$ac_ext
30102 cat >>conftest.$ac_ext <<_ACEOF
30103 /* end confdefs.h. */
30104 #include <X11/Xlib.h>
30113 rm -f conftest.$ac_objext conftest$ac_exeext
30114 if { (ac_try="$ac_link"
30115 case "(($ac_try" in
30116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30117 *) ac_try_echo=$ac_try;;
30119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30120 (eval "$ac_link") 2>conftest.er1
30122 grep -v '^ *+' conftest.er1 >conftest.err
30124 cat conftest.err >&5
30125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30126 (exit $ac_status); } && {
30127 test -z "$ac_c_werror_flag" ||
30128 test ! -s conftest.err
30129 } && test -s conftest$ac_exeext &&
30130 $as_test_x conftest$ac_exeext; then
30132 # We can link X programs with no special library path.
30135 echo "$as_me: failed program was:" >&5
30136 sed 's/^/| /' conftest.$ac_ext >&5
30139 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30141 # Don't even attempt the hair of trying to link an X program!
30142 for ac_extension in a so sl; do
30143 if test -r "$ac_dir/libX11.$ac_extension"; then
30144 ac_x_libraries=$ac_dir
30151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30152 conftest$ac_exeext conftest.$ac_ext
30153 fi # $ac_x_libraries = no
30155 case $ac_x_includes,$ac_x_libraries in #(
30156 no,* | *,no | *\'*)
30157 # Didn't find X, or a directory has "'" in its name.
30158 ac_cv_have_x="have_x=no";; #(
30160 # Record where we found X for the cache.
30161 ac_cv_have_x="have_x=yes\
30162 ac_x_includes='$ac_x_includes'\
30163 ac_x_libraries='$ac_x_libraries'"
30169 eval "$ac_cv_have_x"
30172 if test "$have_x" != yes; then
30173 { echo "$as_me:$LINENO: result: $have_x" >&5
30174 echo "${ECHO_T}$have_x" >&6; }
30177 # If each of the values was on the command line, it overrides each guess.
30178 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30179 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30180 # Update the cache value to reflect the command line values.
30181 ac_cv_have_x="have_x=yes\
30182 ac_x_includes='$x_includes'\
30183 ac_x_libraries='$x_libraries'"
30184 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30185 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30188 if test "$no_x" = yes; then
30189 # Not all programs may use this symbol, but it does not hurt to define it.
30191 cat >>confdefs.h <<\_ACEOF
30192 #define X_DISPLAY_MISSING 1
30195 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30197 if test -n "$x_includes"; then
30198 X_CFLAGS="$X_CFLAGS -I$x_includes"
30201 # It would also be nice to do this for all -L options, not just this one.
30202 if test -n "$x_libraries"; then
30203 X_LIBS="$X_LIBS -L$x_libraries"
30204 # For Solaris; some versions of Sun CC require a space after -R and
30205 # others require no space. Words are not sufficient . . . .
30206 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30207 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30208 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30209 ac_xsave_c_werror_flag=$ac_c_werror_flag
30210 ac_c_werror_flag=yes
30211 cat >conftest.$ac_ext <<_ACEOF
30214 cat confdefs.h >>conftest.$ac_ext
30215 cat >>conftest.$ac_ext <<_ACEOF
30216 /* end confdefs.h. */
30226 rm -f conftest.$ac_objext conftest$ac_exeext
30227 if { (ac_try="$ac_link"
30228 case "(($ac_try" in
30229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30230 *) ac_try_echo=$ac_try;;
30232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30233 (eval "$ac_link") 2>conftest.er1
30235 grep -v '^ *+' conftest.er1 >conftest.err
30237 cat conftest.err >&5
30238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30239 (exit $ac_status); } && {
30240 test -z "$ac_c_werror_flag" ||
30241 test ! -s conftest.err
30242 } && test -s conftest$ac_exeext &&
30243 $as_test_x conftest$ac_exeext; then
30244 { echo "$as_me:$LINENO: result: no" >&5
30245 echo "${ECHO_T}no" >&6; }
30246 X_LIBS="$X_LIBS -R$x_libraries"
30248 echo "$as_me: failed program was:" >&5
30249 sed 's/^/| /' conftest.$ac_ext >&5
30251 LIBS="$ac_xsave_LIBS -R $x_libraries"
30252 cat >conftest.$ac_ext <<_ACEOF
30255 cat confdefs.h >>conftest.$ac_ext
30256 cat >>conftest.$ac_ext <<_ACEOF
30257 /* end confdefs.h. */
30267 rm -f conftest.$ac_objext conftest$ac_exeext
30268 if { (ac_try="$ac_link"
30269 case "(($ac_try" in
30270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30271 *) ac_try_echo=$ac_try;;
30273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30274 (eval "$ac_link") 2>conftest.er1
30276 grep -v '^ *+' conftest.er1 >conftest.err
30278 cat conftest.err >&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); } && {
30281 test -z "$ac_c_werror_flag" ||
30282 test ! -s conftest.err
30283 } && test -s conftest$ac_exeext &&
30284 $as_test_x conftest$ac_exeext; then
30285 { echo "$as_me:$LINENO: result: yes" >&5
30286 echo "${ECHO_T}yes" >&6; }
30287 X_LIBS="$X_LIBS -R $x_libraries"
30289 echo "$as_me: failed program was:" >&5
30290 sed 's/^/| /' conftest.$ac_ext >&5
30292 { echo "$as_me:$LINENO: result: neither works" >&5
30293 echo "${ECHO_T}neither works" >&6; }
30296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30297 conftest$ac_exeext conftest.$ac_ext
30300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30301 conftest$ac_exeext conftest.$ac_ext
30302 ac_c_werror_flag=$ac_xsave_c_werror_flag
30303 LIBS=$ac_xsave_LIBS
30306 # Check for system-dependent libraries X programs must link with.
30307 # Do this before checking for the system-independent R6 libraries
30308 # (-lICE), since we may need -lsocket or whatever for X linking.
30310 if test "$ISC" = yes; then
30311 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30313 # Martyn Johnson says this is needed for Ultrix, if the X
30314 # libraries were built with DECnet support. And Karl Berry says
30315 # the Alpha needs dnet_stub (dnet does not exist).
30316 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30317 cat >conftest.$ac_ext <<_ACEOF
30320 cat confdefs.h >>conftest.$ac_ext
30321 cat >>conftest.$ac_ext <<_ACEOF
30322 /* end confdefs.h. */
30324 /* Override any GCC internal prototype to avoid an error.
30325 Use char because int might match the return type of a GCC
30326 builtin and then its argument prototype would still apply. */
30330 char XOpenDisplay ();
30334 return XOpenDisplay ();
30339 rm -f conftest.$ac_objext conftest$ac_exeext
30340 if { (ac_try="$ac_link"
30341 case "(($ac_try" in
30342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30343 *) ac_try_echo=$ac_try;;
30345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30346 (eval "$ac_link") 2>conftest.er1
30348 grep -v '^ *+' conftest.er1 >conftest.err
30350 cat conftest.err >&5
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); } && {
30353 test -z "$ac_c_werror_flag" ||
30354 test ! -s conftest.err
30355 } && test -s conftest$ac_exeext &&
30356 $as_test_x conftest$ac_exeext; then
30359 echo "$as_me: failed program was:" >&5
30360 sed 's/^/| /' conftest.$ac_ext >&5
30362 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30363 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30364 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30365 echo $ECHO_N "(cached) $ECHO_C" >&6
30367 ac_check_lib_save_LIBS=$LIBS
30368 LIBS="-ldnet $LIBS"
30369 cat >conftest.$ac_ext <<_ACEOF
30372 cat confdefs.h >>conftest.$ac_ext
30373 cat >>conftest.$ac_ext <<_ACEOF
30374 /* end confdefs.h. */
30376 /* Override any GCC internal prototype to avoid an error.
30377 Use char because int might match the return type of a GCC
30378 builtin and then its argument prototype would still apply. */
30386 return dnet_ntoa ();
30391 rm -f conftest.$ac_objext conftest$ac_exeext
30392 if { (ac_try="$ac_link"
30393 case "(($ac_try" in
30394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30395 *) ac_try_echo=$ac_try;;
30397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30398 (eval "$ac_link") 2>conftest.er1
30400 grep -v '^ *+' conftest.er1 >conftest.err
30402 cat conftest.err >&5
30403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404 (exit $ac_status); } && {
30405 test -z "$ac_c_werror_flag" ||
30406 test ! -s conftest.err
30407 } && test -s conftest$ac_exeext &&
30408 $as_test_x conftest$ac_exeext; then
30409 ac_cv_lib_dnet_dnet_ntoa=yes
30411 echo "$as_me: failed program was:" >&5
30412 sed 's/^/| /' conftest.$ac_ext >&5
30414 ac_cv_lib_dnet_dnet_ntoa=no
30417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30418 conftest$ac_exeext conftest.$ac_ext
30419 LIBS=$ac_check_lib_save_LIBS
30421 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30422 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30423 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30424 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30427 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30428 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30429 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30430 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30431 echo $ECHO_N "(cached) $ECHO_C" >&6
30433 ac_check_lib_save_LIBS=$LIBS
30434 LIBS="-ldnet_stub $LIBS"
30435 cat >conftest.$ac_ext <<_ACEOF
30438 cat confdefs.h >>conftest.$ac_ext
30439 cat >>conftest.$ac_ext <<_ACEOF
30440 /* end confdefs.h. */
30442 /* Override any GCC internal prototype to avoid an error.
30443 Use char because int might match the return type of a GCC
30444 builtin and then its argument prototype would still apply. */
30452 return dnet_ntoa ();
30457 rm -f conftest.$ac_objext conftest$ac_exeext
30458 if { (ac_try="$ac_link"
30459 case "(($ac_try" in
30460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30461 *) ac_try_echo=$ac_try;;
30463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30464 (eval "$ac_link") 2>conftest.er1
30466 grep -v '^ *+' conftest.er1 >conftest.err
30468 cat conftest.err >&5
30469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30470 (exit $ac_status); } && {
30471 test -z "$ac_c_werror_flag" ||
30472 test ! -s conftest.err
30473 } && test -s conftest$ac_exeext &&
30474 $as_test_x conftest$ac_exeext; then
30475 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30477 echo "$as_me: failed program was:" >&5
30478 sed 's/^/| /' conftest.$ac_ext >&5
30480 ac_cv_lib_dnet_stub_dnet_ntoa=no
30483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30484 conftest$ac_exeext conftest.$ac_ext
30485 LIBS=$ac_check_lib_save_LIBS
30487 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30488 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30489 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30490 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30497 conftest$ac_exeext conftest.$ac_ext
30498 LIBS="$ac_xsave_LIBS"
30500 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30501 # to get the SysV transport functions.
30502 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30504 # The nsl library prevents programs from opening the X display
30505 # on Irix 5.2, according to T.E. Dickey.
30506 # The functions gethostbyname, getservbyname, and inet_addr are
30507 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30508 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30509 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30510 if test "${ac_cv_func_gethostbyname+set}" = set; then
30511 echo $ECHO_N "(cached) $ECHO_C" >&6
30513 cat >conftest.$ac_ext <<_ACEOF
30516 cat confdefs.h >>conftest.$ac_ext
30517 cat >>conftest.$ac_ext <<_ACEOF
30518 /* end confdefs.h. */
30519 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30521 #define gethostbyname innocuous_gethostbyname
30523 /* System header to define __stub macros and hopefully few prototypes,
30524 which can conflict with char gethostbyname (); below.
30525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30526 <limits.h> exists even on freestanding compilers. */
30529 # include <limits.h>
30531 # include <assert.h>
30534 #undef gethostbyname
30536 /* Override any GCC internal prototype to avoid an error.
30537 Use char because int might match the return type of a GCC
30538 builtin and then its argument prototype would still apply. */
30542 char gethostbyname ();
30543 /* The GNU C library defines this for functions which it implements
30544 to always fail with ENOSYS. Some functions are actually named
30545 something starting with __ and the normal name is an alias. */
30546 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30553 return gethostbyname ();
30558 rm -f conftest.$ac_objext conftest$ac_exeext
30559 if { (ac_try="$ac_link"
30560 case "(($ac_try" in
30561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30562 *) ac_try_echo=$ac_try;;
30564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30565 (eval "$ac_link") 2>conftest.er1
30567 grep -v '^ *+' conftest.er1 >conftest.err
30569 cat conftest.err >&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); } && {
30572 test -z "$ac_c_werror_flag" ||
30573 test ! -s conftest.err
30574 } && test -s conftest$ac_exeext &&
30575 $as_test_x conftest$ac_exeext; then
30576 ac_cv_func_gethostbyname=yes
30578 echo "$as_me: failed program was:" >&5
30579 sed 's/^/| /' conftest.$ac_ext >&5
30581 ac_cv_func_gethostbyname=no
30584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30585 conftest$ac_exeext conftest.$ac_ext
30587 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30588 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30590 if test $ac_cv_func_gethostbyname = no; then
30591 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30592 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30593 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30594 echo $ECHO_N "(cached) $ECHO_C" >&6
30596 ac_check_lib_save_LIBS=$LIBS
30598 cat >conftest.$ac_ext <<_ACEOF
30601 cat confdefs.h >>conftest.$ac_ext
30602 cat >>conftest.$ac_ext <<_ACEOF
30603 /* end confdefs.h. */
30605 /* Override any GCC internal prototype to avoid an error.
30606 Use char because int might match the return type of a GCC
30607 builtin and then its argument prototype would still apply. */
30611 char gethostbyname ();
30615 return gethostbyname ();
30620 rm -f conftest.$ac_objext conftest$ac_exeext
30621 if { (ac_try="$ac_link"
30622 case "(($ac_try" in
30623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30624 *) ac_try_echo=$ac_try;;
30626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30627 (eval "$ac_link") 2>conftest.er1
30629 grep -v '^ *+' conftest.er1 >conftest.err
30631 cat conftest.err >&5
30632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30633 (exit $ac_status); } && {
30634 test -z "$ac_c_werror_flag" ||
30635 test ! -s conftest.err
30636 } && test -s conftest$ac_exeext &&
30637 $as_test_x conftest$ac_exeext; then
30638 ac_cv_lib_nsl_gethostbyname=yes
30640 echo "$as_me: failed program was:" >&5
30641 sed 's/^/| /' conftest.$ac_ext >&5
30643 ac_cv_lib_nsl_gethostbyname=no
30646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30647 conftest$ac_exeext conftest.$ac_ext
30648 LIBS=$ac_check_lib_save_LIBS
30650 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30651 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30652 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30653 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30656 if test $ac_cv_lib_nsl_gethostbyname = no; then
30657 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30658 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30659 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30660 echo $ECHO_N "(cached) $ECHO_C" >&6
30662 ac_check_lib_save_LIBS=$LIBS
30664 cat >conftest.$ac_ext <<_ACEOF
30667 cat confdefs.h >>conftest.$ac_ext
30668 cat >>conftest.$ac_ext <<_ACEOF
30669 /* end confdefs.h. */
30671 /* Override any GCC internal prototype to avoid an error.
30672 Use char because int might match the return type of a GCC
30673 builtin and then its argument prototype would still apply. */
30677 char gethostbyname ();
30681 return gethostbyname ();
30686 rm -f conftest.$ac_objext conftest$ac_exeext
30687 if { (ac_try="$ac_link"
30688 case "(($ac_try" in
30689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30690 *) ac_try_echo=$ac_try;;
30692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30693 (eval "$ac_link") 2>conftest.er1
30695 grep -v '^ *+' conftest.er1 >conftest.err
30697 cat conftest.err >&5
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); } && {
30700 test -z "$ac_c_werror_flag" ||
30701 test ! -s conftest.err
30702 } && test -s conftest$ac_exeext &&
30703 $as_test_x conftest$ac_exeext; then
30704 ac_cv_lib_bsd_gethostbyname=yes
30706 echo "$as_me: failed program was:" >&5
30707 sed 's/^/| /' conftest.$ac_ext >&5
30709 ac_cv_lib_bsd_gethostbyname=no
30712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30713 conftest$ac_exeext conftest.$ac_ext
30714 LIBS=$ac_check_lib_save_LIBS
30716 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30717 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30718 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30719 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30725 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30726 # socket/setsockopt and other routines are undefined under SCO ODT
30727 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30728 # on later versions), says Simon Leinen: it contains gethostby*
30729 # variants that don't use the name server (or something). -lsocket
30730 # must be given before -lnsl if both are needed. We assume that
30731 # if connect needs -lnsl, so does gethostbyname.
30732 { echo "$as_me:$LINENO: checking for connect" >&5
30733 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30734 if test "${ac_cv_func_connect+set}" = set; then
30735 echo $ECHO_N "(cached) $ECHO_C" >&6
30737 cat >conftest.$ac_ext <<_ACEOF
30740 cat confdefs.h >>conftest.$ac_ext
30741 cat >>conftest.$ac_ext <<_ACEOF
30742 /* end confdefs.h. */
30743 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30745 #define connect innocuous_connect
30747 /* System header to define __stub macros and hopefully few prototypes,
30748 which can conflict with char connect (); below.
30749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30750 <limits.h> exists even on freestanding compilers. */
30753 # include <limits.h>
30755 # include <assert.h>
30760 /* Override any GCC internal prototype to avoid an error.
30761 Use char because int might match the return type of a GCC
30762 builtin and then its argument prototype would still apply. */
30767 /* The GNU C library defines this for functions which it implements
30768 to always fail with ENOSYS. Some functions are actually named
30769 something starting with __ and the normal name is an alias. */
30770 #if defined __stub_connect || defined __stub___connect
30782 rm -f conftest.$ac_objext conftest$ac_exeext
30783 if { (ac_try="$ac_link"
30784 case "(($ac_try" in
30785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30786 *) ac_try_echo=$ac_try;;
30788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30789 (eval "$ac_link") 2>conftest.er1
30791 grep -v '^ *+' conftest.er1 >conftest.err
30793 cat conftest.err >&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } && {
30796 test -z "$ac_c_werror_flag" ||
30797 test ! -s conftest.err
30798 } && test -s conftest$ac_exeext &&
30799 $as_test_x conftest$ac_exeext; then
30800 ac_cv_func_connect=yes
30802 echo "$as_me: failed program was:" >&5
30803 sed 's/^/| /' conftest.$ac_ext >&5
30805 ac_cv_func_connect=no
30808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30809 conftest$ac_exeext conftest.$ac_ext
30811 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30812 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30814 if test $ac_cv_func_connect = no; then
30815 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30816 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30817 if test "${ac_cv_lib_socket_connect+set}" = set; then
30818 echo $ECHO_N "(cached) $ECHO_C" >&6
30820 ac_check_lib_save_LIBS=$LIBS
30821 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30822 cat >conftest.$ac_ext <<_ACEOF
30825 cat confdefs.h >>conftest.$ac_ext
30826 cat >>conftest.$ac_ext <<_ACEOF
30827 /* end confdefs.h. */
30829 /* Override any GCC internal prototype to avoid an error.
30830 Use char because int might match the return type of a GCC
30831 builtin and then its argument prototype would still apply. */
30844 rm -f conftest.$ac_objext conftest$ac_exeext
30845 if { (ac_try="$ac_link"
30846 case "(($ac_try" in
30847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30848 *) ac_try_echo=$ac_try;;
30850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30851 (eval "$ac_link") 2>conftest.er1
30853 grep -v '^ *+' conftest.er1 >conftest.err
30855 cat conftest.err >&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); } && {
30858 test -z "$ac_c_werror_flag" ||
30859 test ! -s conftest.err
30860 } && test -s conftest$ac_exeext &&
30861 $as_test_x conftest$ac_exeext; then
30862 ac_cv_lib_socket_connect=yes
30864 echo "$as_me: failed program was:" >&5
30865 sed 's/^/| /' conftest.$ac_ext >&5
30867 ac_cv_lib_socket_connect=no
30870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30871 conftest$ac_exeext conftest.$ac_ext
30872 LIBS=$ac_check_lib_save_LIBS
30874 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30875 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30876 if test $ac_cv_lib_socket_connect = yes; then
30877 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30882 # Guillermo Gomez says -lposix is necessary on A/UX.
30883 { echo "$as_me:$LINENO: checking for remove" >&5
30884 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30885 if test "${ac_cv_func_remove+set}" = set; then
30886 echo $ECHO_N "(cached) $ECHO_C" >&6
30888 cat >conftest.$ac_ext <<_ACEOF
30891 cat confdefs.h >>conftest.$ac_ext
30892 cat >>conftest.$ac_ext <<_ACEOF
30893 /* end confdefs.h. */
30894 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30896 #define remove innocuous_remove
30898 /* System header to define __stub macros and hopefully few prototypes,
30899 which can conflict with char remove (); below.
30900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30901 <limits.h> exists even on freestanding compilers. */
30904 # include <limits.h>
30906 # include <assert.h>
30911 /* Override any GCC internal prototype to avoid an error.
30912 Use char because int might match the return type of a GCC
30913 builtin and then its argument prototype would still apply. */
30918 /* The GNU C library defines this for functions which it implements
30919 to always fail with ENOSYS. Some functions are actually named
30920 something starting with __ and the normal name is an alias. */
30921 #if defined __stub_remove || defined __stub___remove
30933 rm -f conftest.$ac_objext conftest$ac_exeext
30934 if { (ac_try="$ac_link"
30935 case "(($ac_try" in
30936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30937 *) ac_try_echo=$ac_try;;
30939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30940 (eval "$ac_link") 2>conftest.er1
30942 grep -v '^ *+' conftest.er1 >conftest.err
30944 cat conftest.err >&5
30945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30946 (exit $ac_status); } && {
30947 test -z "$ac_c_werror_flag" ||
30948 test ! -s conftest.err
30949 } && test -s conftest$ac_exeext &&
30950 $as_test_x conftest$ac_exeext; then
30951 ac_cv_func_remove=yes
30953 echo "$as_me: failed program was:" >&5
30954 sed 's/^/| /' conftest.$ac_ext >&5
30956 ac_cv_func_remove=no
30959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30960 conftest$ac_exeext conftest.$ac_ext
30962 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30963 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30965 if test $ac_cv_func_remove = no; then
30966 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30967 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30968 if test "${ac_cv_lib_posix_remove+set}" = set; then
30969 echo $ECHO_N "(cached) $ECHO_C" >&6
30971 ac_check_lib_save_LIBS=$LIBS
30972 LIBS="-lposix $LIBS"
30973 cat >conftest.$ac_ext <<_ACEOF
30976 cat confdefs.h >>conftest.$ac_ext
30977 cat >>conftest.$ac_ext <<_ACEOF
30978 /* end confdefs.h. */
30980 /* Override any GCC internal prototype to avoid an error.
30981 Use char because int might match the return type of a GCC
30982 builtin and then its argument prototype would still apply. */
30995 rm -f conftest.$ac_objext conftest$ac_exeext
30996 if { (ac_try="$ac_link"
30997 case "(($ac_try" in
30998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30999 *) ac_try_echo=$ac_try;;
31001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31002 (eval "$ac_link") 2>conftest.er1
31004 grep -v '^ *+' conftest.er1 >conftest.err
31006 cat conftest.err >&5
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); } && {
31009 test -z "$ac_c_werror_flag" ||
31010 test ! -s conftest.err
31011 } && test -s conftest$ac_exeext &&
31012 $as_test_x conftest$ac_exeext; then
31013 ac_cv_lib_posix_remove=yes
31015 echo "$as_me: failed program was:" >&5
31016 sed 's/^/| /' conftest.$ac_ext >&5
31018 ac_cv_lib_posix_remove=no
31021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31022 conftest$ac_exeext conftest.$ac_ext
31023 LIBS=$ac_check_lib_save_LIBS
31025 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31026 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31027 if test $ac_cv_lib_posix_remove = yes; then
31028 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31033 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31034 { echo "$as_me:$LINENO: checking for shmat" >&5
31035 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31036 if test "${ac_cv_func_shmat+set}" = set; then
31037 echo $ECHO_N "(cached) $ECHO_C" >&6
31039 cat >conftest.$ac_ext <<_ACEOF
31042 cat confdefs.h >>conftest.$ac_ext
31043 cat >>conftest.$ac_ext <<_ACEOF
31044 /* end confdefs.h. */
31045 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31047 #define shmat innocuous_shmat
31049 /* System header to define __stub macros and hopefully few prototypes,
31050 which can conflict with char shmat (); below.
31051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31052 <limits.h> exists even on freestanding compilers. */
31055 # include <limits.h>
31057 # include <assert.h>
31062 /* Override any GCC internal prototype to avoid an error.
31063 Use char because int might match the return type of a GCC
31064 builtin and then its argument prototype would still apply. */
31069 /* The GNU C library defines this for functions which it implements
31070 to always fail with ENOSYS. Some functions are actually named
31071 something starting with __ and the normal name is an alias. */
31072 #if defined __stub_shmat || defined __stub___shmat
31084 rm -f conftest.$ac_objext conftest$ac_exeext
31085 if { (ac_try="$ac_link"
31086 case "(($ac_try" in
31087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31088 *) ac_try_echo=$ac_try;;
31090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31091 (eval "$ac_link") 2>conftest.er1
31093 grep -v '^ *+' conftest.er1 >conftest.err
31095 cat conftest.err >&5
31096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31097 (exit $ac_status); } && {
31098 test -z "$ac_c_werror_flag" ||
31099 test ! -s conftest.err
31100 } && test -s conftest$ac_exeext &&
31101 $as_test_x conftest$ac_exeext; then
31102 ac_cv_func_shmat=yes
31104 echo "$as_me: failed program was:" >&5
31105 sed 's/^/| /' conftest.$ac_ext >&5
31107 ac_cv_func_shmat=no
31110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31111 conftest$ac_exeext conftest.$ac_ext
31113 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31114 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31116 if test $ac_cv_func_shmat = no; then
31117 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31118 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31119 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31120 echo $ECHO_N "(cached) $ECHO_C" >&6
31122 ac_check_lib_save_LIBS=$LIBS
31124 cat >conftest.$ac_ext <<_ACEOF
31127 cat confdefs.h >>conftest.$ac_ext
31128 cat >>conftest.$ac_ext <<_ACEOF
31129 /* end confdefs.h. */
31131 /* Override any GCC internal prototype to avoid an error.
31132 Use char because int might match the return type of a GCC
31133 builtin and then its argument prototype would still apply. */
31146 rm -f conftest.$ac_objext conftest$ac_exeext
31147 if { (ac_try="$ac_link"
31148 case "(($ac_try" in
31149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31150 *) ac_try_echo=$ac_try;;
31152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31153 (eval "$ac_link") 2>conftest.er1
31155 grep -v '^ *+' conftest.er1 >conftest.err
31157 cat conftest.err >&5
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); } && {
31160 test -z "$ac_c_werror_flag" ||
31161 test ! -s conftest.err
31162 } && test -s conftest$ac_exeext &&
31163 $as_test_x conftest$ac_exeext; then
31164 ac_cv_lib_ipc_shmat=yes
31166 echo "$as_me: failed program was:" >&5
31167 sed 's/^/| /' conftest.$ac_ext >&5
31169 ac_cv_lib_ipc_shmat=no
31172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31173 conftest$ac_exeext conftest.$ac_ext
31174 LIBS=$ac_check_lib_save_LIBS
31176 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31177 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31178 if test $ac_cv_lib_ipc_shmat = yes; then
31179 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31185 # Check for libraries that X11R6 Xt/Xaw programs need.
31186 ac_save_LDFLAGS=$LDFLAGS
31187 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31188 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31189 # check for ICE first), but we must link in the order -lSM -lICE or
31190 # we get undefined symbols. So assume we have SM if we have ICE.
31191 # These have to be linked with before -lX11, unlike the other
31192 # libraries we check for below, so use a different variable.
31193 # John Interrante, Karl Berry
31194 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31195 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31196 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31197 echo $ECHO_N "(cached) $ECHO_C" >&6
31199 ac_check_lib_save_LIBS=$LIBS
31200 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31201 cat >conftest.$ac_ext <<_ACEOF
31204 cat confdefs.h >>conftest.$ac_ext
31205 cat >>conftest.$ac_ext <<_ACEOF
31206 /* end confdefs.h. */
31208 /* Override any GCC internal prototype to avoid an error.
31209 Use char because int might match the return type of a GCC
31210 builtin and then its argument prototype would still apply. */
31214 char IceConnectionNumber ();
31218 return IceConnectionNumber ();
31223 rm -f conftest.$ac_objext conftest$ac_exeext
31224 if { (ac_try="$ac_link"
31225 case "(($ac_try" in
31226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31227 *) ac_try_echo=$ac_try;;
31229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31230 (eval "$ac_link") 2>conftest.er1
31232 grep -v '^ *+' conftest.er1 >conftest.err
31234 cat conftest.err >&5
31235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 (exit $ac_status); } && {
31237 test -z "$ac_c_werror_flag" ||
31238 test ! -s conftest.err
31239 } && test -s conftest$ac_exeext &&
31240 $as_test_x conftest$ac_exeext; then
31241 ac_cv_lib_ICE_IceConnectionNumber=yes
31243 echo "$as_me: failed program was:" >&5
31244 sed 's/^/| /' conftest.$ac_ext >&5
31246 ac_cv_lib_ICE_IceConnectionNumber=no
31249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31250 conftest$ac_exeext conftest.$ac_ext
31251 LIBS=$ac_check_lib_save_LIBS
31253 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31254 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31255 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31256 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31259 LDFLAGS=$ac_save_LDFLAGS
31264 if test "$no_x" = "yes"; then
31265 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31266 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31267 { (exit 1); exit 1; }; }
31270 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31271 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31272 AFMINSTALL=afminstall
31273 COMPILED_X_PROGRAM=0
31277 if test "$wxUSE_X11" = 1; then
31278 if test "$wxUSE_NANOX" = "yes"; then
31279 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31280 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31281 if test "x$MICROWIN" = x ; then
31282 { echo "$as_me:$LINENO: result: not found" >&5
31283 echo "${ECHO_T}not found" >&6; }
31284 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31285 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31286 { (exit 1); exit 1; }; }
31288 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31289 echo "${ECHO_T}$MICROWIN" >&6; }
31290 cat >>confdefs.h <<\_ACEOF
31291 #define wxUSE_NANOX 1
31297 if test "$wxUSE_UNICODE" = "yes"; then
31300 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31301 if test -n "$ac_tool_prefix"; then
31302 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31303 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31306 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31307 echo $ECHO_N "(cached) $ECHO_C" >&6
31309 case $PKG_CONFIG in
31311 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31315 for as_dir in $PATH
31318 test -z "$as_dir" && as_dir=.
31319 for ac_exec_ext in '' $ac_executable_extensions; do
31320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31321 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31332 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31333 if test -n "$PKG_CONFIG"; then
31334 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31335 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31337 { echo "$as_me:$LINENO: result: no" >&5
31338 echo "${ECHO_T}no" >&6; }
31343 if test -z "$ac_cv_path_PKG_CONFIG"; then
31344 ac_pt_PKG_CONFIG=$PKG_CONFIG
31345 # Extract the first word of "pkg-config", so it can be a program name with args.
31346 set dummy pkg-config; ac_word=$2
31347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31349 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31350 echo $ECHO_N "(cached) $ECHO_C" >&6
31352 case $ac_pt_PKG_CONFIG in
31354 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31358 for as_dir in $PATH
31361 test -z "$as_dir" && as_dir=.
31362 for ac_exec_ext in '' $ac_executable_extensions; do
31363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31364 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31375 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31376 if test -n "$ac_pt_PKG_CONFIG"; then
31377 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31378 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31380 { echo "$as_me:$LINENO: result: no" >&5
31381 echo "${ECHO_T}no" >&6; }
31384 if test "x$ac_pt_PKG_CONFIG" = x; then
31387 case $cross_compiling:$ac_tool_warned in
31389 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31390 whose name does not start with the host triplet. If you think this
31391 configuration is useful to you, please write to autoconf@gnu.org." >&5
31392 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31393 whose name does not start with the host triplet. If you think this
31394 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31395 ac_tool_warned=yes ;;
31397 PKG_CONFIG=$ac_pt_PKG_CONFIG
31400 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31404 if test -n "$PKG_CONFIG"; then
31405 _pkg_min_version=0.9.0
31406 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31407 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31408 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31409 { echo "$as_me:$LINENO: result: yes" >&5
31410 echo "${ECHO_T}yes" >&6; }
31412 { echo "$as_me:$LINENO: result: no" >&5
31413 echo "${ECHO_T}no" >&6; }
31421 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31422 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31424 if test -n "$PKG_CONFIG"; then
31425 if test -n "$PANGOX_CFLAGS"; then
31426 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31428 if test -n "$PKG_CONFIG" && \
31429 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31430 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); }; then
31434 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31442 if test -n "$PKG_CONFIG"; then
31443 if test -n "$PANGOX_LIBS"; then
31444 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31446 if test -n "$PKG_CONFIG" && \
31447 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31448 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31451 (exit $ac_status); }; then
31452 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31463 if test $pkg_failed = yes; then
31465 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31466 _pkg_short_errors_supported=yes
31468 _pkg_short_errors_supported=no
31470 if test $_pkg_short_errors_supported = yes; then
31471 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31473 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31475 # Put the nasty error message in config.log where it belongs
31476 echo "$PANGOX_PKG_ERRORS" >&5
31479 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31480 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31481 { (exit 1); exit 1; }; }
31484 elif test $pkg_failed = untried; then
31486 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31487 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31488 { (exit 1); exit 1; }; }
31492 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31493 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31494 { echo "$as_me:$LINENO: result: yes" >&5
31495 echo "${ECHO_T}yes" >&6; }
31497 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31498 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31499 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31504 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31505 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31507 if test -n "$PKG_CONFIG"; then
31508 if test -n "$PANGOFT2_CFLAGS"; then
31509 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31511 if test -n "$PKG_CONFIG" && \
31512 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31513 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31516 (exit $ac_status); }; then
31517 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31525 if test -n "$PKG_CONFIG"; then
31526 if test -n "$PANGOFT2_LIBS"; then
31527 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31529 if test -n "$PKG_CONFIG" && \
31530 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31531 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); }; then
31535 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31546 if test $pkg_failed = yes; then
31548 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31549 _pkg_short_errors_supported=yes
31551 _pkg_short_errors_supported=no
31553 if test $_pkg_short_errors_supported = yes; then
31554 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31556 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31558 # Put the nasty error message in config.log where it belongs
31559 echo "$PANGOFT2_PKG_ERRORS" >&5
31562 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31563 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31564 wxUSE_PRINTING_ARCHITECTURE="no"
31567 elif test $pkg_failed = untried; then
31569 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31570 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31571 wxUSE_PRINTING_ARCHITECTURE="no"
31575 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31576 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31577 { echo "$as_me:$LINENO: result: yes" >&5
31578 echo "${ECHO_T}yes" >&6; }
31580 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31581 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31582 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31587 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31588 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31590 if test -n "$PKG_CONFIG"; then
31591 if test -n "$PANGOXFT_CFLAGS"; then
31592 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31594 if test -n "$PKG_CONFIG" && \
31595 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31596 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31599 (exit $ac_status); }; then
31600 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31608 if test -n "$PKG_CONFIG"; then
31609 if test -n "$PANGOXFT_LIBS"; then
31610 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31612 if test -n "$PKG_CONFIG" && \
31613 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31614 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); }; then
31618 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31629 if test $pkg_failed = yes; then
31631 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31632 _pkg_short_errors_supported=yes
31634 _pkg_short_errors_supported=no
31636 if test $_pkg_short_errors_supported = yes; then
31637 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31639 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31641 # Put the nasty error message in config.log where it belongs
31642 echo "$PANGOXFT_PKG_ERRORS" >&5
31645 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31646 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31649 elif test $pkg_failed = untried; then
31651 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31652 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31656 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31657 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31658 { echo "$as_me:$LINENO: result: yes" >&5
31659 echo "${ECHO_T}yes" >&6; }
31661 cat >>confdefs.h <<\_ACEOF
31662 #define HAVE_PANGO_XFT 1
31665 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31666 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31667 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31671 LIBS="$LIBS $PANGOX_LIBS"
31673 for ac_func in pango_font_family_is_monospace
31675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31676 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31678 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31679 echo $ECHO_N "(cached) $ECHO_C" >&6
31681 cat >conftest.$ac_ext <<_ACEOF
31684 cat confdefs.h >>conftest.$ac_ext
31685 cat >>conftest.$ac_ext <<_ACEOF
31686 /* end confdefs.h. */
31687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31689 #define $ac_func innocuous_$ac_func
31691 /* System header to define __stub macros and hopefully few prototypes,
31692 which can conflict with char $ac_func (); below.
31693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31694 <limits.h> exists even on freestanding compilers. */
31697 # include <limits.h>
31699 # include <assert.h>
31704 /* Override any GCC internal prototype to avoid an error.
31705 Use char because int might match the return type of a GCC
31706 builtin and then its argument prototype would still apply. */
31711 /* The GNU C library defines this for functions which it implements
31712 to always fail with ENOSYS. Some functions are actually named
31713 something starting with __ and the normal name is an alias. */
31714 #if defined __stub_$ac_func || defined __stub___$ac_func
31721 return $ac_func ();
31726 rm -f conftest.$ac_objext conftest$ac_exeext
31727 if { (ac_try="$ac_link"
31728 case "(($ac_try" in
31729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31730 *) ac_try_echo=$ac_try;;
31732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31733 (eval "$ac_link") 2>conftest.er1
31735 grep -v '^ *+' conftest.er1 >conftest.err
31737 cat conftest.err >&5
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); } && {
31740 test -z "$ac_c_werror_flag" ||
31741 test ! -s conftest.err
31742 } && test -s conftest$ac_exeext &&
31743 $as_test_x conftest$ac_exeext; then
31744 eval "$as_ac_var=yes"
31746 echo "$as_me: failed program was:" >&5
31747 sed 's/^/| /' conftest.$ac_ext >&5
31749 eval "$as_ac_var=no"
31752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31753 conftest$ac_exeext conftest.$ac_ext
31755 ac_res=`eval echo '${'$as_ac_var'}'`
31756 { echo "$as_me:$LINENO: result: $ac_res" >&5
31757 echo "${ECHO_T}$ac_res" >&6; }
31758 if test `eval echo '${'$as_ac_var'}'` = yes; then
31759 cat >>confdefs.h <<_ACEOF
31760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31769 wxUSE_UNIVERSAL="yes"
31771 if test "$wxUSE_NANOX" = "yes"; then
31772 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31773 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"
31774 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31776 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31783 if test "$wxUSE_MOTIF" = 1; then
31784 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31785 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31788 for ac_dir in $SEARCH_INCLUDE /usr/include;
31790 if test -f "$ac_dir/Xm/Xm.h"; then
31791 ac_find_includes=$ac_dir
31796 if test "$ac_find_includes" != "" ; then
31797 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31798 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31800 if test "x$ac_find_includes" = "x/usr/include"; then
31801 ac_path_to_include=""
31803 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31805 if test $result = 0; then
31806 ac_path_to_include=""
31808 ac_path_to_include=" -I$ac_find_includes"
31812 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31814 save_CFLAGS=$CFLAGS
31815 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31817 cat >conftest.$ac_ext <<_ACEOF
31820 cat confdefs.h >>conftest.$ac_ext
31821 cat >>conftest.$ac_ext <<_ACEOF
31822 /* end confdefs.h. */
31831 version = xmUseVersion;
31837 rm -f conftest.$ac_objext
31838 if { (ac_try="$ac_compile"
31839 case "(($ac_try" in
31840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31841 *) ac_try_echo=$ac_try;;
31843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31844 (eval "$ac_compile") 2>conftest.er1
31846 grep -v '^ *+' conftest.er1 >conftest.err
31848 cat conftest.err >&5
31849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850 (exit $ac_status); } && {
31851 test -z "$ac_c_werror_flag" ||
31852 test ! -s conftest.err
31853 } && test -s conftest.$ac_objext; then
31855 { echo "$as_me:$LINENO: result: found in default search path" >&5
31856 echo "${ECHO_T}found in default search path" >&6; }
31857 COMPILED_X_PROGRAM=1
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; }
31866 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31867 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31868 { (exit 1); exit 1; }; }
31873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31875 CFLAGS=$save_CFLAGS
31879 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31880 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31883 for ac_dir in $SEARCH_LIB;
31885 for ac_extension in a so sl dylib dll.a; do
31886 if test -f "$ac_dir/libXm.$ac_extension"; then
31887 ac_find_libraries=$ac_dir
31894 if test "x$ac_find_libraries" != "x" ; then
31895 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31896 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31899 if test "$ac_find_libraries" = "default location"; then
31902 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31904 if test $result = 0; then
31907 ac_path_to_link=" -L$ac_find_libraries"
31911 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31913 save_CFLAGS=$CFLAGS
31914 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31916 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31918 cat >conftest.$ac_ext <<_ACEOF
31921 cat confdefs.h >>conftest.$ac_ext
31922 cat >>conftest.$ac_ext <<_ACEOF
31923 /* end confdefs.h. */
31932 version = xmUseVersion;
31938 rm -f conftest.$ac_objext conftest$ac_exeext
31939 if { (ac_try="$ac_link"
31940 case "(($ac_try" in
31941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31942 *) ac_try_echo=$ac_try;;
31944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31945 (eval "$ac_link") 2>conftest.er1
31947 grep -v '^ *+' conftest.er1 >conftest.err
31949 cat conftest.err >&5
31950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31951 (exit $ac_status); } && {
31952 test -z "$ac_c_werror_flag" ||
31953 test ! -s conftest.err
31954 } && test -s conftest$ac_exeext &&
31955 $as_test_x conftest$ac_exeext; then
31957 { echo "$as_me:$LINENO: result: found in default search path" >&5
31958 echo "${ECHO_T}found in default search path" >&6; }
31959 COMPILED_X_PROGRAM=1
31962 echo "$as_me: failed program was:" >&5
31963 sed 's/^/| /' conftest.$ac_ext >&5
31966 { echo "$as_me:$LINENO: result: no" >&5
31967 echo "${ECHO_T}no" >&6; }
31968 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31969 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31970 { (exit 1); exit 1; }; }
31975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31976 conftest$ac_exeext conftest.$ac_ext
31978 CFLAGS=$save_CFLAGS
31982 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31983 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31987 for libp in "" " -lXp"; do
31988 if test "$libs_found" = 0; then
31989 for libsm_ice in "" " -lSM -lICE"; do
31990 if test "$libs_found" = 0; then
31992 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31993 save_CFLAGS=$CFLAGS
31994 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31996 cat >conftest.$ac_ext <<_ACEOF
31999 cat confdefs.h >>conftest.$ac_ext
32000 cat >>conftest.$ac_ext <<_ACEOF
32001 /* end confdefs.h. */
32004 #include <Xm/List.h>
32010 XmString string = NULL;
32013 XmListAddItem(w, string, position);
32019 rm -f conftest.$ac_objext conftest$ac_exeext
32020 if { (ac_try="$ac_link"
32021 case "(($ac_try" in
32022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32023 *) ac_try_echo=$ac_try;;
32025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32026 (eval "$ac_link") 2>conftest.er1
32028 grep -v '^ *+' conftest.er1 >conftest.err
32030 cat conftest.err >&5
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); } && {
32033 test -z "$ac_c_werror_flag" ||
32034 test ! -s conftest.err
32035 } && test -s conftest$ac_exeext &&
32036 $as_test_x conftest$ac_exeext; then
32039 libsm_ice_link="$libsm_ice"
32040 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32041 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32045 echo "$as_me: failed program was:" >&5
32046 sed 's/^/| /' conftest.$ac_ext >&5
32052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32053 conftest$ac_exeext conftest.$ac_ext
32056 CFLAGS=$save_CFLAGS
32062 if test "$libs_found" = 0; then
32063 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32064 echo "${ECHO_T}can't find the right libraries" >&6; }
32065 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32066 echo "$as_me: error: can't link a simple motif program" >&2;}
32067 { (exit 1); exit 1; }; }
32070 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32071 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32072 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32073 echo $ECHO_N "(cached) $ECHO_C" >&6
32075 ac_check_lib_save_LIBS=$LIBS
32077 cat >conftest.$ac_ext <<_ACEOF
32080 cat confdefs.h >>conftest.$ac_ext
32081 cat >>conftest.$ac_ext <<_ACEOF
32082 /* end confdefs.h. */
32084 /* Override any GCC internal prototype to avoid an error.
32085 Use char because int might match the return type of a GCC
32086 builtin and then its argument prototype would still apply. */
32090 char SgCreateList ();
32094 return SgCreateList ();
32099 rm -f conftest.$ac_objext conftest$ac_exeext
32100 if { (ac_try="$ac_link"
32101 case "(($ac_try" in
32102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32103 *) ac_try_echo=$ac_try;;
32105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32106 (eval "$ac_link") 2>conftest.er1
32108 grep -v '^ *+' conftest.er1 >conftest.err
32110 cat conftest.err >&5
32111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32112 (exit $ac_status); } && {
32113 test -z "$ac_c_werror_flag" ||
32114 test ! -s conftest.err
32115 } && test -s conftest$ac_exeext &&
32116 $as_test_x conftest$ac_exeext; then
32117 ac_cv_lib_Sgm_SgCreateList=yes
32119 echo "$as_me: failed program was:" >&5
32120 sed 's/^/| /' conftest.$ac_ext >&5
32122 ac_cv_lib_Sgm_SgCreateList=no
32125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32126 conftest$ac_exeext conftest.$ac_ext
32127 LIBS=$ac_check_lib_save_LIBS
32129 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32130 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32131 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32132 libsgm_link=" -lSgm"
32136 save_CFLAGS=$CFLAGS
32137 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32139 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32140 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32141 if test "${wx_cv_lib_motif2+set}" = set; then
32142 echo $ECHO_N "(cached) $ECHO_C" >&6
32144 cat >conftest.$ac_ext <<_ACEOF
32147 cat confdefs.h >>conftest.$ac_ext
32148 cat >>conftest.$ac_ext <<_ACEOF
32149 /* end confdefs.h. */
32157 #if XmVersion < 2000
32165 rm -f conftest.$ac_objext
32166 if { (ac_try="$ac_compile"
32167 case "(($ac_try" in
32168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32169 *) ac_try_echo=$ac_try;;
32171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32172 (eval "$ac_compile") 2>conftest.er1
32174 grep -v '^ *+' conftest.er1 >conftest.err
32176 cat conftest.err >&5
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); } && {
32179 test -z "$ac_c_werror_flag" ||
32180 test ! -s conftest.err
32181 } && test -s conftest.$ac_objext; then
32182 wx_cv_lib_motif2="yes"
32184 echo "$as_me: failed program was:" >&5
32185 sed 's/^/| /' conftest.$ac_ext >&5
32187 wx_cv_lib_motif2="no"
32190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32192 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32193 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32194 if test "$wx_cv_lib_motif2" = "yes"; then
32195 cat >>confdefs.h <<\_ACEOF
32196 #define __WXMOTIF20__ 1
32200 cat >>confdefs.h <<\_ACEOF
32201 #define __WXMOTIF20__ 0
32206 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32207 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32208 if test "${wx_cv_lib_lesstif+set}" = set; then
32209 echo $ECHO_N "(cached) $ECHO_C" >&6
32211 cat >conftest.$ac_ext <<_ACEOF
32214 cat confdefs.h >>conftest.$ac_ext
32215 cat >>conftest.$ac_ext <<_ACEOF
32216 /* end confdefs.h. */
32224 #if !defined(LesstifVersion) || LesstifVersion <= 0
32232 rm -f conftest.$ac_objext
32233 if { (ac_try="$ac_compile"
32234 case "(($ac_try" in
32235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32236 *) ac_try_echo=$ac_try;;
32238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32239 (eval "$ac_compile") 2>conftest.er1
32241 grep -v '^ *+' conftest.er1 >conftest.err
32243 cat conftest.err >&5
32244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32245 (exit $ac_status); } && {
32246 test -z "$ac_c_werror_flag" ||
32247 test ! -s conftest.err
32248 } && test -s conftest.$ac_objext; then
32249 wx_cv_lib_lesstif="yes"
32251 echo "$as_me: failed program was:" >&5
32252 sed 's/^/| /' conftest.$ac_ext >&5
32254 wx_cv_lib_lesstif="no"
32257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32260 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32261 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32262 if test "$wx_cv_lib_lesstif" = "yes"; then
32263 cat >>confdefs.h <<\_ACEOF
32264 #define __WXLESSTIF__ 1
32268 cat >>confdefs.h <<\_ACEOF
32269 #define __WXLESSTIF__ 0
32274 CFLAGS=$save_CFLAGS
32276 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32281 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32282 if test "$wxUSE_LIBXPM" = "sys"; then
32283 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32284 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32287 for ac_dir in $SEARCH_LIB;
32289 for ac_extension in a so sl dylib dll.a; do
32290 if test -f "$ac_dir/libXpm.$ac_extension"; then
32291 ac_find_libraries=$ac_dir
32297 if test "$ac_find_libraries" != "" ; then
32299 if test "$ac_find_libraries" = "default location"; then
32302 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32304 if test $result = 0; then
32307 ac_path_to_link=" -L$ac_find_libraries"
32311 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32312 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32313 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32315 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32316 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32317 if test "${wx_cv_x11_xpm_h+set}" = set; then
32318 echo $ECHO_N "(cached) $ECHO_C" >&6
32321 save_CFLAGS=$CFLAGS
32322 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32324 cat >conftest.$ac_ext <<_ACEOF
32327 cat confdefs.h >>conftest.$ac_ext
32328 cat >>conftest.$ac_ext <<_ACEOF
32329 /* end confdefs.h. */
32331 #include <X11/xpm.h>
32338 version = XpmLibraryVersion();
32344 rm -f conftest.$ac_objext
32345 if { (ac_try="$ac_compile"
32346 case "(($ac_try" in
32347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32348 *) ac_try_echo=$ac_try;;
32350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32351 (eval "$ac_compile") 2>conftest.er1
32353 grep -v '^ *+' conftest.er1 >conftest.err
32355 cat conftest.err >&5
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); } && {
32358 test -z "$ac_c_werror_flag" ||
32359 test ! -s conftest.err
32360 } && test -s conftest.$ac_objext; then
32361 wx_cv_x11_xpm_h=yes
32363 echo "$as_me: failed program was:" >&5
32364 sed 's/^/| /' conftest.$ac_ext >&5
32370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32372 CFLAGS=$save_CFLAGS
32376 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32377 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32379 if test $wx_cv_x11_xpm_h = "yes"; then
32380 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32381 cat >>confdefs.h <<\_ACEOF
32382 #define wxHAVE_LIB_XPM 1
32386 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32387 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32393 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32394 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32395 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32396 echo $ECHO_N "(cached) $ECHO_C" >&6
32398 ac_check_lib_save_LIBS=$LIBS
32399 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32400 cat >conftest.$ac_ext <<_ACEOF
32403 cat confdefs.h >>conftest.$ac_ext
32404 cat >>conftest.$ac_ext <<_ACEOF
32405 /* end confdefs.h. */
32407 /* Override any GCC internal prototype to avoid an error.
32408 Use char because int might match the return type of a GCC
32409 builtin and then its argument prototype would still apply. */
32413 char XShapeQueryExtension ();
32417 return XShapeQueryExtension ();
32422 rm -f conftest.$ac_objext conftest$ac_exeext
32423 if { (ac_try="$ac_link"
32424 case "(($ac_try" in
32425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32426 *) ac_try_echo=$ac_try;;
32428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32429 (eval "$ac_link") 2>conftest.er1
32431 grep -v '^ *+' conftest.er1 >conftest.err
32433 cat conftest.err >&5
32434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32435 (exit $ac_status); } && {
32436 test -z "$ac_c_werror_flag" ||
32437 test ! -s conftest.err
32438 } && test -s conftest$ac_exeext &&
32439 $as_test_x conftest$ac_exeext; then
32440 ac_cv_lib_Xext_XShapeQueryExtension=yes
32442 echo "$as_me: failed program was:" >&5
32443 sed 's/^/| /' conftest.$ac_ext >&5
32445 ac_cv_lib_Xext_XShapeQueryExtension=no
32448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32449 conftest$ac_exeext conftest.$ac_ext
32450 LIBS=$ac_check_lib_save_LIBS
32452 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32453 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32454 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32456 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32462 if test "$wxHAVE_XEXT_LIB" = 1; then
32463 save_CFLAGS="$CFLAGS"
32464 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32466 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32467 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32468 cat >conftest.$ac_ext <<_ACEOF
32471 cat confdefs.h >>conftest.$ac_ext
32472 cat >>conftest.$ac_ext <<_ACEOF
32473 /* end confdefs.h. */
32475 #include <X11/Xlib.h>
32476 #include <X11/extensions/shape.h>
32482 int dummy1, dummy2;
32483 XShapeQueryExtension((Display*)NULL,
32484 (int*)NULL, (int*)NULL);
32490 rm -f conftest.$ac_objext
32491 if { (ac_try="$ac_compile"
32492 case "(($ac_try" in
32493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32494 *) ac_try_echo=$ac_try;;
32496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32497 (eval "$ac_compile") 2>conftest.er1
32499 grep -v '^ *+' conftest.er1 >conftest.err
32501 cat conftest.err >&5
32502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32503 (exit $ac_status); } && {
32504 test -z "$ac_c_werror_flag" ||
32505 test ! -s conftest.err
32506 } && test -s conftest.$ac_objext; then
32508 cat >>confdefs.h <<\_ACEOF
32509 #define HAVE_XSHAPE 1
32512 { echo "$as_me:$LINENO: result: found" >&5
32513 echo "${ECHO_T}found" >&6; }
32516 echo "$as_me: failed program was:" >&5
32517 sed 's/^/| /' conftest.$ac_ext >&5
32520 { echo "$as_me:$LINENO: result: not found" >&5
32521 echo "${ECHO_T}not found" >&6; }
32525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32526 CFLAGS="$save_CFLAGS"
32531 if test "$wxUSE_OSX_CARBON" = 1; then
32532 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32533 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32534 if test "$GCC" = yes; then
32535 { echo "$as_me:$LINENO: result: gcc" >&5
32536 echo "${ECHO_T}gcc" >&6; }
32537 CPPFLAGS_PASCAL="-fpascal-strings"
32538 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32539 { echo "$as_me:$LINENO: result: xlc" >&5
32540 echo "${ECHO_T}xlc" >&6; }
32541 CPPFLAGS_PASCAL="-qmacpstr"
32543 { echo "$as_me:$LINENO: result: none" >&5
32544 echo "${ECHO_T}none" >&6; }
32547 if test "x$wxUSE_UNIX" = "xyes"; then
32548 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32550 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32554 GUIDIST=OSX_CARBON_DIST
32555 WXBASEPORT="_carbon"
32558 if test "$wxUSE_OSX_COCOA" = 1; then
32560 GUIDIST=OSX_COCOA_DIST
32563 if test "$wxUSE_COCOA" = 1; then
32568 if test "$wxUSE_PM" = 1; then
32571 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32572 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32573 if test "${wx_cv_spbcdata+set}" = set; then
32574 echo $ECHO_N "(cached) $ECHO_C" >&6
32577 cat >conftest.$ac_ext <<_ACEOF
32580 cat confdefs.h >>conftest.$ac_ext
32581 cat >>conftest.$ac_ext <<_ACEOF
32582 /* end confdefs.h. */
32597 rm -f conftest.$ac_objext
32598 if { (ac_try="$ac_compile"
32599 case "(($ac_try" in
32600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32601 *) ac_try_echo=$ac_try;;
32603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32604 (eval "$ac_compile") 2>conftest.er1
32606 grep -v '^ *+' conftest.er1 >conftest.err
32608 cat conftest.err >&5
32609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32610 (exit $ac_status); } && {
32611 test -z "$ac_c_werror_flag" ||
32612 test ! -s conftest.err
32613 } && test -s conftest.$ac_objext; then
32616 echo "$as_me: failed program was:" >&5
32617 sed 's/^/| /' conftest.$ac_ext >&5
32623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32627 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32628 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32630 if test $wx_cv_spbcdata = "yes"; then
32631 cat >>confdefs.h <<\_ACEOF
32632 #define HAVE_SPBCDATA 1
32638 if test "$TOOLKIT" = "PM" ; then
32641 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32644 if test "$wxUSE_UNIVERSAL" = "yes"; then
32645 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32649 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32650 DISTDIR="wx\$(TOOLKIT)"
32656 if test "$USE_WIN32" = 1 ; then
32660 GUIDIST="BASE_DIST"
32666 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32667 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32668 wxUSE_UNICODE_UTF8=yes
32669 elif test "$USE_OS2" = 1 ; then
32670 wxUSE_UNICODE_UTF8=yes
32672 wxUSE_UNICODE_UTF8=no
32677 if test "$wxUSE_GUI" = "yes"; then
32678 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32680 for ac_header in X11/Xlib.h
32682 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32683 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32685 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32686 echo $ECHO_N "(cached) $ECHO_C" >&6
32688 cat >conftest.$ac_ext <<_ACEOF
32691 cat confdefs.h >>conftest.$ac_ext
32692 cat >>conftest.$ac_ext <<_ACEOF
32693 /* end confdefs.h. */
32696 #include <$ac_header>
32698 rm -f conftest.$ac_objext
32699 if { (ac_try="$ac_compile"
32700 case "(($ac_try" in
32701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32702 *) ac_try_echo=$ac_try;;
32704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32705 (eval "$ac_compile") 2>conftest.er1
32707 grep -v '^ *+' conftest.er1 >conftest.err
32709 cat conftest.err >&5
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); } && {
32712 test -z "$ac_c_werror_flag" ||
32713 test ! -s conftest.err
32714 } && test -s conftest.$ac_objext; then
32715 eval "$as_ac_Header=yes"
32717 echo "$as_me: failed program was:" >&5
32718 sed 's/^/| /' conftest.$ac_ext >&5
32720 eval "$as_ac_Header=no"
32723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32725 ac_res=`eval echo '${'$as_ac_Header'}'`
32726 { echo "$as_me:$LINENO: result: $ac_res" >&5
32727 echo "${ECHO_T}$ac_res" >&6; }
32728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32729 cat >>confdefs.h <<_ACEOF
32730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32738 for ac_header in X11/XKBlib.h
32740 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32741 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32743 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32744 echo $ECHO_N "(cached) $ECHO_C" >&6
32746 cat >conftest.$ac_ext <<_ACEOF
32749 cat confdefs.h >>conftest.$ac_ext
32750 cat >>conftest.$ac_ext <<_ACEOF
32751 /* end confdefs.h. */
32753 #if HAVE_X11_XLIB_H
32754 #include <X11/Xlib.h>
32758 #include <$ac_header>
32760 rm -f conftest.$ac_objext
32761 if { (ac_try="$ac_compile"
32762 case "(($ac_try" in
32763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32764 *) ac_try_echo=$ac_try;;
32766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32767 (eval "$ac_compile") 2>conftest.er1
32769 grep -v '^ *+' conftest.er1 >conftest.err
32771 cat conftest.err >&5
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); } && {
32774 test -z "$ac_c_werror_flag" ||
32775 test ! -s conftest.err
32776 } && test -s conftest.$ac_objext; then
32777 eval "$as_ac_Header=yes"
32779 echo "$as_me: failed program was:" >&5
32780 sed 's/^/| /' conftest.$ac_ext >&5
32782 eval "$as_ac_Header=no"
32785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32787 ac_res=`eval echo '${'$as_ac_Header'}'`
32788 { echo "$as_me:$LINENO: result: $ac_res" >&5
32789 echo "${ECHO_T}$ac_res" >&6; }
32790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32791 cat >>confdefs.h <<_ACEOF
32792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32804 if test "$wxUSE_DISPLAY" = "yes"; then
32805 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32806 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32807 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32810 for ac_dir in $SEARCH_LIB;
32812 for ac_extension in a so sl dylib dll.a; do
32813 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32814 ac_find_libraries=$ac_dir
32820 if test "$ac_find_libraries" != "" ; then
32822 if test "$ac_find_libraries" = "default location"; then
32825 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32827 if test $result = 0; then
32830 ac_path_to_link=" -L$ac_find_libraries"
32834 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32835 LDFLAGS="$LDFLAGS $ac_path_to_link"
32837 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32838 { echo "$as_me:$LINENO: result: yes" >&5
32839 echo "${ECHO_T}yes" >&6; }
32841 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32842 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32845 for ac_dir in $SEARCH_LIB;
32847 for ac_extension in a so sl dylib dll.a; do
32848 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32849 ac_find_libraries=$ac_dir
32855 if test "$ac_find_libraries" != "" ; then
32856 { echo "$as_me:$LINENO: result: yes" >&5
32857 echo "${ECHO_T}yes" >&6; }
32859 for ac_header in X11/extensions/xf86vmode.h
32861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32862 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32864 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32865 echo $ECHO_N "(cached) $ECHO_C" >&6
32867 cat >conftest.$ac_ext <<_ACEOF
32870 cat confdefs.h >>conftest.$ac_ext
32871 cat >>conftest.$ac_ext <<_ACEOF
32872 /* end confdefs.h. */
32874 #if HAVE_X11_XLIB_H
32875 #include <X11/Xlib.h>
32879 #include <$ac_header>
32881 rm -f conftest.$ac_objext
32882 if { (ac_try="$ac_compile"
32883 case "(($ac_try" in
32884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32885 *) ac_try_echo=$ac_try;;
32887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32888 (eval "$ac_compile") 2>conftest.er1
32890 grep -v '^ *+' conftest.er1 >conftest.err
32892 cat conftest.err >&5
32893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32894 (exit $ac_status); } && {
32895 test -z "$ac_c_werror_flag" ||
32896 test ! -s conftest.err
32897 } && test -s conftest.$ac_objext; then
32898 eval "$as_ac_Header=yes"
32900 echo "$as_me: failed program was:" >&5
32901 sed 's/^/| /' conftest.$ac_ext >&5
32903 eval "$as_ac_Header=no"
32906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32908 ac_res=`eval echo '${'$as_ac_Header'}'`
32909 { echo "$as_me:$LINENO: result: $ac_res" >&5
32910 echo "${ECHO_T}$ac_res" >&6; }
32911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32912 cat >>confdefs.h <<_ACEOF
32913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32916 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32923 { echo "$as_me:$LINENO: result: no" >&5
32924 echo "${ECHO_T}no" >&6; }
32928 { echo "$as_me:$LINENO: result: no" >&5
32929 echo "${ECHO_T}no" >&6; }
32930 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32931 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32934 elif test "$wxUSE_MSW" = 1; then
32935 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32936 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32937 if test "${ac_cv_header_ddraw_h+set}" = set; then
32938 echo $ECHO_N "(cached) $ECHO_C" >&6
32940 cat >conftest.$ac_ext <<_ACEOF
32943 cat confdefs.h >>conftest.$ac_ext
32944 cat >>conftest.$ac_ext <<_ACEOF
32945 /* end confdefs.h. */
32946 #include <windows.h>
32950 rm -f conftest.$ac_objext
32951 if { (ac_try="$ac_compile"
32952 case "(($ac_try" in
32953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32954 *) ac_try_echo=$ac_try;;
32956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32957 (eval "$ac_compile") 2>conftest.er1
32959 grep -v '^ *+' conftest.er1 >conftest.err
32961 cat conftest.err >&5
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 (exit $ac_status); } && {
32964 test -z "$ac_c_werror_flag" ||
32965 test ! -s conftest.err
32966 } && test -s conftest.$ac_objext; then
32967 ac_cv_header_ddraw_h=yes
32969 echo "$as_me: failed program was:" >&5
32970 sed 's/^/| /' conftest.$ac_ext >&5
32972 ac_cv_header_ddraw_h=no
32975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32977 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32978 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32984 if test "$wxUSE_DETECT_SM" = "yes"; then
32985 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32986 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32987 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32990 for ac_dir in $SEARCH_LIB;
32992 for ac_extension in a so sl dylib dll.a; do
32993 if test -f "$ac_dir/libSM.$ac_extension"; then
32994 ac_find_libraries=$ac_dir
33000 if test "$ac_find_libraries" != "" ; then
33002 if test "$ac_find_libraries" = "default location"; then
33005 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33007 if test $result = 0; then
33010 ac_path_to_link=" -L$ac_find_libraries"
33014 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33015 LDFLAGS="$LDFLAGS $ac_path_to_link"
33017 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33018 { echo "$as_me:$LINENO: result: yes" >&5
33019 echo "${ECHO_T}yes" >&6; }
33021 { echo "$as_me:$LINENO: result: no" >&5
33022 echo "${ECHO_T}no" >&6; }
33023 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33024 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33025 wxUSE_DETECT_SM="no"
33028 wxUSE_DETECT_SM="no"
33035 if test "$wxUSE_OPENGL" = "yes"; then
33036 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33037 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33038 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33040 elif test "$wxUSE_OSX_CARBON" = 1 -o test "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33041 OPENGL_LIBS="-framework OpenGL -framework AGL"
33042 elif test "$wxUSE_MSW" = 1; then
33043 OPENGL_LIBS="-lopengl32 -lglu32"
33045 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33046 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33049 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33051 if test -f "$ac_dir/GL/gl.h"; then
33052 ac_find_includes=$ac_dir
33057 if test "$ac_find_includes" != "" ; then
33058 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33059 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33061 if test "x$ac_find_includes" = "x/usr/include"; then
33062 ac_path_to_include=""
33064 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33066 if test $result = 0; then
33067 ac_path_to_include=""
33069 ac_path_to_include=" -I$ac_find_includes"
33073 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33075 { echo "$as_me:$LINENO: result: not found" >&5
33076 echo "${ECHO_T}not found" >&6; }
33079 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33080 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33081 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33082 echo $ECHO_N "(cached) $ECHO_C" >&6
33084 cat >conftest.$ac_ext <<_ACEOF
33087 cat confdefs.h >>conftest.$ac_ext
33088 cat >>conftest.$ac_ext <<_ACEOF
33089 /* end confdefs.h. */
33094 rm -f conftest.$ac_objext
33095 if { (ac_try="$ac_compile"
33096 case "(($ac_try" in
33097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33098 *) ac_try_echo=$ac_try;;
33100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33101 (eval "$ac_compile") 2>conftest.er1
33103 grep -v '^ *+' conftest.er1 >conftest.err
33105 cat conftest.err >&5
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); } && {
33108 test -z "$ac_c_werror_flag" ||
33109 test ! -s conftest.err
33110 } && test -s conftest.$ac_objext; then
33111 ac_cv_header_GL_gl_h=yes
33113 echo "$as_me: failed program was:" >&5
33114 sed 's/^/| /' conftest.$ac_ext >&5
33116 ac_cv_header_GL_gl_h=no
33119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33121 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33122 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33123 if test $ac_cv_header_GL_gl_h = yes; then
33125 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33126 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33127 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33128 echo $ECHO_N "(cached) $ECHO_C" >&6
33130 cat >conftest.$ac_ext <<_ACEOF
33133 cat confdefs.h >>conftest.$ac_ext
33134 cat >>conftest.$ac_ext <<_ACEOF
33135 /* end confdefs.h. */
33138 #include <GL/glu.h>
33140 rm -f conftest.$ac_objext
33141 if { (ac_try="$ac_compile"
33142 case "(($ac_try" in
33143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33144 *) ac_try_echo=$ac_try;;
33146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33147 (eval "$ac_compile") 2>conftest.er1
33149 grep -v '^ *+' conftest.er1 >conftest.err
33151 cat conftest.err >&5
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); } && {
33154 test -z "$ac_c_werror_flag" ||
33155 test ! -s conftest.err
33156 } && test -s conftest.$ac_objext; then
33157 ac_cv_header_GL_glu_h=yes
33159 echo "$as_me: failed program was:" >&5
33160 sed 's/^/| /' conftest.$ac_ext >&5
33162 ac_cv_header_GL_glu_h=no
33165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33167 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33168 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33169 if test $ac_cv_header_GL_glu_h = yes; then
33173 { echo "$as_me:$LINENO: checking for -lGL" >&5
33174 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33177 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33179 for ac_extension in a so sl dylib dll.a; do
33180 if test -f "$ac_dir/libGL.$ac_extension"; then
33181 ac_find_libraries=$ac_dir
33187 if test "$ac_find_libraries" != "" ; then
33188 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33189 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33192 if test "$ac_find_libraries" = "default location"; then
33195 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33197 if test $result = 0; then
33200 ac_path_to_link=" -L$ac_find_libraries"
33204 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33205 LDFLAGS_GL="$ac_path_to_link"
33208 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33209 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33212 for ac_dir in $SEARCH_LIB;
33214 for ac_extension in a so sl dylib dll.a; do
33215 if test -f "$ac_dir/libGLU.$ac_extension"; then
33216 ac_find_libraries=$ac_dir
33222 if test "$ac_find_libraries" != "" ; then
33224 if test "$ac_find_libraries" = "default location"; then
33227 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33229 if test $result = 0; then
33232 ac_path_to_link=" -L$ac_find_libraries"
33236 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33237 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33238 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33242 OPENGL_LIBS="-lGL -lGLU"
33243 { echo "$as_me:$LINENO: result: yes" >&5
33244 echo "${ECHO_T}yes" >&6; }
33246 { echo "$as_me:$LINENO: result: no" >&5
33247 echo "${ECHO_T}no" >&6; }
33250 { echo "$as_me:$LINENO: result: no" >&5
33251 echo "${ECHO_T}no" >&6; }
33254 if test "$found_gl" != 1; then
33255 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33256 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33259 for ac_dir in $SEARCH_LIB;
33261 for ac_extension in a so sl dylib dll.a; do
33262 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33263 ac_find_libraries=$ac_dir
33269 if test "$ac_find_libraries" != "" ; then
33271 if test "$ac_find_libraries" = "default location"; then
33274 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33276 if test $result = 0; then
33279 ac_path_to_link=" -L$ac_find_libraries"
33283 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33284 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33285 { echo "$as_me:$LINENO: result: yes" >&5
33286 echo "${ECHO_T}yes" >&6; }
33288 { echo "$as_me:$LINENO: result: no" >&5
33289 echo "${ECHO_T}no" >&6; }
33301 if test "x$OPENGL_LIBS" = "x"; then
33302 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33303 echo "$as_me: error: OpenGL libraries not available" >&2;}
33304 { (exit 1); exit 1; }; }
33308 if test "$wxUSE_OPENGL" = "yes"; then
33310 cat >>confdefs.h <<\_ACEOF
33311 #define wxUSE_OPENGL 1
33314 cat >>confdefs.h <<\_ACEOF
33315 #define wxUSE_GLCANVAS 1
33318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33323 if test -n "$TOOLKIT" ; then
33324 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33329 if test "$wxUSE_SHARED" = "yes"; then
33333 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33334 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33339 if test "$wxUSE_SHARED" = "yes"; then
33343 *-*-cygwin* | *-*-mingw* )
33344 wx_cv_version_script=no
33348 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33349 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33350 if test "${wx_cv_version_script+set}" = set; then
33351 echo $ECHO_N "(cached) $ECHO_C" >&6
33354 echo "VER_1 { *; };" >conftest.sym
33355 echo "int main() { return 0; }" >conftest.cpp
33358 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33359 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33361 (eval $ac_try) 2>&5
33363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33364 (exit $ac_status); }; } ; then
33365 if test -s conftest.stderr ; then
33366 wx_cv_version_script=no
33368 wx_cv_version_script=yes
33371 wx_cv_version_script=no
33374 if test $wx_cv_version_script = yes
33376 echo "struct B { virtual ~B() { } }; \
33377 struct D : public B { }; \
33378 void F() { D d; }" > conftest.cpp
33381 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33382 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33384 (eval $ac_try) 2>&5
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); }; } &&
33389 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33390 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33392 (eval $ac_try) 2>&5
33394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33395 (exit $ac_status); }; }
33398 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33399 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33401 (eval $ac_try) 2>&5
33403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404 (exit $ac_status); }; }
33406 wx_cv_version_script=yes
33408 wx_cv_version_script=no
33413 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33414 rm -f conftest1.output conftest2.output conftest3.output
33417 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33418 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33420 if test $wx_cv_version_script = yes ; then
33421 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33427 if test "$wxUSE_VISIBILITY" != "no"; then
33430 if test -n "$GCC"; then
33431 CFLAGS_VISIBILITY="-fvisibility=hidden"
33432 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33433 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33434 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33435 if test "${wx_cv_cc_visibility+set}" = set; then
33436 echo $ECHO_N "(cached) $ECHO_C" >&6
33439 wx_save_CXXFLAGS="$CXXFLAGS"
33440 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33442 ac_cpp='$CXXCPP $CPPFLAGS'
33443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33447 cat >conftest.$ac_ext <<_ACEOF
33450 cat confdefs.h >>conftest.$ac_ext
33451 cat >>conftest.$ac_ext <<_ACEOF
33452 /* end confdefs.h. */
33454 /* we need gcc >= 4.0, older versions with visibility support
33455 didn't have class visibility: */
33456 #if defined(__GNUC__) && __GNUC__ < 4
33457 error this gcc is too old;
33460 /* visibility only makes sense for ELF shared libs: */
33461 #if !defined(__ELF__) && !defined(__APPLE__)
33462 error this platform has no visibility;
33465 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33466 extern __attribute__((__visibility__("default"))) int exportedvar;
33467 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33468 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33469 class __attribute__((__visibility__("default"))) Foo {
33481 rm -f conftest.$ac_objext
33482 if { (ac_try="$ac_compile"
33483 case "(($ac_try" in
33484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33485 *) ac_try_echo=$ac_try;;
33487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33488 (eval "$ac_compile") 2>conftest.er1
33490 grep -v '^ *+' conftest.er1 >conftest.err
33492 cat conftest.err >&5
33493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33494 (exit $ac_status); } && {
33495 test -z "$ac_cxx_werror_flag" ||
33496 test ! -s conftest.err
33497 } && test -s conftest.$ac_objext; then
33498 wx_cv_cc_visibility=yes
33500 echo "$as_me: failed program was:" >&5
33501 sed 's/^/| /' conftest.$ac_ext >&5
33503 wx_cv_cc_visibility=no
33506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33508 ac_cpp='$CPP $CPPFLAGS'
33509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33513 CXXFLAGS="$wx_save_CXXFLAGS"
33516 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33517 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33518 if test $wx_cv_cc_visibility = yes; then
33519 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33520 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33521 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33522 echo $ECHO_N "(cached) $ECHO_C" >&6
33525 wx_save_CXXFLAGS="$CXXFLAGS"
33526 wx_save_LDFLAGS="$LDFLAGS"
33527 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33528 LDFLAGS="$LDFLAGS -shared -fPIC"
33530 ac_cpp='$CXXCPP $CPPFLAGS'
33531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33535 cat >conftest.$ac_ext <<_ACEOF
33538 cat confdefs.h >>conftest.$ac_ext
33539 cat >>conftest.$ac_ext <<_ACEOF
33540 /* end confdefs.h. */
33548 std::string s("hello");
33555 rm -f conftest.$ac_objext conftest$ac_exeext
33556 if { (ac_try="$ac_link"
33557 case "(($ac_try" in
33558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33559 *) ac_try_echo=$ac_try;;
33561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33562 (eval "$ac_link") 2>conftest.er1
33564 grep -v '^ *+' conftest.er1 >conftest.err
33566 cat conftest.err >&5
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); } && {
33569 test -z "$ac_cxx_werror_flag" ||
33570 test ! -s conftest.err
33571 } && test -s conftest$ac_exeext &&
33572 $as_test_x conftest$ac_exeext; then
33573 wx_cv_cc_broken_libstdcxx_visibility=no
33575 echo "$as_me: failed program was:" >&5
33576 sed 's/^/| /' conftest.$ac_ext >&5
33578 wx_cv_cc_broken_libstdcxx_visibility=yes
33581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33582 conftest$ac_exeext conftest.$ac_ext
33584 ac_cpp='$CPP $CPPFLAGS'
33585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33589 CXXFLAGS="$wx_save_CXXFLAGS"
33590 LDFLAGS="$wx_save_LDFLAGS"
33593 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33594 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33596 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33597 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33598 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33599 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33600 echo $ECHO_N "(cached) $ECHO_C" >&6
33604 ac_cpp='$CXXCPP $CPPFLAGS'
33605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33609 cat >conftest.$ac_ext <<_ACEOF
33612 cat confdefs.h >>conftest.$ac_ext
33613 cat >>conftest.$ac_ext <<_ACEOF
33614 /* end confdefs.h. */
33616 #pragma GCC visibility push(default)
33618 #pragma GCC visibility pop
33624 std::string s("hello");
33631 rm -f conftest.$ac_objext conftest$ac_exeext
33632 if { (ac_try="$ac_link"
33633 case "(($ac_try" in
33634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33635 *) ac_try_echo=$ac_try;;
33637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33638 (eval "$ac_link") 2>conftest.er1
33640 grep -v '^ *+' conftest.er1 >conftest.err
33642 cat conftest.err >&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } && {
33645 test -z "$ac_cxx_werror_flag" ||
33646 test ! -s conftest.err
33647 } && test -s conftest$ac_exeext &&
33648 $as_test_x conftest$ac_exeext; then
33649 wx_cv_cc_visibility_workaround=no
33651 echo "$as_me: failed program was:" >&5
33652 sed 's/^/| /' conftest.$ac_ext >&5
33654 wx_cv_cc_visibility_workaround=yes
33657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33658 conftest$ac_exeext conftest.$ac_ext
33660 ac_cpp='$CPP $CPPFLAGS'
33661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33668 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33669 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33671 if test $wx_cv_cc_visibility_workaround = no; then
33672 wx_cv_cc_visibility=no
33677 if test $wx_cv_cc_visibility = yes; then
33678 cat >>confdefs.h <<\_ACEOF
33679 #define HAVE_VISIBILITY 1
33682 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33683 cat >>confdefs.h <<\_ACEOF
33684 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33689 CFLAGS_VISIBILITY=""
33690 CXXFLAGS_VISIBILITY=""
33698 if test "x$SUNCXX" = xyes; then
33699 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33700 WXCONFIG_RPATH="-R\$libdir"
33703 *-*-linux* | *-*-gnu* )
33704 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33705 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33710 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33712 saveLdflags="$LDFLAGS"
33713 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33714 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33715 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33716 cat >conftest.$ac_ext <<_ACEOF
33719 cat confdefs.h >>conftest.$ac_ext
33720 cat >>conftest.$ac_ext <<_ACEOF
33721 /* end confdefs.h. */
33731 rm -f conftest.$ac_objext conftest$ac_exeext
33732 if { (ac_try="$ac_link"
33733 case "(($ac_try" in
33734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33735 *) ac_try_echo=$ac_try;;
33737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33738 (eval "$ac_link") 2>conftest.er1
33740 grep -v '^ *+' conftest.er1 >conftest.err
33742 cat conftest.err >&5
33743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33744 (exit $ac_status); } && {
33745 test -z "$ac_c_werror_flag" ||
33746 test ! -s conftest.err
33747 } && test -s conftest$ac_exeext &&
33748 $as_test_x conftest$ac_exeext; then
33750 { echo "$as_me:$LINENO: result: yes" >&5
33751 echo "${ECHO_T}yes" >&6; }
33752 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33753 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33756 echo "$as_me: failed program was:" >&5
33757 sed 's/^/| /' conftest.$ac_ext >&5
33760 { echo "$as_me:$LINENO: result: no" >&5
33761 echo "${ECHO_T}no" >&6; }
33762 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33763 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33764 LDFLAGS="$saveLdflags -Wl,-R,/"
33765 cat >conftest.$ac_ext <<_ACEOF
33768 cat confdefs.h >>conftest.$ac_ext
33769 cat >>conftest.$ac_ext <<_ACEOF
33770 /* end confdefs.h. */
33780 rm -f conftest.$ac_objext conftest$ac_exeext
33781 if { (ac_try="$ac_link"
33782 case "(($ac_try" in
33783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33784 *) ac_try_echo=$ac_try;;
33786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33787 (eval "$ac_link") 2>conftest.er1
33789 grep -v '^ *+' conftest.er1 >conftest.err
33791 cat conftest.err >&5
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); } && {
33794 test -z "$ac_c_werror_flag" ||
33795 test ! -s conftest.err
33796 } && test -s conftest$ac_exeext &&
33797 $as_test_x conftest$ac_exeext; then
33799 { echo "$as_me:$LINENO: result: yes" >&5
33800 echo "${ECHO_T}yes" >&6; }
33801 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33802 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33805 echo "$as_me: failed program was:" >&5
33806 sed 's/^/| /' conftest.$ac_ext >&5
33809 { echo "$as_me:$LINENO: result: no" >&5
33810 echo "${ECHO_T}no" >&6; }
33814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33815 conftest$ac_exeext conftest.$ac_ext
33819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33820 conftest$ac_exeext conftest.$ac_ext
33821 LDFLAGS="$saveLdflags"
33825 install_name_tool=`which install_name_tool`
33826 if test "$install_name_tool" -a -x "$install_name_tool"; then
33827 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33828 cat <<EOF >change-install-names
33830 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33831 inst_cmd="install_name_tool "
33832 for i in \${libnames} ; do
33833 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33837 chmod +x change-install-names
33841 *-*-cygwin* | *-*-mingw32* )
33845 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33846 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33852 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33854 if test $wxUSE_RPATH = "no"; then
33855 SAMPLES_RPATH_FLAG=''
33856 SAMPLES_RPATH_POSTLINK=''
33864 config_linkage_component="-static"
33871 lib_unicode_suffix=
33873 if test "$wxUSE_UNICODE" = "yes"; then
33874 lib_unicode_suffix=u
33875 WX_CHARTYPE="unicode"
33880 WX_DEBUGTYPE="release"
33882 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33884 WX_DEBUGTYPE="debug"
33888 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33889 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33892 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33896 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33898 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33900 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33902 if test "$cross_compiling" = "yes"; then
33903 HOST_SUFFIX="-$host_alias"
33904 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33905 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33908 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33909 if test "${TOOLKIT_DIR}" = "os2"; then
33910 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33912 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33917 if test "$wxUSE_COCOA" = 1; then
33920 ac_cpp='$CPP $CPPFLAGS'
33921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33927 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33928 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33929 cat >conftest.$ac_ext <<_ACEOF
33932 cat confdefs.h >>conftest.$ac_ext
33933 cat >>conftest.$ac_ext <<_ACEOF
33934 /* end confdefs.h. */
33935 #include <AppKit/NSEvent.h>
33936 #include <CoreFoundation/CoreFoundation.h>
33946 rm -f conftest.$ac_objext
33947 if { (ac_try="$ac_compile"
33948 case "(($ac_try" in
33949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33950 *) ac_try_echo=$ac_try;;
33952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33953 (eval "$ac_compile") 2>conftest.er1
33955 grep -v '^ *+' conftest.er1 >conftest.err
33957 cat conftest.err >&5
33958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33959 (exit $ac_status); } && {
33960 test -z "$ac_c_werror_flag" ||
33961 test ! -s conftest.err
33962 } && test -s conftest.$ac_objext; then
33963 { echo "$as_me:$LINENO: result: no" >&5
33964 echo "${ECHO_T}no" >&6; }
33966 echo "$as_me: failed program was:" >&5
33967 sed 's/^/| /' conftest.$ac_ext >&5
33969 { echo "$as_me:$LINENO: result: yes" >&5
33970 echo "${ECHO_T}yes" >&6; }
33971 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33972 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33973 cat >conftest.$ac_ext <<_ACEOF
33976 cat confdefs.h >>conftest.$ac_ext
33977 cat >>conftest.$ac_ext <<_ACEOF
33978 /* end confdefs.h. */
33979 #define __Point__ 1
33980 #include <AppKit/NSEvent.h>
33981 #include <CoreFoundation/CoreFoundation.h>
33991 rm -f conftest.$ac_objext
33992 if { (ac_try="$ac_compile"
33993 case "(($ac_try" in
33994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33995 *) ac_try_echo=$ac_try;;
33997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33998 (eval "$ac_compile") 2>conftest.er1
34000 grep -v '^ *+' conftest.er1 >conftest.err
34002 cat conftest.err >&5
34003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34004 (exit $ac_status); } && {
34005 test -z "$ac_c_werror_flag" ||
34006 test ! -s conftest.err
34007 } && test -s conftest.$ac_objext; then
34008 { echo "$as_me:$LINENO: result: yes" >&5
34009 echo "${ECHO_T}yes" >&6; }
34010 cat >>confdefs.h <<\_ACEOF
34011 #define __Point__ 1
34016 echo "$as_me: failed program was:" >&5
34017 sed 's/^/| /' conftest.$ac_ext >&5
34019 { { echo "$as_me:$LINENO: error: no
34020 See \`config.log' for more details." >&5
34021 echo "$as_me: error: no
34022 See \`config.log' for more details." >&2;}
34023 { (exit 1); exit 1; }; }
34027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34033 ac_cpp='$CPP $CPPFLAGS'
34034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34041 { echo "$as_me:$LINENO: checking for mode_t" >&5
34042 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34043 if test "${ac_cv_type_mode_t+set}" = set; then
34044 echo $ECHO_N "(cached) $ECHO_C" >&6
34046 cat >conftest.$ac_ext <<_ACEOF
34049 cat confdefs.h >>conftest.$ac_ext
34050 cat >>conftest.$ac_ext <<_ACEOF
34051 /* end confdefs.h. */
34052 $ac_includes_default
34053 typedef mode_t ac__type_new_;
34057 if ((ac__type_new_ *) 0)
34059 if (sizeof (ac__type_new_))
34065 rm -f conftest.$ac_objext
34066 if { (ac_try="$ac_compile"
34067 case "(($ac_try" in
34068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34069 *) ac_try_echo=$ac_try;;
34071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34072 (eval "$ac_compile") 2>conftest.er1
34074 grep -v '^ *+' conftest.er1 >conftest.err
34076 cat conftest.err >&5
34077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34078 (exit $ac_status); } && {
34079 test -z "$ac_c_werror_flag" ||
34080 test ! -s conftest.err
34081 } && test -s conftest.$ac_objext; then
34082 ac_cv_type_mode_t=yes
34084 echo "$as_me: failed program was:" >&5
34085 sed 's/^/| /' conftest.$ac_ext >&5
34087 ac_cv_type_mode_t=no
34090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34092 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34093 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34094 if test $ac_cv_type_mode_t = yes; then
34098 cat >>confdefs.h <<_ACEOF
34104 { echo "$as_me:$LINENO: checking for off_t" >&5
34105 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34106 if test "${ac_cv_type_off_t+set}" = set; then
34107 echo $ECHO_N "(cached) $ECHO_C" >&6
34109 cat >conftest.$ac_ext <<_ACEOF
34112 cat confdefs.h >>conftest.$ac_ext
34113 cat >>conftest.$ac_ext <<_ACEOF
34114 /* end confdefs.h. */
34115 $ac_includes_default
34116 typedef off_t ac__type_new_;
34120 if ((ac__type_new_ *) 0)
34122 if (sizeof (ac__type_new_))
34128 rm -f conftest.$ac_objext
34129 if { (ac_try="$ac_compile"
34130 case "(($ac_try" in
34131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34132 *) ac_try_echo=$ac_try;;
34134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34135 (eval "$ac_compile") 2>conftest.er1
34137 grep -v '^ *+' conftest.er1 >conftest.err
34139 cat conftest.err >&5
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); } && {
34142 test -z "$ac_c_werror_flag" ||
34143 test ! -s conftest.err
34144 } && test -s conftest.$ac_objext; then
34145 ac_cv_type_off_t=yes
34147 echo "$as_me: failed program was:" >&5
34148 sed 's/^/| /' conftest.$ac_ext >&5
34150 ac_cv_type_off_t=no
34153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34155 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34156 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34157 if test $ac_cv_type_off_t = yes; then
34161 cat >>confdefs.h <<_ACEOF
34162 #define off_t long int
34167 { echo "$as_me:$LINENO: checking for pid_t" >&5
34168 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34169 if test "${ac_cv_type_pid_t+set}" = set; then
34170 echo $ECHO_N "(cached) $ECHO_C" >&6
34172 cat >conftest.$ac_ext <<_ACEOF
34175 cat confdefs.h >>conftest.$ac_ext
34176 cat >>conftest.$ac_ext <<_ACEOF
34177 /* end confdefs.h. */
34178 $ac_includes_default
34179 typedef pid_t ac__type_new_;
34183 if ((ac__type_new_ *) 0)
34185 if (sizeof (ac__type_new_))
34191 rm -f conftest.$ac_objext
34192 if { (ac_try="$ac_compile"
34193 case "(($ac_try" in
34194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34195 *) ac_try_echo=$ac_try;;
34197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34198 (eval "$ac_compile") 2>conftest.er1
34200 grep -v '^ *+' conftest.er1 >conftest.err
34202 cat conftest.err >&5
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); } && {
34205 test -z "$ac_c_werror_flag" ||
34206 test ! -s conftest.err
34207 } && test -s conftest.$ac_objext; then
34208 ac_cv_type_pid_t=yes
34210 echo "$as_me: failed program was:" >&5
34211 sed 's/^/| /' conftest.$ac_ext >&5
34213 ac_cv_type_pid_t=no
34216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34218 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34219 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34220 if test $ac_cv_type_pid_t = yes; then
34224 cat >>confdefs.h <<_ACEOF
34230 { echo "$as_me:$LINENO: checking for size_t" >&5
34231 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34232 if test "${ac_cv_type_size_t+set}" = set; then
34233 echo $ECHO_N "(cached) $ECHO_C" >&6
34235 cat >conftest.$ac_ext <<_ACEOF
34238 cat confdefs.h >>conftest.$ac_ext
34239 cat >>conftest.$ac_ext <<_ACEOF
34240 /* end confdefs.h. */
34241 $ac_includes_default
34242 typedef size_t ac__type_new_;
34246 if ((ac__type_new_ *) 0)
34248 if (sizeof (ac__type_new_))
34254 rm -f conftest.$ac_objext
34255 if { (ac_try="$ac_compile"
34256 case "(($ac_try" in
34257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34258 *) ac_try_echo=$ac_try;;
34260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34261 (eval "$ac_compile") 2>conftest.er1
34263 grep -v '^ *+' conftest.er1 >conftest.err
34265 cat conftest.err >&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); } && {
34268 test -z "$ac_c_werror_flag" ||
34269 test ! -s conftest.err
34270 } && test -s conftest.$ac_objext; then
34271 ac_cv_type_size_t=yes
34273 echo "$as_me: failed program was:" >&5
34274 sed 's/^/| /' conftest.$ac_ext >&5
34276 ac_cv_type_size_t=no
34279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34281 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34282 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34283 if test $ac_cv_type_size_t = yes; then
34287 cat >>confdefs.h <<_ACEOF
34288 #define size_t unsigned int
34294 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34295 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34296 if test "${ac_cv_type_ssize_t+set}" = set; then
34297 echo $ECHO_N "(cached) $ECHO_C" >&6
34299 cat >conftest.$ac_ext <<_ACEOF
34302 cat confdefs.h >>conftest.$ac_ext
34303 cat >>conftest.$ac_ext <<_ACEOF
34304 /* end confdefs.h. */
34305 $ac_includes_default
34306 typedef ssize_t ac__type_new_;
34310 if ((ac__type_new_ *) 0)
34312 if (sizeof (ac__type_new_))
34318 rm -f conftest.$ac_objext
34319 if { (ac_try="$ac_compile"
34320 case "(($ac_try" in
34321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34322 *) ac_try_echo=$ac_try;;
34324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34325 (eval "$ac_compile") 2>conftest.er1
34327 grep -v '^ *+' conftest.er1 >conftest.err
34329 cat conftest.err >&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); } && {
34332 test -z "$ac_c_werror_flag" ||
34333 test ! -s conftest.err
34334 } && test -s conftest.$ac_objext; then
34335 ac_cv_type_ssize_t=yes
34337 echo "$as_me: failed program was:" >&5
34338 sed 's/^/| /' conftest.$ac_ext >&5
34340 ac_cv_type_ssize_t=no
34343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34345 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34346 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34347 if test $ac_cv_type_ssize_t = yes; then
34349 cat >>confdefs.h <<_ACEOF
34350 #define HAVE_SSIZE_T 1
34358 ac_cpp='$CXXCPP $CPPFLAGS'
34359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34362 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34363 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34364 if test "${wx_cv_size_t_is_uint+set}" = set; then
34365 echo $ECHO_N "(cached) $ECHO_C" >&6
34368 cat >conftest.$ac_ext <<_ACEOF
34371 cat confdefs.h >>conftest.$ac_ext
34372 cat >>conftest.$ac_ext <<_ACEOF
34373 /* end confdefs.h. */
34374 #include <stddef.h>
34381 struct Foo { void foo(size_t); void foo(unsigned int); };
34389 rm -f conftest.$ac_objext
34390 if { (ac_try="$ac_compile"
34391 case "(($ac_try" in
34392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34393 *) ac_try_echo=$ac_try;;
34395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34396 (eval "$ac_compile") 2>conftest.er1
34398 grep -v '^ *+' conftest.er1 >conftest.err
34400 cat conftest.err >&5
34401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34402 (exit $ac_status); } && {
34403 test -z "$ac_cxx_werror_flag" ||
34404 test ! -s conftest.err
34405 } && test -s conftest.$ac_objext; then
34406 wx_cv_size_t_is_uint=no
34408 echo "$as_me: failed program was:" >&5
34409 sed 's/^/| /' conftest.$ac_ext >&5
34411 wx_cv_size_t_is_uint=yes
34415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34419 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34420 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34422 if test "$wx_cv_size_t_is_uint" = "yes"; then
34423 cat >>confdefs.h <<\_ACEOF
34424 #define wxSIZE_T_IS_UINT 1
34428 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34429 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34430 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34431 echo $ECHO_N "(cached) $ECHO_C" >&6
34433 cat >conftest.$ac_ext <<_ACEOF
34436 cat confdefs.h >>conftest.$ac_ext
34437 cat >>conftest.$ac_ext <<_ACEOF
34438 /* end confdefs.h. */
34439 #include <stddef.h>
34446 struct Foo { void foo(size_t); void foo(unsigned long); };
34454 rm -f conftest.$ac_objext
34455 if { (ac_try="$ac_compile"
34456 case "(($ac_try" in
34457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34458 *) ac_try_echo=$ac_try;;
34460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34461 (eval "$ac_compile") 2>conftest.er1
34463 grep -v '^ *+' conftest.er1 >conftest.err
34465 cat conftest.err >&5
34466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467 (exit $ac_status); } && {
34468 test -z "$ac_cxx_werror_flag" ||
34469 test ! -s conftest.err
34470 } && test -s conftest.$ac_objext; then
34471 wx_cv_size_t_is_ulong=no
34473 echo "$as_me: failed program was:" >&5
34474 sed 's/^/| /' conftest.$ac_ext >&5
34476 wx_cv_size_t_is_ulong=yes
34480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34483 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34484 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34486 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34487 cat >>confdefs.h <<\_ACEOF
34488 #define wxSIZE_T_IS_ULONG 1
34494 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34495 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34496 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34497 echo $ECHO_N "(cached) $ECHO_C" >&6
34499 cat >conftest.$ac_ext <<_ACEOF
34502 cat confdefs.h >>conftest.$ac_ext
34503 cat >>conftest.$ac_ext <<_ACEOF
34504 /* end confdefs.h. */
34512 struct Foo { void foo(wchar_t);
34513 void foo(unsigned short);
34514 void foo(unsigned int);
34515 void foo(unsigned long); };
34523 rm -f conftest.$ac_objext
34524 if { (ac_try="$ac_compile"
34525 case "(($ac_try" in
34526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34527 *) ac_try_echo=$ac_try;;
34529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34530 (eval "$ac_compile") 2>conftest.er1
34532 grep -v '^ *+' conftest.er1 >conftest.err
34534 cat conftest.err >&5
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); } && {
34537 test -z "$ac_cxx_werror_flag" ||
34538 test ! -s conftest.err
34539 } && test -s conftest.$ac_objext; then
34540 wx_cv_wchar_t_is_separate_type=yes
34542 echo "$as_me: failed program was:" >&5
34543 sed 's/^/| /' conftest.$ac_ext >&5
34545 wx_cv_wchar_t_is_separate_type=no
34549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34552 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34553 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34555 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34556 cat >>confdefs.h <<\_ACEOF
34557 #define wxWCHAR_T_IS_REAL_TYPE 1
34561 cat >>confdefs.h <<\_ACEOF
34562 #define wxWCHAR_T_IS_REAL_TYPE 0
34568 ac_cpp='$CPP $CPPFLAGS'
34569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34574 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34575 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34576 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34577 echo $ECHO_N "(cached) $ECHO_C" >&6
34580 cat >conftest.$ac_ext <<_ACEOF
34583 cat confdefs.h >>conftest.$ac_ext
34584 cat >>conftest.$ac_ext <<_ACEOF
34585 /* end confdefs.h. */
34599 rm -f conftest.$ac_objext
34600 if { (ac_try="$ac_compile"
34601 case "(($ac_try" in
34602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34603 *) ac_try_echo=$ac_try;;
34605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34606 (eval "$ac_compile") 2>conftest.er1
34608 grep -v '^ *+' conftest.er1 >conftest.err
34610 cat conftest.err >&5
34611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34612 (exit $ac_status); } && {
34613 test -z "$ac_c_werror_flag" ||
34614 test ! -s conftest.err
34615 } && test -s conftest.$ac_objext; then
34617 wx_cv_struct_pw_gecos=yes
34620 echo "$as_me: failed program was:" >&5
34621 sed 's/^/| /' conftest.$ac_ext >&5
34624 wx_cv_struct_pw_gecos=no
34629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34633 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34634 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34636 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34637 cat >>confdefs.h <<\_ACEOF
34638 #define HAVE_PW_GECOS 1
34644 if test "$wxUSE_WCHAR_T" = "yes"; then
34645 cat >>confdefs.h <<\_ACEOF
34646 #define wxUSE_WCHAR_T 1
34653 for ac_func in wcslen
34655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34656 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34658 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34659 echo $ECHO_N "(cached) $ECHO_C" >&6
34661 cat >conftest.$ac_ext <<_ACEOF
34664 cat confdefs.h >>conftest.$ac_ext
34665 cat >>conftest.$ac_ext <<_ACEOF
34666 /* end confdefs.h. */
34667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34669 #define $ac_func innocuous_$ac_func
34671 /* System header to define __stub macros and hopefully few prototypes,
34672 which can conflict with char $ac_func (); below.
34673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34674 <limits.h> exists even on freestanding compilers. */
34677 # include <limits.h>
34679 # include <assert.h>
34684 /* Override any GCC internal prototype to avoid an error.
34685 Use char because int might match the return type of a GCC
34686 builtin and then its argument prototype would still apply. */
34691 /* The GNU C library defines this for functions which it implements
34692 to always fail with ENOSYS. Some functions are actually named
34693 something starting with __ and the normal name is an alias. */
34694 #if defined __stub_$ac_func || defined __stub___$ac_func
34701 return $ac_func ();
34706 rm -f conftest.$ac_objext conftest$ac_exeext
34707 if { (ac_try="$ac_link"
34708 case "(($ac_try" in
34709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34710 *) ac_try_echo=$ac_try;;
34712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34713 (eval "$ac_link") 2>conftest.er1
34715 grep -v '^ *+' conftest.er1 >conftest.err
34717 cat conftest.err >&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); } && {
34720 test -z "$ac_c_werror_flag" ||
34721 test ! -s conftest.err
34722 } && test -s conftest$ac_exeext &&
34723 $as_test_x conftest$ac_exeext; then
34724 eval "$as_ac_var=yes"
34726 echo "$as_me: failed program was:" >&5
34727 sed 's/^/| /' conftest.$ac_ext >&5
34729 eval "$as_ac_var=no"
34732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34733 conftest$ac_exeext conftest.$ac_ext
34735 ac_res=`eval echo '${'$as_ac_var'}'`
34736 { echo "$as_me:$LINENO: result: $ac_res" >&5
34737 echo "${ECHO_T}$ac_res" >&6; }
34738 if test `eval echo '${'$as_ac_var'}'` = yes; then
34739 cat >>confdefs.h <<_ACEOF
34740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34747 if test "$WCSLEN_FOUND" = 0; then
34748 if test "$TOOLKIT" = "MSW"; then
34749 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34750 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34751 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34752 echo $ECHO_N "(cached) $ECHO_C" >&6
34754 ac_check_lib_save_LIBS=$LIBS
34755 LIBS="-lmsvcrt $LIBS"
34756 cat >conftest.$ac_ext <<_ACEOF
34759 cat confdefs.h >>conftest.$ac_ext
34760 cat >>conftest.$ac_ext <<_ACEOF
34761 /* end confdefs.h. */
34763 /* Override any GCC internal prototype to avoid an error.
34764 Use char because int might match the return type of a GCC
34765 builtin and then its argument prototype would still apply. */
34778 rm -f conftest.$ac_objext conftest$ac_exeext
34779 if { (ac_try="$ac_link"
34780 case "(($ac_try" in
34781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34782 *) ac_try_echo=$ac_try;;
34784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34785 (eval "$ac_link") 2>conftest.er1
34787 grep -v '^ *+' conftest.er1 >conftest.err
34789 cat conftest.err >&5
34790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34791 (exit $ac_status); } && {
34792 test -z "$ac_c_werror_flag" ||
34793 test ! -s conftest.err
34794 } && test -s conftest$ac_exeext &&
34795 $as_test_x conftest$ac_exeext; then
34796 ac_cv_lib_msvcrt_wcslen=yes
34798 echo "$as_me: failed program was:" >&5
34799 sed 's/^/| /' conftest.$ac_ext >&5
34801 ac_cv_lib_msvcrt_wcslen=no
34804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34805 conftest$ac_exeext conftest.$ac_ext
34806 LIBS=$ac_check_lib_save_LIBS
34808 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34809 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34810 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34815 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34816 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34817 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34818 echo $ECHO_N "(cached) $ECHO_C" >&6
34820 ac_check_lib_save_LIBS=$LIBS
34822 cat >conftest.$ac_ext <<_ACEOF
34825 cat confdefs.h >>conftest.$ac_ext
34826 cat >>conftest.$ac_ext <<_ACEOF
34827 /* end confdefs.h. */
34829 /* Override any GCC internal prototype to avoid an error.
34830 Use char because int might match the return type of a GCC
34831 builtin and then its argument prototype would still apply. */
34844 rm -f conftest.$ac_objext conftest$ac_exeext
34845 if { (ac_try="$ac_link"
34846 case "(($ac_try" in
34847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34848 *) ac_try_echo=$ac_try;;
34850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34851 (eval "$ac_link") 2>conftest.er1
34853 grep -v '^ *+' conftest.er1 >conftest.err
34855 cat conftest.err >&5
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); } && {
34858 test -z "$ac_c_werror_flag" ||
34859 test ! -s conftest.err
34860 } && test -s conftest$ac_exeext &&
34861 $as_test_x conftest$ac_exeext; then
34862 ac_cv_lib_w_wcslen=yes
34864 echo "$as_me: failed program was:" >&5
34865 sed 's/^/| /' conftest.$ac_ext >&5
34867 ac_cv_lib_w_wcslen=no
34870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34871 conftest$ac_exeext conftest.$ac_ext
34872 LIBS=$ac_check_lib_save_LIBS
34874 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34875 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34876 if test $ac_cv_lib_w_wcslen = yes; then
34886 if test "$WCSLEN_FOUND" = 1; then
34887 cat >>confdefs.h <<\_ACEOF
34888 #define HAVE_WCSLEN 1
34894 for ac_func in wcsdup
34896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34897 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34899 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34900 echo $ECHO_N "(cached) $ECHO_C" >&6
34902 cat >conftest.$ac_ext <<_ACEOF
34905 cat confdefs.h >>conftest.$ac_ext
34906 cat >>conftest.$ac_ext <<_ACEOF
34907 /* end confdefs.h. */
34908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34910 #define $ac_func innocuous_$ac_func
34912 /* System header to define __stub macros and hopefully few prototypes,
34913 which can conflict with char $ac_func (); below.
34914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34915 <limits.h> exists even on freestanding compilers. */
34918 # include <limits.h>
34920 # include <assert.h>
34925 /* Override any GCC internal prototype to avoid an error.
34926 Use char because int might match the return type of a GCC
34927 builtin and then its argument prototype would still apply. */
34932 /* The GNU C library defines this for functions which it implements
34933 to always fail with ENOSYS. Some functions are actually named
34934 something starting with __ and the normal name is an alias. */
34935 #if defined __stub_$ac_func || defined __stub___$ac_func
34942 return $ac_func ();
34947 rm -f conftest.$ac_objext conftest$ac_exeext
34948 if { (ac_try="$ac_link"
34949 case "(($ac_try" in
34950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34951 *) ac_try_echo=$ac_try;;
34953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34954 (eval "$ac_link") 2>conftest.er1
34956 grep -v '^ *+' conftest.er1 >conftest.err
34958 cat conftest.err >&5
34959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34960 (exit $ac_status); } && {
34961 test -z "$ac_c_werror_flag" ||
34962 test ! -s conftest.err
34963 } && test -s conftest$ac_exeext &&
34964 $as_test_x conftest$ac_exeext; then
34965 eval "$as_ac_var=yes"
34967 echo "$as_me: failed program was:" >&5
34968 sed 's/^/| /' conftest.$ac_ext >&5
34970 eval "$as_ac_var=no"
34973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34974 conftest$ac_exeext conftest.$ac_ext
34976 ac_res=`eval echo '${'$as_ac_var'}'`
34977 { echo "$as_me:$LINENO: result: $ac_res" >&5
34978 echo "${ECHO_T}$ac_res" >&6; }
34979 if test `eval echo '${'$as_ac_var'}'` = yes; then
34980 cat >>confdefs.h <<_ACEOF
34981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34988 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34989 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34992 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34993 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34994 if test "${ac_cv_type_mbstate_t+set}" = set; then
34995 echo $ECHO_N "(cached) $ECHO_C" >&6
34997 cat >conftest.$ac_ext <<_ACEOF
35000 cat confdefs.h >>conftest.$ac_ext
35001 cat >>conftest.$ac_ext <<_ACEOF
35002 /* end confdefs.h. */
35005 typedef mbstate_t ac__type_new_;
35009 if ((ac__type_new_ *) 0)
35011 if (sizeof (ac__type_new_))
35017 rm -f conftest.$ac_objext
35018 if { (ac_try="$ac_compile"
35019 case "(($ac_try" in
35020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35021 *) ac_try_echo=$ac_try;;
35023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35024 (eval "$ac_compile") 2>conftest.er1
35026 grep -v '^ *+' conftest.er1 >conftest.err
35028 cat conftest.err >&5
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); } && {
35031 test -z "$ac_c_werror_flag" ||
35032 test ! -s conftest.err
35033 } && test -s conftest.$ac_objext; then
35034 ac_cv_type_mbstate_t=yes
35036 echo "$as_me: failed program was:" >&5
35037 sed 's/^/| /' conftest.$ac_ext >&5
35039 ac_cv_type_mbstate_t=no
35042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35044 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35045 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35046 if test $ac_cv_type_mbstate_t = yes; then
35048 cat >>confdefs.h <<_ACEOF
35049 #define HAVE_MBSTATE_T 1
35053 for ac_func in wcsrtombs
35055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35056 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35058 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35059 echo $ECHO_N "(cached) $ECHO_C" >&6
35061 cat >conftest.$ac_ext <<_ACEOF
35064 cat confdefs.h >>conftest.$ac_ext
35065 cat >>conftest.$ac_ext <<_ACEOF
35066 /* end confdefs.h. */
35067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35069 #define $ac_func innocuous_$ac_func
35071 /* System header to define __stub macros and hopefully few prototypes,
35072 which can conflict with char $ac_func (); below.
35073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35074 <limits.h> exists even on freestanding compilers. */
35077 # include <limits.h>
35079 # include <assert.h>
35084 /* Override any GCC internal prototype to avoid an error.
35085 Use char because int might match the return type of a GCC
35086 builtin and then its argument prototype would still apply. */
35091 /* The GNU C library defines this for functions which it implements
35092 to always fail with ENOSYS. Some functions are actually named
35093 something starting with __ and the normal name is an alias. */
35094 #if defined __stub_$ac_func || defined __stub___$ac_func
35101 return $ac_func ();
35106 rm -f conftest.$ac_objext conftest$ac_exeext
35107 if { (ac_try="$ac_link"
35108 case "(($ac_try" in
35109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35110 *) ac_try_echo=$ac_try;;
35112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35113 (eval "$ac_link") 2>conftest.er1
35115 grep -v '^ *+' conftest.er1 >conftest.err
35117 cat conftest.err >&5
35118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35119 (exit $ac_status); } && {
35120 test -z "$ac_c_werror_flag" ||
35121 test ! -s conftest.err
35122 } && test -s conftest$ac_exeext &&
35123 $as_test_x conftest$ac_exeext; then
35124 eval "$as_ac_var=yes"
35126 echo "$as_me: failed program was:" >&5
35127 sed 's/^/| /' conftest.$ac_ext >&5
35129 eval "$as_ac_var=no"
35132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35133 conftest$ac_exeext conftest.$ac_ext
35135 ac_res=`eval echo '${'$as_ac_var'}'`
35136 { echo "$as_me:$LINENO: result: $ac_res" >&5
35137 echo "${ECHO_T}$ac_res" >&6; }
35138 if test `eval echo '${'$as_ac_var'}'` = yes; then
35139 cat >>confdefs.h <<_ACEOF
35140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35149 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35150 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35156 for ac_func in snprintf vsnprintf vsscanf
35158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35159 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35161 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35162 echo $ECHO_N "(cached) $ECHO_C" >&6
35164 cat >conftest.$ac_ext <<_ACEOF
35167 cat confdefs.h >>conftest.$ac_ext
35168 cat >>conftest.$ac_ext <<_ACEOF
35169 /* end confdefs.h. */
35170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35172 #define $ac_func innocuous_$ac_func
35174 /* System header to define __stub macros and hopefully few prototypes,
35175 which can conflict with char $ac_func (); below.
35176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35177 <limits.h> exists even on freestanding compilers. */
35180 # include <limits.h>
35182 # include <assert.h>
35187 /* Override any GCC internal prototype to avoid an error.
35188 Use char because int might match the return type of a GCC
35189 builtin and then its argument prototype would still apply. */
35194 /* The GNU C library defines this for functions which it implements
35195 to always fail with ENOSYS. Some functions are actually named
35196 something starting with __ and the normal name is an alias. */
35197 #if defined __stub_$ac_func || defined __stub___$ac_func
35204 return $ac_func ();
35209 rm -f conftest.$ac_objext conftest$ac_exeext
35210 if { (ac_try="$ac_link"
35211 case "(($ac_try" in
35212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35213 *) ac_try_echo=$ac_try;;
35215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35216 (eval "$ac_link") 2>conftest.er1
35218 grep -v '^ *+' conftest.er1 >conftest.err
35220 cat conftest.err >&5
35221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35222 (exit $ac_status); } && {
35223 test -z "$ac_c_werror_flag" ||
35224 test ! -s conftest.err
35225 } && test -s conftest$ac_exeext &&
35226 $as_test_x conftest$ac_exeext; then
35227 eval "$as_ac_var=yes"
35229 echo "$as_me: failed program was:" >&5
35230 sed 's/^/| /' conftest.$ac_ext >&5
35232 eval "$as_ac_var=no"
35235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35236 conftest$ac_exeext conftest.$ac_ext
35238 ac_res=`eval echo '${'$as_ac_var'}'`
35239 { echo "$as_me:$LINENO: result: $ac_res" >&5
35240 echo "${ECHO_T}$ac_res" >&6; }
35241 if test `eval echo '${'$as_ac_var'}'` = yes; then
35242 cat >>confdefs.h <<_ACEOF
35243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35251 ac_cpp='$CXXCPP $CPPFLAGS'
35252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35256 if test "$ac_cv_func_vsnprintf" = "yes"; then
35257 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35258 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35259 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35260 echo $ECHO_N "(cached) $ECHO_C" >&6
35263 cat >conftest.$ac_ext <<_ACEOF
35266 cat confdefs.h >>conftest.$ac_ext
35267 cat >>conftest.$ac_ext <<_ACEOF
35268 /* end confdefs.h. */
35271 #include <stdarg.h>
35273 #if __MSL__ >= 0x6000
35275 using namespace std;
35285 vsnprintf(buf, 10u, "%s", ap);
35291 rm -f conftest.$ac_objext
35292 if { (ac_try="$ac_compile"
35293 case "(($ac_try" in
35294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35295 *) ac_try_echo=$ac_try;;
35297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35298 (eval "$ac_compile") 2>conftest.er1
35300 grep -v '^ *+' conftest.er1 >conftest.err
35302 cat conftest.err >&5
35303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304 (exit $ac_status); } && {
35305 test -z "$ac_cxx_werror_flag" ||
35306 test ! -s conftest.err
35307 } && test -s conftest.$ac_objext; then
35308 wx_cv_func_vsnprintf_decl=yes
35310 echo "$as_me: failed program was:" >&5
35311 sed 's/^/| /' conftest.$ac_ext >&5
35313 wx_cv_func_vsnprintf_decl=no
35317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35321 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35322 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35324 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35325 cat >>confdefs.h <<\_ACEOF
35326 #define HAVE_VSNPRINTF_DECL 1
35330 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35331 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35332 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35333 echo $ECHO_N "(cached) $ECHO_C" >&6
35336 cat >conftest.$ac_ext <<_ACEOF
35339 cat confdefs.h >>conftest.$ac_ext
35340 cat >>conftest.$ac_ext <<_ACEOF
35341 /* end confdefs.h. */
35344 #include <stdarg.h>
35346 #if __MSL__ >= 0x6000
35348 using namespace std;
35358 const char *fmt = "%s";
35359 vsnprintf(buf, 10u, fmt, ap);
35365 rm -f conftest.$ac_objext
35366 if { (ac_try="$ac_compile"
35367 case "(($ac_try" in
35368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35369 *) ac_try_echo=$ac_try;;
35371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35372 (eval "$ac_compile") 2>conftest.er1
35374 grep -v '^ *+' conftest.er1 >conftest.err
35376 cat conftest.err >&5
35377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35378 (exit $ac_status); } && {
35379 test -z "$ac_cxx_werror_flag" ||
35380 test ! -s conftest.err
35381 } && test -s conftest.$ac_objext; then
35382 wx_cv_func_broken_vsnprintf_decl=no
35384 echo "$as_me: failed program was:" >&5
35385 sed 's/^/| /' conftest.$ac_ext >&5
35387 wx_cv_func_broken_vsnprintf_decl=yes
35391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35395 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35396 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35398 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35399 cat >>confdefs.h <<\_ACEOF
35400 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35407 if test "$ac_cv_func_snprintf" = "yes"; then
35408 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35409 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35410 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35411 echo $ECHO_N "(cached) $ECHO_C" >&6
35414 cat >conftest.$ac_ext <<_ACEOF
35417 cat confdefs.h >>conftest.$ac_ext
35418 cat >>conftest.$ac_ext <<_ACEOF
35419 /* end confdefs.h. */
35422 #include <stdarg.h>
35424 #if __MSL__ >= 0x6000
35426 using namespace std;
35435 snprintf(buf, 10u, "%s", "wx");
35441 rm -f conftest.$ac_objext
35442 if { (ac_try="$ac_compile"
35443 case "(($ac_try" in
35444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35445 *) ac_try_echo=$ac_try;;
35447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35448 (eval "$ac_compile") 2>conftest.er1
35450 grep -v '^ *+' conftest.er1 >conftest.err
35452 cat conftest.err >&5
35453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35454 (exit $ac_status); } && {
35455 test -z "$ac_cxx_werror_flag" ||
35456 test ! -s conftest.err
35457 } && test -s conftest.$ac_objext; then
35458 wx_cv_func_snprintf_decl=yes
35460 echo "$as_me: failed program was:" >&5
35461 sed 's/^/| /' conftest.$ac_ext >&5
35463 wx_cv_func_snprintf_decl=no
35467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35471 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35472 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35474 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35475 cat >>confdefs.h <<\_ACEOF
35476 #define HAVE_SNPRINTF_DECL 1
35481 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35483 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35484 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35485 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35486 echo $ECHO_N "(cached) $ECHO_C" >&6
35489 if test "$cross_compiling" = yes; then
35491 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35492 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35493 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35494 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35495 wx_cv_func_snprintf_pos_params=no
35499 cat >conftest.$ac_ext <<_ACEOF
35502 cat confdefs.h >>conftest.$ac_ext
35503 cat >>conftest.$ac_ext <<_ACEOF
35504 /* end confdefs.h. */
35511 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35512 if (strcmp ("2 3 1", buffer) == 0)
35518 rm -f conftest$ac_exeext
35519 if { (ac_try="$ac_link"
35520 case "(($ac_try" in
35521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35522 *) ac_try_echo=$ac_try;;
35524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35525 (eval "$ac_link") 2>&5
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35529 { (case "(($ac_try" in
35530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35531 *) ac_try_echo=$ac_try;;
35533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35534 (eval "$ac_try") 2>&5
35536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35537 (exit $ac_status); }; }; then
35538 wx_cv_func_snprintf_pos_params=no
35540 echo "$as_me: program exited with status $ac_status" >&5
35541 echo "$as_me: failed program was:" >&5
35542 sed 's/^/| /' conftest.$ac_ext >&5
35544 ( exit $ac_status )
35545 wx_cv_func_snprintf_pos_params=yes
35547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35554 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35555 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35557 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35558 cat >>confdefs.h <<\_ACEOF
35559 #define HAVE_UNIX98_PRINTF 1
35566 if test "$ac_cv_func_vsscanf" = "yes"; then
35567 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35568 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35569 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35570 echo $ECHO_N "(cached) $ECHO_C" >&6
35573 cat >conftest.$ac_ext <<_ACEOF
35576 cat confdefs.h >>conftest.$ac_ext
35577 cat >>conftest.$ac_ext <<_ACEOF
35578 /* end confdefs.h. */
35581 #include <stdarg.h>
35583 #if __MSL__ >= 0x6000
35585 using namespace std;
35595 vsscanf(buf, "%s", args);
35601 rm -f conftest.$ac_objext
35602 if { (ac_try="$ac_compile"
35603 case "(($ac_try" in
35604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35605 *) ac_try_echo=$ac_try;;
35607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35608 (eval "$ac_compile") 2>conftest.er1
35610 grep -v '^ *+' conftest.er1 >conftest.err
35612 cat conftest.err >&5
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); } && {
35615 test -z "$ac_cxx_werror_flag" ||
35616 test ! -s conftest.err
35617 } && test -s conftest.$ac_objext; then
35618 wx_cv_func_vsscanf_decl=yes
35620 echo "$as_me: failed program was:" >&5
35621 sed 's/^/| /' conftest.$ac_ext >&5
35623 wx_cv_func_vsscanf_decl=no
35627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35631 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35632 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35634 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35635 cat >>confdefs.h <<\_ACEOF
35636 #define HAVE_VSSCANF_DECL 1
35642 ac_cpp='$CPP $CPPFLAGS'
35643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35648 if test "$wxUSE_UNICODE" = yes; then
35650 wchar_headers="#include <stdio.h>
35651 #include <wchar.h>"
35655 for ac_header in widec.h
35657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35658 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35660 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35661 echo $ECHO_N "(cached) $ECHO_C" >&6
35663 cat >conftest.$ac_ext <<_ACEOF
35666 cat confdefs.h >>conftest.$ac_ext
35667 cat >>conftest.$ac_ext <<_ACEOF
35668 /* end confdefs.h. */
35669 $ac_includes_default
35671 #include <$ac_header>
35673 rm -f conftest.$ac_objext
35674 if { (ac_try="$ac_compile"
35675 case "(($ac_try" in
35676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35677 *) ac_try_echo=$ac_try;;
35679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35680 (eval "$ac_compile") 2>conftest.er1
35682 grep -v '^ *+' conftest.er1 >conftest.err
35684 cat conftest.err >&5
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); } && {
35687 test -z "$ac_c_werror_flag" ||
35688 test ! -s conftest.err
35689 } && test -s conftest.$ac_objext; then
35690 eval "$as_ac_Header=yes"
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.$ac_ext >&5
35695 eval "$as_ac_Header=no"
35698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35700 ac_res=`eval echo '${'$as_ac_Header'}'`
35701 { echo "$as_me:$LINENO: result: $ac_res" >&5
35702 echo "${ECHO_T}$ac_res" >&6; }
35703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35704 cat >>confdefs.h <<_ACEOF
35705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35712 if test "$ac_cv_header_widec_h" = "yes"; then
35713 wchar_headers="$wchar_headers
35714 #include <widec.h>"
35719 for wx_func in putws fputws wprintf vswprintf vswscanf
35721 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35722 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35723 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35724 echo $ECHO_N "(cached) $ECHO_C" >&6
35727 cat >conftest.$ac_ext <<_ACEOF
35731 cat confdefs.h >>conftest.$ac_ext
35732 cat >>conftest.$ac_ext <<_ACEOF
35733 /* end confdefs.h. */
35736 $ac_includes_default
35752 rm -f conftest.$ac_objext conftest$ac_exeext
35753 if { (ac_try="$ac_link"
35754 case "(($ac_try" in
35755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35756 *) ac_try_echo=$ac_try;;
35758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35759 (eval "$ac_link") 2>conftest.er1
35761 grep -v '^ *+' conftest.er1 >conftest.err
35763 cat conftest.err >&5
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); } && {
35766 test -z "$ac_c_werror_flag" ||
35767 test ! -s conftest.err
35768 } && test -s conftest$ac_exeext &&
35769 $as_test_x conftest$ac_exeext; then
35770 eval wx_cv_func_$wx_func=yes
35772 echo "$as_me: failed program was:" >&5
35773 sed 's/^/| /' conftest.$ac_ext >&5
35775 eval wx_cv_func_$wx_func=no
35778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35779 conftest$ac_exeext conftest.$ac_ext
35782 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35783 { echo "$as_me:$LINENO: result: $ac_res" >&5
35784 echo "${ECHO_T}$ac_res" >&6; }
35786 if eval test \$wx_cv_func_$wx_func = yes
35788 cat >>confdefs.h <<_ACEOF
35789 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35800 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35801 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35802 cat >conftest.$ac_ext <<_ACEOF
35805 cat confdefs.h >>conftest.$ac_ext
35806 cat >>conftest.$ac_ext <<_ACEOF
35807 /* end confdefs.h. */
35817 rm -f conftest.$ac_objext
35818 if { (ac_try="$ac_compile"
35819 case "(($ac_try" in
35820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35821 *) ac_try_echo=$ac_try;;
35823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35824 (eval "$ac_compile") 2>conftest.er1
35826 grep -v '^ *+' conftest.er1 >conftest.err
35828 cat conftest.err >&5
35829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35830 (exit $ac_status); } && {
35831 test -z "$ac_c_werror_flag" ||
35832 test ! -s conftest.err
35833 } && test -s conftest.$ac_objext; then
35834 { echo "$as_me:$LINENO: result: yes" >&5
35835 echo "${ECHO_T}yes" >&6; }
35836 cat >>confdefs.h <<\_ACEOF
35837 #define HAVE__VSNWPRINTF 1
35841 echo "$as_me: failed program was:" >&5
35842 sed 's/^/| /' conftest.$ac_ext >&5
35844 { echo "$as_me:$LINENO: result: no" >&5
35845 echo "${ECHO_T}no" >&6; }
35848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35851 if test "$wxUSE_FILE" = "yes"; then
35853 for wx_func in fsync
35855 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35856 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35857 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35858 echo $ECHO_N "(cached) $ECHO_C" >&6
35861 cat >conftest.$ac_ext <<_ACEOF
35865 cat confdefs.h >>conftest.$ac_ext
35866 cat >>conftest.$ac_ext <<_ACEOF
35867 /* end confdefs.h. */
35870 $ac_includes_default
35886 rm -f conftest.$ac_objext conftest$ac_exeext
35887 if { (ac_try="$ac_link"
35888 case "(($ac_try" in
35889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35890 *) ac_try_echo=$ac_try;;
35892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35893 (eval "$ac_link") 2>conftest.er1
35895 grep -v '^ *+' conftest.er1 >conftest.err
35897 cat conftest.err >&5
35898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35899 (exit $ac_status); } && {
35900 test -z "$ac_c_werror_flag" ||
35901 test ! -s conftest.err
35902 } && test -s conftest$ac_exeext &&
35903 $as_test_x conftest$ac_exeext; then
35904 eval wx_cv_func_$wx_func=yes
35906 echo "$as_me: failed program was:" >&5
35907 sed 's/^/| /' conftest.$ac_ext >&5
35909 eval wx_cv_func_$wx_func=no
35912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35913 conftest$ac_exeext conftest.$ac_ext
35916 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35917 { echo "$as_me:$LINENO: result: $ac_res" >&5
35918 echo "${ECHO_T}$ac_res" >&6; }
35920 if eval test \$wx_cv_func_$wx_func = yes
35922 cat >>confdefs.h <<_ACEOF
35923 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35936 ac_cpp='$CXXCPP $CPPFLAGS'
35937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35942 for wx_func in round
35944 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35945 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35946 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35947 echo $ECHO_N "(cached) $ECHO_C" >&6
35950 cat >conftest.$ac_ext <<_ACEOF
35954 cat confdefs.h >>conftest.$ac_ext
35955 cat >>conftest.$ac_ext <<_ACEOF
35956 /* end confdefs.h. */
35959 $ac_includes_default
35975 rm -f conftest.$ac_objext conftest$ac_exeext
35976 if { (ac_try="$ac_link"
35977 case "(($ac_try" in
35978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35979 *) ac_try_echo=$ac_try;;
35981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35982 (eval "$ac_link") 2>conftest.er1
35984 grep -v '^ *+' conftest.er1 >conftest.err
35986 cat conftest.err >&5
35987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 (exit $ac_status); } && {
35989 test -z "$ac_cxx_werror_flag" ||
35990 test ! -s conftest.err
35991 } && test -s conftest$ac_exeext &&
35992 $as_test_x conftest$ac_exeext; then
35993 eval wx_cv_func_$wx_func=yes
35995 echo "$as_me: failed program was:" >&5
35996 sed 's/^/| /' conftest.$ac_ext >&5
35998 eval wx_cv_func_$wx_func=no
36001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36002 conftest$ac_exeext conftest.$ac_ext
36005 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36006 { echo "$as_me:$LINENO: result: $ac_res" >&5
36007 echo "${ECHO_T}$ac_res" >&6; }
36009 if eval test \$wx_cv_func_$wx_func = yes
36011 cat >>confdefs.h <<_ACEOF
36012 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36023 ac_cpp='$CPP $CPPFLAGS'
36024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36029 if test "$TOOLKIT" != "MSW"; then
36031 if test "$wxUSE_LIBICONV" != "no" ; then
36035 # Check whether --with-libiconv-prefix was given.
36036 if test "${with_libiconv_prefix+set}" = set; then
36037 withval=$with_libiconv_prefix;
36038 for dir in `echo "$withval" | tr : ' '`; do
36039 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36040 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36046 { echo "$as_me:$LINENO: checking for iconv" >&5
36047 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36048 if test "${am_cv_func_iconv+set}" = set; then
36049 echo $ECHO_N "(cached) $ECHO_C" >&6
36052 am_cv_func_iconv="no, consider installing GNU libiconv"
36054 cat >conftest.$ac_ext <<_ACEOF
36057 cat confdefs.h >>conftest.$ac_ext
36058 cat >>conftest.$ac_ext <<_ACEOF
36059 /* end confdefs.h. */
36060 #include <stdlib.h>
36065 iconv_t cd = iconv_open("","");
36066 iconv(cd,NULL,NULL,NULL,NULL);
36072 rm -f conftest.$ac_objext conftest$ac_exeext
36073 if { (ac_try="$ac_link"
36074 case "(($ac_try" in
36075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36076 *) ac_try_echo=$ac_try;;
36078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36079 (eval "$ac_link") 2>conftest.er1
36081 grep -v '^ *+' conftest.er1 >conftest.err
36083 cat conftest.err >&5
36084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36085 (exit $ac_status); } && {
36086 test -z "$ac_c_werror_flag" ||
36087 test ! -s conftest.err
36088 } && test -s conftest$ac_exeext &&
36089 $as_test_x conftest$ac_exeext; then
36090 am_cv_func_iconv=yes
36092 echo "$as_me: failed program was:" >&5
36093 sed 's/^/| /' conftest.$ac_ext >&5
36098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36099 conftest$ac_exeext conftest.$ac_ext
36100 if test "$am_cv_func_iconv" != yes; then
36101 am_save_LIBS="$LIBS"
36102 LIBS="$LIBS -liconv"
36103 cat >conftest.$ac_ext <<_ACEOF
36106 cat confdefs.h >>conftest.$ac_ext
36107 cat >>conftest.$ac_ext <<_ACEOF
36108 /* end confdefs.h. */
36109 #include <stdlib.h>
36114 iconv_t cd = iconv_open("","");
36115 iconv(cd,NULL,NULL,NULL,NULL);
36121 rm -f conftest.$ac_objext conftest$ac_exeext
36122 if { (ac_try="$ac_link"
36123 case "(($ac_try" in
36124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36125 *) ac_try_echo=$ac_try;;
36127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36128 (eval "$ac_link") 2>conftest.er1
36130 grep -v '^ *+' conftest.er1 >conftest.err
36132 cat conftest.err >&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); } && {
36135 test -z "$ac_c_werror_flag" ||
36136 test ! -s conftest.err
36137 } && test -s conftest$ac_exeext &&
36138 $as_test_x conftest$ac_exeext; then
36139 am_cv_lib_iconv=yes
36140 am_cv_func_iconv=yes
36142 echo "$as_me: failed program was:" >&5
36143 sed 's/^/| /' conftest.$ac_ext >&5
36148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36149 conftest$ac_exeext conftest.$ac_ext
36150 LIBS="$am_save_LIBS"
36154 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36155 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36156 if test "$am_cv_func_iconv" = yes; then
36158 cat >>confdefs.h <<\_ACEOF
36159 #define HAVE_ICONV 1
36162 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36163 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36164 if test "${wx_cv_func_iconv_const+set}" = set; then
36165 echo $ECHO_N "(cached) $ECHO_C" >&6
36167 cat >conftest.$ac_ext <<_ACEOF
36170 cat confdefs.h >>conftest.$ac_ext
36171 cat >>conftest.$ac_ext <<_ACEOF
36172 /* end confdefs.h. */
36174 #include <stdlib.h>
36180 #if defined(__STDC__) || defined(__cplusplus)
36181 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36194 rm -f conftest.$ac_objext
36195 if { (ac_try="$ac_compile"
36196 case "(($ac_try" in
36197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36198 *) ac_try_echo=$ac_try;;
36200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36201 (eval "$ac_compile") 2>conftest.er1
36203 grep -v '^ *+' conftest.er1 >conftest.err
36205 cat conftest.err >&5
36206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36207 (exit $ac_status); } && {
36208 test -z "$ac_c_werror_flag" ||
36209 test ! -s conftest.err
36210 } && test -s conftest.$ac_objext; then
36211 wx_cv_func_iconv_const="no"
36213 echo "$as_me: failed program was:" >&5
36214 sed 's/^/| /' conftest.$ac_ext >&5
36216 wx_cv_func_iconv_const="yes"
36220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36223 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36224 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36227 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36228 iconv_const="const"
36232 cat >>confdefs.h <<_ACEOF
36233 #define ICONV_CONST $iconv_const
36238 if test "$am_cv_lib_iconv" = yes; then
36243 LIBS="$LIBICONV $LIBS"
36246 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36248 for ac_func in sigaction
36250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36251 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36253 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36254 echo $ECHO_N "(cached) $ECHO_C" >&6
36256 cat >conftest.$ac_ext <<_ACEOF
36259 cat confdefs.h >>conftest.$ac_ext
36260 cat >>conftest.$ac_ext <<_ACEOF
36261 /* end confdefs.h. */
36262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36264 #define $ac_func innocuous_$ac_func
36266 /* System header to define __stub macros and hopefully few prototypes,
36267 which can conflict with char $ac_func (); below.
36268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36269 <limits.h> exists even on freestanding compilers. */
36272 # include <limits.h>
36274 # include <assert.h>
36279 /* Override any GCC internal prototype to avoid an error.
36280 Use char because int might match the return type of a GCC
36281 builtin and then its argument prototype would still apply. */
36286 /* The GNU C library defines this for functions which it implements
36287 to always fail with ENOSYS. Some functions are actually named
36288 something starting with __ and the normal name is an alias. */
36289 #if defined __stub_$ac_func || defined __stub___$ac_func
36296 return $ac_func ();
36301 rm -f conftest.$ac_objext conftest$ac_exeext
36302 if { (ac_try="$ac_link"
36303 case "(($ac_try" in
36304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36305 *) ac_try_echo=$ac_try;;
36307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36308 (eval "$ac_link") 2>conftest.er1
36310 grep -v '^ *+' conftest.er1 >conftest.err
36312 cat conftest.err >&5
36313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36314 (exit $ac_status); } && {
36315 test -z "$ac_c_werror_flag" ||
36316 test ! -s conftest.err
36317 } && test -s conftest$ac_exeext &&
36318 $as_test_x conftest$ac_exeext; then
36319 eval "$as_ac_var=yes"
36321 echo "$as_me: failed program was:" >&5
36322 sed 's/^/| /' conftest.$ac_ext >&5
36324 eval "$as_ac_var=no"
36327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36328 conftest$ac_exeext conftest.$ac_ext
36330 ac_res=`eval echo '${'$as_ac_var'}'`
36331 { echo "$as_me:$LINENO: result: $ac_res" >&5
36332 echo "${ECHO_T}$ac_res" >&6; }
36333 if test `eval echo '${'$as_ac_var'}'` = yes; then
36334 cat >>confdefs.h <<_ACEOF
36335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36342 if test "$ac_cv_func_sigaction" = "no"; then
36343 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36344 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36345 wxUSE_ON_FATAL_EXCEPTION=no
36348 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36349 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36350 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36351 if test "${wx_cv_type_sa_handler+set}" = set; then
36352 echo $ECHO_N "(cached) $ECHO_C" >&6
36356 ac_cpp='$CXXCPP $CPPFLAGS'
36357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36361 cat >conftest.$ac_ext <<_ACEOF
36364 cat confdefs.h >>conftest.$ac_ext
36365 cat >>conftest.$ac_ext <<_ACEOF
36366 /* end confdefs.h. */
36367 #include <signal.h>
36372 extern void testSigHandler(int);
36374 struct sigaction sa;
36375 sa.sa_handler = testSigHandler;
36381 rm -f conftest.$ac_objext
36382 if { (ac_try="$ac_compile"
36383 case "(($ac_try" in
36384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36385 *) ac_try_echo=$ac_try;;
36387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36388 (eval "$ac_compile") 2>conftest.er1
36390 grep -v '^ *+' conftest.er1 >conftest.err
36392 cat conftest.err >&5
36393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394 (exit $ac_status); } && {
36395 test -z "$ac_cxx_werror_flag" ||
36396 test ! -s conftest.err
36397 } && test -s conftest.$ac_objext; then
36399 wx_cv_type_sa_handler=int
36402 echo "$as_me: failed program was:" >&5
36403 sed 's/^/| /' conftest.$ac_ext >&5
36406 wx_cv_type_sa_handler=void
36410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36412 ac_cpp='$CPP $CPPFLAGS'
36413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36419 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36420 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36422 cat >>confdefs.h <<_ACEOF
36423 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36429 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36430 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36431 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36432 if test "${wx_cv_func_backtrace+set}" = set; then
36433 echo $ECHO_N "(cached) $ECHO_C" >&6
36437 ac_cpp='$CXXCPP $CPPFLAGS'
36438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36442 cat >conftest.$ac_ext <<_ACEOF
36445 cat confdefs.h >>conftest.$ac_ext
36446 cat >>conftest.$ac_ext <<_ACEOF
36447 /* end confdefs.h. */
36448 #include <execinfo.h>
36456 backtrace(trace, 1);
36457 messages = backtrace_symbols(trace, 1);
36463 rm -f conftest.$ac_objext
36464 if { (ac_try="$ac_compile"
36465 case "(($ac_try" in
36466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36467 *) ac_try_echo=$ac_try;;
36469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36470 (eval "$ac_compile") 2>conftest.er1
36472 grep -v '^ *+' conftest.er1 >conftest.err
36474 cat conftest.err >&5
36475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36476 (exit $ac_status); } && {
36477 test -z "$ac_cxx_werror_flag" ||
36478 test ! -s conftest.err
36479 } && test -s conftest.$ac_objext; then
36480 wx_cv_func_backtrace=yes
36482 echo "$as_me: failed program was:" >&5
36483 sed 's/^/| /' conftest.$ac_ext >&5
36485 wx_cv_func_backtrace=no
36489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36491 ac_cpp='$CPP $CPPFLAGS'
36492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36499 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36500 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36503 if test "$wx_cv_func_backtrace" = "no"; then
36504 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36505 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36506 wxUSE_STACKWALKER=no
36508 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36509 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36510 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36511 echo $ECHO_N "(cached) $ECHO_C" >&6
36515 ac_cpp='$CXXCPP $CPPFLAGS'
36516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36520 cat >conftest.$ac_ext <<_ACEOF
36523 cat confdefs.h >>conftest.$ac_ext
36524 cat >>conftest.$ac_ext <<_ACEOF
36525 /* end confdefs.h. */
36526 #include <cxxabi.h>
36532 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36538 rm -f conftest.$ac_objext conftest$ac_exeext
36539 if { (ac_try="$ac_link"
36540 case "(($ac_try" in
36541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36542 *) ac_try_echo=$ac_try;;
36544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36545 (eval "$ac_link") 2>conftest.er1
36547 grep -v '^ *+' conftest.er1 >conftest.err
36549 cat conftest.err >&5
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); } && {
36552 test -z "$ac_cxx_werror_flag" ||
36553 test ! -s conftest.err
36554 } && test -s conftest$ac_exeext &&
36555 $as_test_x conftest$ac_exeext; then
36556 wx_cv_func_cxa_demangle=yes
36558 echo "$as_me: failed program was:" >&5
36559 sed 's/^/| /' conftest.$ac_ext >&5
36561 wx_cv_func_cxa_demangle=no
36565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36566 conftest$ac_exeext conftest.$ac_ext
36568 ac_cpp='$CPP $CPPFLAGS'
36569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36576 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36577 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36579 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36580 cat >>confdefs.h <<\_ACEOF
36581 #define HAVE_CXA_DEMANGLE 1
36588 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36589 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36590 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36591 wxUSE_STACKWALKER=no
36597 for ac_func in mkstemp mktemp
36599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36600 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36602 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36603 echo $ECHO_N "(cached) $ECHO_C" >&6
36605 cat >conftest.$ac_ext <<_ACEOF
36608 cat confdefs.h >>conftest.$ac_ext
36609 cat >>conftest.$ac_ext <<_ACEOF
36610 /* end confdefs.h. */
36611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36613 #define $ac_func innocuous_$ac_func
36615 /* System header to define __stub macros and hopefully few prototypes,
36616 which can conflict with char $ac_func (); below.
36617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36618 <limits.h> exists even on freestanding compilers. */
36621 # include <limits.h>
36623 # include <assert.h>
36628 /* Override any GCC internal prototype to avoid an error.
36629 Use char because int might match the return type of a GCC
36630 builtin and then its argument prototype would still apply. */
36635 /* The GNU C library defines this for functions which it implements
36636 to always fail with ENOSYS. Some functions are actually named
36637 something starting with __ and the normal name is an alias. */
36638 #if defined __stub_$ac_func || defined __stub___$ac_func
36645 return $ac_func ();
36650 rm -f conftest.$ac_objext conftest$ac_exeext
36651 if { (ac_try="$ac_link"
36652 case "(($ac_try" in
36653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36654 *) ac_try_echo=$ac_try;;
36656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36657 (eval "$ac_link") 2>conftest.er1
36659 grep -v '^ *+' conftest.er1 >conftest.err
36661 cat conftest.err >&5
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); } && {
36664 test -z "$ac_c_werror_flag" ||
36665 test ! -s conftest.err
36666 } && test -s conftest$ac_exeext &&
36667 $as_test_x conftest$ac_exeext; then
36668 eval "$as_ac_var=yes"
36670 echo "$as_me: failed program was:" >&5
36671 sed 's/^/| /' conftest.$ac_ext >&5
36673 eval "$as_ac_var=no"
36676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36677 conftest$ac_exeext conftest.$ac_ext
36679 ac_res=`eval echo '${'$as_ac_var'}'`
36680 { echo "$as_me:$LINENO: result: $ac_res" >&5
36681 echo "${ECHO_T}$ac_res" >&6; }
36682 if test `eval echo '${'$as_ac_var'}'` = yes; then
36683 cat >>confdefs.h <<_ACEOF
36684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36691 { echo "$as_me:$LINENO: checking for statfs" >&5
36692 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36693 if test "${wx_cv_func_statfs+set}" = set; then
36694 echo $ECHO_N "(cached) $ECHO_C" >&6
36696 cat >conftest.$ac_ext <<_ACEOF
36699 cat confdefs.h >>conftest.$ac_ext
36700 cat >>conftest.$ac_ext <<_ACEOF
36701 /* end confdefs.h. */
36703 #if defined(__BSD__)
36704 #include <sys/param.h>
36705 #include <sys/mount.h>
36707 #include <sys/vfs.h>
36725 rm -f conftest.$ac_objext
36726 if { (ac_try="$ac_compile"
36727 case "(($ac_try" in
36728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36729 *) ac_try_echo=$ac_try;;
36731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36732 (eval "$ac_compile") 2>conftest.er1
36734 grep -v '^ *+' conftest.er1 >conftest.err
36736 cat conftest.err >&5
36737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36738 (exit $ac_status); } && {
36739 test -z "$ac_c_werror_flag" ||
36740 test ! -s conftest.err
36741 } && test -s conftest.$ac_objext; then
36742 wx_cv_func_statfs=yes
36744 echo "$as_me: failed program was:" >&5
36745 sed 's/^/| /' conftest.$ac_ext >&5
36747 wx_cv_func_statfs=no
36751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36754 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36755 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36757 if test "$wx_cv_func_statfs" = "yes"; then
36758 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36759 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36760 if test "${wx_cv_func_statfs_decl+set}" = set; then
36761 echo $ECHO_N "(cached) $ECHO_C" >&6
36764 ac_cpp='$CXXCPP $CPPFLAGS'
36765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36769 cat >conftest.$ac_ext <<_ACEOF
36772 cat confdefs.h >>conftest.$ac_ext
36773 cat >>conftest.$ac_ext <<_ACEOF
36774 /* end confdefs.h. */
36776 #if defined(__BSD__)
36777 #include <sys/param.h>
36778 #include <sys/mount.h>
36780 #include <sys/vfs.h>
36794 rm -f conftest.$ac_objext
36795 if { (ac_try="$ac_compile"
36796 case "(($ac_try" in
36797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36798 *) ac_try_echo=$ac_try;;
36800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36801 (eval "$ac_compile") 2>conftest.er1
36803 grep -v '^ *+' conftest.er1 >conftest.err
36805 cat conftest.err >&5
36806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36807 (exit $ac_status); } && {
36808 test -z "$ac_cxx_werror_flag" ||
36809 test ! -s conftest.err
36810 } && test -s conftest.$ac_objext; then
36811 wx_cv_func_statfs_decl=yes
36813 echo "$as_me: failed program was:" >&5
36814 sed 's/^/| /' conftest.$ac_ext >&5
36816 wx_cv_func_statfs_decl=no
36820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36822 ac_cpp='$CPP $CPPFLAGS'
36823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36829 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36830 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36832 if test "$wx_cv_func_statfs_decl" = "yes"; then
36833 cat >>confdefs.h <<\_ACEOF
36834 #define HAVE_STATFS_DECL 1
36839 wx_cv_type_statvfs_t="struct statfs"
36840 cat >>confdefs.h <<\_ACEOF
36841 #define HAVE_STATFS 1
36845 { echo "$as_me:$LINENO: checking for statvfs" >&5
36846 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36847 if test "${wx_cv_func_statvfs+set}" = set; then
36848 echo $ECHO_N "(cached) $ECHO_C" >&6
36850 cat >conftest.$ac_ext <<_ACEOF
36853 cat confdefs.h >>conftest.$ac_ext
36854 cat >>conftest.$ac_ext <<_ACEOF
36855 /* end confdefs.h. */
36857 #include <stddef.h>
36858 #include <sys/statvfs.h>
36864 statvfs("/", NULL);
36870 rm -f conftest.$ac_objext
36871 if { (ac_try="$ac_compile"
36872 case "(($ac_try" in
36873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36874 *) ac_try_echo=$ac_try;;
36876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36877 (eval "$ac_compile") 2>conftest.er1
36879 grep -v '^ *+' conftest.er1 >conftest.err
36881 cat conftest.err >&5
36882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36883 (exit $ac_status); } && {
36884 test -z "$ac_c_werror_flag" ||
36885 test ! -s conftest.err
36886 } && test -s conftest.$ac_objext; then
36887 wx_cv_func_statvfs=yes
36889 echo "$as_me: failed program was:" >&5
36890 sed 's/^/| /' conftest.$ac_ext >&5
36892 wx_cv_func_statvfs=no
36896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36899 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36900 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36902 if test "$wx_cv_func_statvfs" = "yes"; then
36903 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36904 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36905 if test "${wx_cv_type_statvfs_t+set}" = set; then
36906 echo $ECHO_N "(cached) $ECHO_C" >&6
36909 ac_cpp='$CXXCPP $CPPFLAGS'
36910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36914 cat >conftest.$ac_ext <<_ACEOF
36917 cat confdefs.h >>conftest.$ac_ext
36918 cat >>conftest.$ac_ext <<_ACEOF
36919 /* end confdefs.h. */
36921 #include <sys/statvfs.h>
36938 rm -f conftest.$ac_objext
36939 if { (ac_try="$ac_compile"
36940 case "(($ac_try" in
36941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36942 *) ac_try_echo=$ac_try;;
36944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36945 (eval "$ac_compile") 2>conftest.er1
36947 grep -v '^ *+' conftest.er1 >conftest.err
36949 cat conftest.err >&5
36950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36951 (exit $ac_status); } && {
36952 test -z "$ac_cxx_werror_flag" ||
36953 test ! -s conftest.err
36954 } && test -s conftest.$ac_objext; then
36955 wx_cv_type_statvfs_t=statvfs_t
36957 echo "$as_me: failed program was:" >&5
36958 sed 's/^/| /' conftest.$ac_ext >&5
36961 cat >conftest.$ac_ext <<_ACEOF
36964 cat confdefs.h >>conftest.$ac_ext
36965 cat >>conftest.$ac_ext <<_ACEOF
36966 /* end confdefs.h. */
36968 #include <sys/statvfs.h>
36985 rm -f conftest.$ac_objext
36986 if { (ac_try="$ac_compile"
36987 case "(($ac_try" in
36988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36989 *) ac_try_echo=$ac_try;;
36991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36992 (eval "$ac_compile") 2>conftest.er1
36994 grep -v '^ *+' conftest.er1 >conftest.err
36996 cat conftest.err >&5
36997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36998 (exit $ac_status); } && {
36999 test -z "$ac_cxx_werror_flag" ||
37000 test ! -s conftest.err
37001 } && test -s conftest.$ac_objext; then
37002 wx_cv_type_statvfs_t="struct statvfs"
37004 echo "$as_me: failed program was:" >&5
37005 sed 's/^/| /' conftest.$ac_ext >&5
37007 wx_cv_type_statvfs_t="unknown"
37011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37018 ac_cpp='$CPP $CPPFLAGS'
37019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37025 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37026 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37028 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37029 cat >>confdefs.h <<\_ACEOF
37030 #define HAVE_STATVFS 1
37035 wx_cv_type_statvfs_t="unknown"
37039 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37040 cat >>confdefs.h <<_ACEOF
37041 #define WX_STATFS_T $wx_cv_type_statvfs_t
37045 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37046 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37049 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37052 for ac_func in fcntl flock
37054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37055 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37057 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37058 echo $ECHO_N "(cached) $ECHO_C" >&6
37060 cat >conftest.$ac_ext <<_ACEOF
37063 cat confdefs.h >>conftest.$ac_ext
37064 cat >>conftest.$ac_ext <<_ACEOF
37065 /* end confdefs.h. */
37066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37068 #define $ac_func innocuous_$ac_func
37070 /* System header to define __stub macros and hopefully few prototypes,
37071 which can conflict with char $ac_func (); below.
37072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37073 <limits.h> exists even on freestanding compilers. */
37076 # include <limits.h>
37078 # include <assert.h>
37083 /* Override any GCC internal prototype to avoid an error.
37084 Use char because int might match the return type of a GCC
37085 builtin and then its argument prototype would still apply. */
37090 /* The GNU C library defines this for functions which it implements
37091 to always fail with ENOSYS. Some functions are actually named
37092 something starting with __ and the normal name is an alias. */
37093 #if defined __stub_$ac_func || defined __stub___$ac_func
37100 return $ac_func ();
37105 rm -f conftest.$ac_objext conftest$ac_exeext
37106 if { (ac_try="$ac_link"
37107 case "(($ac_try" in
37108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37109 *) ac_try_echo=$ac_try;;
37111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37112 (eval "$ac_link") 2>conftest.er1
37114 grep -v '^ *+' conftest.er1 >conftest.err
37116 cat conftest.err >&5
37117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37118 (exit $ac_status); } && {
37119 test -z "$ac_c_werror_flag" ||
37120 test ! -s conftest.err
37121 } && test -s conftest$ac_exeext &&
37122 $as_test_x conftest$ac_exeext; then
37123 eval "$as_ac_var=yes"
37125 echo "$as_me: failed program was:" >&5
37126 sed 's/^/| /' conftest.$ac_ext >&5
37128 eval "$as_ac_var=no"
37131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37132 conftest$ac_exeext conftest.$ac_ext
37134 ac_res=`eval echo '${'$as_ac_var'}'`
37135 { echo "$as_me:$LINENO: result: $ac_res" >&5
37136 echo "${ECHO_T}$ac_res" >&6; }
37137 if test `eval echo '${'$as_ac_var'}'` = yes; then
37138 cat >>confdefs.h <<_ACEOF
37139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37146 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37147 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37148 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37149 wxUSE_SNGLINST_CHECKER=no
37155 for ac_func in setenv putenv
37157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37158 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37160 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37161 echo $ECHO_N "(cached) $ECHO_C" >&6
37163 cat >conftest.$ac_ext <<_ACEOF
37166 cat confdefs.h >>conftest.$ac_ext
37167 cat >>conftest.$ac_ext <<_ACEOF
37168 /* end confdefs.h. */
37169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37171 #define $ac_func innocuous_$ac_func
37173 /* System header to define __stub macros and hopefully few prototypes,
37174 which can conflict with char $ac_func (); below.
37175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37176 <limits.h> exists even on freestanding compilers. */
37179 # include <limits.h>
37181 # include <assert.h>
37186 /* Override any GCC internal prototype to avoid an error.
37187 Use char because int might match the return type of a GCC
37188 builtin and then its argument prototype would still apply. */
37193 /* The GNU C library defines this for functions which it implements
37194 to always fail with ENOSYS. Some functions are actually named
37195 something starting with __ and the normal name is an alias. */
37196 #if defined __stub_$ac_func || defined __stub___$ac_func
37203 return $ac_func ();
37208 rm -f conftest.$ac_objext conftest$ac_exeext
37209 if { (ac_try="$ac_link"
37210 case "(($ac_try" in
37211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37212 *) ac_try_echo=$ac_try;;
37214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37215 (eval "$ac_link") 2>conftest.er1
37217 grep -v '^ *+' conftest.er1 >conftest.err
37219 cat conftest.err >&5
37220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37221 (exit $ac_status); } && {
37222 test -z "$ac_c_werror_flag" ||
37223 test ! -s conftest.err
37224 } && test -s conftest$ac_exeext &&
37225 $as_test_x conftest$ac_exeext; then
37226 eval "$as_ac_var=yes"
37228 echo "$as_me: failed program was:" >&5
37229 sed 's/^/| /' conftest.$ac_ext >&5
37231 eval "$as_ac_var=no"
37234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37235 conftest$ac_exeext conftest.$ac_ext
37237 ac_res=`eval echo '${'$as_ac_var'}'`
37238 { echo "$as_me:$LINENO: result: $ac_res" >&5
37239 echo "${ECHO_T}$ac_res" >&6; }
37240 if test `eval echo '${'$as_ac_var'}'` = yes; then
37241 cat >>confdefs.h <<_ACEOF
37242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37248 if test "$ac_cv_func_setenv" = "yes"; then
37250 for ac_func in unsetenv
37252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37253 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37256 echo $ECHO_N "(cached) $ECHO_C" >&6
37258 cat >conftest.$ac_ext <<_ACEOF
37261 cat confdefs.h >>conftest.$ac_ext
37262 cat >>conftest.$ac_ext <<_ACEOF
37263 /* end confdefs.h. */
37264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37266 #define $ac_func innocuous_$ac_func
37268 /* System header to define __stub macros and hopefully few prototypes,
37269 which can conflict with char $ac_func (); below.
37270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37271 <limits.h> exists even on freestanding compilers. */
37274 # include <limits.h>
37276 # include <assert.h>
37281 /* Override any GCC internal prototype to avoid an error.
37282 Use char because int might match the return type of a GCC
37283 builtin and then its argument prototype would still apply. */
37288 /* The GNU C library defines this for functions which it implements
37289 to always fail with ENOSYS. Some functions are actually named
37290 something starting with __ and the normal name is an alias. */
37291 #if defined __stub_$ac_func || defined __stub___$ac_func
37298 return $ac_func ();
37303 rm -f conftest.$ac_objext conftest$ac_exeext
37304 if { (ac_try="$ac_link"
37305 case "(($ac_try" in
37306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37307 *) ac_try_echo=$ac_try;;
37309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37310 (eval "$ac_link") 2>conftest.er1
37312 grep -v '^ *+' conftest.er1 >conftest.err
37314 cat conftest.err >&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); } && {
37317 test -z "$ac_c_werror_flag" ||
37318 test ! -s conftest.err
37319 } && test -s conftest$ac_exeext &&
37320 $as_test_x conftest$ac_exeext; then
37321 eval "$as_ac_var=yes"
37323 echo "$as_me: failed program was:" >&5
37324 sed 's/^/| /' conftest.$ac_ext >&5
37326 eval "$as_ac_var=no"
37329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37330 conftest$ac_exeext conftest.$ac_ext
37332 ac_res=`eval echo '${'$as_ac_var'}'`
37333 { echo "$as_me:$LINENO: result: $ac_res" >&5
37334 echo "${ECHO_T}$ac_res" >&6; }
37335 if test `eval echo '${'$as_ac_var'}'` = yes; then
37336 cat >>confdefs.h <<_ACEOF
37337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37345 HAVE_SOME_SLEEP_FUNC=0
37346 if test "$USE_BEOS" = 1; then
37347 cat >>confdefs.h <<\_ACEOF
37348 #define HAVE_SLEEP 1
37351 HAVE_SOME_SLEEP_FUNC=1
37354 if test "$USE_DARWIN" = 1; then
37355 cat >>confdefs.h <<\_ACEOF
37356 #define HAVE_USLEEP 1
37359 HAVE_SOME_SLEEP_FUNC=1
37362 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37365 for ac_func in nanosleep
37367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37368 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37370 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37371 echo $ECHO_N "(cached) $ECHO_C" >&6
37373 cat >conftest.$ac_ext <<_ACEOF
37376 cat confdefs.h >>conftest.$ac_ext
37377 cat >>conftest.$ac_ext <<_ACEOF
37378 /* end confdefs.h. */
37379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37381 #define $ac_func innocuous_$ac_func
37383 /* System header to define __stub macros and hopefully few prototypes,
37384 which can conflict with char $ac_func (); below.
37385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37386 <limits.h> exists even on freestanding compilers. */
37389 # include <limits.h>
37391 # include <assert.h>
37396 /* Override any GCC internal prototype to avoid an error.
37397 Use char because int might match the return type of a GCC
37398 builtin and then its argument prototype would still apply. */
37403 /* The GNU C library defines this for functions which it implements
37404 to always fail with ENOSYS. Some functions are actually named
37405 something starting with __ and the normal name is an alias. */
37406 #if defined __stub_$ac_func || defined __stub___$ac_func
37413 return $ac_func ();
37418 rm -f conftest.$ac_objext conftest$ac_exeext
37419 if { (ac_try="$ac_link"
37420 case "(($ac_try" in
37421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37422 *) ac_try_echo=$ac_try;;
37424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37425 (eval "$ac_link") 2>conftest.er1
37427 grep -v '^ *+' conftest.er1 >conftest.err
37429 cat conftest.err >&5
37430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37431 (exit $ac_status); } && {
37432 test -z "$ac_c_werror_flag" ||
37433 test ! -s conftest.err
37434 } && test -s conftest$ac_exeext &&
37435 $as_test_x conftest$ac_exeext; then
37436 eval "$as_ac_var=yes"
37438 echo "$as_me: failed program was:" >&5
37439 sed 's/^/| /' conftest.$ac_ext >&5
37441 eval "$as_ac_var=no"
37444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37445 conftest$ac_exeext conftest.$ac_ext
37447 ac_res=`eval echo '${'$as_ac_var'}'`
37448 { echo "$as_me:$LINENO: result: $ac_res" >&5
37449 echo "${ECHO_T}$ac_res" >&6; }
37450 if test `eval echo '${'$as_ac_var'}'` = yes; then
37451 cat >>confdefs.h <<_ACEOF
37452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37454 cat >>confdefs.h <<\_ACEOF
37455 #define HAVE_NANOSLEEP 1
37460 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37461 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37462 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37463 echo $ECHO_N "(cached) $ECHO_C" >&6
37465 ac_check_lib_save_LIBS=$LIBS
37466 LIBS="-lposix4 $LIBS"
37467 cat >conftest.$ac_ext <<_ACEOF
37470 cat confdefs.h >>conftest.$ac_ext
37471 cat >>conftest.$ac_ext <<_ACEOF
37472 /* end confdefs.h. */
37474 /* Override any GCC internal prototype to avoid an error.
37475 Use char because int might match the return type of a GCC
37476 builtin and then its argument prototype would still apply. */
37484 return nanosleep ();
37489 rm -f conftest.$ac_objext conftest$ac_exeext
37490 if { (ac_try="$ac_link"
37491 case "(($ac_try" in
37492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37493 *) ac_try_echo=$ac_try;;
37495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37496 (eval "$ac_link") 2>conftest.er1
37498 grep -v '^ *+' conftest.er1 >conftest.err
37500 cat conftest.err >&5
37501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37502 (exit $ac_status); } && {
37503 test -z "$ac_c_werror_flag" ||
37504 test ! -s conftest.err
37505 } && test -s conftest$ac_exeext &&
37506 $as_test_x conftest$ac_exeext; then
37507 ac_cv_lib_posix4_nanosleep=yes
37509 echo "$as_me: failed program was:" >&5
37510 sed 's/^/| /' conftest.$ac_ext >&5
37512 ac_cv_lib_posix4_nanosleep=no
37515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37516 conftest$ac_exeext conftest.$ac_ext
37517 LIBS=$ac_check_lib_save_LIBS
37519 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37520 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37521 if test $ac_cv_lib_posix4_nanosleep = yes; then
37523 cat >>confdefs.h <<\_ACEOF
37524 #define HAVE_NANOSLEEP 1
37527 POSIX4_LINK=" -lposix4"
37532 for wx_func in usleep
37534 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37535 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37536 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37537 echo $ECHO_N "(cached) $ECHO_C" >&6
37540 cat >conftest.$ac_ext <<_ACEOF
37544 cat confdefs.h >>conftest.$ac_ext
37545 cat >>conftest.$ac_ext <<_ACEOF
37546 /* end confdefs.h. */
37549 $ac_includes_default
37565 rm -f conftest.$ac_objext conftest$ac_exeext
37566 if { (ac_try="$ac_link"
37567 case "(($ac_try" in
37568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37569 *) ac_try_echo=$ac_try;;
37571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37572 (eval "$ac_link") 2>conftest.er1
37574 grep -v '^ *+' conftest.er1 >conftest.err
37576 cat conftest.err >&5
37577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37578 (exit $ac_status); } && {
37579 test -z "$ac_c_werror_flag" ||
37580 test ! -s conftest.err
37581 } && test -s conftest$ac_exeext &&
37582 $as_test_x conftest$ac_exeext; then
37583 eval wx_cv_func_$wx_func=yes
37585 echo "$as_me: failed program was:" >&5
37586 sed 's/^/| /' conftest.$ac_ext >&5
37588 eval wx_cv_func_$wx_func=no
37591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37592 conftest$ac_exeext conftest.$ac_ext
37595 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37596 { echo "$as_me:$LINENO: result: $ac_res" >&5
37597 echo "${ECHO_T}$ac_res" >&6; }
37599 if eval test \$wx_cv_func_$wx_func = yes
37601 cat >>confdefs.h <<_ACEOF
37602 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37608 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37609 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37626 for wx_func in uname
37628 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37629 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37630 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37631 echo $ECHO_N "(cached) $ECHO_C" >&6
37634 cat >conftest.$ac_ext <<_ACEOF
37638 cat confdefs.h >>conftest.$ac_ext
37639 cat >>conftest.$ac_ext <<_ACEOF
37640 /* end confdefs.h. */
37642 #include <sys/utsname.h>
37643 $ac_includes_default
37659 rm -f conftest.$ac_objext conftest$ac_exeext
37660 if { (ac_try="$ac_link"
37661 case "(($ac_try" in
37662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37663 *) ac_try_echo=$ac_try;;
37665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37666 (eval "$ac_link") 2>conftest.er1
37668 grep -v '^ *+' conftest.er1 >conftest.err
37670 cat conftest.err >&5
37671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37672 (exit $ac_status); } && {
37673 test -z "$ac_c_werror_flag" ||
37674 test ! -s conftest.err
37675 } && test -s conftest$ac_exeext &&
37676 $as_test_x conftest$ac_exeext; then
37677 eval wx_cv_func_$wx_func=yes
37679 echo "$as_me: failed program was:" >&5
37680 sed 's/^/| /' conftest.$ac_ext >&5
37682 eval wx_cv_func_$wx_func=no
37685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37686 conftest$ac_exeext conftest.$ac_ext
37689 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37690 { echo "$as_me:$LINENO: result: $ac_res" >&5
37691 echo "${ECHO_T}$ac_res" >&6; }
37693 if eval test \$wx_cv_func_$wx_func = yes
37695 cat >>confdefs.h <<_ACEOF
37696 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37706 if test "$wx_cv_func_uname" != yes; then
37708 for wx_func in gethostname
37710 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37711 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37712 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37713 echo $ECHO_N "(cached) $ECHO_C" >&6
37716 cat >conftest.$ac_ext <<_ACEOF
37720 cat confdefs.h >>conftest.$ac_ext
37721 cat >>conftest.$ac_ext <<_ACEOF
37722 /* end confdefs.h. */
37725 $ac_includes_default
37741 rm -f conftest.$ac_objext conftest$ac_exeext
37742 if { (ac_try="$ac_link"
37743 case "(($ac_try" in
37744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37745 *) ac_try_echo=$ac_try;;
37747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37748 (eval "$ac_link") 2>conftest.er1
37750 grep -v '^ *+' conftest.er1 >conftest.err
37752 cat conftest.err >&5
37753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754 (exit $ac_status); } && {
37755 test -z "$ac_c_werror_flag" ||
37756 test ! -s conftest.err
37757 } && test -s conftest$ac_exeext &&
37758 $as_test_x conftest$ac_exeext; then
37759 eval wx_cv_func_$wx_func=yes
37761 echo "$as_me: failed program was:" >&5
37762 sed 's/^/| /' conftest.$ac_ext >&5
37764 eval wx_cv_func_$wx_func=no
37767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37768 conftest$ac_exeext conftest.$ac_ext
37771 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37772 { echo "$as_me:$LINENO: result: $ac_res" >&5
37773 echo "${ECHO_T}$ac_res" >&6; }
37775 if eval test \$wx_cv_func_$wx_func = yes
37777 cat >>confdefs.h <<_ACEOF
37778 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37791 for wx_func in strtok_r
37793 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37794 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37795 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37796 echo $ECHO_N "(cached) $ECHO_C" >&6
37799 cat >conftest.$ac_ext <<_ACEOF
37803 cat confdefs.h >>conftest.$ac_ext
37804 cat >>conftest.$ac_ext <<_ACEOF
37805 /* end confdefs.h. */
37808 $ac_includes_default
37824 rm -f conftest.$ac_objext conftest$ac_exeext
37825 if { (ac_try="$ac_link"
37826 case "(($ac_try" in
37827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37828 *) ac_try_echo=$ac_try;;
37830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37831 (eval "$ac_link") 2>conftest.er1
37833 grep -v '^ *+' conftest.er1 >conftest.err
37835 cat conftest.err >&5
37836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37837 (exit $ac_status); } && {
37838 test -z "$ac_c_werror_flag" ||
37839 test ! -s conftest.err
37840 } && test -s conftest$ac_exeext &&
37841 $as_test_x conftest$ac_exeext; then
37842 eval wx_cv_func_$wx_func=yes
37844 echo "$as_me: failed program was:" >&5
37845 sed 's/^/| /' conftest.$ac_ext >&5
37847 eval wx_cv_func_$wx_func=no
37850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37851 conftest$ac_exeext conftest.$ac_ext
37854 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37855 { echo "$as_me:$LINENO: result: $ac_res" >&5
37856 echo "${ECHO_T}$ac_res" >&6; }
37858 if eval test \$wx_cv_func_$wx_func = yes
37860 cat >>confdefs.h <<_ACEOF
37861 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37874 for ac_func in inet_addr
37876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37877 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37879 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37880 echo $ECHO_N "(cached) $ECHO_C" >&6
37882 cat >conftest.$ac_ext <<_ACEOF
37885 cat confdefs.h >>conftest.$ac_ext
37886 cat >>conftest.$ac_ext <<_ACEOF
37887 /* end confdefs.h. */
37888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37890 #define $ac_func innocuous_$ac_func
37892 /* System header to define __stub macros and hopefully few prototypes,
37893 which can conflict with char $ac_func (); below.
37894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37895 <limits.h> exists even on freestanding compilers. */
37898 # include <limits.h>
37900 # include <assert.h>
37905 /* Override any GCC internal prototype to avoid an error.
37906 Use char because int might match the return type of a GCC
37907 builtin and then its argument prototype would still apply. */
37912 /* The GNU C library defines this for functions which it implements
37913 to always fail with ENOSYS. Some functions are actually named
37914 something starting with __ and the normal name is an alias. */
37915 #if defined __stub_$ac_func || defined __stub___$ac_func
37922 return $ac_func ();
37927 rm -f conftest.$ac_objext conftest$ac_exeext
37928 if { (ac_try="$ac_link"
37929 case "(($ac_try" in
37930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37931 *) ac_try_echo=$ac_try;;
37933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37934 (eval "$ac_link") 2>conftest.er1
37936 grep -v '^ *+' conftest.er1 >conftest.err
37938 cat conftest.err >&5
37939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37940 (exit $ac_status); } && {
37941 test -z "$ac_c_werror_flag" ||
37942 test ! -s conftest.err
37943 } && test -s conftest$ac_exeext &&
37944 $as_test_x conftest$ac_exeext; then
37945 eval "$as_ac_var=yes"
37947 echo "$as_me: failed program was:" >&5
37948 sed 's/^/| /' conftest.$ac_ext >&5
37950 eval "$as_ac_var=no"
37953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37954 conftest$ac_exeext conftest.$ac_ext
37956 ac_res=`eval echo '${'$as_ac_var'}'`
37957 { echo "$as_me:$LINENO: result: $ac_res" >&5
37958 echo "${ECHO_T}$ac_res" >&6; }
37959 if test `eval echo '${'$as_ac_var'}'` = yes; then
37960 cat >>confdefs.h <<_ACEOF
37961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37963 cat >>confdefs.h <<\_ACEOF
37964 #define HAVE_INET_ADDR 1
37969 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37970 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37971 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37972 echo $ECHO_N "(cached) $ECHO_C" >&6
37974 ac_check_lib_save_LIBS=$LIBS
37976 cat >conftest.$ac_ext <<_ACEOF
37979 cat confdefs.h >>conftest.$ac_ext
37980 cat >>conftest.$ac_ext <<_ACEOF
37981 /* end confdefs.h. */
37983 /* Override any GCC internal prototype to avoid an error.
37984 Use char because int might match the return type of a GCC
37985 builtin and then its argument prototype would still apply. */
37993 return inet_addr ();
37998 rm -f conftest.$ac_objext conftest$ac_exeext
37999 if { (ac_try="$ac_link"
38000 case "(($ac_try" in
38001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38002 *) ac_try_echo=$ac_try;;
38004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38005 (eval "$ac_link") 2>conftest.er1
38007 grep -v '^ *+' conftest.er1 >conftest.err
38009 cat conftest.err >&5
38010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38011 (exit $ac_status); } && {
38012 test -z "$ac_c_werror_flag" ||
38013 test ! -s conftest.err
38014 } && test -s conftest$ac_exeext &&
38015 $as_test_x conftest$ac_exeext; then
38016 ac_cv_lib_nsl_inet_addr=yes
38018 echo "$as_me: failed program was:" >&5
38019 sed 's/^/| /' conftest.$ac_ext >&5
38021 ac_cv_lib_nsl_inet_addr=no
38024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38025 conftest$ac_exeext conftest.$ac_ext
38026 LIBS=$ac_check_lib_save_LIBS
38028 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38029 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38030 if test $ac_cv_lib_nsl_inet_addr = yes; then
38034 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38035 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38036 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38037 echo $ECHO_N "(cached) $ECHO_C" >&6
38039 ac_check_lib_save_LIBS=$LIBS
38040 LIBS="-lresolv $LIBS"
38041 cat >conftest.$ac_ext <<_ACEOF
38044 cat confdefs.h >>conftest.$ac_ext
38045 cat >>conftest.$ac_ext <<_ACEOF
38046 /* end confdefs.h. */
38048 /* Override any GCC internal prototype to avoid an error.
38049 Use char because int might match the return type of a GCC
38050 builtin and then its argument prototype would still apply. */
38058 return inet_addr ();
38063 rm -f conftest.$ac_objext conftest$ac_exeext
38064 if { (ac_try="$ac_link"
38065 case "(($ac_try" in
38066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38067 *) ac_try_echo=$ac_try;;
38069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38070 (eval "$ac_link") 2>conftest.er1
38072 grep -v '^ *+' conftest.er1 >conftest.err
38074 cat conftest.err >&5
38075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076 (exit $ac_status); } && {
38077 test -z "$ac_c_werror_flag" ||
38078 test ! -s conftest.err
38079 } && test -s conftest$ac_exeext &&
38080 $as_test_x conftest$ac_exeext; then
38081 ac_cv_lib_resolv_inet_addr=yes
38083 echo "$as_me: failed program was:" >&5
38084 sed 's/^/| /' conftest.$ac_ext >&5
38086 ac_cv_lib_resolv_inet_addr=no
38089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38090 conftest$ac_exeext conftest.$ac_ext
38091 LIBS=$ac_check_lib_save_LIBS
38093 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38094 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38095 if test $ac_cv_lib_resolv_inet_addr = yes; then
38099 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38100 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38101 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38102 echo $ECHO_N "(cached) $ECHO_C" >&6
38104 ac_check_lib_save_LIBS=$LIBS
38105 LIBS="-lsocket $LIBS"
38106 cat >conftest.$ac_ext <<_ACEOF
38109 cat confdefs.h >>conftest.$ac_ext
38110 cat >>conftest.$ac_ext <<_ACEOF
38111 /* end confdefs.h. */
38113 /* Override any GCC internal prototype to avoid an error.
38114 Use char because int might match the return type of a GCC
38115 builtin and then its argument prototype would still apply. */
38123 return inet_addr ();
38128 rm -f conftest.$ac_objext conftest$ac_exeext
38129 if { (ac_try="$ac_link"
38130 case "(($ac_try" in
38131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38132 *) ac_try_echo=$ac_try;;
38134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38135 (eval "$ac_link") 2>conftest.er1
38137 grep -v '^ *+' conftest.er1 >conftest.err
38139 cat conftest.err >&5
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); } && {
38142 test -z "$ac_c_werror_flag" ||
38143 test ! -s conftest.err
38144 } && test -s conftest$ac_exeext &&
38145 $as_test_x conftest$ac_exeext; then
38146 ac_cv_lib_socket_inet_addr=yes
38148 echo "$as_me: failed program was:" >&5
38149 sed 's/^/| /' conftest.$ac_ext >&5
38151 ac_cv_lib_socket_inet_addr=no
38154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38155 conftest$ac_exeext conftest.$ac_ext
38156 LIBS=$ac_check_lib_save_LIBS
38158 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38159 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38160 if test $ac_cv_lib_socket_inet_addr = yes; then
38180 for ac_func in inet_aton
38182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38183 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38185 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38186 echo $ECHO_N "(cached) $ECHO_C" >&6
38188 cat >conftest.$ac_ext <<_ACEOF
38191 cat confdefs.h >>conftest.$ac_ext
38192 cat >>conftest.$ac_ext <<_ACEOF
38193 /* end confdefs.h. */
38194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38196 #define $ac_func innocuous_$ac_func
38198 /* System header to define __stub macros and hopefully few prototypes,
38199 which can conflict with char $ac_func (); below.
38200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38201 <limits.h> exists even on freestanding compilers. */
38204 # include <limits.h>
38206 # include <assert.h>
38211 /* Override any GCC internal prototype to avoid an error.
38212 Use char because int might match the return type of a GCC
38213 builtin and then its argument prototype would still apply. */
38218 /* The GNU C library defines this for functions which it implements
38219 to always fail with ENOSYS. Some functions are actually named
38220 something starting with __ and the normal name is an alias. */
38221 #if defined __stub_$ac_func || defined __stub___$ac_func
38228 return $ac_func ();
38233 rm -f conftest.$ac_objext conftest$ac_exeext
38234 if { (ac_try="$ac_link"
38235 case "(($ac_try" in
38236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38237 *) ac_try_echo=$ac_try;;
38239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38240 (eval "$ac_link") 2>conftest.er1
38242 grep -v '^ *+' conftest.er1 >conftest.err
38244 cat conftest.err >&5
38245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38246 (exit $ac_status); } && {
38247 test -z "$ac_c_werror_flag" ||
38248 test ! -s conftest.err
38249 } && test -s conftest$ac_exeext &&
38250 $as_test_x conftest$ac_exeext; then
38251 eval "$as_ac_var=yes"
38253 echo "$as_me: failed program was:" >&5
38254 sed 's/^/| /' conftest.$ac_ext >&5
38256 eval "$as_ac_var=no"
38259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38260 conftest$ac_exeext conftest.$ac_ext
38262 ac_res=`eval echo '${'$as_ac_var'}'`
38263 { echo "$as_me:$LINENO: result: $ac_res" >&5
38264 echo "${ECHO_T}$ac_res" >&6; }
38265 if test `eval echo '${'$as_ac_var'}'` = yes; then
38266 cat >>confdefs.h <<_ACEOF
38267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38269 cat >>confdefs.h <<\_ACEOF
38270 #define HAVE_INET_ATON 1
38275 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38276 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38277 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38278 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38279 echo $ECHO_N "(cached) $ECHO_C" >&6
38281 ac_check_lib_save_LIBS=$LIBS
38282 LIBS="-l$INET_LINK $LIBS"
38283 cat >conftest.$ac_ext <<_ACEOF
38286 cat confdefs.h >>conftest.$ac_ext
38287 cat >>conftest.$ac_ext <<_ACEOF
38288 /* end confdefs.h. */
38290 /* Override any GCC internal prototype to avoid an error.
38291 Use char because int might match the return type of a GCC
38292 builtin and then its argument prototype would still apply. */
38300 return inet_aton ();
38305 rm -f conftest.$ac_objext conftest$ac_exeext
38306 if { (ac_try="$ac_link"
38307 case "(($ac_try" in
38308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38309 *) ac_try_echo=$ac_try;;
38311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38312 (eval "$ac_link") 2>conftest.er1
38314 grep -v '^ *+' conftest.er1 >conftest.err
38316 cat conftest.err >&5
38317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38318 (exit $ac_status); } && {
38319 test -z "$ac_c_werror_flag" ||
38320 test ! -s conftest.err
38321 } && test -s conftest$ac_exeext &&
38322 $as_test_x conftest$ac_exeext; then
38323 eval "$as_ac_Lib=yes"
38325 echo "$as_me: failed program was:" >&5
38326 sed 's/^/| /' conftest.$ac_ext >&5
38328 eval "$as_ac_Lib=no"
38331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38332 conftest$ac_exeext conftest.$ac_ext
38333 LIBS=$ac_check_lib_save_LIBS
38335 ac_res=`eval echo '${'$as_ac_Lib'}'`
38336 { echo "$as_me:$LINENO: result: $ac_res" >&5
38337 echo "${ECHO_T}$ac_res" >&6; }
38338 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38339 cat >>confdefs.h <<\_ACEOF
38340 #define HAVE_INET_ATON 1
38350 if test "x$INET_LINK" != "x"; then
38351 cat >>confdefs.h <<\_ACEOF
38352 #define HAVE_INET_ADDR 1
38355 INET_LINK=" -l$INET_LINK"
38359 for wx_func in fdopen
38361 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38362 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38363 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38364 echo $ECHO_N "(cached) $ECHO_C" >&6
38367 cat >conftest.$ac_ext <<_ACEOF
38371 cat confdefs.h >>conftest.$ac_ext
38372 cat >>conftest.$ac_ext <<_ACEOF
38373 /* end confdefs.h. */
38376 $ac_includes_default
38392 rm -f conftest.$ac_objext conftest$ac_exeext
38393 if { (ac_try="$ac_link"
38394 case "(($ac_try" in
38395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38396 *) ac_try_echo=$ac_try;;
38398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38399 (eval "$ac_link") 2>conftest.er1
38401 grep -v '^ *+' conftest.er1 >conftest.err
38403 cat conftest.err >&5
38404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38405 (exit $ac_status); } && {
38406 test -z "$ac_c_werror_flag" ||
38407 test ! -s conftest.err
38408 } && test -s conftest$ac_exeext &&
38409 $as_test_x conftest$ac_exeext; then
38410 eval wx_cv_func_$wx_func=yes
38412 echo "$as_me: failed program was:" >&5
38413 sed 's/^/| /' conftest.$ac_ext >&5
38415 eval wx_cv_func_$wx_func=no
38418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38419 conftest$ac_exeext conftest.$ac_ext
38422 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38423 { echo "$as_me:$LINENO: result: $ac_res" >&5
38424 echo "${ECHO_T}$ac_res" >&6; }
38426 if eval test \$wx_cv_func_$wx_func = yes
38428 cat >>confdefs.h <<_ACEOF
38429 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38440 if test "$wxUSE_TARSTREAM" = "yes"; then
38442 for wx_func in sysconf
38444 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38445 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38446 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38447 echo $ECHO_N "(cached) $ECHO_C" >&6
38450 cat >conftest.$ac_ext <<_ACEOF
38454 cat confdefs.h >>conftest.$ac_ext
38455 cat >>conftest.$ac_ext <<_ACEOF
38456 /* end confdefs.h. */
38459 $ac_includes_default
38475 rm -f conftest.$ac_objext conftest$ac_exeext
38476 if { (ac_try="$ac_link"
38477 case "(($ac_try" in
38478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38479 *) ac_try_echo=$ac_try;;
38481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38482 (eval "$ac_link") 2>conftest.er1
38484 grep -v '^ *+' conftest.er1 >conftest.err
38486 cat conftest.err >&5
38487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38488 (exit $ac_status); } && {
38489 test -z "$ac_c_werror_flag" ||
38490 test ! -s conftest.err
38491 } && test -s conftest$ac_exeext &&
38492 $as_test_x conftest$ac_exeext; then
38493 eval wx_cv_func_$wx_func=yes
38495 echo "$as_me: failed program was:" >&5
38496 sed 's/^/| /' conftest.$ac_ext >&5
38498 eval wx_cv_func_$wx_func=no
38501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38502 conftest$ac_exeext conftest.$ac_ext
38505 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38506 { echo "$as_me:$LINENO: result: $ac_res" >&5
38507 echo "${ECHO_T}$ac_res" >&6; }
38509 if eval test \$wx_cv_func_$wx_func = yes
38511 cat >>confdefs.h <<_ACEOF
38512 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38524 for wx_func in getpwuid_r
38526 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38527 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38528 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38529 echo $ECHO_N "(cached) $ECHO_C" >&6
38532 cat >conftest.$ac_ext <<_ACEOF
38536 cat confdefs.h >>conftest.$ac_ext
38537 cat >>conftest.$ac_ext <<_ACEOF
38538 /* end confdefs.h. */
38544 $ac_includes_default
38554 struct passwd pw, *ppw;
38556 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38564 rm -f conftest.$ac_objext conftest$ac_exeext
38565 if { (ac_try="$ac_link"
38566 case "(($ac_try" in
38567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38568 *) ac_try_echo=$ac_try;;
38570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38571 (eval "$ac_link") 2>conftest.er1
38573 grep -v '^ *+' conftest.er1 >conftest.err
38575 cat conftest.err >&5
38576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38577 (exit $ac_status); } && {
38578 test -z "$ac_c_werror_flag" ||
38579 test ! -s conftest.err
38580 } && test -s conftest$ac_exeext &&
38581 $as_test_x conftest$ac_exeext; then
38582 eval wx_cv_func_$wx_func=yes
38584 echo "$as_me: failed program was:" >&5
38585 sed 's/^/| /' conftest.$ac_ext >&5
38587 eval wx_cv_func_$wx_func=no
38590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38591 conftest$ac_exeext conftest.$ac_ext
38594 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38595 { echo "$as_me:$LINENO: result: $ac_res" >&5
38596 echo "${ECHO_T}$ac_res" >&6; }
38598 if eval test \$wx_cv_func_$wx_func = yes
38600 cat >>confdefs.h <<_ACEOF
38601 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38613 for wx_func in getgrgid_r
38615 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38616 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38617 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38618 echo $ECHO_N "(cached) $ECHO_C" >&6
38621 cat >conftest.$ac_ext <<_ACEOF
38625 cat confdefs.h >>conftest.$ac_ext
38626 cat >>conftest.$ac_ext <<_ACEOF
38627 /* end confdefs.h. */
38633 $ac_includes_default
38643 struct group grp, *pgrp;
38645 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38653 rm -f conftest.$ac_objext conftest$ac_exeext
38654 if { (ac_try="$ac_link"
38655 case "(($ac_try" in
38656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38657 *) ac_try_echo=$ac_try;;
38659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38660 (eval "$ac_link") 2>conftest.er1
38662 grep -v '^ *+' conftest.er1 >conftest.err
38664 cat conftest.err >&5
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); } && {
38667 test -z "$ac_c_werror_flag" ||
38668 test ! -s conftest.err
38669 } && test -s conftest$ac_exeext &&
38670 $as_test_x conftest$ac_exeext; then
38671 eval wx_cv_func_$wx_func=yes
38673 echo "$as_me: failed program was:" >&5
38674 sed 's/^/| /' conftest.$ac_ext >&5
38676 eval wx_cv_func_$wx_func=no
38679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38680 conftest$ac_exeext conftest.$ac_ext
38683 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38684 { echo "$as_me:$LINENO: result: $ac_res" >&5
38685 echo "${ECHO_T}$ac_res" >&6; }
38687 if eval test \$wx_cv_func_$wx_func = yes
38689 cat >>confdefs.h <<_ACEOF
38690 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38706 cat >confcache <<\_ACEOF
38707 # This file is a shell script that caches the results of configure
38708 # tests run on this system so they can be shared between configure
38709 # scripts and configure runs, see configure's option --config-cache.
38710 # It is not useful on other systems. If it contains results you don't
38711 # want to keep, you may remove or edit it.
38713 # config.status only pays attention to the cache file if you give it
38714 # the --recheck option to rerun configure.
38716 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38717 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38718 # following values.
38722 # The following way of writing the cache mishandles newlines in values,
38723 # but we know of no workaround that is simple, portable, and efficient.
38724 # So, we kill variables containing newlines.
38725 # Ultrix sh set writes to stderr and can't be redirected directly,
38726 # and sets the high bit in the cache file unless we assign to the vars.
38728 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38729 eval ac_val=\$$ac_var
38733 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38734 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38737 _ | IFS | as_nl) ;; #(
38738 *) $as_unset $ac_var ;;
38744 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38745 *${as_nl}ac_space=\ *)
38746 # `set' does not quote correctly, so add quotes (double-quote
38747 # substitution turns \\\\ into \\, and sed turns \\ into \).
38750 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38753 # `set' quotes correctly as required by POSIX, so do not add quotes.
38754 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38763 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38765 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38767 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38768 if test -w "$cache_file"; then
38769 test "x$cache_file" != "x/dev/null" &&
38770 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38771 echo "$as_me: updating cache $cache_file" >&6;}
38772 cat confcache >$cache_file
38774 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38775 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38781 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38787 if test "$wxUSE_THREADS" = "yes" ; then
38788 if test "$USE_BEOS" = 1; then
38789 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38790 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38795 if test "$wxUSE_THREADS" = "yes" ; then
38798 THREAD_OPTS="-pthread"
38799 if test "x$SUNCXX" = xyes; then
38800 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38804 *-*-solaris2* | *-*-sunos4* )
38805 if test "x$GCC" = "xyes"; then
38806 THREAD_OPTS="-pthreads $THREAD_OPTS"
38810 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38812 *-*-darwin* | *-*-cygwin* )
38816 THREAD_OPTS="pthreads"
38819 if test "x$GCC" = "xyes"; then
38820 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38828 if test "x$GCC" = "xyes"; then
38834 if test "x$GCC" != "xyes"; then
38835 THREAD_OPTS="-Ethread"
38840 THREAD_OPTS="$THREAD_OPTS pthread none"
38843 for flag in $THREAD_OPTS; do
38846 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38847 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38851 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38852 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38853 THREADS_CFLAGS="$flag"
38857 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38858 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38859 THREADS_LINK="-l$flag"
38864 save_CFLAGS="$CFLAGS"
38865 LIBS="$THREADS_LINK $LIBS"
38866 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38868 cat >conftest.$ac_ext <<_ACEOF
38871 cat confdefs.h >>conftest.$ac_ext
38872 cat >>conftest.$ac_ext <<_ACEOF
38873 /* end confdefs.h. */
38874 #include <pthread.h>
38878 pthread_create(0,0,0,0);
38883 rm -f conftest.$ac_objext conftest$ac_exeext
38884 if { (ac_try="$ac_link"
38885 case "(($ac_try" in
38886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38887 *) ac_try_echo=$ac_try;;
38889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38890 (eval "$ac_link") 2>conftest.er1
38892 grep -v '^ *+' conftest.er1 >conftest.err
38894 cat conftest.err >&5
38895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38896 (exit $ac_status); } && {
38897 test -z "$ac_c_werror_flag" ||
38898 test ! -s conftest.err
38899 } && test -s conftest$ac_exeext &&
38900 $as_test_x conftest$ac_exeext; then
38903 echo "$as_me: failed program was:" >&5
38904 sed 's/^/| /' conftest.$ac_ext >&5
38909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38910 conftest$ac_exeext conftest.$ac_ext
38913 CFLAGS="$save_CFLAGS"
38915 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38916 echo "${ECHO_T}$THREADS_OK" >&6; }
38917 if test "x$THREADS_OK" = "xyes"; then
38925 if test "x$THREADS_OK" != "xyes"; then
38927 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38928 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38930 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38931 LIBS="$THREADS_LINK $LIBS"
38933 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38934 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38938 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38939 flag="-D_THREAD_SAFE"
38942 flag="-D_THREAD_SAFE"
38945 flag="-D_REENTRANT"
38946 if test "x$GCC" != "xyes"; then
38947 flag="$flag -D_RWSTD_MULTI_THREAD"
38950 *solaris* | alpha*-osf*)
38951 flag="-D_REENTRANT"
38954 { echo "$as_me:$LINENO: result: ${flag}" >&5
38955 echo "${ECHO_T}${flag}" >&6; }
38956 if test "x$flag" != xno; then
38957 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38960 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38964 if test "$wxUSE_THREADS" = "yes" ; then
38966 for ac_func in thr_setconcurrency
38968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38969 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38971 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38972 echo $ECHO_N "(cached) $ECHO_C" >&6
38974 cat >conftest.$ac_ext <<_ACEOF
38977 cat confdefs.h >>conftest.$ac_ext
38978 cat >>conftest.$ac_ext <<_ACEOF
38979 /* end confdefs.h. */
38980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38982 #define $ac_func innocuous_$ac_func
38984 /* System header to define __stub macros and hopefully few prototypes,
38985 which can conflict with char $ac_func (); below.
38986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38987 <limits.h> exists even on freestanding compilers. */
38990 # include <limits.h>
38992 # include <assert.h>
38997 /* Override any GCC internal prototype to avoid an error.
38998 Use char because int might match the return type of a GCC
38999 builtin and then its argument prototype would still apply. */
39004 /* The GNU C library defines this for functions which it implements
39005 to always fail with ENOSYS. Some functions are actually named
39006 something starting with __ and the normal name is an alias. */
39007 #if defined __stub_$ac_func || defined __stub___$ac_func
39014 return $ac_func ();
39019 rm -f conftest.$ac_objext conftest$ac_exeext
39020 if { (ac_try="$ac_link"
39021 case "(($ac_try" in
39022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39023 *) ac_try_echo=$ac_try;;
39025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39026 (eval "$ac_link") 2>conftest.er1
39028 grep -v '^ *+' conftest.er1 >conftest.err
39030 cat conftest.err >&5
39031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39032 (exit $ac_status); } && {
39033 test -z "$ac_c_werror_flag" ||
39034 test ! -s conftest.err
39035 } && test -s conftest$ac_exeext &&
39036 $as_test_x conftest$ac_exeext; then
39037 eval "$as_ac_var=yes"
39039 echo "$as_me: failed program was:" >&5
39040 sed 's/^/| /' conftest.$ac_ext >&5
39042 eval "$as_ac_var=no"
39045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39046 conftest$ac_exeext conftest.$ac_ext
39048 ac_res=`eval echo '${'$as_ac_var'}'`
39049 { echo "$as_me:$LINENO: result: $ac_res" >&5
39050 echo "${ECHO_T}$ac_res" >&6; }
39051 if test `eval echo '${'$as_ac_var'}'` = yes; then
39052 cat >>confdefs.h <<_ACEOF
39053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39060 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39061 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39062 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39063 echo $ECHO_N "(cached) $ECHO_C" >&6
39067 ac_cpp='$CXXCPP $CPPFLAGS'
39068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39072 cat >conftest.$ac_ext <<_ACEOF
39075 cat confdefs.h >>conftest.$ac_ext
39076 cat >>conftest.$ac_ext <<_ACEOF
39077 /* end confdefs.h. */
39078 #include <pthread.h>
39079 void ThreadCleanupFunc(void *p);
39086 pthread_cleanup_push(ThreadCleanupFunc, p);
39087 pthread_cleanup_pop(0);
39093 rm -f conftest.$ac_objext
39094 if { (ac_try="$ac_compile"
39095 case "(($ac_try" in
39096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39097 *) ac_try_echo=$ac_try;;
39099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39100 (eval "$ac_compile") 2>conftest.er1
39102 grep -v '^ *+' conftest.er1 >conftest.err
39104 cat conftest.err >&5
39105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39106 (exit $ac_status); } && {
39107 test -z "$ac_cxx_werror_flag" ||
39108 test ! -s conftest.err
39109 } && test -s conftest.$ac_objext; then
39111 wx_cv_func_pthread_cleanup=yes
39114 echo "$as_me: failed program was:" >&5
39115 sed 's/^/| /' conftest.$ac_ext >&5
39118 wx_cv_func_pthread_cleanup=no
39123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39125 ac_cpp='$CPP $CPPFLAGS'
39126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39132 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39133 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39134 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39135 cat >>confdefs.h <<\_ACEOF
39136 #define wxHAVE_PTHREAD_CLEANUP 1
39142 for ac_header in sched.h
39144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39145 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39147 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39148 echo $ECHO_N "(cached) $ECHO_C" >&6
39150 cat >conftest.$ac_ext <<_ACEOF
39153 cat confdefs.h >>conftest.$ac_ext
39154 cat >>conftest.$ac_ext <<_ACEOF
39155 /* end confdefs.h. */
39156 $ac_includes_default
39158 #include <$ac_header>
39160 rm -f conftest.$ac_objext
39161 if { (ac_try="$ac_compile"
39162 case "(($ac_try" in
39163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39164 *) ac_try_echo=$ac_try;;
39166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39167 (eval "$ac_compile") 2>conftest.er1
39169 grep -v '^ *+' conftest.er1 >conftest.err
39171 cat conftest.err >&5
39172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39173 (exit $ac_status); } && {
39174 test -z "$ac_c_werror_flag" ||
39175 test ! -s conftest.err
39176 } && test -s conftest.$ac_objext; then
39177 eval "$as_ac_Header=yes"
39179 echo "$as_me: failed program was:" >&5
39180 sed 's/^/| /' conftest.$ac_ext >&5
39182 eval "$as_ac_Header=no"
39185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39187 ac_res=`eval echo '${'$as_ac_Header'}'`
39188 { echo "$as_me:$LINENO: result: $ac_res" >&5
39189 echo "${ECHO_T}$ac_res" >&6; }
39190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39191 cat >>confdefs.h <<_ACEOF
39192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39199 if test "$ac_cv_header_sched_h" = "yes"; then
39200 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39201 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39202 if test "${ac_cv_func_sched_yield+set}" = set; then
39203 echo $ECHO_N "(cached) $ECHO_C" >&6
39205 cat >conftest.$ac_ext <<_ACEOF
39208 cat confdefs.h >>conftest.$ac_ext
39209 cat >>conftest.$ac_ext <<_ACEOF
39210 /* end confdefs.h. */
39211 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39213 #define sched_yield innocuous_sched_yield
39215 /* System header to define __stub macros and hopefully few prototypes,
39216 which can conflict with char sched_yield (); below.
39217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39218 <limits.h> exists even on freestanding compilers. */
39221 # include <limits.h>
39223 # include <assert.h>
39228 /* Override any GCC internal prototype to avoid an error.
39229 Use char because int might match the return type of a GCC
39230 builtin and then its argument prototype would still apply. */
39234 char sched_yield ();
39235 /* The GNU C library defines this for functions which it implements
39236 to always fail with ENOSYS. Some functions are actually named
39237 something starting with __ and the normal name is an alias. */
39238 #if defined __stub_sched_yield || defined __stub___sched_yield
39245 return sched_yield ();
39250 rm -f conftest.$ac_objext conftest$ac_exeext
39251 if { (ac_try="$ac_link"
39252 case "(($ac_try" in
39253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39254 *) ac_try_echo=$ac_try;;
39256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39257 (eval "$ac_link") 2>conftest.er1
39259 grep -v '^ *+' conftest.er1 >conftest.err
39261 cat conftest.err >&5
39262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39263 (exit $ac_status); } && {
39264 test -z "$ac_c_werror_flag" ||
39265 test ! -s conftest.err
39266 } && test -s conftest$ac_exeext &&
39267 $as_test_x conftest$ac_exeext; then
39268 ac_cv_func_sched_yield=yes
39270 echo "$as_me: failed program was:" >&5
39271 sed 's/^/| /' conftest.$ac_ext >&5
39273 ac_cv_func_sched_yield=no
39276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39277 conftest$ac_exeext conftest.$ac_ext
39279 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39280 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39281 if test $ac_cv_func_sched_yield = yes; then
39282 cat >>confdefs.h <<\_ACEOF
39283 #define HAVE_SCHED_YIELD 1
39288 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39289 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39290 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39291 echo $ECHO_N "(cached) $ECHO_C" >&6
39293 ac_check_lib_save_LIBS=$LIBS
39294 LIBS="-lposix4 $LIBS"
39295 cat >conftest.$ac_ext <<_ACEOF
39298 cat confdefs.h >>conftest.$ac_ext
39299 cat >>conftest.$ac_ext <<_ACEOF
39300 /* end confdefs.h. */
39302 /* Override any GCC internal prototype to avoid an error.
39303 Use char because int might match the return type of a GCC
39304 builtin and then its argument prototype would still apply. */
39308 char sched_yield ();
39312 return sched_yield ();
39317 rm -f conftest.$ac_objext conftest$ac_exeext
39318 if { (ac_try="$ac_link"
39319 case "(($ac_try" in
39320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39321 *) ac_try_echo=$ac_try;;
39323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39324 (eval "$ac_link") 2>conftest.er1
39326 grep -v '^ *+' conftest.er1 >conftest.err
39328 cat conftest.err >&5
39329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39330 (exit $ac_status); } && {
39331 test -z "$ac_c_werror_flag" ||
39332 test ! -s conftest.err
39333 } && test -s conftest$ac_exeext &&
39334 $as_test_x conftest$ac_exeext; then
39335 ac_cv_lib_posix4_sched_yield=yes
39337 echo "$as_me: failed program was:" >&5
39338 sed 's/^/| /' conftest.$ac_ext >&5
39340 ac_cv_lib_posix4_sched_yield=no
39343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39344 conftest$ac_exeext conftest.$ac_ext
39345 LIBS=$ac_check_lib_save_LIBS
39347 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39348 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39349 if test $ac_cv_lib_posix4_sched_yield = yes; then
39350 cat >>confdefs.h <<\_ACEOF
39351 #define HAVE_SCHED_YIELD 1
39353 POSIX4_LINK=" -lposix4"
39355 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39356 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39367 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39368 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39369 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39370 echo $ECHO_N "(cached) $ECHO_C" >&6
39372 cat >conftest.$ac_ext <<_ACEOF
39375 cat confdefs.h >>conftest.$ac_ext
39376 cat >>conftest.$ac_ext <<_ACEOF
39377 /* end confdefs.h. */
39378 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39380 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39382 /* System header to define __stub macros and hopefully few prototypes,
39383 which can conflict with char pthread_attr_getschedpolicy (); below.
39384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39385 <limits.h> exists even on freestanding compilers. */
39388 # include <limits.h>
39390 # include <assert.h>
39393 #undef pthread_attr_getschedpolicy
39395 /* Override any GCC internal prototype to avoid an error.
39396 Use char because int might match the return type of a GCC
39397 builtin and then its argument prototype would still apply. */
39401 char pthread_attr_getschedpolicy ();
39402 /* The GNU C library defines this for functions which it implements
39403 to always fail with ENOSYS. Some functions are actually named
39404 something starting with __ and the normal name is an alias. */
39405 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39412 return pthread_attr_getschedpolicy ();
39417 rm -f conftest.$ac_objext conftest$ac_exeext
39418 if { (ac_try="$ac_link"
39419 case "(($ac_try" in
39420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39421 *) ac_try_echo=$ac_try;;
39423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39424 (eval "$ac_link") 2>conftest.er1
39426 grep -v '^ *+' conftest.er1 >conftest.err
39428 cat conftest.err >&5
39429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39430 (exit $ac_status); } && {
39431 test -z "$ac_c_werror_flag" ||
39432 test ! -s conftest.err
39433 } && test -s conftest$ac_exeext &&
39434 $as_test_x conftest$ac_exeext; then
39435 ac_cv_func_pthread_attr_getschedpolicy=yes
39437 echo "$as_me: failed program was:" >&5
39438 sed 's/^/| /' conftest.$ac_ext >&5
39440 ac_cv_func_pthread_attr_getschedpolicy=no
39443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39444 conftest$ac_exeext conftest.$ac_ext
39446 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39447 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39448 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39449 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39450 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39451 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39452 echo $ECHO_N "(cached) $ECHO_C" >&6
39454 cat >conftest.$ac_ext <<_ACEOF
39457 cat confdefs.h >>conftest.$ac_ext
39458 cat >>conftest.$ac_ext <<_ACEOF
39459 /* end confdefs.h. */
39460 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39462 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39464 /* System header to define __stub macros and hopefully few prototypes,
39465 which can conflict with char pthread_attr_setschedparam (); below.
39466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39467 <limits.h> exists even on freestanding compilers. */
39470 # include <limits.h>
39472 # include <assert.h>
39475 #undef pthread_attr_setschedparam
39477 /* Override any GCC internal prototype to avoid an error.
39478 Use char because int might match the return type of a GCC
39479 builtin and then its argument prototype would still apply. */
39483 char pthread_attr_setschedparam ();
39484 /* The GNU C library defines this for functions which it implements
39485 to always fail with ENOSYS. Some functions are actually named
39486 something starting with __ and the normal name is an alias. */
39487 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39494 return pthread_attr_setschedparam ();
39499 rm -f conftest.$ac_objext conftest$ac_exeext
39500 if { (ac_try="$ac_link"
39501 case "(($ac_try" in
39502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39503 *) ac_try_echo=$ac_try;;
39505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39506 (eval "$ac_link") 2>conftest.er1
39508 grep -v '^ *+' conftest.er1 >conftest.err
39510 cat conftest.err >&5
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); } && {
39513 test -z "$ac_c_werror_flag" ||
39514 test ! -s conftest.err
39515 } && test -s conftest$ac_exeext &&
39516 $as_test_x conftest$ac_exeext; then
39517 ac_cv_func_pthread_attr_setschedparam=yes
39519 echo "$as_me: failed program was:" >&5
39520 sed 's/^/| /' conftest.$ac_ext >&5
39522 ac_cv_func_pthread_attr_setschedparam=no
39525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39526 conftest$ac_exeext conftest.$ac_ext
39528 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39529 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39530 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39531 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39532 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39533 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39534 echo $ECHO_N "(cached) $ECHO_C" >&6
39536 cat >conftest.$ac_ext <<_ACEOF
39539 cat confdefs.h >>conftest.$ac_ext
39540 cat >>conftest.$ac_ext <<_ACEOF
39541 /* end confdefs.h. */
39542 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39544 #define sched_get_priority_max innocuous_sched_get_priority_max
39546 /* System header to define __stub macros and hopefully few prototypes,
39547 which can conflict with char sched_get_priority_max (); below.
39548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39549 <limits.h> exists even on freestanding compilers. */
39552 # include <limits.h>
39554 # include <assert.h>
39557 #undef sched_get_priority_max
39559 /* Override any GCC internal prototype to avoid an error.
39560 Use char because int might match the return type of a GCC
39561 builtin and then its argument prototype would still apply. */
39565 char sched_get_priority_max ();
39566 /* The GNU C library defines this for functions which it implements
39567 to always fail with ENOSYS. Some functions are actually named
39568 something starting with __ and the normal name is an alias. */
39569 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39576 return sched_get_priority_max ();
39581 rm -f conftest.$ac_objext conftest$ac_exeext
39582 if { (ac_try="$ac_link"
39583 case "(($ac_try" in
39584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39585 *) ac_try_echo=$ac_try;;
39587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39588 (eval "$ac_link") 2>conftest.er1
39590 grep -v '^ *+' conftest.er1 >conftest.err
39592 cat conftest.err >&5
39593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39594 (exit $ac_status); } && {
39595 test -z "$ac_c_werror_flag" ||
39596 test ! -s conftest.err
39597 } && test -s conftest$ac_exeext &&
39598 $as_test_x conftest$ac_exeext; then
39599 ac_cv_func_sched_get_priority_max=yes
39601 echo "$as_me: failed program was:" >&5
39602 sed 's/^/| /' conftest.$ac_ext >&5
39604 ac_cv_func_sched_get_priority_max=no
39607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39608 conftest$ac_exeext conftest.$ac_ext
39610 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39611 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39612 if test $ac_cv_func_sched_get_priority_max = yes; then
39615 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39616 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39617 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39618 echo $ECHO_N "(cached) $ECHO_C" >&6
39620 ac_check_lib_save_LIBS=$LIBS
39621 LIBS="-lposix4 $LIBS"
39622 cat >conftest.$ac_ext <<_ACEOF
39625 cat confdefs.h >>conftest.$ac_ext
39626 cat >>conftest.$ac_ext <<_ACEOF
39627 /* end confdefs.h. */
39629 /* Override any GCC internal prototype to avoid an error.
39630 Use char because int might match the return type of a GCC
39631 builtin and then its argument prototype would still apply. */
39635 char sched_get_priority_max ();
39639 return sched_get_priority_max ();
39644 rm -f conftest.$ac_objext conftest$ac_exeext
39645 if { (ac_try="$ac_link"
39646 case "(($ac_try" in
39647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39648 *) ac_try_echo=$ac_try;;
39650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39651 (eval "$ac_link") 2>conftest.er1
39653 grep -v '^ *+' conftest.er1 >conftest.err
39655 cat conftest.err >&5
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); } && {
39658 test -z "$ac_c_werror_flag" ||
39659 test ! -s conftest.err
39660 } && test -s conftest$ac_exeext &&
39661 $as_test_x conftest$ac_exeext; then
39662 ac_cv_lib_posix4_sched_get_priority_max=yes
39664 echo "$as_me: failed program was:" >&5
39665 sed 's/^/| /' conftest.$ac_ext >&5
39667 ac_cv_lib_posix4_sched_get_priority_max=no
39670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39671 conftest$ac_exeext conftest.$ac_ext
39672 LIBS=$ac_check_lib_save_LIBS
39674 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39675 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39676 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39679 POSIX4_LINK=" -lposix4"
39693 if test "$HAVE_PRIOR_FUNCS" = 1; then
39694 cat >>confdefs.h <<\_ACEOF
39695 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39699 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39700 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39703 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39704 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39705 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39706 echo $ECHO_N "(cached) $ECHO_C" >&6
39708 cat >conftest.$ac_ext <<_ACEOF
39711 cat confdefs.h >>conftest.$ac_ext
39712 cat >>conftest.$ac_ext <<_ACEOF
39713 /* end confdefs.h. */
39714 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39716 #define pthread_cancel innocuous_pthread_cancel
39718 /* System header to define __stub macros and hopefully few prototypes,
39719 which can conflict with char pthread_cancel (); below.
39720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39721 <limits.h> exists even on freestanding compilers. */
39724 # include <limits.h>
39726 # include <assert.h>
39729 #undef pthread_cancel
39731 /* Override any GCC internal prototype to avoid an error.
39732 Use char because int might match the return type of a GCC
39733 builtin and then its argument prototype would still apply. */
39737 char pthread_cancel ();
39738 /* The GNU C library defines this for functions which it implements
39739 to always fail with ENOSYS. Some functions are actually named
39740 something starting with __ and the normal name is an alias. */
39741 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39748 return pthread_cancel ();
39753 rm -f conftest.$ac_objext conftest$ac_exeext
39754 if { (ac_try="$ac_link"
39755 case "(($ac_try" in
39756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39757 *) ac_try_echo=$ac_try;;
39759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39760 (eval "$ac_link") 2>conftest.er1
39762 grep -v '^ *+' conftest.er1 >conftest.err
39764 cat conftest.err >&5
39765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39766 (exit $ac_status); } && {
39767 test -z "$ac_c_werror_flag" ||
39768 test ! -s conftest.err
39769 } && test -s conftest$ac_exeext &&
39770 $as_test_x conftest$ac_exeext; then
39771 ac_cv_func_pthread_cancel=yes
39773 echo "$as_me: failed program was:" >&5
39774 sed 's/^/| /' conftest.$ac_ext >&5
39776 ac_cv_func_pthread_cancel=no
39779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39780 conftest$ac_exeext conftest.$ac_ext
39782 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39783 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39784 if test $ac_cv_func_pthread_cancel = yes; then
39785 cat >>confdefs.h <<\_ACEOF
39786 #define HAVE_PTHREAD_CANCEL 1
39790 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39791 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39795 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39796 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39797 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39798 echo $ECHO_N "(cached) $ECHO_C" >&6
39800 cat >conftest.$ac_ext <<_ACEOF
39803 cat confdefs.h >>conftest.$ac_ext
39804 cat >>conftest.$ac_ext <<_ACEOF
39805 /* end confdefs.h. */
39806 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39808 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39810 /* System header to define __stub macros and hopefully few prototypes,
39811 which can conflict with char pthread_mutex_timedlock (); below.
39812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39813 <limits.h> exists even on freestanding compilers. */
39816 # include <limits.h>
39818 # include <assert.h>
39821 #undef pthread_mutex_timedlock
39823 /* Override any GCC internal prototype to avoid an error.
39824 Use char because int might match the return type of a GCC
39825 builtin and then its argument prototype would still apply. */
39829 char pthread_mutex_timedlock ();
39830 /* The GNU C library defines this for functions which it implements
39831 to always fail with ENOSYS. Some functions are actually named
39832 something starting with __ and the normal name is an alias. */
39833 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39840 return pthread_mutex_timedlock ();
39845 rm -f conftest.$ac_objext conftest$ac_exeext
39846 if { (ac_try="$ac_link"
39847 case "(($ac_try" in
39848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39849 *) ac_try_echo=$ac_try;;
39851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39852 (eval "$ac_link") 2>conftest.er1
39854 grep -v '^ *+' conftest.er1 >conftest.err
39856 cat conftest.err >&5
39857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39858 (exit $ac_status); } && {
39859 test -z "$ac_c_werror_flag" ||
39860 test ! -s conftest.err
39861 } && test -s conftest$ac_exeext &&
39862 $as_test_x conftest$ac_exeext; then
39863 ac_cv_func_pthread_mutex_timedlock=yes
39865 echo "$as_me: failed program was:" >&5
39866 sed 's/^/| /' conftest.$ac_ext >&5
39868 ac_cv_func_pthread_mutex_timedlock=no
39871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39872 conftest$ac_exeext conftest.$ac_ext
39874 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39875 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39876 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39877 cat >>confdefs.h <<\_ACEOF
39878 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39882 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39883 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39887 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39888 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39889 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39890 echo $ECHO_N "(cached) $ECHO_C" >&6
39892 cat >conftest.$ac_ext <<_ACEOF
39895 cat confdefs.h >>conftest.$ac_ext
39896 cat >>conftest.$ac_ext <<_ACEOF
39897 /* end confdefs.h. */
39898 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39900 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39902 /* System header to define __stub macros and hopefully few prototypes,
39903 which can conflict with char pthread_attr_setstacksize (); below.
39904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39905 <limits.h> exists even on freestanding compilers. */
39908 # include <limits.h>
39910 # include <assert.h>
39913 #undef pthread_attr_setstacksize
39915 /* Override any GCC internal prototype to avoid an error.
39916 Use char because int might match the return type of a GCC
39917 builtin and then its argument prototype would still apply. */
39921 char pthread_attr_setstacksize ();
39922 /* The GNU C library defines this for functions which it implements
39923 to always fail with ENOSYS. Some functions are actually named
39924 something starting with __ and the normal name is an alias. */
39925 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39932 return pthread_attr_setstacksize ();
39937 rm -f conftest.$ac_objext conftest$ac_exeext
39938 if { (ac_try="$ac_link"
39939 case "(($ac_try" in
39940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39941 *) ac_try_echo=$ac_try;;
39943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39944 (eval "$ac_link") 2>conftest.er1
39946 grep -v '^ *+' conftest.er1 >conftest.err
39948 cat conftest.err >&5
39949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39950 (exit $ac_status); } && {
39951 test -z "$ac_c_werror_flag" ||
39952 test ! -s conftest.err
39953 } && test -s conftest$ac_exeext &&
39954 $as_test_x conftest$ac_exeext; then
39955 ac_cv_func_pthread_attr_setstacksize=yes
39957 echo "$as_me: failed program was:" >&5
39958 sed 's/^/| /' conftest.$ac_ext >&5
39960 ac_cv_func_pthread_attr_setstacksize=no
39963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39964 conftest$ac_exeext conftest.$ac_ext
39966 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39967 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39968 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39969 cat >>confdefs.h <<\_ACEOF
39970 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39977 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39978 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39979 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39980 echo $ECHO_N "(cached) $ECHO_C" >&6
39983 cat >conftest.$ac_ext <<_ACEOF
39986 cat confdefs.h >>conftest.$ac_ext
39987 cat >>conftest.$ac_ext <<_ACEOF
39988 /* end confdefs.h. */
39989 #include <pthread.h>
39994 pthread_mutexattr_t attr;
39995 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40001 rm -f conftest.$ac_objext
40002 if { (ac_try="$ac_compile"
40003 case "(($ac_try" in
40004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40005 *) ac_try_echo=$ac_try;;
40007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40008 (eval "$ac_compile") 2>conftest.er1
40010 grep -v '^ *+' conftest.er1 >conftest.err
40012 cat conftest.err >&5
40013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40014 (exit $ac_status); } && {
40015 test -z "$ac_c_werror_flag" ||
40016 test ! -s conftest.err
40017 } && test -s conftest.$ac_objext; then
40018 wx_cv_type_pthread_mutexattr_t=yes
40020 echo "$as_me: failed program was:" >&5
40021 sed 's/^/| /' conftest.$ac_ext >&5
40023 wx_cv_type_pthread_mutexattr_t=no
40027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40030 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40031 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40033 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40034 cat >>confdefs.h <<\_ACEOF
40035 #define HAVE_PTHREAD_MUTEXATTR_T 1
40039 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40040 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40041 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40042 echo $ECHO_N "(cached) $ECHO_C" >&6
40045 cat >conftest.$ac_ext <<_ACEOF
40048 cat confdefs.h >>conftest.$ac_ext
40049 cat >>conftest.$ac_ext <<_ACEOF
40050 /* end confdefs.h. */
40051 #include <pthread.h>
40056 pthread_mutexattr_t attr;
40057 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40063 rm -f conftest.$ac_objext
40064 if { (ac_try="$ac_compile"
40065 case "(($ac_try" in
40066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40067 *) ac_try_echo=$ac_try;;
40069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40070 (eval "$ac_compile") 2>conftest.er1
40072 grep -v '^ *+' conftest.er1 >conftest.err
40074 cat conftest.err >&5
40075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076 (exit $ac_status); } && {
40077 test -z "$ac_c_werror_flag" ||
40078 test ! -s conftest.err
40079 } && test -s conftest.$ac_objext; then
40080 wx_cv_func_pthread_mutexattr_settype_decl=yes
40082 echo "$as_me: failed program was:" >&5
40083 sed 's/^/| /' conftest.$ac_ext >&5
40085 wx_cv_func_pthread_mutexattr_settype_decl=no
40089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40092 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40093 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40094 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40095 cat >>confdefs.h <<\_ACEOF
40096 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40101 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40102 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40103 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40104 echo $ECHO_N "(cached) $ECHO_C" >&6
40107 cat >conftest.$ac_ext <<_ACEOF
40110 cat confdefs.h >>conftest.$ac_ext
40111 cat >>conftest.$ac_ext <<_ACEOF
40112 /* end confdefs.h. */
40113 #include <pthread.h>
40118 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40124 rm -f conftest.$ac_objext
40125 if { (ac_try="$ac_compile"
40126 case "(($ac_try" in
40127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40128 *) ac_try_echo=$ac_try;;
40130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40131 (eval "$ac_compile") 2>conftest.er1
40133 grep -v '^ *+' conftest.er1 >conftest.err
40135 cat conftest.err >&5
40136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40137 (exit $ac_status); } && {
40138 test -z "$ac_c_werror_flag" ||
40139 test ! -s conftest.err
40140 } && test -s conftest.$ac_objext; then
40142 wx_cv_type_pthread_rec_mutex_init=yes
40145 echo "$as_me: failed program was:" >&5
40146 sed 's/^/| /' conftest.$ac_ext >&5
40149 wx_cv_type_pthread_rec_mutex_init=no
40154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40157 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40158 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40159 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40160 cat >>confdefs.h <<\_ACEOF
40161 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40165 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40166 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40170 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40171 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40172 if test "${wx_cv_cc___thread+set}" = set; then
40173 echo $ECHO_N "(cached) $ECHO_C" >&6
40176 cat >conftest.$ac_ext <<_ACEOF
40179 cat confdefs.h >>conftest.$ac_ext
40180 cat >>conftest.$ac_ext <<_ACEOF
40181 /* end confdefs.h. */
40182 #include <pthread.h>
40187 static __thread int n = 0;
40188 static __thread int *p = 0;
40194 rm -f conftest.$ac_objext
40195 if { (ac_try="$ac_compile"
40196 case "(($ac_try" in
40197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40198 *) ac_try_echo=$ac_try;;
40200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40201 (eval "$ac_compile") 2>conftest.er1
40203 grep -v '^ *+' conftest.er1 >conftest.err
40205 cat conftest.err >&5
40206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40207 (exit $ac_status); } && {
40208 test -z "$ac_c_werror_flag" ||
40209 test ! -s conftest.err
40210 } && test -s conftest.$ac_objext; then
40211 wx_cv_cc___thread=yes
40213 echo "$as_me: failed program was:" >&5
40214 sed 's/^/| /' conftest.$ac_ext >&5
40216 wx_cv_cc___thread=no
40220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40223 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40224 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40226 if test "$wx_cv_cc___thread" = "yes"; then
40227 cat >>confdefs.h <<\_ACEOF
40228 #define HAVE___THREAD_KEYWORD 1
40235 if test "$wxUSE_THREADS" = "yes" ; then
40237 x86_64-*-mingw32* )
40240 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40241 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40242 if test "${wx_cv_cflags_mthread+set}" = set; then
40243 echo $ECHO_N "(cached) $ECHO_C" >&6
40246 CFLAGS_OLD="$CFLAGS"
40247 CFLAGS="-mthreads $CFLAGS"
40248 cat >conftest.$ac_ext <<_ACEOF
40251 cat confdefs.h >>conftest.$ac_ext
40252 cat >>conftest.$ac_ext <<_ACEOF
40253 /* end confdefs.h. */
40263 rm -f conftest.$ac_objext
40264 if { (ac_try="$ac_compile"
40265 case "(($ac_try" in
40266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40267 *) ac_try_echo=$ac_try;;
40269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40270 (eval "$ac_compile") 2>conftest.er1
40272 grep -v '^ *+' conftest.er1 >conftest.err
40274 cat conftest.err >&5
40275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276 (exit $ac_status); } && {
40277 test -z "$ac_c_werror_flag" ||
40278 test ! -s conftest.err
40279 } && test -s conftest.$ac_objext; then
40280 wx_cv_cflags_mthread=yes
40282 echo "$as_me: failed program was:" >&5
40283 sed 's/^/| /' conftest.$ac_ext >&5
40285 wx_cv_cflags_mthread=no
40289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40293 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40294 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40296 if test "$wx_cv_cflags_mthread" = "yes"; then
40297 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40298 LDFLAGS="$LDFLAGS -mthreads"
40300 CFLAGS="$CFLAGS_OLD"
40304 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40305 LDFLAGS="$LDFLAGS -Zmt"
40311 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40312 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40313 if test "${ac_cv_func_localtime_r+set}" = set; then
40314 echo $ECHO_N "(cached) $ECHO_C" >&6
40316 cat >conftest.$ac_ext <<_ACEOF
40319 cat confdefs.h >>conftest.$ac_ext
40320 cat >>conftest.$ac_ext <<_ACEOF
40321 /* end confdefs.h. */
40322 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40324 #define localtime_r innocuous_localtime_r
40326 /* System header to define __stub macros and hopefully few prototypes,
40327 which can conflict with char localtime_r (); below.
40328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40329 <limits.h> exists even on freestanding compilers. */
40332 # include <limits.h>
40334 # include <assert.h>
40339 /* Override any GCC internal prototype to avoid an error.
40340 Use char because int might match the return type of a GCC
40341 builtin and then its argument prototype would still apply. */
40345 char localtime_r ();
40346 /* The GNU C library defines this for functions which it implements
40347 to always fail with ENOSYS. Some functions are actually named
40348 something starting with __ and the normal name is an alias. */
40349 #if defined __stub_localtime_r || defined __stub___localtime_r
40356 return localtime_r ();
40361 rm -f conftest.$ac_objext conftest$ac_exeext
40362 if { (ac_try="$ac_link"
40363 case "(($ac_try" in
40364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40365 *) ac_try_echo=$ac_try;;
40367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40368 (eval "$ac_link") 2>conftest.er1
40370 grep -v '^ *+' conftest.er1 >conftest.err
40372 cat conftest.err >&5
40373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40374 (exit $ac_status); } && {
40375 test -z "$ac_c_werror_flag" ||
40376 test ! -s conftest.err
40377 } && test -s conftest$ac_exeext &&
40378 $as_test_x conftest$ac_exeext; then
40379 ac_cv_func_localtime_r=yes
40381 echo "$as_me: failed program was:" >&5
40382 sed 's/^/| /' conftest.$ac_ext >&5
40384 ac_cv_func_localtime_r=no
40387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40388 conftest$ac_exeext conftest.$ac_ext
40390 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40391 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40392 if test $ac_cv_func_localtime_r = yes; then
40393 cat >>confdefs.h <<\_ACEOF
40394 #define HAVE_LOCALTIME_R 1
40399 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40400 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40401 if test "${ac_cv_func_gmtime_r+set}" = set; then
40402 echo $ECHO_N "(cached) $ECHO_C" >&6
40404 cat >conftest.$ac_ext <<_ACEOF
40407 cat confdefs.h >>conftest.$ac_ext
40408 cat >>conftest.$ac_ext <<_ACEOF
40409 /* end confdefs.h. */
40410 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40412 #define gmtime_r innocuous_gmtime_r
40414 /* System header to define __stub macros and hopefully few prototypes,
40415 which can conflict with char gmtime_r (); below.
40416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40417 <limits.h> exists even on freestanding compilers. */
40420 # include <limits.h>
40422 # include <assert.h>
40427 /* Override any GCC internal prototype to avoid an error.
40428 Use char because int might match the return type of a GCC
40429 builtin and then its argument prototype would still apply. */
40434 /* The GNU C library defines this for functions which it implements
40435 to always fail with ENOSYS. Some functions are actually named
40436 something starting with __ and the normal name is an alias. */
40437 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40444 return gmtime_r ();
40449 rm -f conftest.$ac_objext conftest$ac_exeext
40450 if { (ac_try="$ac_link"
40451 case "(($ac_try" in
40452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40453 *) ac_try_echo=$ac_try;;
40455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40456 (eval "$ac_link") 2>conftest.er1
40458 grep -v '^ *+' conftest.er1 >conftest.err
40460 cat conftest.err >&5
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); } && {
40463 test -z "$ac_c_werror_flag" ||
40464 test ! -s conftest.err
40465 } && test -s conftest$ac_exeext &&
40466 $as_test_x conftest$ac_exeext; then
40467 ac_cv_func_gmtime_r=yes
40469 echo "$as_me: failed program was:" >&5
40470 sed 's/^/| /' conftest.$ac_ext >&5
40472 ac_cv_func_gmtime_r=no
40475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40476 conftest$ac_exeext conftest.$ac_ext
40478 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40479 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40480 if test $ac_cv_func_gmtime_r = yes; then
40481 cat >>confdefs.h <<\_ACEOF
40482 #define HAVE_GMTIME_R 1
40491 ac_cpp='$CPP $CPPFLAGS'
40492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40496 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40497 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40499 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40500 echo $ECHO_N "(cached) $ECHO_C" >&6
40504 ################################################################
40506 ac_cv_func_which_gethostbyname_r=unknown
40509 # ONE ARGUMENT (sanity check)
40512 # This should fail, as there is no variant of gethostbyname_r() that takes
40513 # a single argument. If it actually compiles, then we can assume that
40514 # netdb.h is not declaring the function, and the compiler is thereby
40515 # assuming an implicit prototype. In which case, we're out of luck.
40517 cat >conftest.$ac_ext <<_ACEOF
40520 cat confdefs.h >>conftest.$ac_ext
40521 cat >>conftest.$ac_ext <<_ACEOF
40522 /* end confdefs.h. */
40528 char *name = "www.gnu.org";
40529 (void)gethostbyname_r(name) /* ; */
40535 rm -f conftest.$ac_objext
40536 if { (ac_try="$ac_compile"
40537 case "(($ac_try" in
40538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40539 *) ac_try_echo=$ac_try;;
40541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40542 (eval "$ac_compile") 2>conftest.er1
40544 grep -v '^ *+' conftest.er1 >conftest.err
40546 cat conftest.err >&5
40547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40548 (exit $ac_status); } && {
40549 test -z "$ac_c_werror_flag" ||
40550 test ! -s conftest.err
40551 } && test -s conftest.$ac_objext; then
40552 ac_cv_func_which_gethostbyname_r=no
40554 echo "$as_me: failed program was:" >&5
40555 sed 's/^/| /' conftest.$ac_ext >&5
40560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40567 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40569 cat >conftest.$ac_ext <<_ACEOF
40572 cat confdefs.h >>conftest.$ac_ext
40573 cat >>conftest.$ac_ext <<_ACEOF
40574 /* end confdefs.h. */
40580 char *name = "www.gnu.org";
40581 struct hostent ret, *retp;
40585 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40591 rm -f conftest.$ac_objext
40592 if { (ac_try="$ac_compile"
40593 case "(($ac_try" in
40594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40595 *) ac_try_echo=$ac_try;;
40597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40598 (eval "$ac_compile") 2>conftest.er1
40600 grep -v '^ *+' conftest.er1 >conftest.err
40602 cat conftest.err >&5
40603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40604 (exit $ac_status); } && {
40605 test -z "$ac_c_werror_flag" ||
40606 test ! -s conftest.err
40607 } && test -s conftest.$ac_objext; then
40608 ac_cv_func_which_gethostbyname_r=six
40610 echo "$as_me: failed program was:" >&5
40611 sed 's/^/| /' conftest.$ac_ext >&5
40616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40625 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40627 cat >conftest.$ac_ext <<_ACEOF
40630 cat confdefs.h >>conftest.$ac_ext
40631 cat >>conftest.$ac_ext <<_ACEOF
40632 /* end confdefs.h. */
40638 char *name = "www.gnu.org";
40639 struct hostent ret;
40643 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40649 rm -f conftest.$ac_objext
40650 if { (ac_try="$ac_compile"
40651 case "(($ac_try" in
40652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40653 *) ac_try_echo=$ac_try;;
40655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40656 (eval "$ac_compile") 2>conftest.er1
40658 grep -v '^ *+' conftest.er1 >conftest.err
40660 cat conftest.err >&5
40661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40662 (exit $ac_status); } && {
40663 test -z "$ac_c_werror_flag" ||
40664 test ! -s conftest.err
40665 } && test -s conftest.$ac_objext; then
40666 ac_cv_func_which_gethostbyname_r=five
40668 echo "$as_me: failed program was:" >&5
40669 sed 's/^/| /' conftest.$ac_ext >&5
40674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40680 # (e.g. AIX, HP-UX, Tru64)
40683 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40685 cat >conftest.$ac_ext <<_ACEOF
40688 cat confdefs.h >>conftest.$ac_ext
40689 cat >>conftest.$ac_ext <<_ACEOF
40690 /* end confdefs.h. */
40696 char *name = "www.gnu.org";
40697 struct hostent ret;
40698 struct hostent_data data;
40699 (void)gethostbyname_r(name, &ret, &data) /* ; */
40705 rm -f conftest.$ac_objext
40706 if { (ac_try="$ac_compile"
40707 case "(($ac_try" in
40708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40709 *) ac_try_echo=$ac_try;;
40711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40712 (eval "$ac_compile") 2>conftest.er1
40714 grep -v '^ *+' conftest.er1 >conftest.err
40716 cat conftest.err >&5
40717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40718 (exit $ac_status); } && {
40719 test -z "$ac_c_werror_flag" ||
40720 test ! -s conftest.err
40721 } && test -s conftest.$ac_objext; then
40722 ac_cv_func_which_gethostbyname_r=three
40724 echo "$as_me: failed program was:" >&5
40725 sed 's/^/| /' conftest.$ac_ext >&5
40730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40734 ################################################################
40739 case "$ac_cv_func_which_gethostbyname_r" in
40741 { echo "$as_me:$LINENO: result: three" >&5
40742 echo "${ECHO_T}three" >&6; }
40743 cat >>confdefs.h <<\_ACEOF
40744 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40750 { echo "$as_me:$LINENO: result: five" >&5
40751 echo "${ECHO_T}five" >&6; }
40752 cat >>confdefs.h <<\_ACEOF
40753 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40759 { echo "$as_me:$LINENO: result: six" >&5
40760 echo "${ECHO_T}six" >&6; }
40761 cat >>confdefs.h <<\_ACEOF
40762 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40768 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40769 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40773 { echo "$as_me:$LINENO: result: can't tell" >&5
40774 echo "${ECHO_T}can't tell" >&6; }
40778 { { echo "$as_me:$LINENO: error: internal error" >&5
40779 echo "$as_me: error: internal error" >&2;}
40780 { (exit 1); exit 1; }; }
40785 ac_cpp='$CPP $CPPFLAGS'
40786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40792 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40793 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40794 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40795 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40796 if test "${ac_cv_func_gethostbyname+set}" = set; then
40797 echo $ECHO_N "(cached) $ECHO_C" >&6
40799 cat >conftest.$ac_ext <<_ACEOF
40802 cat confdefs.h >>conftest.$ac_ext
40803 cat >>conftest.$ac_ext <<_ACEOF
40804 /* end confdefs.h. */
40805 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40807 #define gethostbyname innocuous_gethostbyname
40809 /* System header to define __stub macros and hopefully few prototypes,
40810 which can conflict with char gethostbyname (); below.
40811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40812 <limits.h> exists even on freestanding compilers. */
40815 # include <limits.h>
40817 # include <assert.h>
40820 #undef gethostbyname
40822 /* Override any GCC internal prototype to avoid an error.
40823 Use char because int might match the return type of a GCC
40824 builtin and then its argument prototype would still apply. */
40828 char gethostbyname ();
40829 /* The GNU C library defines this for functions which it implements
40830 to always fail with ENOSYS. Some functions are actually named
40831 something starting with __ and the normal name is an alias. */
40832 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40839 return gethostbyname ();
40844 rm -f conftest.$ac_objext conftest$ac_exeext
40845 if { (ac_try="$ac_link"
40846 case "(($ac_try" in
40847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40848 *) ac_try_echo=$ac_try;;
40850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40851 (eval "$ac_link") 2>conftest.er1
40853 grep -v '^ *+' conftest.er1 >conftest.err
40855 cat conftest.err >&5
40856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40857 (exit $ac_status); } && {
40858 test -z "$ac_c_werror_flag" ||
40859 test ! -s conftest.err
40860 } && test -s conftest$ac_exeext &&
40861 $as_test_x conftest$ac_exeext; then
40862 ac_cv_func_gethostbyname=yes
40864 echo "$as_me: failed program was:" >&5
40865 sed 's/^/| /' conftest.$ac_ext >&5
40867 ac_cv_func_gethostbyname=no
40870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40871 conftest$ac_exeext conftest.$ac_ext
40873 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40874 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40875 if test $ac_cv_func_gethostbyname = yes; then
40876 cat >>confdefs.h <<\_ACEOF
40877 #define HAVE_GETHOSTBYNAME 1
40884 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40885 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40886 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40887 echo $ECHO_N "(cached) $ECHO_C" >&6
40891 ac_cpp='$CXXCPP $CPPFLAGS'
40892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40897 cat >conftest.$ac_ext <<_ACEOF
40900 cat confdefs.h >>conftest.$ac_ext
40901 cat >>conftest.$ac_ext <<_ACEOF
40902 /* end confdefs.h. */
40910 struct servent *se, *res;
40913 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40919 rm -f conftest.$ac_objext
40920 if { (ac_try="$ac_compile"
40921 case "(($ac_try" in
40922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40923 *) ac_try_echo=$ac_try;;
40925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40926 (eval "$ac_compile") 2>conftest.er1
40928 grep -v '^ *+' conftest.er1 >conftest.err
40930 cat conftest.err >&5
40931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40932 (exit $ac_status); } && {
40933 test -z "$ac_cxx_werror_flag" ||
40934 test ! -s conftest.err
40935 } && test -s conftest.$ac_objext; then
40936 ac_cv_func_which_getservbyname_r=six
40938 echo "$as_me: failed program was:" >&5
40939 sed 's/^/| /' conftest.$ac_ext >&5
40942 cat >conftest.$ac_ext <<_ACEOF
40945 cat confdefs.h >>conftest.$ac_ext
40946 cat >>conftest.$ac_ext <<_ACEOF
40947 /* end confdefs.h. */
40955 struct servent *se;
40958 (void) getservbyname_r(name, proto, se, buffer, buflen)
40964 rm -f conftest.$ac_objext
40965 if { (ac_try="$ac_compile"
40966 case "(($ac_try" in
40967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40968 *) ac_try_echo=$ac_try;;
40970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40971 (eval "$ac_compile") 2>conftest.er1
40973 grep -v '^ *+' conftest.er1 >conftest.err
40975 cat conftest.err >&5
40976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 (exit $ac_status); } && {
40978 test -z "$ac_cxx_werror_flag" ||
40979 test ! -s conftest.err
40980 } && test -s conftest.$ac_objext; then
40981 ac_cv_func_which_getservbyname_r=five
40983 echo "$as_me: failed program was:" >&5
40984 sed 's/^/| /' conftest.$ac_ext >&5
40987 cat >conftest.$ac_ext <<_ACEOF
40990 cat confdefs.h >>conftest.$ac_ext
40991 cat >>conftest.$ac_ext <<_ACEOF
40992 /* end confdefs.h. */
41000 struct servent *se;
41001 struct servent_data data;
41002 (void) getservbyname_r(name, proto, se, &data);
41008 rm -f conftest.$ac_objext
41009 if { (ac_try="$ac_compile"
41010 case "(($ac_try" in
41011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41012 *) ac_try_echo=$ac_try;;
41014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41015 (eval "$ac_compile") 2>conftest.er1
41017 grep -v '^ *+' conftest.er1 >conftest.err
41019 cat conftest.err >&5
41020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41021 (exit $ac_status); } && {
41022 test -z "$ac_cxx_werror_flag" ||
41023 test ! -s conftest.err
41024 } && test -s conftest.$ac_objext; then
41025 ac_cv_func_which_getservbyname_r=four
41027 echo "$as_me: failed program was:" >&5
41028 sed 's/^/| /' conftest.$ac_ext >&5
41030 ac_cv_func_which_getservbyname_r=no
41034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41046 ac_cpp='$CPP $CPPFLAGS'
41047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41054 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41055 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41057 if test $ac_cv_func_which_getservbyname_r = six; then
41058 cat >>confdefs.h <<\_ACEOF
41059 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41062 elif test $ac_cv_func_which_getservbyname_r = five; then
41063 cat >>confdefs.h <<\_ACEOF
41064 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41067 elif test $ac_cv_func_which_getservbyname_r = four; then
41068 cat >>confdefs.h <<\_ACEOF
41069 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41075 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41076 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41078 for ac_func in getservbyname
41080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41081 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41083 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41084 echo $ECHO_N "(cached) $ECHO_C" >&6
41086 cat >conftest.$ac_ext <<_ACEOF
41089 cat confdefs.h >>conftest.$ac_ext
41090 cat >>conftest.$ac_ext <<_ACEOF
41091 /* end confdefs.h. */
41092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41094 #define $ac_func innocuous_$ac_func
41096 /* System header to define __stub macros and hopefully few prototypes,
41097 which can conflict with char $ac_func (); below.
41098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41099 <limits.h> exists even on freestanding compilers. */
41102 # include <limits.h>
41104 # include <assert.h>
41109 /* Override any GCC internal prototype to avoid an error.
41110 Use char because int might match the return type of a GCC
41111 builtin and then its argument prototype would still apply. */
41116 /* The GNU C library defines this for functions which it implements
41117 to always fail with ENOSYS. Some functions are actually named
41118 something starting with __ and the normal name is an alias. */
41119 #if defined __stub_$ac_func || defined __stub___$ac_func
41126 return $ac_func ();
41131 rm -f conftest.$ac_objext conftest$ac_exeext
41132 if { (ac_try="$ac_link"
41133 case "(($ac_try" in
41134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41135 *) ac_try_echo=$ac_try;;
41137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41138 (eval "$ac_link") 2>conftest.er1
41140 grep -v '^ *+' conftest.er1 >conftest.err
41142 cat conftest.err >&5
41143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41144 (exit $ac_status); } && {
41145 test -z "$ac_c_werror_flag" ||
41146 test ! -s conftest.err
41147 } && test -s conftest$ac_exeext &&
41148 $as_test_x conftest$ac_exeext; then
41149 eval "$as_ac_var=yes"
41151 echo "$as_me: failed program was:" >&5
41152 sed 's/^/| /' conftest.$ac_ext >&5
41154 eval "$as_ac_var=no"
41157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41158 conftest$ac_exeext conftest.$ac_ext
41160 ac_res=`eval echo '${'$as_ac_var'}'`
41161 { echo "$as_me:$LINENO: result: $ac_res" >&5
41162 echo "${ECHO_T}$ac_res" >&6; }
41163 if test `eval echo '${'$as_ac_var'}'` = yes; then
41164 cat >>confdefs.h <<_ACEOF
41165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41167 cat >>confdefs.h <<\_ACEOF
41168 #define HAVE_GETSERVBYNAME 1
41176 if test "$wxUSE_THREADS" = "yes"; then
41177 cat >>confdefs.h <<\_ACEOF
41178 #define wxUSE_THREADS 1
41182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41184 if test "$wx_cv_func_strtok_r" = "yes"; then
41185 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41186 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41187 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41188 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41189 { echo "$as_me:$LINENO: result: yes" >&5
41190 echo "${ECHO_T}yes" >&6; }
41192 { echo "$as_me:$LINENO: result: no" >&5
41193 echo "${ECHO_T}no" >&6; }
41198 if test "$WXGTK2" = 1 ; then
41199 cat >>confdefs.h <<_ACEOF
41200 #define __WXGTK20__ $WXGTK2
41206 if test "$WXGTK12" = 1 ; then
41207 cat >>confdefs.h <<_ACEOF
41208 #define __WXGTK12__ $WXGTK12
41213 if test "$WXGTK127" = 1 ; then
41214 cat >>confdefs.h <<_ACEOF
41215 #define __WXGTK127__ $WXGTK127
41220 if test "$WXGPE" = 1 ; then
41221 cat >>confdefs.h <<_ACEOF
41222 #define __WXGPE__ $WXGPE
41228 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41232 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41233 wxUSE_DEBUG_INFO=yes
41234 if test "$GCC" = yes; then
41235 DEBUG_CFLAGS="-ggdb"
41239 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41240 cat >>confdefs.h <<\_ACEOF
41244 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41246 if test "$wxUSE_GTK" = 1 ; then
41247 if test "x$wxGTK_VERSION" = "x1" ; then
41248 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41253 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41254 cat >>confdefs.h <<\_ACEOF
41255 #define wxUSE_MEMORY_TRACING 1
41258 cat >>confdefs.h <<\_ACEOF
41259 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41262 cat >>confdefs.h <<\_ACEOF
41263 #define wxUSE_DEBUG_NEW_ALWAYS 1
41266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41269 if test "$wxUSE_DMALLOC" = "yes" ; then
41270 DMALLOC_LIBS="-ldmallocthcxx"
41274 if test "$wxUSE_PROFILE" = "yes" ; then
41275 PROFILE_FLAGS=" -pg"
41278 if test "$GCC" = "yes" ; then
41279 if test "$wxUSE_NO_RTTI" = "yes" ; then
41280 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41282 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41283 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41285 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41286 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41291 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41294 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41300 if test "$wxUSE_OPTIMISE" = "no" ; then
41301 if test "$GCC" = yes ; then
41302 OPTIMISE_CFLAGS="-O0"
41305 if test "$GCC" = yes ; then
41307 *-pc-os2_emx | *-pc-os2-emx )
41308 OPTIMISE_CFLAGS="-O2"
41311 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41315 OPTIMISE_CFLAGS="-O"
41320 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41321 cat >>confdefs.h <<\_ACEOF
41322 #define WXWIN_COMPATIBILITY_2_6 1
41326 WXWIN_COMPATIBILITY_2_8="yes"
41329 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41330 cat >>confdefs.h <<\_ACEOF
41331 #define WXWIN_COMPATIBILITY_2_8 1
41337 if test "$wxUSE_GUI" = "yes"; then
41338 cat >>confdefs.h <<\_ACEOF
41339 #define wxUSE_GUI 1
41346 if test "$wxUSE_UNIX" = "yes"; then
41347 cat >>confdefs.h <<\_ACEOF
41348 #define wxUSE_UNIX 1
41354 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41358 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41359 if test "$USE_DOS" = 1; then
41363 for ac_func in dlopen
41365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41366 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41369 echo $ECHO_N "(cached) $ECHO_C" >&6
41371 cat >conftest.$ac_ext <<_ACEOF
41374 cat confdefs.h >>conftest.$ac_ext
41375 cat >>conftest.$ac_ext <<_ACEOF
41376 /* end confdefs.h. */
41377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41379 #define $ac_func innocuous_$ac_func
41381 /* System header to define __stub macros and hopefully few prototypes,
41382 which can conflict with char $ac_func (); below.
41383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41384 <limits.h> exists even on freestanding compilers. */
41387 # include <limits.h>
41389 # include <assert.h>
41394 /* Override any GCC internal prototype to avoid an error.
41395 Use char because int might match the return type of a GCC
41396 builtin and then its argument prototype would still apply. */
41401 /* The GNU C library defines this for functions which it implements
41402 to always fail with ENOSYS. Some functions are actually named
41403 something starting with __ and the normal name is an alias. */
41404 #if defined __stub_$ac_func || defined __stub___$ac_func
41411 return $ac_func ();
41416 rm -f conftest.$ac_objext conftest$ac_exeext
41417 if { (ac_try="$ac_link"
41418 case "(($ac_try" in
41419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41420 *) ac_try_echo=$ac_try;;
41422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41423 (eval "$ac_link") 2>conftest.er1
41425 grep -v '^ *+' conftest.er1 >conftest.err
41427 cat conftest.err >&5
41428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41429 (exit $ac_status); } && {
41430 test -z "$ac_c_werror_flag" ||
41431 test ! -s conftest.err
41432 } && test -s conftest$ac_exeext &&
41433 $as_test_x conftest$ac_exeext; then
41434 eval "$as_ac_var=yes"
41436 echo "$as_me: failed program was:" >&5
41437 sed 's/^/| /' conftest.$ac_ext >&5
41439 eval "$as_ac_var=no"
41442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41443 conftest$ac_exeext conftest.$ac_ext
41445 ac_res=`eval echo '${'$as_ac_var'}'`
41446 { echo "$as_me:$LINENO: result: $ac_res" >&5
41447 echo "${ECHO_T}$ac_res" >&6; }
41448 if test `eval echo '${'$as_ac_var'}'` = yes; then
41449 cat >>confdefs.h <<_ACEOF
41450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41453 cat >>confdefs.h <<\_ACEOF
41454 #define HAVE_DLOPEN 1
41461 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41462 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41463 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41464 echo $ECHO_N "(cached) $ECHO_C" >&6
41466 ac_check_lib_save_LIBS=$LIBS
41468 cat >conftest.$ac_ext <<_ACEOF
41471 cat confdefs.h >>conftest.$ac_ext
41472 cat >>conftest.$ac_ext <<_ACEOF
41473 /* end confdefs.h. */
41475 /* Override any GCC internal prototype to avoid an error.
41476 Use char because int might match the return type of a GCC
41477 builtin and then its argument prototype would still apply. */
41490 rm -f conftest.$ac_objext conftest$ac_exeext
41491 if { (ac_try="$ac_link"
41492 case "(($ac_try" in
41493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41494 *) ac_try_echo=$ac_try;;
41496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41497 (eval "$ac_link") 2>conftest.er1
41499 grep -v '^ *+' conftest.er1 >conftest.err
41501 cat conftest.err >&5
41502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41503 (exit $ac_status); } && {
41504 test -z "$ac_c_werror_flag" ||
41505 test ! -s conftest.err
41506 } && test -s conftest$ac_exeext &&
41507 $as_test_x conftest$ac_exeext; then
41508 ac_cv_lib_dl_dlopen=yes
41510 echo "$as_me: failed program was:" >&5
41511 sed 's/^/| /' conftest.$ac_ext >&5
41513 ac_cv_lib_dl_dlopen=no
41516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41517 conftest$ac_exeext conftest.$ac_ext
41518 LIBS=$ac_check_lib_save_LIBS
41520 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41521 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41522 if test $ac_cv_lib_dl_dlopen = yes; then
41524 cat >>confdefs.h <<\_ACEOF
41525 #define HAVE_DLOPEN 1
41529 DL_LINK=" -ldl$DL_LINK"
41534 for ac_func in shl_load
41536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41537 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41539 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41540 echo $ECHO_N "(cached) $ECHO_C" >&6
41542 cat >conftest.$ac_ext <<_ACEOF
41545 cat confdefs.h >>conftest.$ac_ext
41546 cat >>conftest.$ac_ext <<_ACEOF
41547 /* end confdefs.h. */
41548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41550 #define $ac_func innocuous_$ac_func
41552 /* System header to define __stub macros and hopefully few prototypes,
41553 which can conflict with char $ac_func (); below.
41554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41555 <limits.h> exists even on freestanding compilers. */
41558 # include <limits.h>
41560 # include <assert.h>
41565 /* Override any GCC internal prototype to avoid an error.
41566 Use char because int might match the return type of a GCC
41567 builtin and then its argument prototype would still apply. */
41572 /* The GNU C library defines this for functions which it implements
41573 to always fail with ENOSYS. Some functions are actually named
41574 something starting with __ and the normal name is an alias. */
41575 #if defined __stub_$ac_func || defined __stub___$ac_func
41582 return $ac_func ();
41587 rm -f conftest.$ac_objext conftest$ac_exeext
41588 if { (ac_try="$ac_link"
41589 case "(($ac_try" in
41590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41591 *) ac_try_echo=$ac_try;;
41593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41594 (eval "$ac_link") 2>conftest.er1
41596 grep -v '^ *+' conftest.er1 >conftest.err
41598 cat conftest.err >&5
41599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41600 (exit $ac_status); } && {
41601 test -z "$ac_c_werror_flag" ||
41602 test ! -s conftest.err
41603 } && test -s conftest$ac_exeext &&
41604 $as_test_x conftest$ac_exeext; then
41605 eval "$as_ac_var=yes"
41607 echo "$as_me: failed program was:" >&5
41608 sed 's/^/| /' conftest.$ac_ext >&5
41610 eval "$as_ac_var=no"
41613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41614 conftest$ac_exeext conftest.$ac_ext
41616 ac_res=`eval echo '${'$as_ac_var'}'`
41617 { echo "$as_me:$LINENO: result: $ac_res" >&5
41618 echo "${ECHO_T}$ac_res" >&6; }
41619 if test `eval echo '${'$as_ac_var'}'` = yes; then
41620 cat >>confdefs.h <<_ACEOF
41621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41624 cat >>confdefs.h <<\_ACEOF
41625 #define HAVE_SHL_LOAD 1
41632 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41633 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41634 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41635 echo $ECHO_N "(cached) $ECHO_C" >&6
41637 ac_check_lib_save_LIBS=$LIBS
41638 LIBS="-lshl_load $LIBS"
41639 cat >conftest.$ac_ext <<_ACEOF
41642 cat confdefs.h >>conftest.$ac_ext
41643 cat >>conftest.$ac_ext <<_ACEOF
41644 /* end confdefs.h. */
41646 /* Override any GCC internal prototype to avoid an error.
41647 Use char because int might match the return type of a GCC
41648 builtin and then its argument prototype would still apply. */
41661 rm -f conftest.$ac_objext conftest$ac_exeext
41662 if { (ac_try="$ac_link"
41663 case "(($ac_try" in
41664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41665 *) ac_try_echo=$ac_try;;
41667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41668 (eval "$ac_link") 2>conftest.er1
41670 grep -v '^ *+' conftest.er1 >conftest.err
41672 cat conftest.err >&5
41673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41674 (exit $ac_status); } && {
41675 test -z "$ac_c_werror_flag" ||
41676 test ! -s conftest.err
41677 } && test -s conftest$ac_exeext &&
41678 $as_test_x conftest$ac_exeext; then
41679 ac_cv_lib_shl_load_dld=yes
41681 echo "$as_me: failed program was:" >&5
41682 sed 's/^/| /' conftest.$ac_ext >&5
41684 ac_cv_lib_shl_load_dld=no
41687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41688 conftest$ac_exeext conftest.$ac_ext
41689 LIBS=$ac_check_lib_save_LIBS
41691 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41692 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41693 if test $ac_cv_lib_shl_load_dld = yes; then
41696 DL_LINK=" -ldld$DL_LINK"
41712 if test "$HAVE_DL_FUNCS" = 1; then
41714 for ac_func in dlerror
41716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41717 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41719 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41720 echo $ECHO_N "(cached) $ECHO_C" >&6
41722 cat >conftest.$ac_ext <<_ACEOF
41725 cat confdefs.h >>conftest.$ac_ext
41726 cat >>conftest.$ac_ext <<_ACEOF
41727 /* end confdefs.h. */
41728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41730 #define $ac_func innocuous_$ac_func
41732 /* System header to define __stub macros and hopefully few prototypes,
41733 which can conflict with char $ac_func (); below.
41734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41735 <limits.h> exists even on freestanding compilers. */
41738 # include <limits.h>
41740 # include <assert.h>
41745 /* Override any GCC internal prototype to avoid an error.
41746 Use char because int might match the return type of a GCC
41747 builtin and then its argument prototype would still apply. */
41752 /* The GNU C library defines this for functions which it implements
41753 to always fail with ENOSYS. Some functions are actually named
41754 something starting with __ and the normal name is an alias. */
41755 #if defined __stub_$ac_func || defined __stub___$ac_func
41762 return $ac_func ();
41767 rm -f conftest.$ac_objext conftest$ac_exeext
41768 if { (ac_try="$ac_link"
41769 case "(($ac_try" in
41770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41771 *) ac_try_echo=$ac_try;;
41773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41774 (eval "$ac_link") 2>conftest.er1
41776 grep -v '^ *+' conftest.er1 >conftest.err
41778 cat conftest.err >&5
41779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41780 (exit $ac_status); } && {
41781 test -z "$ac_c_werror_flag" ||
41782 test ! -s conftest.err
41783 } && test -s conftest$ac_exeext &&
41784 $as_test_x conftest$ac_exeext; then
41785 eval "$as_ac_var=yes"
41787 echo "$as_me: failed program was:" >&5
41788 sed 's/^/| /' conftest.$ac_ext >&5
41790 eval "$as_ac_var=no"
41793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41794 conftest$ac_exeext conftest.$ac_ext
41796 ac_res=`eval echo '${'$as_ac_var'}'`
41797 { echo "$as_me:$LINENO: result: $ac_res" >&5
41798 echo "${ECHO_T}$ac_res" >&6; }
41799 if test `eval echo '${'$as_ac_var'}'` = yes; then
41800 cat >>confdefs.h <<_ACEOF
41801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41803 cat >>confdefs.h <<\_ACEOF
41804 #define HAVE_DLERROR 1
41809 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41810 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41811 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41812 echo $ECHO_N "(cached) $ECHO_C" >&6
41814 ac_check_lib_save_LIBS=$LIBS
41816 cat >conftest.$ac_ext <<_ACEOF
41819 cat confdefs.h >>conftest.$ac_ext
41820 cat >>conftest.$ac_ext <<_ACEOF
41821 /* end confdefs.h. */
41823 /* Override any GCC internal prototype to avoid an error.
41824 Use char because int might match the return type of a GCC
41825 builtin and then its argument prototype would still apply. */
41838 rm -f conftest.$ac_objext conftest$ac_exeext
41839 if { (ac_try="$ac_link"
41840 case "(($ac_try" in
41841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41842 *) ac_try_echo=$ac_try;;
41844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41845 (eval "$ac_link") 2>conftest.er1
41847 grep -v '^ *+' conftest.er1 >conftest.err
41849 cat conftest.err >&5
41850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41851 (exit $ac_status); } && {
41852 test -z "$ac_c_werror_flag" ||
41853 test ! -s conftest.err
41854 } && test -s conftest$ac_exeext &&
41855 $as_test_x conftest$ac_exeext; then
41856 ac_cv_lib_dl_dlerror=yes
41858 echo "$as_me: failed program was:" >&5
41859 sed 's/^/| /' conftest.$ac_ext >&5
41861 ac_cv_lib_dl_dlerror=no
41864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41865 conftest$ac_exeext conftest.$ac_ext
41866 LIBS=$ac_check_lib_save_LIBS
41868 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41869 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41870 if test $ac_cv_lib_dl_dlerror = yes; then
41871 cat >>confdefs.h <<\_ACEOF
41872 #define HAVE_DLERROR 1
41885 if test "$USE_DARWIN" = 1; then
41889 if test "$HAVE_DL_FUNCS" = 0; then
41890 if test "$HAVE_SHL_FUNCS" = 0; then
41891 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41892 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41893 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41894 wxUSE_DYNAMIC_LOADER=no
41895 wxUSE_DYNLIB_CLASS=no
41897 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41898 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41905 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41906 cat >>confdefs.h <<\_ACEOF
41907 #define wxUSE_DYNAMIC_LOADER 1
41911 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41912 cat >>confdefs.h <<\_ACEOF
41913 #define wxUSE_DYNLIB_CLASS 1
41920 if test "$wxUSE_PLUGINS" = "yes" ; then
41921 if test "$wxUSE_SHARED" = "no" ; then
41922 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41923 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41926 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41927 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41928 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41931 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41932 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41933 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41936 if test "$wxUSE_PLUGINS" = "yes" ; then
41937 cat >>confdefs.h <<\_ACEOF
41938 #define wxUSE_PLUGINS 1
41945 if test "$wxUSE_STL" = "yes"; then
41946 cat >>confdefs.h <<\_ACEOF
41947 #define wxUSE_STL 1
41952 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41953 cat >>confdefs.h <<\_ACEOF
41954 #define wxUSE_EXTENDED_RTTI 1
41959 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41960 cat >>confdefs.h <<\_ACEOF
41961 #define wxUSE_APPLE_IEEE 1
41966 if test "$wxUSE_TIMER" = "yes"; then
41967 cat >>confdefs.h <<\_ACEOF
41968 #define wxUSE_TIMER 1
41973 if test "$USE_UNIX" = 1 ; then
41974 if test "$wxUSE_MGL" != 1; then
41975 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41976 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41977 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41978 echo $ECHO_N "(cached) $ECHO_C" >&6
41981 cat >conftest.$ac_ext <<_ACEOF
41984 cat confdefs.h >>conftest.$ac_ext
41985 cat >>conftest.$ac_ext <<_ACEOF
41986 /* end confdefs.h. */
41988 #include <sys/ioctl.h>
41989 #include <sys/soundcard.h>
41995 ioctl(0, SNDCTL_DSP_SPEED, 0);
42001 rm -f conftest.$ac_objext conftest$ac_exeext
42002 if { (ac_try="$ac_link"
42003 case "(($ac_try" in
42004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42005 *) ac_try_echo=$ac_try;;
42007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42008 (eval "$ac_link") 2>conftest.er1
42010 grep -v '^ *+' conftest.er1 >conftest.err
42012 cat conftest.err >&5
42013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42014 (exit $ac_status); } && {
42015 test -z "$ac_c_werror_flag" ||
42016 test ! -s conftest.err
42017 } && test -s conftest$ac_exeext &&
42018 $as_test_x conftest$ac_exeext; then
42019 ac_cv_header_sys_soundcard=yes
42021 echo "$as_me: failed program was:" >&5
42022 sed 's/^/| /' conftest.$ac_ext >&5
42026 LIBS="$saveLibs -lossaudio"
42027 cat >conftest.$ac_ext <<_ACEOF
42030 cat confdefs.h >>conftest.$ac_ext
42031 cat >>conftest.$ac_ext <<_ACEOF
42032 /* end confdefs.h. */
42034 #include <sys/ioctl.h>
42035 #include <sys/soundcard.h>
42041 ioctl(0, SNDCTL_DSP_SPEED, 0);
42047 rm -f conftest.$ac_objext conftest$ac_exeext
42048 if { (ac_try="$ac_link"
42049 case "(($ac_try" in
42050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42051 *) ac_try_echo=$ac_try;;
42053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42054 (eval "$ac_link") 2>conftest.er1
42056 grep -v '^ *+' conftest.er1 >conftest.err
42058 cat conftest.err >&5
42059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42060 (exit $ac_status); } && {
42061 test -z "$ac_c_werror_flag" ||
42062 test ! -s conftest.err
42063 } && test -s conftest$ac_exeext &&
42064 $as_test_x conftest$ac_exeext; then
42065 ac_cv_header_sys_soundcard=yes
42067 echo "$as_me: failed program was:" >&5
42068 sed 's/^/| /' conftest.$ac_ext >&5
42072 ac_cv_header_sys_soundcard=no
42077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42078 conftest$ac_exeext conftest.$ac_ext
42083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42084 conftest$ac_exeext conftest.$ac_ext
42087 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42088 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42091 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42092 cat >>confdefs.h <<\_ACEOF
42093 #define HAVE_SYS_SOUNDCARD_H 1
42100 if test "$wxUSE_SOUND" = "yes"; then
42101 if test "$USE_UNIX" = 1 ; then
42102 if test "$wxUSE_LIBSDL" != "no"; then
42104 # Check whether --with-sdl-prefix was given.
42105 if test "${with_sdl_prefix+set}" = set; then
42106 withval=$with_sdl_prefix; sdl_prefix="$withval"
42112 # Check whether --with-sdl-exec-prefix was given.
42113 if test "${with_sdl_exec_prefix+set}" = set; then
42114 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42119 # Check whether --enable-sdltest was given.
42120 if test "${enable_sdltest+set}" = set; then
42121 enableval=$enable_sdltest;
42127 if test x$sdl_exec_prefix != x ; then
42128 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42129 if test x${SDL_CONFIG+set} != xset ; then
42130 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42133 if test x$sdl_prefix != x ; then
42134 sdl_args="$sdl_args --prefix=$sdl_prefix"
42135 if test x${SDL_CONFIG+set} != xset ; then
42136 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42140 if test "x$prefix" != xNONE; then
42141 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42143 # Extract the first word of "sdl-config", so it can be a program name with args.
42144 set dummy sdl-config; ac_word=$2
42145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42147 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42148 echo $ECHO_N "(cached) $ECHO_C" >&6
42150 case $SDL_CONFIG in
42152 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42156 for as_dir in $PATH
42159 test -z "$as_dir" && as_dir=.
42160 for ac_exec_ext in '' $ac_executable_extensions; do
42161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42162 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42170 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42174 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42175 if test -n "$SDL_CONFIG"; then
42176 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42177 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42179 { echo "$as_me:$LINENO: result: no" >&5
42180 echo "${ECHO_T}no" >&6; }
42184 min_sdl_version=1.2.0
42185 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42186 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42188 if test "$SDL_CONFIG" = "no" ; then
42191 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42192 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42194 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42195 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42196 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42197 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42198 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42199 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42200 if test "x$enable_sdltest" = "xyes" ; then
42201 ac_save_CFLAGS="$CFLAGS"
42202 ac_save_CXXFLAGS="$CXXFLAGS"
42203 ac_save_LIBS="$LIBS"
42204 CFLAGS="$CFLAGS $SDL_CFLAGS"
42205 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42206 LIBS="$LIBS $SDL_LIBS"
42208 if test "$cross_compiling" = yes; then
42209 echo $ac_n "cross compiling; assumed OK... $ac_c"
42211 cat >conftest.$ac_ext <<_ACEOF
42214 cat confdefs.h >>conftest.$ac_ext
42215 cat >>conftest.$ac_ext <<_ACEOF
42216 /* end confdefs.h. */
42219 #include <stdlib.h>
42220 #include <string.h>
42224 my_strdup (char *str)
42230 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42231 strcpy (new_str, str);
42239 int main (int argc, char *argv[])
42241 int major, minor, micro;
42244 /* This hangs on some systems (?)
42245 system ("touch conf.sdltest");
42247 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42249 /* HP/UX 9 (%@#!) writes to sscanf strings */
42250 tmp_version = my_strdup("$min_sdl_version");
42251 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42252 printf("%s, bad version string\n", "$min_sdl_version");
42256 if (($sdl_major_version > major) ||
42257 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42258 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42264 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42265 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42266 printf("*** best to upgrade to the required version.\n");
42267 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42268 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42269 printf("*** config.cache before re-running configure\n");
42276 rm -f conftest$ac_exeext
42277 if { (ac_try="$ac_link"
42278 case "(($ac_try" in
42279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42280 *) ac_try_echo=$ac_try;;
42282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42283 (eval "$ac_link") 2>&5
42285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42286 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42287 { (case "(($ac_try" in
42288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42289 *) ac_try_echo=$ac_try;;
42291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42292 (eval "$ac_try") 2>&5
42294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42295 (exit $ac_status); }; }; then
42298 echo "$as_me: program exited with status $ac_status" >&5
42299 echo "$as_me: failed program was:" >&5
42300 sed 's/^/| /' conftest.$ac_ext >&5
42302 ( exit $ac_status )
42305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42309 CFLAGS="$ac_save_CFLAGS"
42310 CXXFLAGS="$ac_save_CXXFLAGS"
42311 LIBS="$ac_save_LIBS"
42314 if test "x$no_sdl" = x ; then
42315 { echo "$as_me:$LINENO: result: yes" >&5
42316 echo "${ECHO_T}yes" >&6; }
42318 EXTRALIBS_SDL="$SDL_LIBS"
42319 CFLAGS="$SDL_CFLAGS $CFLAGS"
42320 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42321 cat >>confdefs.h <<\_ACEOF
42322 #define wxUSE_LIBSDL 1
42327 { echo "$as_me:$LINENO: result: no" >&5
42328 echo "${ECHO_T}no" >&6; }
42329 if test "$SDL_CONFIG" = "no" ; then
42330 echo "*** The sdl-config script installed by SDL could not be found"
42331 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42332 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42333 echo "*** full path to sdl-config."
42335 if test -f conf.sdltest ; then
42338 echo "*** Could not run SDL test program, checking why..."
42339 CFLAGS="$CFLAGS $SDL_CFLAGS"
42340 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42341 LIBS="$LIBS $SDL_LIBS"
42342 cat >conftest.$ac_ext <<_ACEOF
42345 cat confdefs.h >>conftest.$ac_ext
42346 cat >>conftest.$ac_ext <<_ACEOF
42347 /* end confdefs.h. */
42352 int main(int argc, char *argv[])
42355 #define main K_and_R_C_main
42365 rm -f conftest.$ac_objext conftest$ac_exeext
42366 if { (ac_try="$ac_link"
42367 case "(($ac_try" in
42368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42369 *) ac_try_echo=$ac_try;;
42371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42372 (eval "$ac_link") 2>conftest.er1
42374 grep -v '^ *+' conftest.er1 >conftest.err
42376 cat conftest.err >&5
42377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42378 (exit $ac_status); } && {
42379 test -z "$ac_c_werror_flag" ||
42380 test ! -s conftest.err
42381 } && test -s conftest$ac_exeext &&
42382 $as_test_x conftest$ac_exeext; then
42383 echo "*** The test program compiled, but did not run. This usually means"
42384 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42385 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42386 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42387 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42388 echo "*** is required on your system"
42390 echo "*** If you have an old version installed, it is best to remove it, although"
42391 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42393 echo "$as_me: failed program was:" >&5
42394 sed 's/^/| /' conftest.$ac_ext >&5
42396 echo "*** The test program failed to compile or link. See the file config.log for the"
42397 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42398 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42399 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42403 conftest$ac_exeext conftest.$ac_ext
42404 CFLAGS="$ac_save_CFLAGS"
42405 CXXFLAGS="$ac_save_CXXFLAGS"
42406 LIBS="$ac_save_LIBS"
42417 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42422 if test "$wxUSE_MGL" = 1; then
42423 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42424 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42430 if test "$wxUSE_SOUND" = "yes"; then
42431 cat >>confdefs.h <<\_ACEOF
42432 #define wxUSE_SOUND 1
42435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42438 if test "$WXGTK2" = 1; then
42441 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42442 if test -n "$ac_tool_prefix"; then
42443 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42444 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42447 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42448 echo $ECHO_N "(cached) $ECHO_C" >&6
42450 case $PKG_CONFIG in
42452 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42456 for as_dir in $PATH
42459 test -z "$as_dir" && as_dir=.
42460 for ac_exec_ext in '' $ac_executable_extensions; do
42461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42462 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42473 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42474 if test -n "$PKG_CONFIG"; then
42475 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42476 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42478 { echo "$as_me:$LINENO: result: no" >&5
42479 echo "${ECHO_T}no" >&6; }
42484 if test -z "$ac_cv_path_PKG_CONFIG"; then
42485 ac_pt_PKG_CONFIG=$PKG_CONFIG
42486 # Extract the first word of "pkg-config", so it can be a program name with args.
42487 set dummy pkg-config; ac_word=$2
42488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42490 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42491 echo $ECHO_N "(cached) $ECHO_C" >&6
42493 case $ac_pt_PKG_CONFIG in
42495 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42499 for as_dir in $PATH
42502 test -z "$as_dir" && as_dir=.
42503 for ac_exec_ext in '' $ac_executable_extensions; do
42504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42505 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42516 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42517 if test -n "$ac_pt_PKG_CONFIG"; then
42518 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42519 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42521 { echo "$as_me:$LINENO: result: no" >&5
42522 echo "${ECHO_T}no" >&6; }
42525 if test "x$ac_pt_PKG_CONFIG" = x; then
42528 case $cross_compiling:$ac_tool_warned in
42530 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42531 whose name does not start with the host triplet. If you think this
42532 configuration is useful to you, please write to autoconf@gnu.org." >&5
42533 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42534 whose name does not start with the host triplet. If you think this
42535 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42536 ac_tool_warned=yes ;;
42538 PKG_CONFIG=$ac_pt_PKG_CONFIG
42541 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42545 if test -n "$PKG_CONFIG"; then
42546 _pkg_min_version=0.9.0
42547 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42548 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42549 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42550 { echo "$as_me:$LINENO: result: yes" >&5
42551 echo "${ECHO_T}yes" >&6; }
42553 { echo "$as_me:$LINENO: result: no" >&5
42554 echo "${ECHO_T}no" >&6; }
42560 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42562 if test "$wxUSE_GTKPRINT" = "yes" ; then
42566 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42567 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42569 if test -n "$PKG_CONFIG"; then
42570 if test -n "$GTKPRINT_CFLAGS"; then
42571 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42573 if test -n "$PKG_CONFIG" && \
42574 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42575 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42578 (exit $ac_status); }; then
42579 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42587 if test -n "$PKG_CONFIG"; then
42588 if test -n "$GTKPRINT_LIBS"; then
42589 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42591 if test -n "$PKG_CONFIG" && \
42592 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42593 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42596 (exit $ac_status); }; then
42597 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42608 if test $pkg_failed = yes; then
42610 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42611 _pkg_short_errors_supported=yes
42613 _pkg_short_errors_supported=no
42615 if test $_pkg_short_errors_supported = yes; then
42616 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42618 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42620 # Put the nasty error message in config.log where it belongs
42621 echo "$GTKPRINT_PKG_ERRORS" >&5
42624 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42625 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42626 wxUSE_GTKPRINT="no"
42629 elif test $pkg_failed = untried; then
42631 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42632 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42633 wxUSE_GTKPRINT="no"
42637 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42638 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42639 { echo "$as_me:$LINENO: result: yes" >&5
42640 echo "${ECHO_T}yes" >&6; }
42642 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42643 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42644 cat >>confdefs.h <<\_ACEOF
42645 #define wxUSE_GTKPRINT 1
42652 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42656 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42657 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42659 if test -n "$PKG_CONFIG"; then
42660 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42661 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42663 if test -n "$PKG_CONFIG" && \
42664 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42665 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42668 (exit $ac_status); }; then
42669 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42677 if test -n "$PKG_CONFIG"; then
42678 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42679 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42681 if test -n "$PKG_CONFIG" && \
42682 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42683 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42686 (exit $ac_status); }; then
42687 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42698 if test $pkg_failed = yes; then
42700 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42701 _pkg_short_errors_supported=yes
42703 _pkg_short_errors_supported=no
42705 if test $_pkg_short_errors_supported = yes; then
42706 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42708 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42710 # Put the nasty error message in config.log where it belongs
42711 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42714 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42715 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42716 wxUSE_LIBGNOMEPRINT="no"
42719 elif test $pkg_failed = untried; then
42721 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42722 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42723 wxUSE_LIBGNOMEPRINT="no"
42727 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42728 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42729 { echo "$as_me:$LINENO: result: yes" >&5
42730 echo "${ECHO_T}yes" >&6; }
42732 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42733 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42734 cat >>confdefs.h <<\_ACEOF
42735 #define wxUSE_LIBGNOMEPRINT 1
42743 if test "$wxUSE_MIMETYPE" = "yes" ; then
42744 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42748 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42749 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42751 if test -n "$PKG_CONFIG"; then
42752 if test -n "$GNOMEVFS_CFLAGS"; then
42753 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42755 if test -n "$PKG_CONFIG" && \
42756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42757 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42760 (exit $ac_status); }; then
42761 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42769 if test -n "$PKG_CONFIG"; then
42770 if test -n "$GNOMEVFS_LIBS"; then
42771 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42773 if test -n "$PKG_CONFIG" && \
42774 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42775 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42778 (exit $ac_status); }; then
42779 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42790 if test $pkg_failed = yes; then
42792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42793 _pkg_short_errors_supported=yes
42795 _pkg_short_errors_supported=no
42797 if test $_pkg_short_errors_supported = yes; then
42798 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42800 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42802 # Put the nasty error message in config.log where it belongs
42803 echo "$GNOMEVFS_PKG_ERRORS" >&5
42806 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42807 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42808 wxUSE_LIBGNOMEVFS="no"
42811 elif test $pkg_failed = untried; then
42813 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42814 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42815 wxUSE_LIBGNOMEVFS="no"
42819 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42820 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42821 { echo "$as_me:$LINENO: result: yes" >&5
42822 echo "${ECHO_T}yes" >&6; }
42824 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42825 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42826 cat >>confdefs.h <<\_ACEOF
42827 #define wxUSE_LIBGNOMEVFS 1
42835 if test "$wxUSE_LIBHILDON" = "yes" ; then
42838 { echo "$as_me:$LINENO: checking for HILDON" >&5
42839 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42841 if test -n "$PKG_CONFIG"; then
42842 if test -n "$HILDON_CFLAGS"; then
42843 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42845 if test -n "$PKG_CONFIG" && \
42846 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42847 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42850 (exit $ac_status); }; then
42851 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42859 if test -n "$PKG_CONFIG"; then
42860 if test -n "$HILDON_LIBS"; then
42861 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42863 if test -n "$PKG_CONFIG" && \
42864 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42865 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42868 (exit $ac_status); }; then
42869 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42880 if test $pkg_failed = yes; then
42882 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42883 _pkg_short_errors_supported=yes
42885 _pkg_short_errors_supported=no
42887 if test $_pkg_short_errors_supported = yes; then
42888 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42890 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42892 # Put the nasty error message in config.log where it belongs
42893 echo "$HILDON_PKG_ERRORS" >&5
42896 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42897 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42898 wxUSE_LIBHILDON="no"
42901 elif test $pkg_failed = untried; then
42903 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42904 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42905 wxUSE_LIBHILDON="no"
42909 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42910 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42911 { echo "$as_me:$LINENO: result: yes" >&5
42912 echo "${ECHO_T}yes" >&6; }
42914 EXTRALIBS_HILDON="$HILDON_LIBS"
42915 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42916 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42917 cat >>confdefs.h <<\_ACEOF
42918 #define wxUSE_LIBHILDON 1
42926 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42927 cat >>confdefs.h <<\_ACEOF
42928 #define wxUSE_CMDLINE_PARSER 1
42933 if test "$wxUSE_STOPWATCH" = "yes"; then
42934 cat >>confdefs.h <<\_ACEOF
42935 #define wxUSE_STOPWATCH 1
42940 if test "$wxUSE_DATETIME" = "yes"; then
42941 cat >>confdefs.h <<\_ACEOF
42942 #define wxUSE_DATETIME 1
42947 if test "$wxUSE_FILE" = "yes"; then
42948 cat >>confdefs.h <<\_ACEOF
42949 #define wxUSE_FILE 1
42954 if test "$wxUSE_FFILE" = "yes"; then
42955 cat >>confdefs.h <<\_ACEOF
42956 #define wxUSE_FFILE 1
42961 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42962 if test "$wxUSE_STREAMS" != yes; then
42963 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42964 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42965 wxUSE_ARCHIVE_STREAMS=no
42967 cat >>confdefs.h <<\_ACEOF
42968 #define wxUSE_ARCHIVE_STREAMS 1
42974 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42975 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42976 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42977 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42978 elif test "$wxUSE_ZLIB" = "no"; then
42979 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42980 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42982 cat >>confdefs.h <<\_ACEOF
42983 #define wxUSE_ZIPSTREAM 1
42989 if test "$wxUSE_TARSTREAM" = "yes"; then
42990 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42991 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42992 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42994 cat >>confdefs.h <<\_ACEOF
42995 #define wxUSE_TARSTREAM 1
43001 if test "$wxUSE_FILESYSTEM" = "yes"; then
43002 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43003 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43004 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43005 wxUSE_FILESYSTEM=no
43007 cat >>confdefs.h <<\_ACEOF
43008 #define wxUSE_FILESYSTEM 1
43014 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43015 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43016 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43017 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43019 cat >>confdefs.h <<\_ACEOF
43020 #define wxUSE_FS_ARCHIVE 1
43026 if test "$wxUSE_FS_ZIP" = "yes"; then
43027 if test "$wxUSE_FS_ARCHIVE" != yes; then
43028 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43029 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43031 cat >>confdefs.h <<\_ACEOF
43032 #define wxUSE_FS_ZIP 1
43038 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43039 if test "$USE_UNIX" != 1; then
43040 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43041 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43042 wxUSE_ON_FATAL_EXCEPTION=no
43044 cat >>confdefs.h <<\_ACEOF
43045 #define wxUSE_ON_FATAL_EXCEPTION 1
43051 if test "$wxUSE_STACKWALKER" = "yes"; then
43052 cat >>confdefs.h <<\_ACEOF
43053 #define wxUSE_STACKWALKER 1
43058 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43059 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43060 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43061 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43062 wxUSE_DEBUGREPORT=no
43064 cat >>confdefs.h <<\_ACEOF
43065 #define wxUSE_DEBUGREPORT 1
43068 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43074 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43075 cat >>confdefs.h <<\_ACEOF
43076 #define wxUSE_SNGLINST_CHECKER 1
43081 if test "$wxUSE_BUSYINFO" = "yes"; then
43082 cat >>confdefs.h <<\_ACEOF
43083 #define wxUSE_BUSYINFO 1
43088 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43089 cat >>confdefs.h <<\_ACEOF
43090 #define wxUSE_STD_IOSTREAM 1
43095 if test "$wxUSE_STD_STRING" = "yes"; then
43096 cat >>confdefs.h <<\_ACEOF
43097 #define wxUSE_STD_STRING 1
43102 if test "$wxUSE_STDPATHS" = "yes"; then
43103 cat >>confdefs.h <<\_ACEOF
43104 #define wxUSE_STDPATHS 1
43109 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43110 cat >>confdefs.h <<\_ACEOF
43111 #define wxUSE_TEXTBUFFER 1
43116 if test "$wxUSE_TEXTFILE" = "yes"; then
43117 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43118 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43119 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43121 cat >>confdefs.h <<\_ACEOF
43122 #define wxUSE_TEXTFILE 1
43128 if test "$wxUSE_CONFIG" = "yes" ; then
43129 if test "$wxUSE_TEXTFILE" != "yes"; then
43130 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43131 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43133 cat >>confdefs.h <<\_ACEOF
43134 #define wxUSE_CONFIG 1
43137 cat >>confdefs.h <<\_ACEOF
43138 #define wxUSE_CONFIG_NATIVE 1
43141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43145 if test "$wxUSE_INTL" = "yes" ; then
43146 if test "$wxUSE_FILE" != "yes"; then
43147 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43148 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43150 cat >>confdefs.h <<\_ACEOF
43151 #define wxUSE_INTL 1
43154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43155 GUIDIST="$GUIDIST INTL_DIST"
43159 if test "$wxUSE_XLOCALE" == "yes" ; then
43160 cat >>confdefs.h <<\_ACEOF
43161 #define wxUSE_XLOCALE 1
43164 { echo "$as_me:$LINENO: checking for locale_t" >&5
43165 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43166 if test "${ac_cv_type_locale_t+set}" = set; then
43167 echo $ECHO_N "(cached) $ECHO_C" >&6
43169 cat >conftest.$ac_ext <<_ACEOF
43172 cat confdefs.h >>conftest.$ac_ext
43173 cat >>conftest.$ac_ext <<_ACEOF
43174 /* end confdefs.h. */
43175 #include <xlocale.h>
43176 #include <locale.h>
43178 typedef locale_t ac__type_new_;
43182 if ((ac__type_new_ *) 0)
43184 if (sizeof (ac__type_new_))
43190 rm -f conftest.$ac_objext
43191 if { (ac_try="$ac_compile"
43192 case "(($ac_try" in
43193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43194 *) ac_try_echo=$ac_try;;
43196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43197 (eval "$ac_compile") 2>conftest.er1
43199 grep -v '^ *+' conftest.er1 >conftest.err
43201 cat conftest.err >&5
43202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43203 (exit $ac_status); } && {
43204 test -z "$ac_c_werror_flag" ||
43205 test ! -s conftest.err
43206 } && test -s conftest.$ac_objext; then
43207 ac_cv_type_locale_t=yes
43209 echo "$as_me: failed program was:" >&5
43210 sed 's/^/| /' conftest.$ac_ext >&5
43212 ac_cv_type_locale_t=no
43215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43217 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43218 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43219 if test $ac_cv_type_locale_t = yes; then
43221 cat >>confdefs.h <<_ACEOF
43222 #define HAVE_LOCALE_T 1
43230 if test "$wxUSE_LOG" = "yes"; then
43231 cat >>confdefs.h <<\_ACEOF
43232 #define wxUSE_LOG 1
43236 if test "$wxUSE_LOGGUI" = "yes"; then
43237 cat >>confdefs.h <<\_ACEOF
43238 #define wxUSE_LOGGUI 1
43243 if test "$wxUSE_LOGWINDOW" = "yes"; then
43244 cat >>confdefs.h <<\_ACEOF
43245 #define wxUSE_LOGWINDOW 1
43250 if test "$wxUSE_LOGDIALOG" = "yes"; then
43251 cat >>confdefs.h <<\_ACEOF
43252 #define wxUSE_LOG_DIALOG 1
43257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43260 if test "$wxUSE_LONGLONG" = "yes"; then
43261 cat >>confdefs.h <<\_ACEOF
43262 #define wxUSE_LONGLONG 1
43267 if test "$wxUSE_GEOMETRY" = "yes"; then
43268 cat >>confdefs.h <<\_ACEOF
43269 #define wxUSE_GEOMETRY 1
43274 if test "$wxUSE_BASE64" = "yes"; then
43275 cat >>confdefs.h <<\_ACEOF
43276 #define wxUSE_BASE64 1
43281 if test "$wxUSE_STREAMS" = "yes" ; then
43282 cat >>confdefs.h <<\_ACEOF
43283 #define wxUSE_STREAMS 1
43288 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43289 cat >>confdefs.h <<\_ACEOF
43290 #define wxUSE_PRINTF_POS_PARAMS 1
43295 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43296 cat >>confdefs.h <<\_ACEOF
43297 #define wxUSE_OBJC_UNIQUIFYING 1
43303 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43304 cat >>confdefs.h <<\_ACEOF
43305 #define wxUSE_CONSOLE_EVENTLOOP 1
43309 if test "$wxUSE_UNIX" = "yes"; then
43310 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43311 cat >>confdefs.h <<\_ACEOF
43312 #define wxUSE_SELECT_DISPATCHER 1
43317 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43319 for ac_header in sys/epoll.h
43321 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43322 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43324 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43325 echo $ECHO_N "(cached) $ECHO_C" >&6
43327 cat >conftest.$ac_ext <<_ACEOF
43330 cat confdefs.h >>conftest.$ac_ext
43331 cat >>conftest.$ac_ext <<_ACEOF
43332 /* end confdefs.h. */
43333 $ac_includes_default
43335 #include <$ac_header>
43337 rm -f conftest.$ac_objext
43338 if { (ac_try="$ac_compile"
43339 case "(($ac_try" in
43340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43341 *) ac_try_echo=$ac_try;;
43343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43344 (eval "$ac_compile") 2>conftest.er1
43346 grep -v '^ *+' conftest.er1 >conftest.err
43348 cat conftest.err >&5
43349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43350 (exit $ac_status); } && {
43351 test -z "$ac_c_werror_flag" ||
43352 test ! -s conftest.err
43353 } && test -s conftest.$ac_objext; then
43354 eval "$as_ac_Header=yes"
43356 echo "$as_me: failed program was:" >&5
43357 sed 's/^/| /' conftest.$ac_ext >&5
43359 eval "$as_ac_Header=no"
43362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43364 ac_res=`eval echo '${'$as_ac_Header'}'`
43365 { echo "$as_me:$LINENO: result: $ac_res" >&5
43366 echo "${ECHO_T}$ac_res" >&6; }
43367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43368 cat >>confdefs.h <<_ACEOF
43369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43376 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43377 cat >>confdefs.h <<\_ACEOF
43378 #define wxUSE_EPOLL_DISPATCHER 1
43382 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43383 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43392 for ac_func in gettimeofday ftime
43394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43395 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43397 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43398 echo $ECHO_N "(cached) $ECHO_C" >&6
43400 cat >conftest.$ac_ext <<_ACEOF
43403 cat confdefs.h >>conftest.$ac_ext
43404 cat >>conftest.$ac_ext <<_ACEOF
43405 /* end confdefs.h. */
43406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43408 #define $ac_func innocuous_$ac_func
43410 /* System header to define __stub macros and hopefully few prototypes,
43411 which can conflict with char $ac_func (); below.
43412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43413 <limits.h> exists even on freestanding compilers. */
43416 # include <limits.h>
43418 # include <assert.h>
43423 /* Override any GCC internal prototype to avoid an error.
43424 Use char because int might match the return type of a GCC
43425 builtin and then its argument prototype would still apply. */
43430 /* The GNU C library defines this for functions which it implements
43431 to always fail with ENOSYS. Some functions are actually named
43432 something starting with __ and the normal name is an alias. */
43433 #if defined __stub_$ac_func || defined __stub___$ac_func
43440 return $ac_func ();
43445 rm -f conftest.$ac_objext conftest$ac_exeext
43446 if { (ac_try="$ac_link"
43447 case "(($ac_try" in
43448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43449 *) ac_try_echo=$ac_try;;
43451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43452 (eval "$ac_link") 2>conftest.er1
43454 grep -v '^ *+' conftest.er1 >conftest.err
43456 cat conftest.err >&5
43457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43458 (exit $ac_status); } && {
43459 test -z "$ac_c_werror_flag" ||
43460 test ! -s conftest.err
43461 } && test -s conftest$ac_exeext &&
43462 $as_test_x conftest$ac_exeext; then
43463 eval "$as_ac_var=yes"
43465 echo "$as_me: failed program was:" >&5
43466 sed 's/^/| /' conftest.$ac_ext >&5
43468 eval "$as_ac_var=no"
43471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43472 conftest$ac_exeext conftest.$ac_ext
43474 ac_res=`eval echo '${'$as_ac_var'}'`
43475 { echo "$as_me:$LINENO: result: $ac_res" >&5
43476 echo "${ECHO_T}$ac_res" >&6; }
43477 if test `eval echo '${'$as_ac_var'}'` = yes; then
43478 cat >>confdefs.h <<_ACEOF
43479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43486 if test "$ac_cv_func_gettimeofday" = "yes"; then
43487 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43488 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43489 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43490 echo $ECHO_N "(cached) $ECHO_C" >&6
43493 cat >conftest.$ac_ext <<_ACEOF
43496 cat confdefs.h >>conftest.$ac_ext
43497 cat >>conftest.$ac_ext <<_ACEOF
43498 /* end confdefs.h. */
43500 #include <sys/time.h>
43501 #include <unistd.h>
43508 gettimeofday(&tv, NULL);
43514 rm -f conftest.$ac_objext
43515 if { (ac_try="$ac_compile"
43516 case "(($ac_try" in
43517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43518 *) ac_try_echo=$ac_try;;
43520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43521 (eval "$ac_compile") 2>conftest.er1
43523 grep -v '^ *+' conftest.er1 >conftest.err
43525 cat conftest.err >&5
43526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43527 (exit $ac_status); } && {
43528 test -z "$ac_c_werror_flag" ||
43529 test ! -s conftest.err
43530 } && test -s conftest.$ac_objext; then
43531 wx_cv_func_gettimeofday_has_2_args=yes
43533 echo "$as_me: failed program was:" >&5
43534 sed 's/^/| /' conftest.$ac_ext >&5
43536 cat >conftest.$ac_ext <<_ACEOF
43539 cat confdefs.h >>conftest.$ac_ext
43540 cat >>conftest.$ac_ext <<_ACEOF
43541 /* end confdefs.h. */
43543 #include <sys/time.h>
43544 #include <unistd.h>
43557 rm -f conftest.$ac_objext
43558 if { (ac_try="$ac_compile"
43559 case "(($ac_try" in
43560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43561 *) ac_try_echo=$ac_try;;
43563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43564 (eval "$ac_compile") 2>conftest.er1
43566 grep -v '^ *+' conftest.er1 >conftest.err
43568 cat conftest.err >&5
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); } && {
43571 test -z "$ac_c_werror_flag" ||
43572 test ! -s conftest.err
43573 } && test -s conftest.$ac_objext; then
43574 wx_cv_func_gettimeofday_has_2_args=no
43576 echo "$as_me: failed program was:" >&5
43577 sed 's/^/| /' conftest.$ac_ext >&5
43580 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43581 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43582 wx_cv_func_gettimeofday_has_2_args=unknown
43587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43594 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43595 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43597 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43598 cat >>confdefs.h <<\_ACEOF
43599 #define WX_GETTIMEOFDAY_NO_TZ 1
43605 if test "$wxUSE_DATETIME" = "yes"; then
43606 { echo "$as_me:$LINENO: checking for strptime" >&5
43607 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43608 if test "${ac_cv_func_strptime+set}" = set; then
43609 echo $ECHO_N "(cached) $ECHO_C" >&6
43611 cat >conftest.$ac_ext <<_ACEOF
43614 cat confdefs.h >>conftest.$ac_ext
43615 cat >>conftest.$ac_ext <<_ACEOF
43616 /* end confdefs.h. */
43617 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43619 #define strptime innocuous_strptime
43621 /* System header to define __stub macros and hopefully few prototypes,
43622 which can conflict with char strptime (); below.
43623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43624 <limits.h> exists even on freestanding compilers. */
43627 # include <limits.h>
43629 # include <assert.h>
43634 /* Override any GCC internal prototype to avoid an error.
43635 Use char because int might match the return type of a GCC
43636 builtin and then its argument prototype would still apply. */
43641 /* The GNU C library defines this for functions which it implements
43642 to always fail with ENOSYS. Some functions are actually named
43643 something starting with __ and the normal name is an alias. */
43644 #if defined __stub_strptime || defined __stub___strptime
43651 return strptime ();
43656 rm -f conftest.$ac_objext conftest$ac_exeext
43657 if { (ac_try="$ac_link"
43658 case "(($ac_try" in
43659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43660 *) ac_try_echo=$ac_try;;
43662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43663 (eval "$ac_link") 2>conftest.er1
43665 grep -v '^ *+' conftest.er1 >conftest.err
43667 cat conftest.err >&5
43668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43669 (exit $ac_status); } && {
43670 test -z "$ac_c_werror_flag" ||
43671 test ! -s conftest.err
43672 } && test -s conftest$ac_exeext &&
43673 $as_test_x conftest$ac_exeext; then
43674 ac_cv_func_strptime=yes
43676 echo "$as_me: failed program was:" >&5
43677 sed 's/^/| /' conftest.$ac_ext >&5
43679 ac_cv_func_strptime=no
43682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43683 conftest$ac_exeext conftest.$ac_ext
43685 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43686 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43688 if test "$ac_cv_func_strptime" = "yes"; then
43689 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43690 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43691 if test "${wx_cv_func_strptime_decl+set}" = set; then
43692 echo $ECHO_N "(cached) $ECHO_C" >&6
43696 ac_cpp='$CXXCPP $CPPFLAGS'
43697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43701 cat >conftest.$ac_ext <<_ACEOF
43704 cat confdefs.h >>conftest.$ac_ext
43705 cat >>conftest.$ac_ext <<_ACEOF
43706 /* end confdefs.h. */
43715 strptime("foo", "bar", &t);
43721 rm -f conftest.$ac_objext
43722 if { (ac_try="$ac_compile"
43723 case "(($ac_try" in
43724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43725 *) ac_try_echo=$ac_try;;
43727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43728 (eval "$ac_compile") 2>conftest.er1
43730 grep -v '^ *+' conftest.er1 >conftest.err
43732 cat conftest.err >&5
43733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43734 (exit $ac_status); } && {
43735 test -z "$ac_cxx_werror_flag" ||
43736 test ! -s conftest.err
43737 } && test -s conftest.$ac_objext; then
43738 wx_cv_func_strptime_decl=yes
43740 echo "$as_me: failed program was:" >&5
43741 sed 's/^/| /' conftest.$ac_ext >&5
43743 wx_cv_func_strptime_decl=no
43747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43749 ac_cpp='$CPP $CPPFLAGS'
43750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43757 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43758 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43760 if test "$wx_cv_func_strptime_decl" = "yes"; then
43761 cat >>confdefs.h <<\_ACEOF
43762 #define HAVE_STRPTIME_DECL 1
43766 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43768 if test "$ac_cv_func_strptime" = "yes"; then
43769 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43770 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43771 if test "${wx_cv_func_strptime_ok+set}" = set; then
43772 echo $ECHO_N "(cached) $ECHO_C" >&6
43774 if test "$cross_compiling" = yes; then
43775 wx_cv_func_strptime_ok=no
43778 cat >conftest.$ac_ext <<_ACEOF
43780 #include <stdlib.h>
43782 #include "confdefs.h"
43789 return !!strptime("", "%x", &t);
43793 rm -f conftest$ac_exeext
43794 if { (ac_try="$ac_link"
43795 case "(($ac_try" in
43796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43797 *) ac_try_echo=$ac_try;;
43799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43800 (eval "$ac_link") 2>&5
43802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43803 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43804 { (case "(($ac_try" in
43805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43806 *) ac_try_echo=$ac_try;;
43808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43809 (eval "$ac_try") 2>&5
43811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43812 (exit $ac_status); }; }; then
43813 wx_cv_func_strptime_ok=yes
43815 echo "$as_me: program exited with status $ac_status" >&5
43816 echo "$as_me: failed program was:" >&5
43817 sed 's/^/| /' conftest.$ac_ext >&5
43819 ( exit $ac_status )
43820 wx_cv_func_strptime_ok=no
43822 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43828 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43829 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43831 if test "$wx_cv_func_strptime_ok" = "yes"; then
43832 cat >>confdefs.h <<\_ACEOF
43833 #define HAVE_STRPTIME 1
43839 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43840 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43841 if test "${wx_cv_var_timezone+set}" = set; then
43842 echo $ECHO_N "(cached) $ECHO_C" >&6
43846 ac_cpp='$CXXCPP $CPPFLAGS'
43847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43851 cat >conftest.$ac_ext <<_ACEOF
43854 cat confdefs.h >>conftest.$ac_ext
43855 cat >>conftest.$ac_ext <<_ACEOF
43856 /* end confdefs.h. */
43871 rm -f conftest.$ac_objext
43872 if { (ac_try="$ac_compile"
43873 case "(($ac_try" in
43874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43875 *) ac_try_echo=$ac_try;;
43877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43878 (eval "$ac_compile") 2>conftest.er1
43880 grep -v '^ *+' conftest.er1 >conftest.err
43882 cat conftest.err >&5
43883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43884 (exit $ac_status); } && {
43885 test -z "$ac_cxx_werror_flag" ||
43886 test ! -s conftest.err
43887 } && test -s conftest.$ac_objext; then
43889 wx_cv_var_timezone=timezone
43892 echo "$as_me: failed program was:" >&5
43893 sed 's/^/| /' conftest.$ac_ext >&5
43896 cat >conftest.$ac_ext <<_ACEOF
43899 cat confdefs.h >>conftest.$ac_ext
43900 cat >>conftest.$ac_ext <<_ACEOF
43901 /* end confdefs.h. */
43916 rm -f conftest.$ac_objext
43917 if { (ac_try="$ac_compile"
43918 case "(($ac_try" in
43919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43920 *) ac_try_echo=$ac_try;;
43922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43923 (eval "$ac_compile") 2>conftest.er1
43925 grep -v '^ *+' conftest.er1 >conftest.err
43927 cat conftest.err >&5
43928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43929 (exit $ac_status); } && {
43930 test -z "$ac_cxx_werror_flag" ||
43931 test ! -s conftest.err
43932 } && test -s conftest.$ac_objext; then
43934 wx_cv_var_timezone=_timezone
43937 echo "$as_me: failed program was:" >&5
43938 sed 's/^/| /' conftest.$ac_ext >&5
43941 cat >conftest.$ac_ext <<_ACEOF
43944 cat confdefs.h >>conftest.$ac_ext
43945 cat >>conftest.$ac_ext <<_ACEOF
43946 /* end confdefs.h. */
43961 rm -f conftest.$ac_objext
43962 if { (ac_try="$ac_compile"
43963 case "(($ac_try" in
43964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43965 *) ac_try_echo=$ac_try;;
43967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43968 (eval "$ac_compile") 2>conftest.er1
43970 grep -v '^ *+' conftest.er1 >conftest.err
43972 cat conftest.err >&5
43973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43974 (exit $ac_status); } && {
43975 test -z "$ac_cxx_werror_flag" ||
43976 test ! -s conftest.err
43977 } && test -s conftest.$ac_objext; then
43979 wx_cv_var_timezone=__timezone
43982 echo "$as_me: failed program was:" >&5
43983 sed 's/^/| /' conftest.$ac_ext >&5
43986 if test "$USE_DOS" = 0 ; then
43987 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43988 echo "$as_me: WARNING: no timezone variable" >&2;}
43994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44006 ac_cpp='$CPP $CPPFLAGS'
44007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44014 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44015 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44017 if test "x$wx_cv_var_timezone" != x ; then
44018 cat >>confdefs.h <<_ACEOF
44019 #define WX_TIMEZONE $wx_cv_var_timezone
44025 for ac_func in localtime
44027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44028 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44030 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44031 echo $ECHO_N "(cached) $ECHO_C" >&6
44033 cat >conftest.$ac_ext <<_ACEOF
44036 cat confdefs.h >>conftest.$ac_ext
44037 cat >>conftest.$ac_ext <<_ACEOF
44038 /* end confdefs.h. */
44039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44041 #define $ac_func innocuous_$ac_func
44043 /* System header to define __stub macros and hopefully few prototypes,
44044 which can conflict with char $ac_func (); below.
44045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44046 <limits.h> exists even on freestanding compilers. */
44049 # include <limits.h>
44051 # include <assert.h>
44056 /* Override any GCC internal prototype to avoid an error.
44057 Use char because int might match the return type of a GCC
44058 builtin and then its argument prototype would still apply. */
44063 /* The GNU C library defines this for functions which it implements
44064 to always fail with ENOSYS. Some functions are actually named
44065 something starting with __ and the normal name is an alias. */
44066 #if defined __stub_$ac_func || defined __stub___$ac_func
44073 return $ac_func ();
44078 rm -f conftest.$ac_objext conftest$ac_exeext
44079 if { (ac_try="$ac_link"
44080 case "(($ac_try" in
44081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44082 *) ac_try_echo=$ac_try;;
44084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44085 (eval "$ac_link") 2>conftest.er1
44087 grep -v '^ *+' conftest.er1 >conftest.err
44089 cat conftest.err >&5
44090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44091 (exit $ac_status); } && {
44092 test -z "$ac_c_werror_flag" ||
44093 test ! -s conftest.err
44094 } && test -s conftest$ac_exeext &&
44095 $as_test_x conftest$ac_exeext; then
44096 eval "$as_ac_var=yes"
44098 echo "$as_me: failed program was:" >&5
44099 sed 's/^/| /' conftest.$ac_ext >&5
44101 eval "$as_ac_var=no"
44104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44105 conftest$ac_exeext conftest.$ac_ext
44107 ac_res=`eval echo '${'$as_ac_var'}'`
44108 { echo "$as_me:$LINENO: result: $ac_res" >&5
44109 echo "${ECHO_T}$ac_res" >&6; }
44110 if test `eval echo '${'$as_ac_var'}'` = yes; then
44111 cat >>confdefs.h <<_ACEOF
44112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44119 if test "$ac_cv_func_localtime" = "yes"; then
44120 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44121 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44122 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44123 echo $ECHO_N "(cached) $ECHO_C" >&6
44126 cat >conftest.$ac_ext <<_ACEOF
44129 cat confdefs.h >>conftest.$ac_ext
44130 cat >>conftest.$ac_ext <<_ACEOF
44131 /* end confdefs.h. */
44146 rm -f conftest.$ac_objext
44147 if { (ac_try="$ac_compile"
44148 case "(($ac_try" in
44149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44150 *) ac_try_echo=$ac_try;;
44152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44153 (eval "$ac_compile") 2>conftest.er1
44155 grep -v '^ *+' conftest.er1 >conftest.err
44157 cat conftest.err >&5
44158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44159 (exit $ac_status); } && {
44160 test -z "$ac_c_werror_flag" ||
44161 test ! -s conftest.err
44162 } && test -s conftest.$ac_objext; then
44164 wx_cv_struct_tm_has_gmtoff=yes
44167 echo "$as_me: failed program was:" >&5
44168 sed 's/^/| /' conftest.$ac_ext >&5
44170 wx_cv_struct_tm_has_gmtoff=no
44174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44177 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44178 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44181 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44182 cat >>confdefs.h <<\_ACEOF
44183 #define WX_GMTOFF_IN_TM 1
44188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44192 if test "$wxUSE_SOCKETS" = "yes"; then
44193 if test "$wxUSE_MGL" = 1; then
44194 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44195 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44200 if test "$wxUSE_SOCKETS" = "yes"; then
44201 if test "$TOOLKIT" != "MSW"; then
44202 { echo "$as_me:$LINENO: checking for socket" >&5
44203 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44204 if test "${ac_cv_func_socket+set}" = set; then
44205 echo $ECHO_N "(cached) $ECHO_C" >&6
44207 cat >conftest.$ac_ext <<_ACEOF
44210 cat confdefs.h >>conftest.$ac_ext
44211 cat >>conftest.$ac_ext <<_ACEOF
44212 /* end confdefs.h. */
44213 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44215 #define socket innocuous_socket
44217 /* System header to define __stub macros and hopefully few prototypes,
44218 which can conflict with char socket (); below.
44219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44220 <limits.h> exists even on freestanding compilers. */
44223 # include <limits.h>
44225 # include <assert.h>
44230 /* Override any GCC internal prototype to avoid an error.
44231 Use char because int might match the return type of a GCC
44232 builtin and then its argument prototype would still apply. */
44237 /* The GNU C library defines this for functions which it implements
44238 to always fail with ENOSYS. Some functions are actually named
44239 something starting with __ and the normal name is an alias. */
44240 #if defined __stub_socket || defined __stub___socket
44252 rm -f conftest.$ac_objext conftest$ac_exeext
44253 if { (ac_try="$ac_link"
44254 case "(($ac_try" in
44255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44256 *) ac_try_echo=$ac_try;;
44258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44259 (eval "$ac_link") 2>conftest.er1
44261 grep -v '^ *+' conftest.er1 >conftest.err
44263 cat conftest.err >&5
44264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44265 (exit $ac_status); } && {
44266 test -z "$ac_c_werror_flag" ||
44267 test ! -s conftest.err
44268 } && test -s conftest$ac_exeext &&
44269 $as_test_x conftest$ac_exeext; then
44270 ac_cv_func_socket=yes
44272 echo "$as_me: failed program was:" >&5
44273 sed 's/^/| /' conftest.$ac_ext >&5
44275 ac_cv_func_socket=no
44278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44279 conftest$ac_exeext conftest.$ac_ext
44281 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44282 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44283 if test $ac_cv_func_socket = yes; then
44287 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44288 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44289 if test "${ac_cv_lib_socket_socket+set}" = set; then
44290 echo $ECHO_N "(cached) $ECHO_C" >&6
44292 ac_check_lib_save_LIBS=$LIBS
44293 LIBS="-lsocket $LIBS"
44294 cat >conftest.$ac_ext <<_ACEOF
44297 cat confdefs.h >>conftest.$ac_ext
44298 cat >>conftest.$ac_ext <<_ACEOF
44299 /* end confdefs.h. */
44301 /* Override any GCC internal prototype to avoid an error.
44302 Use char because int might match the return type of a GCC
44303 builtin and then its argument prototype would still apply. */
44316 rm -f conftest.$ac_objext conftest$ac_exeext
44317 if { (ac_try="$ac_link"
44318 case "(($ac_try" in
44319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44320 *) ac_try_echo=$ac_try;;
44322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44323 (eval "$ac_link") 2>conftest.er1
44325 grep -v '^ *+' conftest.er1 >conftest.err
44327 cat conftest.err >&5
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); } && {
44330 test -z "$ac_c_werror_flag" ||
44331 test ! -s conftest.err
44332 } && test -s conftest$ac_exeext &&
44333 $as_test_x conftest$ac_exeext; then
44334 ac_cv_lib_socket_socket=yes
44336 echo "$as_me: failed program was:" >&5
44337 sed 's/^/| /' conftest.$ac_ext >&5
44339 ac_cv_lib_socket_socket=no
44342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44343 conftest$ac_exeext conftest.$ac_ext
44344 LIBS=$ac_check_lib_save_LIBS
44346 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44347 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44348 if test $ac_cv_lib_socket_socket = yes; then
44349 if test "$INET_LINK" != " -lsocket"; then
44350 INET_LINK="$INET_LINK -lsocket"
44354 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44355 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44368 if test "$wxUSE_SOCKETS" = "yes" ; then
44369 if test "$TOOLKIT" != "MSW"; then
44370 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44371 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44372 if test "${wx_cv_type_getsockname3+set}" = set; then
44373 echo $ECHO_N "(cached) $ECHO_C" >&6
44377 ac_cpp='$CXXCPP $CPPFLAGS'
44378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44382 cat >conftest.$ac_ext <<_ACEOF
44385 cat confdefs.h >>conftest.$ac_ext
44386 cat >>conftest.$ac_ext <<_ACEOF
44387 /* end confdefs.h. */
44389 #include <sys/types.h>
44390 #include <sys/socket.h>
44397 getsockname(0, 0, &len);
44403 rm -f conftest.$ac_objext
44404 if { (ac_try="$ac_compile"
44405 case "(($ac_try" in
44406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44407 *) ac_try_echo=$ac_try;;
44409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44410 (eval "$ac_compile") 2>conftest.er1
44412 grep -v '^ *+' conftest.er1 >conftest.err
44414 cat conftest.err >&5
44415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44416 (exit $ac_status); } && {
44417 test -z "$ac_cxx_werror_flag" ||
44418 test ! -s conftest.err
44419 } && test -s conftest.$ac_objext; then
44420 wx_cv_type_getsockname3=socklen_t
44422 echo "$as_me: failed program was:" >&5
44423 sed 's/^/| /' conftest.$ac_ext >&5
44426 CFLAGS_OLD="$CFLAGS"
44427 if test "$GCC" = yes ; then
44428 CFLAGS="-Werror $CFLAGS"
44431 cat >conftest.$ac_ext <<_ACEOF
44434 cat confdefs.h >>conftest.$ac_ext
44435 cat >>conftest.$ac_ext <<_ACEOF
44436 /* end confdefs.h. */
44438 #include <sys/types.h>
44439 #include <sys/socket.h>
44446 getsockname(0, 0, &len);
44452 rm -f conftest.$ac_objext
44453 if { (ac_try="$ac_compile"
44454 case "(($ac_try" in
44455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44456 *) ac_try_echo=$ac_try;;
44458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44459 (eval "$ac_compile") 2>conftest.er1
44461 grep -v '^ *+' conftest.er1 >conftest.err
44463 cat conftest.err >&5
44464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44465 (exit $ac_status); } && {
44466 test -z "$ac_cxx_werror_flag" ||
44467 test ! -s conftest.err
44468 } && test -s conftest.$ac_objext; then
44469 wx_cv_type_getsockname3=size_t
44471 echo "$as_me: failed program was:" >&5
44472 sed 's/^/| /' conftest.$ac_ext >&5
44474 cat >conftest.$ac_ext <<_ACEOF
44477 cat confdefs.h >>conftest.$ac_ext
44478 cat >>conftest.$ac_ext <<_ACEOF
44479 /* end confdefs.h. */
44481 #include <sys/types.h>
44482 #include <sys/socket.h>
44489 getsockname(0, 0, &len);
44495 rm -f conftest.$ac_objext
44496 if { (ac_try="$ac_compile"
44497 case "(($ac_try" in
44498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44499 *) ac_try_echo=$ac_try;;
44501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44502 (eval "$ac_compile") 2>conftest.er1
44504 grep -v '^ *+' conftest.er1 >conftest.err
44506 cat conftest.err >&5
44507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44508 (exit $ac_status); } && {
44509 test -z "$ac_cxx_werror_flag" ||
44510 test ! -s conftest.err
44511 } && test -s conftest.$ac_objext; then
44512 wx_cv_type_getsockname3=int
44514 echo "$as_me: failed program was:" >&5
44515 sed 's/^/| /' conftest.$ac_ext >&5
44517 wx_cv_type_getsockname3=unknown
44521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44527 CFLAGS="$CFLAGS_OLD"
44532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44534 ac_cpp='$CPP $CPPFLAGS'
44535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44541 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44542 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44544 if test "$wx_cv_type_getsockname3" = "unknown"; then
44546 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44547 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44549 cat >>confdefs.h <<_ACEOF
44550 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44554 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44555 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44556 if test "${wx_cv_type_getsockopt5+set}" = set; then
44557 echo $ECHO_N "(cached) $ECHO_C" >&6
44561 ac_cpp='$CXXCPP $CPPFLAGS'
44562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44566 cat >conftest.$ac_ext <<_ACEOF
44569 cat confdefs.h >>conftest.$ac_ext
44570 cat >>conftest.$ac_ext <<_ACEOF
44571 /* end confdefs.h. */
44573 #include <sys/types.h>
44574 #include <sys/socket.h>
44581 getsockopt(0, 0, 0, 0, &len);
44587 rm -f conftest.$ac_objext
44588 if { (ac_try="$ac_compile"
44589 case "(($ac_try" in
44590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44591 *) ac_try_echo=$ac_try;;
44593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44594 (eval "$ac_compile") 2>conftest.er1
44596 grep -v '^ *+' conftest.er1 >conftest.err
44598 cat conftest.err >&5
44599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44600 (exit $ac_status); } && {
44601 test -z "$ac_cxx_werror_flag" ||
44602 test ! -s conftest.err
44603 } && test -s conftest.$ac_objext; then
44604 wx_cv_type_getsockopt5=socklen_t
44606 echo "$as_me: failed program was:" >&5
44607 sed 's/^/| /' conftest.$ac_ext >&5
44610 cat >conftest.$ac_ext <<_ACEOF
44613 cat confdefs.h >>conftest.$ac_ext
44614 cat >>conftest.$ac_ext <<_ACEOF
44615 /* end confdefs.h. */
44617 #include <sys/types.h>
44618 #include <sys/socket.h>
44625 getsockopt(0, 0, 0, 0, &len);
44631 rm -f conftest.$ac_objext
44632 if { (ac_try="$ac_compile"
44633 case "(($ac_try" in
44634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44635 *) ac_try_echo=$ac_try;;
44637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44638 (eval "$ac_compile") 2>conftest.er1
44640 grep -v '^ *+' conftest.er1 >conftest.err
44642 cat conftest.err >&5
44643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44644 (exit $ac_status); } && {
44645 test -z "$ac_cxx_werror_flag" ||
44646 test ! -s conftest.err
44647 } && test -s conftest.$ac_objext; then
44648 wx_cv_type_getsockopt5=size_t
44650 echo "$as_me: failed program was:" >&5
44651 sed 's/^/| /' conftest.$ac_ext >&5
44653 cat >conftest.$ac_ext <<_ACEOF
44656 cat confdefs.h >>conftest.$ac_ext
44657 cat >>conftest.$ac_ext <<_ACEOF
44658 /* end confdefs.h. */
44660 #include <sys/types.h>
44661 #include <sys/socket.h>
44668 getsockopt(0, 0, 0, 0, &len);
44674 rm -f conftest.$ac_objext
44675 if { (ac_try="$ac_compile"
44676 case "(($ac_try" in
44677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44678 *) ac_try_echo=$ac_try;;
44680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44681 (eval "$ac_compile") 2>conftest.er1
44683 grep -v '^ *+' conftest.er1 >conftest.err
44685 cat conftest.err >&5
44686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687 (exit $ac_status); } && {
44688 test -z "$ac_cxx_werror_flag" ||
44689 test ! -s conftest.err
44690 } && test -s conftest.$ac_objext; then
44691 wx_cv_type_getsockopt5=int
44693 echo "$as_me: failed program was:" >&5
44694 sed 's/^/| /' conftest.$ac_ext >&5
44696 wx_cv_type_getsockopt5=unknown
44700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44711 ac_cpp='$CPP $CPPFLAGS'
44712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44718 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44719 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44721 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44723 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44724 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44726 cat >>confdefs.h <<_ACEOF
44727 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44734 if test "$wxUSE_SOCKETS" = "yes" ; then
44735 if test "$wxUSE_IPV6" = "yes"; then
44736 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44737 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44738 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44739 echo $ECHO_N "(cached) $ECHO_C" >&6
44742 cat >conftest.$ac_ext <<_ACEOF
44745 cat confdefs.h >>conftest.$ac_ext
44746 cat >>conftest.$ac_ext <<_ACEOF
44747 /* end confdefs.h. */
44749 #include <sys/types.h>
44750 #include <sys/socket.h>
44751 #include <netinet/in.h>
44757 struct sockaddr_in6 sa6;
44763 rm -f conftest.$ac_objext
44764 if { (ac_try="$ac_compile"
44765 case "(($ac_try" in
44766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44767 *) ac_try_echo=$ac_try;;
44769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44770 (eval "$ac_compile") 2>conftest.er1
44772 grep -v '^ *+' conftest.er1 >conftest.err
44774 cat conftest.err >&5
44775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44776 (exit $ac_status); } && {
44777 test -z "$ac_c_werror_flag" ||
44778 test ! -s conftest.err
44779 } && test -s conftest.$ac_objext; then
44780 wx_cv_type_sockaddr_in6=yes
44782 echo "$as_me: failed program was:" >&5
44783 sed 's/^/| /' conftest.$ac_ext >&5
44785 wx_cv_type_sockaddr_in6=no
44789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44793 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44794 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44796 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44797 cat >>confdefs.h <<\_ACEOF
44798 #define wxUSE_IPV6 1
44802 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44803 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44807 cat >>confdefs.h <<\_ACEOF
44808 #define wxUSE_SOCKETS 1
44811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44814 if test "$wxUSE_PROTOCOL" = "yes"; then
44815 if test "$wxUSE_SOCKETS" != "yes"; then
44816 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44817 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44822 if test "$wxUSE_PROTOCOL" = "yes"; then
44823 cat >>confdefs.h <<\_ACEOF
44824 #define wxUSE_PROTOCOL 1
44828 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44829 cat >>confdefs.h <<\_ACEOF
44830 #define wxUSE_PROTOCOL_HTTP 1
44834 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44835 cat >>confdefs.h <<\_ACEOF
44836 #define wxUSE_PROTOCOL_FTP 1
44840 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44841 cat >>confdefs.h <<\_ACEOF
44842 #define wxUSE_PROTOCOL_FILE 1
44847 if test "$wxUSE_FS_INET" = "yes"; then
44848 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44849 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44854 if test "$wxUSE_URL" = "yes"; then
44855 if test "$wxUSE_PROTOCOL" != "yes"; then
44856 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44857 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44860 if test "$wxUSE_URL" = "yes"; then
44861 cat >>confdefs.h <<\_ACEOF
44862 #define wxUSE_URL 1
44868 if test "$wxUSE_VARIANT" = "yes"; then
44869 cat >>confdefs.h <<\_ACEOF
44870 #define wxUSE_VARIANT 1
44875 if test "$wxUSE_FS_INET" = "yes"; then
44876 cat >>confdefs.h <<\_ACEOF
44877 #define wxUSE_FS_INET 1
44883 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44886 if test "$TOOLKIT" = "MSW"; then
44889 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44890 if test "$USE_DARWIN" = 1; then
44891 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44892 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44894 ac_cpp='$CXXCPP $CPPFLAGS'
44895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44899 cat >conftest.$ac_ext <<_ACEOF
44902 cat confdefs.h >>conftest.$ac_ext
44903 cat >>conftest.$ac_ext <<_ACEOF
44904 /* end confdefs.h. */
44905 #include <IOKit/hid/IOHIDLib.h>
44909 IOHIDQueueInterface *qi = NULL;
44910 IOHIDCallbackFunction cb = NULL;
44911 qi->setEventCallout(NULL, cb, NULL, NULL);
44916 rm -f conftest.$ac_objext
44917 if { (ac_try="$ac_compile"
44918 case "(($ac_try" in
44919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44920 *) ac_try_echo=$ac_try;;
44922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44923 (eval "$ac_compile") 2>conftest.er1
44925 grep -v '^ *+' conftest.er1 >conftest.err
44927 cat conftest.err >&5
44928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44929 (exit $ac_status); } && {
44930 test -z "$ac_cxx_werror_flag" ||
44931 test ! -s conftest.err
44932 } && test -s conftest.$ac_objext; then
44936 echo "$as_me: failed program was:" >&5
44937 sed 's/^/| /' conftest.$ac_ext >&5
44942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44944 ac_cpp='$CPP $CPPFLAGS'
44945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44949 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44950 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44954 if test "$wxUSE_MGL" != 1; then
44956 for ac_header in linux/joystick.h
44958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44959 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44961 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44962 echo $ECHO_N "(cached) $ECHO_C" >&6
44964 cat >conftest.$ac_ext <<_ACEOF
44967 cat confdefs.h >>conftest.$ac_ext
44968 cat >>conftest.$ac_ext <<_ACEOF
44969 /* end confdefs.h. */
44970 $ac_includes_default
44972 #include <$ac_header>
44974 rm -f conftest.$ac_objext
44975 if { (ac_try="$ac_compile"
44976 case "(($ac_try" in
44977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44978 *) ac_try_echo=$ac_try;;
44980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44981 (eval "$ac_compile") 2>conftest.er1
44983 grep -v '^ *+' conftest.er1 >conftest.err
44985 cat conftest.err >&5
44986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44987 (exit $ac_status); } && {
44988 test -z "$ac_c_werror_flag" ||
44989 test ! -s conftest.err
44990 } && test -s conftest.$ac_objext; then
44991 eval "$as_ac_Header=yes"
44993 echo "$as_me: failed program was:" >&5
44994 sed 's/^/| /' conftest.$ac_ext >&5
44996 eval "$as_ac_Header=no"
44999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45001 ac_res=`eval echo '${'$as_ac_Header'}'`
45002 { echo "$as_me:$LINENO: result: $ac_res" >&5
45003 echo "${ECHO_T}$ac_res" >&6; }
45004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45005 cat >>confdefs.h <<_ACEOF
45006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45016 if test "$wxUSE_JOYSTICK" = "yes"; then
45017 cat >>confdefs.h <<\_ACEOF
45018 #define wxUSE_JOYSTICK 1
45021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45023 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45024 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45030 if test "$wxUSE_FONTENUM" = "yes" ; then
45031 cat >>confdefs.h <<\_ACEOF
45032 #define wxUSE_FONTENUM 1
45037 if test "$wxUSE_FONTMAP" = "yes" ; then
45038 cat >>confdefs.h <<\_ACEOF
45039 #define wxUSE_FONTMAP 1
45044 if test "$wxUSE_UNICODE" = "yes" ; then
45045 cat >>confdefs.h <<\_ACEOF
45046 #define wxUSE_UNICODE 1
45050 if test "$USE_WIN32" != 1; then
45051 wxUSE_UNICODE_MSLU=no
45054 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45055 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45056 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45057 if test "${ac_cv_lib_unicows_main+set}" = set; then
45058 echo $ECHO_N "(cached) $ECHO_C" >&6
45060 ac_check_lib_save_LIBS=$LIBS
45061 LIBS="-lunicows $LIBS"
45062 cat >conftest.$ac_ext <<_ACEOF
45065 cat confdefs.h >>conftest.$ac_ext
45066 cat >>conftest.$ac_ext <<_ACEOF
45067 /* end confdefs.h. */
45078 rm -f conftest.$ac_objext conftest$ac_exeext
45079 if { (ac_try="$ac_link"
45080 case "(($ac_try" in
45081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45082 *) ac_try_echo=$ac_try;;
45084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45085 (eval "$ac_link") 2>conftest.er1
45087 grep -v '^ *+' conftest.er1 >conftest.err
45089 cat conftest.err >&5
45090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45091 (exit $ac_status); } && {
45092 test -z "$ac_c_werror_flag" ||
45093 test ! -s conftest.err
45094 } && test -s conftest$ac_exeext &&
45095 $as_test_x conftest$ac_exeext; then
45096 ac_cv_lib_unicows_main=yes
45098 echo "$as_me: failed program was:" >&5
45099 sed 's/^/| /' conftest.$ac_ext >&5
45101 ac_cv_lib_unicows_main=no
45104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45105 conftest$ac_exeext conftest.$ac_ext
45106 LIBS=$ac_check_lib_save_LIBS
45108 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45109 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45110 if test $ac_cv_lib_unicows_main = yes; then
45112 cat >>confdefs.h <<\_ACEOF
45113 #define wxUSE_UNICODE_MSLU 1
45119 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45120 Applications will only run on Windows NT/2000/XP!" >&5
45121 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45122 Applications will only run on Windows NT/2000/XP!" >&2;}
45123 wxUSE_UNICODE_MSLU=no
45130 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45131 cat >>confdefs.h <<\_ACEOF
45132 #define wxUSE_UNICODE_UTF8 1
45136 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45137 cat >>confdefs.h <<\_ACEOF
45138 #define wxUSE_UTF8_LOCALE_ONLY 1
45145 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45146 cat >>confdefs.h <<\_ACEOF
45147 #define wxUSE_CONSTRAINTS 1
45150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45153 if test "$wxUSE_MDI" = "yes"; then
45154 cat >>confdefs.h <<\_ACEOF
45155 #define wxUSE_MDI 1
45159 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45160 cat >>confdefs.h <<\_ACEOF
45161 #define wxUSE_MDI_ARCHITECTURE 1
45164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45168 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45169 cat >>confdefs.h <<\_ACEOF
45170 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45174 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45179 if test "$wxUSE_HELP" = "yes"; then
45180 cat >>confdefs.h <<\_ACEOF
45181 #define wxUSE_HELP 1
45184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45186 if test "$wxUSE_MSW" = 1; then
45187 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45188 cat >>confdefs.h <<\_ACEOF
45189 #define wxUSE_MS_HTML_HELP 1
45195 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45196 if test "$wxUSE_HTML" = "yes"; then
45197 cat >>confdefs.h <<\_ACEOF
45198 #define wxUSE_WXHTML_HELP 1
45202 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45203 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45204 wxUSE_WXHTML_HELP=no
45209 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45210 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45211 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45212 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45214 cat >>confdefs.h <<\_ACEOF
45215 #define wxUSE_PRINTING_ARCHITECTURE 1
45219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45222 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45223 cat >>confdefs.h <<\_ACEOF
45224 #define wxUSE_POSTSCRIPT 1
45229 cat >>confdefs.h <<\_ACEOF
45230 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45234 if test "$wxUSE_SVG" = "yes"; then
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_SVG 1
45242 if test "$wxUSE_METAFILE" = "yes"; then
45243 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45244 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45245 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45251 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45252 -o "$wxUSE_CLIPBOARD" = "yes" \
45253 -o "$wxUSE_OLE" = "yes" \
45254 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45255 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45256 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45257 if test "${ac_cv_header_ole2_h+set}" = set; then
45258 echo $ECHO_N "(cached) $ECHO_C" >&6
45260 cat >conftest.$ac_ext <<_ACEOF
45263 cat confdefs.h >>conftest.$ac_ext
45264 cat >>conftest.$ac_ext <<_ACEOF
45265 /* end confdefs.h. */
45270 rm -f conftest.$ac_objext
45271 if { (ac_try="$ac_compile"
45272 case "(($ac_try" in
45273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45274 *) ac_try_echo=$ac_try;;
45276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45277 (eval "$ac_compile") 2>conftest.er1
45279 grep -v '^ *+' conftest.er1 >conftest.err
45281 cat conftest.err >&5
45282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45283 (exit $ac_status); } && {
45284 test -z "$ac_c_werror_flag" ||
45285 test ! -s conftest.err
45286 } && test -s conftest.$ac_objext; then
45287 ac_cv_header_ole2_h=yes
45289 echo "$as_me: failed program was:" >&5
45290 sed 's/^/| /' conftest.$ac_ext >&5
45292 ac_cv_header_ole2_h=no
45295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45297 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45298 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45302 if test "$ac_cv_header_ole2_h" = "yes" ; then
45303 if test "$GCC" = yes ; then
45304 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45305 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45306 cat >conftest.$ac_ext <<_ACEOF
45309 cat confdefs.h >>conftest.$ac_ext
45310 cat >>conftest.$ac_ext <<_ACEOF
45311 /* end confdefs.h. */
45312 #include <windows.h>
45322 rm -f conftest.$ac_objext
45323 if { (ac_try="$ac_compile"
45324 case "(($ac_try" in
45325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45326 *) ac_try_echo=$ac_try;;
45328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45329 (eval "$ac_compile") 2>conftest.er1
45331 grep -v '^ *+' conftest.er1 >conftest.err
45333 cat conftest.err >&5
45334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45335 (exit $ac_status); } && {
45336 test -z "$ac_c_werror_flag" ||
45337 test ! -s conftest.err
45338 } && test -s conftest.$ac_objext; then
45339 { echo "$as_me:$LINENO: result: no" >&5
45340 echo "${ECHO_T}no" >&6; }
45342 echo "$as_me: failed program was:" >&5
45343 sed 's/^/| /' conftest.$ac_ext >&5
45345 { echo "$as_me:$LINENO: result: yes" >&5
45346 echo "${ECHO_T}yes" >&6; }
45347 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45351 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45352 if test "$wxUSE_OLE" = "yes" ; then
45353 cat >>confdefs.h <<\_ACEOF
45354 #define wxUSE_OLE 1
45357 cat >>confdefs.h <<\_ACEOF
45358 #define wxUSE_OLE_AUTOMATION 1
45361 cat >>confdefs.h <<\_ACEOF
45362 #define wxUSE_ACTIVEX 1
45365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45369 if test "$wxUSE_DATAOBJ" = "yes" ; then
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_DATAOBJ 1
45376 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45377 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45380 wxUSE_DRAG_AND_DROP=no
45385 if test "$wxUSE_METAFILE" = "yes"; then
45386 cat >>confdefs.h <<\_ACEOF
45387 #define wxUSE_METAFILE 1
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_ENH_METAFILE 1
45398 if test "$wxUSE_IPC" = "yes"; then
45399 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45400 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45401 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45405 if test "$wxUSE_IPC" = "yes"; then
45406 cat >>confdefs.h <<\_ACEOF
45407 #define wxUSE_IPC 1
45410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45414 if test "$wxUSE_DATAOBJ" = "yes"; then
45415 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45416 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45417 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45420 cat >>confdefs.h <<\_ACEOF
45421 #define wxUSE_DATAOBJ 1
45426 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45427 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45429 wxUSE_DRAG_AND_DROP=no
45432 if test "$wxUSE_CLIPBOARD" = "yes"; then
45433 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45434 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45435 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45439 if test "$wxUSE_CLIPBOARD" = "yes"; then
45440 cat >>confdefs.h <<\_ACEOF
45441 #define wxUSE_CLIPBOARD 1
45447 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45448 if test "$wxUSE_GTK" = 1; then
45449 if test "$WXGTK12" != 1; then
45450 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45451 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45452 wxUSE_DRAG_AND_DROP=no
45456 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45457 "$wxUSE_DFB" = 1; then
45458 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45459 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45460 wxUSE_DRAG_AND_DROP=no
45463 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45464 cat >>confdefs.h <<\_ACEOF
45465 #define wxUSE_DRAG_AND_DROP 1
45472 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45476 if test "$wxUSE_SPLINES" = "yes" ; then
45477 cat >>confdefs.h <<\_ACEOF
45478 #define wxUSE_SPLINES 1
45483 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45484 cat >>confdefs.h <<\_ACEOF
45485 #define wxUSE_MOUSEWHEEL 1
45492 if test "$wxUSE_CONTROLS" = "yes"; then
45496 if test "$wxUSE_ACCEL" = "yes"; then
45497 cat >>confdefs.h <<\_ACEOF
45498 #define wxUSE_ACCEL 1
45504 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45505 cat >>confdefs.h <<\_ACEOF
45506 #define wxUSE_ANIMATIONCTRL 1
45510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45513 if test "$wxUSE_BUTTON" = "yes"; then
45514 cat >>confdefs.h <<\_ACEOF
45515 #define wxUSE_BUTTON 1
45521 if test "$wxUSE_BMPBUTTON" = "yes"; then
45522 cat >>confdefs.h <<\_ACEOF
45523 #define wxUSE_BMPBUTTON 1
45529 if test "$wxUSE_CALCTRL" = "yes"; then
45530 cat >>confdefs.h <<\_ACEOF
45531 #define wxUSE_CALENDARCTRL 1
45535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45538 if test "$wxUSE_CARET" = "yes"; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_CARET 1
45544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45547 if test "$wxUSE_COLLPANE" = "yes"; then
45548 cat >>confdefs.h <<\_ACEOF
45549 #define wxUSE_COLLPANE 1
45553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45556 if test "$wxUSE_COMBOBOX" = "yes"; then
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_COMBOBOX 1
45564 if test "$wxUSE_COMBOCTRL" = "yes"; then
45565 cat >>confdefs.h <<\_ACEOF
45566 #define wxUSE_COMBOCTRL 1
45572 if test "$wxUSE_CHOICE" = "yes"; then
45573 cat >>confdefs.h <<\_ACEOF
45574 #define wxUSE_CHOICE 1
45580 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45581 cat >>confdefs.h <<\_ACEOF
45582 #define wxUSE_CHOICEBOOK 1
45588 if test "$wxUSE_CHECKBOX" = "yes"; then
45589 cat >>confdefs.h <<\_ACEOF
45590 #define wxUSE_CHECKBOX 1
45596 if test "$wxUSE_CHECKLST" = "yes"; then
45597 cat >>confdefs.h <<\_ACEOF
45598 #define wxUSE_CHECKLISTBOX 1
45604 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45605 cat >>confdefs.h <<\_ACEOF
45606 #define wxUSE_COLOURPICKERCTRL 1
45612 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45613 cat >>confdefs.h <<\_ACEOF
45614 #define wxUSE_DATEPICKCTRL 1
45620 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45621 cat >>confdefs.h <<\_ACEOF
45622 #define wxUSE_DIRPICKERCTRL 1
45628 if test "$wxUSE_FILECTRL" = "yes"; then
45629 cat >>confdefs.h <<\_ACEOF
45630 #define wxUSE_FILECTRL 1
45636 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45637 cat >>confdefs.h <<\_ACEOF
45638 #define wxUSE_FILEPICKERCTRL 1
45644 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45645 cat >>confdefs.h <<\_ACEOF
45646 #define wxUSE_FONTPICKERCTRL 1
45652 if test "$wxUSE_DISPLAY" = "yes"; then
45653 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45654 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45655 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_DISPLAY 1
45662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45666 if test "$wxUSE_DETECT_SM" = "yes"; then
45667 cat >>confdefs.h <<\_ACEOF
45668 #define wxUSE_DETECT_SM 1
45673 if test "$wxUSE_GAUGE" = "yes"; then
45674 cat >>confdefs.h <<\_ACEOF
45675 #define wxUSE_GAUGE 1
45681 if test "$wxUSE_GRID" = "yes"; then
45682 cat >>confdefs.h <<\_ACEOF
45683 #define wxUSE_GRID 1
45687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45690 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_HYPERLINKCTRL 1
45698 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45699 cat >>confdefs.h <<\_ACEOF
45700 #define wxUSE_BITMAPCOMBOBOX 1
45706 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45707 cat >>confdefs.h <<\_ACEOF
45708 #define wxUSE_DATAVIEWCTRL 1
45712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45715 if test "$wxUSE_IMAGLIST" = "yes"; then
45716 cat >>confdefs.h <<\_ACEOF
45717 #define wxUSE_IMAGLIST 1
45722 if test "$wxUSE_LISTBOOK" = "yes"; then
45723 cat >>confdefs.h <<\_ACEOF
45724 #define wxUSE_LISTBOOK 1
45730 if test "$wxUSE_LISTBOX" = "yes"; then
45731 cat >>confdefs.h <<\_ACEOF
45732 #define wxUSE_LISTBOX 1
45738 if test "$wxUSE_LISTCTRL" = "yes"; then
45739 if test "$wxUSE_IMAGLIST" = "yes"; then
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_LISTCTRL 1
45745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45747 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45748 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45752 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45753 cat >>confdefs.h <<\_ACEOF
45754 #define wxUSE_EDITABLELISTBOX 1
45758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45761 if test "$wxUSE_NOTEBOOK" = "yes"; then
45762 cat >>confdefs.h <<\_ACEOF
45763 #define wxUSE_NOTEBOOK 1
45767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45770 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45771 cat >>confdefs.h <<\_ACEOF
45772 #define wxUSE_NOTIFICATION_MESSAGE 1
45777 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45778 cat >>confdefs.h <<\_ACEOF
45779 #define wxUSE_ODCOMBOBOX 1
45783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45786 if test "$wxUSE_RADIOBOX" = "yes"; then
45787 cat >>confdefs.h <<\_ACEOF
45788 #define wxUSE_RADIOBOX 1
45794 if test "$wxUSE_RADIOBTN" = "yes"; then
45795 cat >>confdefs.h <<\_ACEOF
45796 #define wxUSE_RADIOBTN 1
45802 if test "$wxUSE_SASH" = "yes"; then
45803 cat >>confdefs.h <<\_ACEOF
45804 #define wxUSE_SASH 1
45807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45810 if test "$wxUSE_SCROLLBAR" = "yes"; then
45811 cat >>confdefs.h <<\_ACEOF
45812 #define wxUSE_SCROLLBAR 1
45816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45819 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45820 cat >>confdefs.h <<\_ACEOF
45821 #define wxUSE_SEARCHCTRL 1
45827 if test "$wxUSE_SLIDER" = "yes"; then
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_SLIDER 1
45835 if test "$wxUSE_SPINBTN" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_SPINBTN 1
45843 if test "$wxUSE_SPINCTRL" = "yes"; then
45844 cat >>confdefs.h <<\_ACEOF
45845 #define wxUSE_SPINCTRL 1
45851 if test "$wxUSE_SPLITTER" = "yes"; then
45852 cat >>confdefs.h <<\_ACEOF
45853 #define wxUSE_SPLITTER 1
45856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45859 if test "$wxUSE_STATBMP" = "yes"; then
45860 cat >>confdefs.h <<\_ACEOF
45861 #define wxUSE_STATBMP 1
45867 if test "$wxUSE_STATBOX" = "yes"; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_STATBOX 1
45875 if test "$wxUSE_STATTEXT" = "yes"; then
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_STATTEXT 1
45883 if test "$wxUSE_STATLINE" = "yes"; then
45884 cat >>confdefs.h <<\_ACEOF
45885 #define wxUSE_STATLINE 1
45891 if test "$wxUSE_STATUSBAR" = "yes"; then
45892 cat >>confdefs.h <<\_ACEOF
45893 #define wxUSE_NATIVE_STATUSBAR 1
45896 cat >>confdefs.h <<\_ACEOF
45897 #define wxUSE_STATUSBAR 1
45902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45905 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45906 cat >>confdefs.h <<\_ACEOF
45907 #define wxUSE_TAB_DIALOG 1
45912 if test "$wxUSE_TEXTCTRL" = "yes"; then
45913 cat >>confdefs.h <<\_ACEOF
45914 #define wxUSE_TEXTCTRL 1
45918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45920 cat >>confdefs.h <<\_ACEOF
45921 #define wxUSE_RICHEDIT 1
45924 cat >>confdefs.h <<\_ACEOF
45925 #define wxUSE_RICHEDIT2 1
45930 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45931 if test "$wxUSE_COCOA" = 1 ; then
45932 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45933 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45937 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45938 cat >>confdefs.h <<\_ACEOF
45939 #define wxUSE_TOGGLEBTN 1
45946 if test "$wxUSE_TOOLBAR" = "yes"; then
45947 cat >>confdefs.h <<\_ACEOF
45948 #define wxUSE_TOOLBAR 1
45953 if test "$wxUSE_UNIVERSAL" = "yes"; then
45954 wxUSE_TOOLBAR_NATIVE="no"
45956 wxUSE_TOOLBAR_NATIVE="yes"
45957 cat >>confdefs.h <<\_ACEOF
45958 #define wxUSE_TOOLBAR_NATIVE 1
45963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45966 if test "$wxUSE_TOOLTIPS" = "yes"; then
45967 if test "$wxUSE_MOTIF" = 1; then
45968 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45969 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45971 if test "$wxUSE_UNIVERSAL" = "yes"; then
45972 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45973 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45975 cat >>confdefs.h <<\_ACEOF
45976 #define wxUSE_TOOLTIPS 1
45983 if test "$wxUSE_TREEBOOK" = "yes"; then
45984 cat >>confdefs.h <<\_ACEOF
45985 #define wxUSE_TREEBOOK 1
45991 if test "$wxUSE_TOOLBOOK" = "yes"; then
45992 cat >>confdefs.h <<\_ACEOF
45993 #define wxUSE_TOOLBOOK 1
45999 if test "$wxUSE_TREECTRL" = "yes"; then
46000 if test "$wxUSE_IMAGLIST" = "yes"; then
46001 cat >>confdefs.h <<\_ACEOF
46002 #define wxUSE_TREECTRL 1
46006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46008 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46009 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46013 if test "$wxUSE_POPUPWIN" = "yes"; then
46014 if test "$wxUSE_COCOA" = 1 ; then
46015 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46016 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46018 if test "$wxUSE_PM" = 1; then
46019 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46020 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46022 cat >>confdefs.h <<\_ACEOF
46023 #define wxUSE_POPUPWIN 1
46026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46033 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46034 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46035 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46036 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46038 cat >>confdefs.h <<\_ACEOF
46039 #define wxUSE_DIALUP_MANAGER 1
46042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46046 if test "$wxUSE_TIPWINDOW" = "yes"; then
46047 if test "$wxUSE_PM" = 1; then
46048 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46049 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46051 cat >>confdefs.h <<\_ACEOF
46052 #define wxUSE_TIPWINDOW 1
46058 if test "$USES_CONTROLS" = 1; then
46059 cat >>confdefs.h <<\_ACEOF
46060 #define wxUSE_CONTROLS 1
46066 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46067 cat >>confdefs.h <<\_ACEOF
46068 #define wxUSE_ACCESSIBILITY 1
46071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46074 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46075 cat >>confdefs.h <<\_ACEOF
46076 #define wxUSE_DRAGIMAGE 1
46079 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46082 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46083 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46084 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46085 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46087 cat >>confdefs.h <<\_ACEOF
46088 #define wxUSE_EXCEPTIONS 1
46091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46096 if test "$wxUSE_HTML" = "yes"; then
46097 cat >>confdefs.h <<\_ACEOF
46098 #define wxUSE_HTML 1
46102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46104 if test "$wxUSE_WEBKIT" = "yes"; then
46105 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46106 old_CPPFLAGS="$CPPFLAGS"
46107 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46108 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46109 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46110 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46111 echo $ECHO_N "(cached) $ECHO_C" >&6
46113 cat >conftest.$ac_ext <<_ACEOF
46116 cat confdefs.h >>conftest.$ac_ext
46117 cat >>conftest.$ac_ext <<_ACEOF
46118 /* end confdefs.h. */
46120 #include <Carbon/Carbon.h>
46121 #include <WebKit/WebKit.h>
46124 #include <WebKit/HIWebView.h>
46126 rm -f conftest.$ac_objext
46127 if { (ac_try="$ac_compile"
46128 case "(($ac_try" in
46129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46130 *) ac_try_echo=$ac_try;;
46132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46133 (eval "$ac_compile") 2>conftest.er1
46135 grep -v '^ *+' conftest.er1 >conftest.err
46137 cat conftest.err >&5
46138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46139 (exit $ac_status); } && {
46140 test -z "$ac_c_werror_flag" ||
46141 test ! -s conftest.err
46142 } && test -s conftest.$ac_objext; then
46143 ac_cv_header_WebKit_HIWebView_h=yes
46145 echo "$as_me: failed program was:" >&5
46146 sed 's/^/| /' conftest.$ac_ext >&5
46148 ac_cv_header_WebKit_HIWebView_h=no
46151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46153 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46154 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46155 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46157 cat >>confdefs.h <<\_ACEOF
46158 #define wxUSE_WEBKIT 1
46161 WEBKIT_LINK="-framework WebKit"
46165 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46166 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46172 CPPFLAGS="$old_CPPFLAGS"
46173 elif test "$wxUSE_COCOA" = 1; then
46174 cat >>confdefs.h <<\_ACEOF
46175 #define wxUSE_WEBKIT 1
46181 if test "$wxUSE_WEBKIT" = "yes"; then
46182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46187 if test "$wxUSE_XRC" = "yes"; then
46188 if test "$wxUSE_XML" != "yes"; then
46189 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46190 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_XRC 1
46198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46203 if test "$wxUSE_AUI" = "yes"; then
46204 cat >>confdefs.h <<\_ACEOF
46205 #define wxUSE_AUI 1
46209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46213 if test "$wxUSE_STC" = "yes"; then
46214 cat >>confdefs.h <<\_ACEOF
46215 #define wxUSE_STC 1
46219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46222 if test "$wxUSE_MENUS" = "yes"; then
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_MENUS 1
46227 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46230 if test "$wxUSE_METAFILE" = "yes"; then
46231 cat >>confdefs.h <<\_ACEOF
46232 #define wxUSE_METAFILE 1
46237 if test "$wxUSE_MIMETYPE" = "yes"; then
46238 cat >>confdefs.h <<\_ACEOF
46239 #define wxUSE_MIMETYPE 1
46244 if test "$wxUSE_MINIFRAME" = "yes"; then
46245 cat >>confdefs.h <<\_ACEOF
46246 #define wxUSE_MINIFRAME 1
46251 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46252 cat >>confdefs.h <<\_ACEOF
46253 #define wxUSE_SYSTEM_OPTIONS 1
46258 if test "$wxUSE_TASKBARICON" = "yes"; then
46259 cat >>confdefs.h <<\_ACEOF
46260 #define wxUSE_TASKBARICON 1
46263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46267 if test "$wxUSE_VALIDATORS" = "yes"; then
46268 cat >>confdefs.h <<\_ACEOF
46269 #define wxUSE_VALIDATORS 1
46272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46275 if test "$wxUSE_PALETTE" = "yes" ; then
46276 if test "$wxUSE_DFB" = 1; then
46277 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46278 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46281 cat >>confdefs.h <<\_ACEOF
46282 #define wxUSE_PALETTE 1
46288 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46289 LIBS=" -lunicows $LIBS"
46293 if test "$wxUSE_RICHTEXT" = "yes"; then
46294 cat >>confdefs.h <<\_ACEOF
46295 #define wxUSE_RICHTEXT 1
46299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46303 if test "$wxUSE_IMAGE" = "yes" ; then
46304 cat >>confdefs.h <<\_ACEOF
46305 #define wxUSE_IMAGE 1
46309 if test "$wxUSE_GIF" = "yes" ; then
46310 cat >>confdefs.h <<\_ACEOF
46311 #define wxUSE_GIF 1
46316 if test "$wxUSE_PCX" = "yes" ; then
46317 cat >>confdefs.h <<\_ACEOF
46318 #define wxUSE_PCX 1
46323 if test "$wxUSE_TGA" = "yes" ; then
46324 cat >>confdefs.h <<\_ACEOF
46325 #define wxUSE_TGA 1
46330 if test "$wxUSE_IFF" = "yes" ; then
46331 cat >>confdefs.h <<\_ACEOF
46332 #define wxUSE_IFF 1
46337 if test "$wxUSE_PNM" = "yes" ; then
46338 cat >>confdefs.h <<\_ACEOF
46339 #define wxUSE_PNM 1
46344 if test "$wxUSE_XPM" = "yes" ; then
46345 cat >>confdefs.h <<\_ACEOF
46346 #define wxUSE_XPM 1
46351 if test "$wxUSE_ICO_CUR" = "yes" ; then
46352 cat >>confdefs.h <<\_ACEOF
46353 #define wxUSE_ICO_CUR 1
46360 if test "$wxUSE_ABOUTDLG" = "yes"; then
46361 cat >>confdefs.h <<\_ACEOF
46362 #define wxUSE_ABOUTDLG 1
46367 if test "$wxUSE_CHOICEDLG" = "yes"; then
46368 cat >>confdefs.h <<\_ACEOF
46369 #define wxUSE_CHOICEDLG 1
46374 if test "$wxUSE_COLOURDLG" = "yes"; then
46375 cat >>confdefs.h <<\_ACEOF
46376 #define wxUSE_COLOURDLG 1
46381 if test "$wxUSE_FILEDLG" = "yes"; then
46382 cat >>confdefs.h <<\_ACEOF
46383 #define wxUSE_FILEDLG 1
46388 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46389 cat >>confdefs.h <<\_ACEOF
46390 #define wxUSE_FINDREPLDLG 1
46395 if test "$wxUSE_FONTDLG" = "yes"; then
46396 cat >>confdefs.h <<\_ACEOF
46397 #define wxUSE_FONTDLG 1
46402 if test "$wxUSE_DIRDLG" = "yes"; then
46403 if test "$wxUSE_TREECTRL" != "yes"; then
46404 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46405 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46407 cat >>confdefs.h <<\_ACEOF
46408 #define wxUSE_DIRDLG 1
46414 if test "$wxUSE_MSGDLG" = "yes"; then
46415 cat >>confdefs.h <<\_ACEOF
46416 #define wxUSE_MSGDLG 1
46421 if test "$wxUSE_NUMBERDLG" = "yes"; then
46422 cat >>confdefs.h <<\_ACEOF
46423 #define wxUSE_NUMBERDLG 1
46428 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46429 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46430 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46431 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46433 cat >>confdefs.h <<\_ACEOF
46434 #define wxUSE_PROGRESSDLG 1
46440 if test "$wxUSE_SPLASH" = "yes"; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_SPLASH 1
46445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46448 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46449 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46450 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46451 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46453 cat >>confdefs.h <<\_ACEOF
46454 #define wxUSE_STARTUP_TIPS 1
46460 if test "$wxUSE_TEXTDLG" = "yes"; then
46461 cat >>confdefs.h <<\_ACEOF
46462 #define wxUSE_TEXTDLG 1
46467 if test "$wxUSE_WIZARDDLG" = "yes"; then
46468 cat >>confdefs.h <<\_ACEOF
46469 #define wxUSE_WIZARDDLG 1
46472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46476 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46477 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46478 cat >>confdefs.h <<\_ACEOF
46479 #define wxUSE_OWNER_DRAWN 1
46486 if test "$wxUSE_MSW" = 1 ; then
46488 if test "$wxUSE_DC_CACHEING" = "yes"; then
46489 cat >>confdefs.h <<\_ACEOF
46490 #define wxUSE_DC_CACHEING 1
46495 if test "$wxUSE_DIB" = "yes"; then
46496 cat >>confdefs.h <<\_ACEOF
46497 #define wxUSE_WXDIB 1
46502 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46503 cat >>confdefs.h <<\_ACEOF
46504 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46509 if test "$wxUSE_UXTHEME" = "yes"; then
46510 cat >>confdefs.h <<\_ACEOF
46511 #define wxUSE_UXTHEME 1
46518 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46519 cat >>confdefs.h <<\_ACEOF
46520 #define wxUSE_AUTOID_MANAGEMENT 1
46525 if test "$USE_WIN32" = 1 ; then
46526 if test "$wxUSE_INICONF" = "yes"; then
46527 cat >>confdefs.h <<\_ACEOF
46528 #define wxUSE_INICONF 1
46533 if test "$wxUSE_REGKEY" = "yes"; then
46534 cat >>confdefs.h <<\_ACEOF
46535 #define wxUSE_REGKEY 1
46542 if test "$wxUSE_MAC" = 1; then
46543 wxUSE_GRAPHICS_CONTEXT="yes"
46546 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46547 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46548 cat >>confdefs.h <<\_ACEOF
46549 #define wxUSE_GRAPHICS_CONTEXT 1
46552 elif test "$wxUSE_GTK" != 1; then
46553 cat >>confdefs.h <<\_ACEOF
46554 #define wxUSE_GRAPHICS_CONTEXT 1
46560 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46561 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46563 if test -n "$PKG_CONFIG"; then
46564 if test -n "$CAIRO_CFLAGS"; then
46565 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46567 if test -n "$PKG_CONFIG" && \
46568 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46569 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46572 (exit $ac_status); }; then
46573 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46581 if test -n "$PKG_CONFIG"; then
46582 if test -n "$CAIRO_LIBS"; then
46583 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46585 if test -n "$PKG_CONFIG" && \
46586 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46587 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46590 (exit $ac_status); }; then
46591 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46602 if test $pkg_failed = yes; then
46604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46605 _pkg_short_errors_supported=yes
46607 _pkg_short_errors_supported=no
46609 if test $_pkg_short_errors_supported = yes; then
46610 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46612 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46614 # Put the nasty error message in config.log where it belongs
46615 echo "$CAIRO_PKG_ERRORS" >&5
46617 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46618 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46620 elif test $pkg_failed = untried; then
46621 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46622 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46625 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46626 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46627 { echo "$as_me:$LINENO: result: yes" >&5
46628 echo "${ECHO_T}yes" >&6; }
46629 cat >>confdefs.h <<\_ACEOF
46630 #define wxUSE_GRAPHICS_CONTEXT 1
46640 if test "$wxUSE_MEDIACTRL" = "yes"; then
46643 if test "$wxUSE_GTK" = 1; then
46644 wxUSE_GSTREAMER="no"
46646 GST_VERSION_MAJOR=0
46647 GST_VERSION_MINOR=10
46648 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46650 if test "$wxUSE_GSTREAMER8" = "no"; then
46653 { echo "$as_me:$LINENO: checking for GST" >&5
46654 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46656 if test -n "$PKG_CONFIG"; then
46657 if test -n "$GST_CFLAGS"; then
46658 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46660 if test -n "$PKG_CONFIG" && \
46661 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46662 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46665 (exit $ac_status); }; then
46666 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46674 if test -n "$PKG_CONFIG"; then
46675 if test -n "$GST_LIBS"; then
46676 pkg_cv_GST_LIBS="$GST_LIBS"
46678 if test -n "$PKG_CONFIG" && \
46679 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46680 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46683 (exit $ac_status); }; then
46684 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46695 if test $pkg_failed = yes; then
46697 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46698 _pkg_short_errors_supported=yes
46700 _pkg_short_errors_supported=no
46702 if test $_pkg_short_errors_supported = yes; then
46703 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46705 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46707 # Put the nasty error message in config.log where it belongs
46708 echo "$GST_PKG_ERRORS" >&5
46711 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46712 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46713 GST_VERSION_MINOR=8
46716 elif test $pkg_failed = untried; then
46718 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46719 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46720 GST_VERSION_MINOR=8
46724 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46725 GST_LIBS=$pkg_cv_GST_LIBS
46726 { echo "$as_me:$LINENO: result: yes" >&5
46727 echo "${ECHO_T}yes" >&6; }
46729 wxUSE_GSTREAMER="yes"
46730 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46734 GST_VERSION_MINOR=8
46737 if test $GST_VERSION_MINOR = "8"; then
46738 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46741 { echo "$as_me:$LINENO: checking for GST" >&5
46742 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46744 if test -n "$PKG_CONFIG"; then
46745 if test -n "$GST_CFLAGS"; then
46746 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46748 if test -n "$PKG_CONFIG" && \
46749 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46750 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753 (exit $ac_status); }; then
46754 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46762 if test -n "$PKG_CONFIG"; then
46763 if test -n "$GST_LIBS"; then
46764 pkg_cv_GST_LIBS="$GST_LIBS"
46766 if test -n "$PKG_CONFIG" && \
46767 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46768 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46771 (exit $ac_status); }; then
46772 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46783 if test $pkg_failed = yes; then
46785 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46786 _pkg_short_errors_supported=yes
46788 _pkg_short_errors_supported=no
46790 if test $_pkg_short_errors_supported = yes; then
46791 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46793 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46795 # Put the nasty error message in config.log where it belongs
46796 echo "$GST_PKG_ERRORS" >&5
46799 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46800 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46802 elif test $pkg_failed = untried; then
46804 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46805 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46808 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46809 GST_LIBS=$pkg_cv_GST_LIBS
46810 { echo "$as_me:$LINENO: result: yes" >&5
46811 echo "${ECHO_T}yes" >&6; }
46812 wxUSE_GSTREAMER="yes"
46817 if test "$wxUSE_GSTREAMER" = "yes"; then
46818 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46819 EXTRALIBS_MEDIA="$GST_LIBS"
46821 cat >>confdefs.h <<\_ACEOF
46822 #define wxUSE_GSTREAMER 1
46830 if test $USE_MEDIA = 1; then
46831 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46832 cat >>confdefs.h <<\_ACEOF
46833 #define wxUSE_MEDIACTRL 1
46840 if test "$cross_compiling" = "yes"; then
46843 OSINFO=`uname -s -r -m`
46844 OSINFO="\"$OSINFO\""
46847 cat >>confdefs.h <<_ACEOF
46848 #define WXWIN_OS_DESCRIPTION $OSINFO
46853 if test "x$prefix" != "xNONE"; then
46856 wxPREFIX=$ac_default_prefix
46859 cat >>confdefs.h <<_ACEOF
46860 #define wxINSTALL_PREFIX "$wxPREFIX"
46866 STD_BASE_LIBS="base"
46868 BUILT_WX_LIBS="base"
46869 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46871 if test "$wxUSE_SOCKETS" = "yes" ; then
46872 STD_BASE_LIBS="net $STD_BASE_LIBS"
46873 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46875 if test "$wxUSE_XML" = "yes" ; then
46876 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46877 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46880 if test "$wxUSE_GUI" = "yes"; then
46881 STD_GUI_LIBS="adv core"
46882 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46884 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46885 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46886 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46888 if test "$wxUSE_HTML" = "yes" ; then
46889 STD_GUI_LIBS="html $STD_GUI_LIBS"
46890 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46892 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46893 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46895 if test "$wxUSE_OPENGL" = "yes" ; then
46896 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46898 if test "$wxUSE_AUI" = "yes" ; then
46899 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46901 if test "$wxUSE_STC" = "yes" ; then
46902 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46904 if test "$wxUSE_XRC" = "yes" ; then
46905 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46906 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46917 if test "$wxUSE_MAC" = 1 ; then
46918 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46919 if test "$USE_DARWIN" = 1; then
46920 LDFLAGS="$LDFLAGS -framework QuickTime"
46923 if test "$USE_DARWIN" = 1; then
46924 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System"
46927 if test "$wxUSE_COCOA" = 1 ; then
46928 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46929 if test "$wxUSE_MEDIACTRL" = "yes"; then
46930 LDFLAGS="$LDFLAGS -framework QuickTime"
46933 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46934 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46937 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46939 if test "$wxUSE_GUI" = "yes"; then
46942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46943 erase event exec font image minimal mobile \
46944 mobile/wxedit mobile/styles render \
46945 shaped svg taborder vscroll widgets"
46947 if test "$wxUSE_MONOLITHIC" != "yes"; then
46948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46950 if test "$TOOLKIT" = "MSW"; then
46951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46952 if test "$wxUSE_UNIVERSAL" != "yes"; then
46953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46956 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46960 SAMPLES_SUBDIRS="console"
46961 if test "$wxUSE_SOCKETS" = "yes" ; then
46962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46964 if test "$wxUSE_IPC" = "yes" ; then
46965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46970 if test "x$INTELCC" = "xyes" ; then
46971 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46972 elif test "$GCC" = yes ; then
46973 CWARNINGS="-Wall -Wundef"
46976 if test "x$INTELCXX" = "xyes" ; then
46977 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46978 elif test "$GXX" = yes ; then
46979 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46983 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46984 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46987 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46988 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46989 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46992 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46993 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46994 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46995 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46996 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46998 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47001 if test "x$MWCC" = "xyes"; then
47003 CC="$CC -cwd source -I-"
47004 CXX="$CXX -cwd source -I-"
47009 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47010 EXTRALIBS_XML="$EXPAT_LINK"
47011 EXTRALIBS_HTML="$MSPACK_LINK"
47012 EXTRALIBS_MEDIA="$GST_LIBS"
47013 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47014 if test "$wxUSE_GUI" = "yes"; then
47015 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47017 if test "$wxUSE_OPENGL" = "yes"; then
47018 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47021 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47023 WXCONFIG_LIBS="$LIBS"
47025 if test "$wxUSE_REGEX" = "builtin" ; then
47026 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47028 if test "$wxUSE_EXPAT" = "builtin" ; then
47029 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47031 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47032 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47034 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47035 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47037 if test "$wxUSE_LIBPNG" = "builtin" ; then
47038 wxconfig_3rdparty="png $wxconfig_3rdparty"
47040 if test "$wxUSE_ZLIB" = "builtin" ; then
47041 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47044 for i in $wxconfig_3rdparty ; do
47045 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47049 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47052 case "$wxUNIV_THEMES" in
47054 cat >>confdefs.h <<\_ACEOF
47055 #define wxUSE_ALL_THEMES 1
47061 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47062 cat >>confdefs.h <<_ACEOF
47063 #define wxUSE_THEME_$t 1
47079 if test $wxUSE_MONOLITHIC = "yes" ; then
47085 if test $wxUSE_PLUGINS = "yes" ; then
47091 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47097 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47130 if test "$TOOLKIT" = "MAC"; then
47131 TOOLKIT_LOWERCASE=osx
47133 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47145 TOOLKIT_DESC="GTK+"
47146 if test "$WXGTK2" = 1; then
47147 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47148 if test "$wxUSE_GTKPRINT" = "yes" ; then
47149 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47151 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47152 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47154 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47155 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47157 if test "$wxUSE_LIBHILDON" = "yes"; then
47158 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47161 if test "$TOOLKIT_EXTRA" != ""; then
47162 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47168 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47172 TOOLKIT_DESC="base only"
47176 if test "$wxUSE_WINE" = "yes"; then
47177 BAKEFILE_FORCE_PLATFORM=win32
47180 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47182 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47183 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47184 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47185 echo $ECHO_N "(cached) $ECHO_C" >&6
47188 echo '#include <stdio.h>
47189 const wchar_t test_var[] = L"awidetest";' > conftest.h
47191 echo '#include "conftest.h"
47194 printf("%ls", test_var);
47198 wx_cv_gcc_pch_bug="pch not supported"
47200 if $CXX conftest.h >/dev/null 2>&1
47204 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47206 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47207 grep awidetest >/dev/null
47209 wx_cv_gcc_pch_bug=no
47211 wx_cv_gcc_pch_bug=yes
47216 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47219 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47220 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47222 if test "$wx_cv_gcc_pch_bug" = yes; then
47233 if test "x$BAKEFILE_HOST" = "x"; then
47234 if test "x${host}" = "x" ; then
47235 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47236 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47237 { (exit 1); exit 1; }; }
47240 BAKEFILE_HOST="${host}"
47243 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47245 if test -n "$ac_tool_prefix"; then
47246 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47247 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47250 if test "${ac_cv_prog_RANLIB+set}" = set; then
47251 echo $ECHO_N "(cached) $ECHO_C" >&6
47253 if test -n "$RANLIB"; then
47254 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47257 for as_dir in $PATH
47260 test -z "$as_dir" && as_dir=.
47261 for ac_exec_ext in '' $ac_executable_extensions; do
47262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47263 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47273 RANLIB=$ac_cv_prog_RANLIB
47274 if test -n "$RANLIB"; then
47275 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47276 echo "${ECHO_T}$RANLIB" >&6; }
47278 { echo "$as_me:$LINENO: result: no" >&5
47279 echo "${ECHO_T}no" >&6; }
47284 if test -z "$ac_cv_prog_RANLIB"; then
47285 ac_ct_RANLIB=$RANLIB
47286 # Extract the first word of "ranlib", so it can be a program name with args.
47287 set dummy ranlib; ac_word=$2
47288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47290 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47291 echo $ECHO_N "(cached) $ECHO_C" >&6
47293 if test -n "$ac_ct_RANLIB"; then
47294 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47297 for as_dir in $PATH
47300 test -z "$as_dir" && as_dir=.
47301 for ac_exec_ext in '' $ac_executable_extensions; do
47302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47303 ac_cv_prog_ac_ct_RANLIB="ranlib"
47304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47313 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47314 if test -n "$ac_ct_RANLIB"; then
47315 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47316 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47318 { echo "$as_me:$LINENO: result: no" >&5
47319 echo "${ECHO_T}no" >&6; }
47322 if test "x$ac_ct_RANLIB" = x; then
47325 case $cross_compiling:$ac_tool_warned in
47327 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47328 whose name does not start with the host triplet. If you think this
47329 configuration is useful to you, please write to autoconf@gnu.org." >&5
47330 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47331 whose name does not start with the host triplet. If you think this
47332 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47333 ac_tool_warned=yes ;;
47335 RANLIB=$ac_ct_RANLIB
47338 RANLIB="$ac_cv_prog_RANLIB"
47341 # Find a good install program. We prefer a C program (faster),
47342 # so one script is as good as another. But avoid the broken or
47343 # incompatible versions:
47344 # SysV /etc/install, /usr/sbin/install
47345 # SunOS /usr/etc/install
47346 # IRIX /sbin/install
47348 # AmigaOS /C/install, which installs bootblocks on floppy discs
47349 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47350 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47351 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47352 # OS/2's system install, which has a completely different semantic
47353 # ./install, which can be erroneously created by make from ./install.sh.
47354 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47355 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47356 if test -z "$INSTALL"; then
47357 if test "${ac_cv_path_install+set}" = set; then
47358 echo $ECHO_N "(cached) $ECHO_C" >&6
47360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47361 for as_dir in $PATH
47364 test -z "$as_dir" && as_dir=.
47365 # Account for people who put trailing slashes in PATH elements.
47367 ./ | .// | /cC/* | \
47368 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47369 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47372 # OSF1 and SCO ODT 3.0 have their own names for install.
47373 # Don't use installbsd from OSF since it installs stuff as root
47375 for ac_prog in ginstall scoinst install; do
47376 for ac_exec_ext in '' $ac_executable_extensions; do
47377 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47378 if test $ac_prog = install &&
47379 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47380 # AIX install. It has an incompatible calling convention.
47382 elif test $ac_prog = install &&
47383 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47384 # program-specific install script used by HP pwplus--don't use.
47387 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47400 if test "${ac_cv_path_install+set}" = set; then
47401 INSTALL=$ac_cv_path_install
47403 # As a last resort, use the slow shell script. Don't cache a
47404 # value for INSTALL within a source directory, because that will
47405 # break other packages using the cache if that directory is
47406 # removed, or if the value is a relative name.
47407 INSTALL=$ac_install_sh
47410 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47411 echo "${ECHO_T}$INSTALL" >&6; }
47413 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47414 # It thinks the first close brace ends the variable substitution.
47415 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47417 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47419 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47421 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47422 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47424 if test "$LN_S" = "ln -s"; then
47425 { echo "$as_me:$LINENO: result: yes" >&5
47426 echo "${ECHO_T}yes" >&6; }
47428 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47429 echo "${ECHO_T}no, using $LN_S" >&6; }
47433 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47434 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47435 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47436 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47437 echo $ECHO_N "(cached) $ECHO_C" >&6
47439 cat >conftest.make <<\_ACEOF
47442 @echo '@@@%%%=$(MAKE)=@@@%%%'
47444 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47445 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47446 *@@@%%%=?*=@@@%%%*)
47447 eval ac_cv_prog_make_${ac_make}_set=yes;;
47449 eval ac_cv_prog_make_${ac_make}_set=no;;
47451 rm -f conftest.make
47453 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47454 { echo "$as_me:$LINENO: result: yes" >&5
47455 echo "${ECHO_T}yes" >&6; }
47458 { echo "$as_me:$LINENO: result: no" >&5
47459 echo "${ECHO_T}no" >&6; }
47460 SET_MAKE="MAKE=${MAKE-make}"
47465 if test "x$SUNCXX" = "xyes"; then
47467 AROPTIONS="-xar -o"
47469 elif test "x$SGICC" = "xyes"; then
47474 if test -n "$ac_tool_prefix"; then
47475 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47476 set dummy ${ac_tool_prefix}ar; ac_word=$2
47477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47479 if test "${ac_cv_prog_AR+set}" = set; then
47480 echo $ECHO_N "(cached) $ECHO_C" >&6
47482 if test -n "$AR"; then
47483 ac_cv_prog_AR="$AR" # Let the user override the test.
47485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47486 for as_dir in $PATH
47489 test -z "$as_dir" && as_dir=.
47490 for ac_exec_ext in '' $ac_executable_extensions; do
47491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47492 ac_cv_prog_AR="${ac_tool_prefix}ar"
47493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47503 if test -n "$AR"; then
47504 { echo "$as_me:$LINENO: result: $AR" >&5
47505 echo "${ECHO_T}$AR" >&6; }
47507 { echo "$as_me:$LINENO: result: no" >&5
47508 echo "${ECHO_T}no" >&6; }
47513 if test -z "$ac_cv_prog_AR"; then
47515 # Extract the first word of "ar", so it can be a program name with args.
47516 set dummy ar; ac_word=$2
47517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47519 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47520 echo $ECHO_N "(cached) $ECHO_C" >&6
47522 if test -n "$ac_ct_AR"; then
47523 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47526 for as_dir in $PATH
47529 test -z "$as_dir" && as_dir=.
47530 for ac_exec_ext in '' $ac_executable_extensions; do
47531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47532 ac_cv_prog_ac_ct_AR="ar"
47533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47542 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47543 if test -n "$ac_ct_AR"; then
47544 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47545 echo "${ECHO_T}$ac_ct_AR" >&6; }
47547 { echo "$as_me:$LINENO: result: no" >&5
47548 echo "${ECHO_T}no" >&6; }
47551 if test "x$ac_ct_AR" = x; then
47554 case $cross_compiling:$ac_tool_warned in
47556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47557 whose name does not start with the host triplet. If you think this
47558 configuration is useful to you, please write to autoconf@gnu.org." >&5
47559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47560 whose name does not start with the host triplet. If you think this
47561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47562 ac_tool_warned=yes ;;
47567 AR="$ac_cv_prog_AR"
47574 if test -n "$ac_tool_prefix"; then
47575 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47576 set dummy ${ac_tool_prefix}strip; ac_word=$2
47577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47579 if test "${ac_cv_prog_STRIP+set}" = set; then
47580 echo $ECHO_N "(cached) $ECHO_C" >&6
47582 if test -n "$STRIP"; then
47583 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47586 for as_dir in $PATH
47589 test -z "$as_dir" && as_dir=.
47590 for ac_exec_ext in '' $ac_executable_extensions; do
47591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47592 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47602 STRIP=$ac_cv_prog_STRIP
47603 if test -n "$STRIP"; then
47604 { echo "$as_me:$LINENO: result: $STRIP" >&5
47605 echo "${ECHO_T}$STRIP" >&6; }
47607 { echo "$as_me:$LINENO: result: no" >&5
47608 echo "${ECHO_T}no" >&6; }
47613 if test -z "$ac_cv_prog_STRIP"; then
47615 # Extract the first word of "strip", so it can be a program name with args.
47616 set dummy strip; ac_word=$2
47617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47619 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47620 echo $ECHO_N "(cached) $ECHO_C" >&6
47622 if test -n "$ac_ct_STRIP"; then
47623 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47626 for as_dir in $PATH
47629 test -z "$as_dir" && as_dir=.
47630 for ac_exec_ext in '' $ac_executable_extensions; do
47631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47632 ac_cv_prog_ac_ct_STRIP="strip"
47633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47642 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47643 if test -n "$ac_ct_STRIP"; then
47644 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47645 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47647 { echo "$as_me:$LINENO: result: no" >&5
47648 echo "${ECHO_T}no" >&6; }
47651 if test "x$ac_ct_STRIP" = x; then
47654 case $cross_compiling:$ac_tool_warned in
47656 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47657 whose name does not start with the host triplet. If you think this
47658 configuration is useful to you, please write to autoconf@gnu.org." >&5
47659 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47660 whose name does not start with the host triplet. If you think this
47661 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47662 ac_tool_warned=yes ;;
47667 STRIP="$ac_cv_prog_STRIP"
47670 if test -n "$ac_tool_prefix"; then
47671 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47672 set dummy ${ac_tool_prefix}nm; ac_word=$2
47673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47675 if test "${ac_cv_prog_NM+set}" = set; then
47676 echo $ECHO_N "(cached) $ECHO_C" >&6
47678 if test -n "$NM"; then
47679 ac_cv_prog_NM="$NM" # Let the user override the test.
47681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47682 for as_dir in $PATH
47685 test -z "$as_dir" && as_dir=.
47686 for ac_exec_ext in '' $ac_executable_extensions; do
47687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47688 ac_cv_prog_NM="${ac_tool_prefix}nm"
47689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47699 if test -n "$NM"; then
47700 { echo "$as_me:$LINENO: result: $NM" >&5
47701 echo "${ECHO_T}$NM" >&6; }
47703 { echo "$as_me:$LINENO: result: no" >&5
47704 echo "${ECHO_T}no" >&6; }
47709 if test -z "$ac_cv_prog_NM"; then
47711 # Extract the first word of "nm", so it can be a program name with args.
47712 set dummy nm; ac_word=$2
47713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47715 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47716 echo $ECHO_N "(cached) $ECHO_C" >&6
47718 if test -n "$ac_ct_NM"; then
47719 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47722 for as_dir in $PATH
47725 test -z "$as_dir" && as_dir=.
47726 for ac_exec_ext in '' $ac_executable_extensions; do
47727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47728 ac_cv_prog_ac_ct_NM="nm"
47729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47738 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47739 if test -n "$ac_ct_NM"; then
47740 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47741 echo "${ECHO_T}$ac_ct_NM" >&6; }
47743 { echo "$as_me:$LINENO: result: no" >&5
47744 echo "${ECHO_T}no" >&6; }
47747 if test "x$ac_ct_NM" = x; then
47750 case $cross_compiling:$ac_tool_warned in
47752 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47753 whose name does not start with the host triplet. If you think this
47754 configuration is useful to you, please write to autoconf@gnu.org." >&5
47755 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47756 whose name does not start with the host triplet. If you think this
47757 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47758 ac_tool_warned=yes ;;
47763 NM="$ac_cv_prog_NM"
47767 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47768 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47769 INSTALL_TEST_DIR=acbftest$$
47770 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47771 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47772 rmdir $INSTALL_TEST_DIR
47773 INSTALL_DIR='$(INSTALL) -d'
47774 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47775 echo "${ECHO_T}$INSTALL -d" >&6; }
47777 INSTALL_DIR="mkdir -p"
47778 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47779 echo "${ECHO_T}mkdir -p" >&6; }
47784 case ${BAKEFILE_HOST} in
47785 *-*-cygwin* | *-*-mingw32* )
47786 LDFLAGS_GUI="-mwindows"
47792 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47793 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47794 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47795 echo $ECHO_N "(cached) $ECHO_C" >&6
47798 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47799 egrep -s GNU > /dev/null); then
47800 bakefile_cv_prog_makeisgnu="yes"
47802 bakefile_cv_prog_makeisgnu="no"
47806 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47807 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47809 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47826 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47827 case "${BAKEFILE_HOST}" in
47834 *-pc-os2_emx | *-pc-os2-emx )
47844 powerpc-apple-macos* )
47853 case "$BAKEFILE_FORCE_PLATFORM" in
47888 # Check whether --enable-omf was given.
47889 if test "${enable_omf+set}" = set; then
47890 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47894 case "${BAKEFILE_HOST}" in
47896 if test "x$GCC" = "xyes"; then
47897 CFLAGS="$CFLAGS -fno-common"
47898 CXXFLAGS="$CXXFLAGS -fno-common"
47900 if test "x$XLCC" = "xyes"; then
47901 CFLAGS="$CFLAGS -qnocommon"
47902 CXXFLAGS="$CXXFLAGS -qnocommon"
47906 *-pc-os2_emx | *-pc-os2-emx )
47907 if test "x$bk_os2_use_omf" = "xyes" ; then
47910 LDFLAGS="-Zomf $LDFLAGS"
47911 CFLAGS="-Zomf $CFLAGS"
47912 CXXFLAGS="-Zomf $CXXFLAGS"
47920 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47926 SO_SUFFIX_MODULE="so"
47931 DLLPREFIX_MODULE=""
47935 case "${BAKEFILE_HOST}" in
47938 SO_SUFFIX_MODULE="sl"
47942 SO_SUFFIX_MODULE="a"
47946 SO_SUFFIX_MODULE="dll"
47947 DLLIMP_SUFFIX="dll.a"
47954 SO_SUFFIX_MODULE="dll"
47955 DLLIMP_SUFFIX="dll.a"
47965 *-pc-os2_emx | *-pc-os2-emx )
47967 SO_SUFFIX_MODULE="dll"
47968 DLLIMP_SUFFIX=$OS2_LIBEXT
47972 LIBEXT=".$OS2_LIBEXT"
47977 SO_SUFFIX_MODULE="bundle"
47981 if test "x$DLLIMP_SUFFIX" = "x" ; then
47982 DLLIMP_SUFFIX="$SO_SUFFIX"
47997 if test "x$GCC" = "xyes"; then
48001 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48002 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48005 case "${BAKEFILE_HOST}" in
48007 if test "x$GCC" != "xyes"; then
48008 LDFLAGS="$LDFLAGS -L/usr/lib"
48010 SHARED_LD_CC="${CC} -b -o"
48011 SHARED_LD_CXX="${CXX} -b -o"
48017 if test "$INTELCC" = "yes"; then
48019 elif test "x$SUNCXX" = "xyes"; then
48020 SHARED_LD_CC="${CC} -G -o"
48021 SHARED_LD_CXX="${CXX} -G -o"
48027 if test "x$SUNCXX" = xyes ; then
48028 SHARED_LD_CC="${CC} -G -o"
48029 SHARED_LD_CXX="${CXX} -G -o"
48037 cat <<EOF >shared-ld-sh
48039 #-----------------------------------------------------------------------------
48040 #-- Name: distrib/mac/shared-ld-sh
48041 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48042 #-- Author: Gilles Depeyrot
48043 #-- Copyright: (c) 2002 Gilles Depeyrot
48044 #-- Licence: any use permitted
48045 #-----------------------------------------------------------------------------
48050 linking_flag="-dynamiclib"
48051 ldargs="-r -keep_private_externs -nostdlib"
48053 if test "x${D}CXX" = "x"; then
48057 while test ${D}# -gt 0; do
48064 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48065 # collect these options and values
48066 args="${D}{args} ${D}1 ${D}2"
48071 # collect these options and values
48072 ldargs="${D}{ldargs} ${D}1 ${D}2"
48077 # collect these load args
48078 ldargs="${D}{ldargs} ${D}1"
48081 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48082 # collect these options
48083 args="${D}{args} ${D}1"
48086 -dynamiclib|-bundle)
48087 linking_flag="${D}1"
48091 echo "shared-ld: unhandled option '${D}1'"
48095 *.o | *.a | *.dylib)
48096 # collect object files
48097 objects="${D}{objects} ${D}1"
48101 echo "shared-ld: unhandled argument '${D}1'"
48112 # Link one module containing all the others
48114 if test ${D}{verbose} = 1; then
48115 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48117 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48121 # Link the shared library from the single module created, but only if the
48122 # previous command didn't fail:
48124 if test ${D}{status} = 0; then
48125 if test ${D}{verbose} = 1; then
48126 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48128 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48133 # Remove intermediate module
48135 rm -f master.${D}${D}.o
48140 chmod +x shared-ld-sh
48142 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48143 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48146 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48147 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48148 if test "${bakefile_cv_gcc31+set}" = set; then
48149 echo $ECHO_N "(cached) $ECHO_C" >&6
48152 cat >conftest.$ac_ext <<_ACEOF
48155 cat confdefs.h >>conftest.$ac_ext
48156 cat >>conftest.$ac_ext <<_ACEOF
48157 /* end confdefs.h. */
48163 #if (__GNUC__ < 3) || \
48164 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48172 rm -f conftest.$ac_objext
48173 if { (ac_try="$ac_compile"
48174 case "(($ac_try" in
48175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48176 *) ac_try_echo=$ac_try;;
48178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48179 (eval "$ac_compile") 2>conftest.er1
48181 grep -v '^ *+' conftest.er1 >conftest.err
48183 cat conftest.err >&5
48184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48185 (exit $ac_status); } && {
48186 test -z "$ac_c_werror_flag" ||
48187 test ! -s conftest.err
48188 } && test -s conftest.$ac_objext; then
48190 bakefile_cv_gcc31=yes
48193 echo "$as_me: failed program was:" >&5
48194 sed 's/^/| /' conftest.$ac_ext >&5
48197 bakefile_cv_gcc31=no
48202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48205 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48206 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48207 if test "$bakefile_cv_gcc31" = "no"; then
48208 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48209 SHARED_LD_CXX="$SHARED_LD_CC"
48211 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48212 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48215 if test "x$GCC" == "xyes"; then
48216 PIC_FLAG="-dynamic -fPIC"
48218 if test "x$XLCC" = "xyes"; then
48219 PIC_FLAG="-dynamic -DPIC"
48224 if test "x$GCC" = "xyes"; then
48227 case "${BAKEFILE_HOST}" in
48229 LD_EXPFULL="-Wl,-bexpfull"
48233 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48234 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48236 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48237 set dummy makeC++SharedLib; ac_word=$2
48238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48240 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48241 echo $ECHO_N "(cached) $ECHO_C" >&6
48243 if test -n "$AIX_CXX_LD"; then
48244 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48247 for as_dir in $PATH
48250 test -z "$as_dir" && as_dir=.
48251 for ac_exec_ext in '' $ac_executable_extensions; do
48252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48253 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48261 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48264 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48265 if test -n "$AIX_CXX_LD"; then
48266 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48267 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48269 { echo "$as_me:$LINENO: result: no" >&5
48270 echo "${ECHO_T}no" >&6; }
48274 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48275 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48280 SHARED_LD_CC="${LD} -nostart -o"
48281 SHARED_LD_CXX="${LD} -nostart -o"
48285 if test "x$GCC" != "xyes"; then
48290 *-*-cygwin* | *-*-mingw32* )
48292 SHARED_LD_CC="\$(CC) -shared -o"
48293 SHARED_LD_CXX="\$(CXX) -shared -o"
48297 *-pc-os2_emx | *-pc-os2-emx )
48298 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48299 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48303 cat <<EOF >dllar.sh
48306 # dllar - a tool to build both a .dll and an .a file
48307 # from a set of object (.o) files for EMX/OS2.
48309 # Written by Andrew Zabolotny, bit@freya.etu.ru
48310 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48312 # This script will accept a set of files on the command line.
48313 # All the public symbols from the .o files will be exported into
48314 # a .DEF file, then linker will be run (through gcc) against them to
48315 # build a shared library consisting of all given .o files. All libraries
48316 # (.a) will be first decompressed into component .o files then act as
48317 # described above. You can optionally give a description (-d "description")
48318 # which will be put into .DLL. To see the list of accepted options (as well
48319 # as command-line format) simply run this program without options. The .DLL
48320 # is built to be imported by name (there is no guarantee that new versions
48321 # of the library you build will have same ordinals for same symbols).
48323 # dllar is free software; you can redistribute it and/or modify
48324 # it under the terms of the GNU General Public License as published by
48325 # the Free Software Foundation; either version 2, or (at your option)
48326 # any later version.
48328 # dllar is distributed in the hope that it will be useful,
48329 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48330 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48331 # GNU General Public License for more details.
48333 # You should have received a copy of the GNU General Public License
48334 # along with dllar; see the file COPYING. If not, write to the Free
48335 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48338 # To successfuly run this program you will need:
48339 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48340 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48342 # (used to build the .dll)
48344 # (used to create .def file from .o files)
48346 # (used to create .a file from .def file)
48347 # - GNU text utilites (cat, sort, uniq)
48348 # used to process emxexp output
48349 # - GNU file utilities (mv, rm)
48351 # - lxlite (optional, see flag below)
48352 # (used for general .dll cleanup)
48359 # basnam, variant of basename, which does _not_ remove the path, _iff_
48360 # second argument (suffix to remove) is given
48364 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48367 echo ${D}1 | sed 's/'${D}2'${D}//'
48370 echo "error in basnam ${D}*"
48376 # Cleanup temporary files and output
48379 for i in ${D}inputFiles ; do
48382 rm -rf \`basnam ${D}i !\`
48389 # Kill result in case of failure as there is just to many stupid make/nmake
48390 # things out there which doesn't do this.
48391 if [ ${D}# -eq 0 ]; then
48392 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48396 # Print usage and exit script with rc=1.
48398 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48399 echo ' [-name-mangler-script script.sh]'
48400 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48401 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48402 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48403 echo ' [*.o] [*.a]'
48404 echo '*> "output_file" should have no extension.'
48405 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48406 echo ' The import library name is derived from this and is set to "name".a,'
48407 echo ' unless overridden by -import'
48408 echo '*> "importlib_name" should have no extension.'
48409 echo ' If it has the .o, or .a extension, it is automatically removed.'
48410 echo ' This name is used as the import library name and may be longer and'
48411 echo ' more descriptive than the DLL name which has to follow the old '
48412 echo ' 8.3 convention of FAT.'
48413 echo '*> "script.sh may be given to override the output_file name by a'
48414 echo ' different name. It is mainly useful if the regular make process'
48415 echo ' of some package does not take into account OS/2 restriction of'
48416 echo ' DLL name lengths. It takes the importlib name as input and is'
48417 echo ' supposed to procude a shorter name as output. The script should'
48418 echo ' expect to get importlib_name without extension and should produce'
48419 echo ' a (max.) 8 letter name without extension.'
48420 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48421 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48422 echo ' These flags will be put at the start of GCC command line.'
48423 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48424 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48425 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48426 echo ' If the last character of a symbol is "*", all symbols beginning'
48427 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48428 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48429 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48430 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48431 echo ' C runtime DLLs.'
48432 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48433 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48434 echo ' unchanged to GCC at the end of command line.'
48435 echo '*> If you create a DLL from a library and you do not specify -o,'
48436 echo ' the basename for DLL and import library will be set to library name,'
48437 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48438 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48439 echo ' library will be renamed into gcc_s.a.'
48442 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48443 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48448 # Execute a command.
48449 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48450 # @Uses Whatever CleanUp() uses.
48456 if [ ${D}rcCmd -ne 0 ]; then
48457 echo "command failed, exit code="${D}rcCmd
48472 CFLAGS="-s -Zcrtdll"
48474 EXPORT_BY_ORDINALS=0
48479 case ${D}curDirS in
48483 curDirS=${D}{curDirS}"/"
48486 # Parse commandline
48489 while [ ${D}1 ]; do
48492 EXPORT_BY_ORDINALS=1;
48502 -name-mangler-script)
48523 exclude_symbols=${D}{exclude_symbols}${D}1" "
48527 library_flags=${D}{library_flags}${D}1" "
48546 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48549 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48550 if [ ${D}omfLinking -eq 1 ]; then
48551 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48553 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48558 if [ ${D}libsToLink -ne 0 ]; then
48559 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48561 for file in ${D}1 ; do
48562 if [ -f ${D}file ]; then
48563 inputFiles="${D}{inputFiles} ${D}file"
48567 if [ ${D}found -eq 0 ]; then
48568 echo "ERROR: No file(s) found: "${D}1
48575 done # iterate cmdline words
48578 if [ -z "${D}inputFiles" ]; then
48579 echo "dllar: no input files"
48583 # Now extract all .o files from .a files
48585 for file in ${D}inputFiles ; do
48596 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48601 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48603 if [ ${D}? -ne 0 ]; then
48604 echo "Failed to create subdirectory ./${D}dirname"
48608 # Append '!' to indicate archive
48609 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48610 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48613 for subfile in ${D}dirname/*.o* ; do
48614 if [ -f ${D}subfile ]; then
48616 if [ -s ${D}subfile ]; then
48617 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48618 newInputFiles="${D}newInputFiles ${D}subfile"
48622 if [ ${D}found -eq 0 ]; then
48623 echo "WARNING: there are no files in archive \\'${D}file\\'"
48627 newInputFiles="${D}{newInputFiles} ${D}file"
48631 inputFiles="${D}newInputFiles"
48633 # Output filename(s).
48635 if [ -z ${D}outFile ]; then
48637 set outFile ${D}inputFiles; outFile=${D}2
48640 # If it is an archive, remove the '!' and the '_%' suffixes
48641 case ${D}outFile in
48643 outFile=\`basnam ${D}outFile _%!\`
48648 case ${D}outFile in
48650 outFile=\`basnam ${D}outFile .dll\`
48653 outFile=\`basnam ${D}outFile .DLL\`
48656 outFile=\`basnam ${D}outFile .o\`
48659 outFile=\`basnam ${D}outFile .obj\`
48662 outFile=\`basnam ${D}outFile .a\`
48665 outFile=\`basnam ${D}outFile .lib\`
48670 case ${D}outimpFile in
48672 outimpFile=\`basnam ${D}outimpFile .a\`
48675 outimpFile=\`basnam ${D}outimpFile .lib\`
48680 if [ -z ${D}outimpFile ]; then
48681 outimpFile=${D}outFile
48683 defFile="${D}{outFile}.def"
48684 arcFile="${D}{outimpFile}.a"
48685 arcFile2="${D}{outimpFile}.lib"
48687 #create ${D}dllFile as something matching 8.3 restrictions,
48688 if [ -z ${D}renameScript ] ; then
48689 dllFile="${D}outFile"
48691 dllFile=\`${D}renameScript ${D}outimpFile\`
48694 if [ ${D}do_backup -ne 0 ] ; then
48695 if [ -f ${D}arcFile ] ; then
48696 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48698 if [ -f ${D}arcFile2 ] ; then
48699 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48703 # Extract public symbols from all the object files.
48704 tmpdefFile=${D}{defFile}_%
48705 rm -f ${D}tmpdefFile
48706 for file in ${D}inputFiles ; do
48711 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48716 # Create the def file.
48718 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48719 dllFile="${D}{dllFile}.dll"
48720 if [ ! -z ${D}description ]; then
48721 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48723 echo "EXPORTS" >> ${D}defFile
48725 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48726 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48728 # Checks if the export is ok or not.
48729 for word in ${D}exclude_symbols; do
48730 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48731 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48735 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48736 sed "=" < ${D}tmpdefFile | \\
48740 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48742 ' > ${D}{tmpdefFile}%
48743 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48745 rm -f ${D}{tmpdefFile}%
48747 cat ${D}tmpdefFile >> ${D}defFile
48748 rm -f ${D}tmpdefFile
48750 # Do linking, create implib, and apply lxlite.
48752 for file in ${D}inputFiles ; do
48757 gccCmdl="${D}gccCmdl ${D}file"
48761 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48762 touch "${D}{outFile}.dll"
48764 doCommand "emximp -o ${D}arcFile ${D}defFile"
48765 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48767 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48770 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48772 doCommand "emxomf -s -l ${D}arcFile"
48782 powerpc-apple-macos* | \
48783 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48793 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48794 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48795 { (exit 1); exit 1; }; }
48798 if test "x$PIC_FLAG" != "x" ; then
48799 PIC_FLAG="$PIC_FLAG -DPIC"
48802 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48803 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48805 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48806 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48825 case "${BAKEFILE_HOST}" in
48826 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48827 *-*-k*bsd*-gnu | *-*-mirbsd* )
48828 if test "x$SUNCXX" = "xyes"; then
48831 SONAME_FLAG="-Wl,-soname,"
48866 # Check whether --enable-dependency-tracking was given.
48867 if test "${enable_dependency_tracking+set}" = set; then
48868 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48872 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48873 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48876 if test "x$bk_use_trackdeps" = "xno" ; then
48878 { echo "$as_me:$LINENO: result: disabled" >&5
48879 echo "${ECHO_T}disabled" >&6; }
48883 if test "x$GCC" = "xyes"; then
48885 case "${BAKEFILE_HOST}" in
48887 DEPSFLAG="-no-cpp-precomp -MMD"
48893 { echo "$as_me:$LINENO: result: gcc" >&5
48894 echo "${ECHO_T}gcc" >&6; }
48895 elif test "x$MWCC" = "xyes"; then
48898 { echo "$as_me:$LINENO: result: mwcc" >&5
48899 echo "${ECHO_T}mwcc" >&6; }
48900 elif test "x$SUNCC" = "xyes"; then
48903 { echo "$as_me:$LINENO: result: Sun cc" >&5
48904 echo "${ECHO_T}Sun cc" >&6; }
48905 elif test "x$SGICC" = "xyes"; then
48908 { echo "$as_me:$LINENO: result: SGI cc" >&5
48909 echo "${ECHO_T}SGI cc" >&6; }
48910 elif test "x$HPCC" = "xyes"; then
48913 { echo "$as_me:$LINENO: result: HP cc" >&5
48914 echo "${ECHO_T}HP cc" >&6; }
48915 elif test "x$COMPAQCC" = "xyes"; then
48918 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48919 echo "${ECHO_T}Compaq cc" >&6; }
48922 { echo "$as_me:$LINENO: result: none" >&5
48923 echo "${ECHO_T}none" >&6; }
48926 if test $DEPS_TRACKING = 1 ; then
48932 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48933 # script. It is used to track C/C++ files dependencies in portable way.
48935 # Permission is given to use this file in any way.
48937 DEPSMODE=${DEPSMODE}
48939 DEPSFLAG="${DEPSFLAG}"
48941 mkdir -p ${D}DEPSDIR
48943 if test ${D}DEPSMODE = gcc ; then
48944 ${D}* ${D}{DEPSFLAG}
48947 # determine location of created files:
48948 while test ${D}# -gt 0; do
48962 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48963 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48965 # if the compiler failed, we're done:
48966 if test ${D}{status} != 0 ; then
48971 # move created file to the location we want it in:
48972 if test -f ${D}depfile ; then
48973 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48976 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48977 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48978 if test ! -f ${D}depfile ; then
48979 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48980 depfile="${D}objfile.d"
48982 if test -f ${D}depfile ; then
48983 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48988 elif test ${D}DEPSMODE = mwcc ; then
48989 ${D}* || exit ${D}?
48990 # Run mwcc again with -MM and redirect into the dep file we want
48991 # NOTE: We can't use shift here because we need ${D}* to be valid
48993 for arg in ${D}* ; do
48994 if test "${D}prevarg" = "-o"; then
49007 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49009 elif test ${D}DEPSMODE = unixcc; then
49010 ${D}* || exit ${D}?
49011 # Run compiler again with deps flag and redirect into the dep file.
49012 # It doesn't work if the '-o FILE' option is used, but without it the
49013 # dependency file will contain the wrong name for the object. So it is
49014 # removed from the command line, and the dep file is fixed with sed.
49016 while test ${D}# -gt 0; do
49023 eval arg${D}#=\\${D}1
49024 cmd="${D}cmd \\${D}arg${D}#"
49029 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49038 BK_DEPS="`pwd`/bk-deps"
49046 case ${BAKEFILE_HOST} in
49047 *-*-cygwin* | *-*-mingw32* )
49048 if test -n "$ac_tool_prefix"; then
49049 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49050 set dummy ${ac_tool_prefix}windres; ac_word=$2
49051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49053 if test "${ac_cv_prog_WINDRES+set}" = set; then
49054 echo $ECHO_N "(cached) $ECHO_C" >&6
49056 if test -n "$WINDRES"; then
49057 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49060 for as_dir in $PATH
49063 test -z "$as_dir" && as_dir=.
49064 for ac_exec_ext in '' $ac_executable_extensions; do
49065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49066 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49076 WINDRES=$ac_cv_prog_WINDRES
49077 if test -n "$WINDRES"; then
49078 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49079 echo "${ECHO_T}$WINDRES" >&6; }
49081 { echo "$as_me:$LINENO: result: no" >&5
49082 echo "${ECHO_T}no" >&6; }
49087 if test -z "$ac_cv_prog_WINDRES"; then
49088 ac_ct_WINDRES=$WINDRES
49089 # Extract the first word of "windres", so it can be a program name with args.
49090 set dummy windres; ac_word=$2
49091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49093 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49094 echo $ECHO_N "(cached) $ECHO_C" >&6
49096 if test -n "$ac_ct_WINDRES"; then
49097 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49100 for as_dir in $PATH
49103 test -z "$as_dir" && as_dir=.
49104 for ac_exec_ext in '' $ac_executable_extensions; do
49105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49106 ac_cv_prog_ac_ct_WINDRES="windres"
49107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49116 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49117 if test -n "$ac_ct_WINDRES"; then
49118 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49119 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49121 { echo "$as_me:$LINENO: result: no" >&5
49122 echo "${ECHO_T}no" >&6; }
49125 if test "x$ac_ct_WINDRES" = x; then
49128 case $cross_compiling:$ac_tool_warned in
49130 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49131 whose name does not start with the host triplet. If you think this
49132 configuration is useful to you, please write to autoconf@gnu.org." >&5
49133 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49134 whose name does not start with the host triplet. If you think this
49135 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49136 ac_tool_warned=yes ;;
49138 WINDRES=$ac_ct_WINDRES
49141 WINDRES="$ac_cv_prog_WINDRES"
49146 *-*-darwin* | powerpc-apple-macos* )
49147 # Extract the first word of "Rez", so it can be a program name with args.
49148 set dummy Rez; ac_word=$2
49149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49151 if test "${ac_cv_prog_REZ+set}" = set; then
49152 echo $ECHO_N "(cached) $ECHO_C" >&6
49154 if test -n "$REZ"; then
49155 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49158 for as_dir in $PATH
49161 test -z "$as_dir" && as_dir=.
49162 for ac_exec_ext in '' $ac_executable_extensions; do
49163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49164 ac_cv_prog_REZ="Rez"
49165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49172 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49175 REZ=$ac_cv_prog_REZ
49176 if test -n "$REZ"; then
49177 { echo "$as_me:$LINENO: result: $REZ" >&5
49178 echo "${ECHO_T}$REZ" >&6; }
49180 { echo "$as_me:$LINENO: result: no" >&5
49181 echo "${ECHO_T}no" >&6; }
49185 # Extract the first word of "SetFile", so it can be a program name with args.
49186 set dummy SetFile; ac_word=$2
49187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49189 if test "${ac_cv_prog_SETFILE+set}" = set; then
49190 echo $ECHO_N "(cached) $ECHO_C" >&6
49192 if test -n "$SETFILE"; then
49193 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49196 for as_dir in $PATH
49199 test -z "$as_dir" && as_dir=.
49200 for ac_exec_ext in '' $ac_executable_extensions; do
49201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49202 ac_cv_prog_SETFILE="SetFile"
49203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49210 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49213 SETFILE=$ac_cv_prog_SETFILE
49214 if test -n "$SETFILE"; then
49215 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49216 echo "${ECHO_T}$SETFILE" >&6; }
49218 { echo "$as_me:$LINENO: result: no" >&5
49219 echo "${ECHO_T}no" >&6; }
49231 BAKEFILE_BAKEFILE_M4_VERSION="0.2.3"
49234 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.3"
49238 # Check whether --enable-precomp-headers was given.
49239 if test "${enable_precomp_headers+set}" = set; then
49240 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49249 case ${BAKEFILE_HOST} in
49255 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49256 if test "x$GCC" = "xyes"; then
49257 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49258 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49259 cat >conftest.$ac_ext <<_ACEOF
49262 cat confdefs.h >>conftest.$ac_ext
49263 cat >>conftest.$ac_ext <<_ACEOF
49264 /* end confdefs.h. */
49270 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49271 There is no PCH support
49274 There is no PCH support
49276 #if (__GNUC__ == 3) && \
49277 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49278 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49279 ( defined(__INTEL_COMPILER) )
49280 There is no PCH support
49287 rm -f conftest.$ac_objext
49288 if { (ac_try="$ac_compile"
49289 case "(($ac_try" in
49290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49291 *) ac_try_echo=$ac_try;;
49293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49294 (eval "$ac_compile") 2>conftest.er1
49296 grep -v '^ *+' conftest.er1 >conftest.err
49298 cat conftest.err >&5
49299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49300 (exit $ac_status); } && {
49301 test -z "$ac_c_werror_flag" ||
49302 test ! -s conftest.err
49303 } && test -s conftest.$ac_objext; then
49305 { echo "$as_me:$LINENO: result: yes" >&5
49306 echo "${ECHO_T}yes" >&6; }
49310 echo "$as_me: failed program was:" >&5
49311 sed 's/^/| /' conftest.$ac_ext >&5
49314 cat >conftest.$ac_ext <<_ACEOF
49317 cat confdefs.h >>conftest.$ac_ext
49318 cat >>conftest.$ac_ext <<_ACEOF
49319 /* end confdefs.h. */
49325 #if !defined(__INTEL_COMPILER) || \
49326 (__INTEL_COMPILER < 800)
49327 There is no PCH support
49334 rm -f conftest.$ac_objext
49335 if { (ac_try="$ac_compile"
49336 case "(($ac_try" in
49337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49338 *) ac_try_echo=$ac_try;;
49340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49341 (eval "$ac_compile") 2>conftest.er1
49343 grep -v '^ *+' conftest.er1 >conftest.err
49345 cat conftest.err >&5
49346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49347 (exit $ac_status); } && {
49348 test -z "$ac_c_werror_flag" ||
49349 test ! -s conftest.err
49350 } && test -s conftest.$ac_objext; then
49352 { echo "$as_me:$LINENO: result: yes" >&5
49353 echo "${ECHO_T}yes" >&6; }
49357 echo "$as_me: failed program was:" >&5
49358 sed 's/^/| /' conftest.$ac_ext >&5
49361 { echo "$as_me:$LINENO: result: no" >&5
49362 echo "${ECHO_T}no" >&6; }
49366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49371 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49375 cat <<EOF >bk-make-pch
49378 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49379 # script. It is used to generated precompiled headers.
49381 # Permission is given to use this file in any way.
49391 while test ${D}{#} -gt 0; do
49395 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49396 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49397 headerfile="${D}{incdir}/${D}{header}"
49400 -use-pch|-use_pch )
49405 if test ${D}add_to_cmdline = 1 ; then
49406 compiler="${D}{compiler} ${D}{1}"
49411 if test "x${D}{headerfile}" = "x" ; then
49412 echo "error: can't find header ${D}{header} in include paths" >&2
49414 if test -f ${D}{outfile} ; then
49415 rm -f ${D}{outfile}
49417 mkdir -p \`dirname ${D}{outfile}\`
49419 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49421 if test "x${GCC_PCH}" = "x1" ; then
49422 # can do this because gcc is >= 3.4:
49423 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49424 elif test "x${ICC_PCH}" = "x1" ; then
49425 filename=pch_gen-${D}${D}
49426 file=${D}{filename}.c
49427 dfile=${D}{filename}.d
49428 cat > ${D}file <<EOT
49429 #include "${D}header"
49431 # using -MF icc complains about differing command lines in creation/use
49432 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49433 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49434 rm -f ${D}file ${D}dfile ${D}{filename}.o
49440 chmod +x bk-make-pch
49441 BK_MAKE_PCH="`pwd`/bk-make-pch"
49450 COND_BUILD_DEBUG="#"
49451 if test "x$BUILD" = "xdebug" ; then
49452 COND_BUILD_DEBUG=""
49455 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49456 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49457 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49460 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49461 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49462 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49465 COND_BUILD_DEBUG_UNICODE_0="#"
49466 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49467 COND_BUILD_DEBUG_UNICODE_0=""
49470 COND_BUILD_DEBUG_UNICODE_1="#"
49471 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49472 COND_BUILD_DEBUG_UNICODE_1=""
49475 COND_BUILD_RELEASE="#"
49476 if test "x$BUILD" = "xrelease" ; then
49477 COND_BUILD_RELEASE=""
49480 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49481 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49482 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49485 COND_BUILD_RELEASE_UNICODE_0="#"
49486 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49487 COND_BUILD_RELEASE_UNICODE_0=""
49490 COND_BUILD_RELEASE_UNICODE_1="#"
49491 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49492 COND_BUILD_RELEASE_UNICODE_1=""
49495 COND_DEBUG_FLAG_1="#"
49496 if test "x$DEBUG_FLAG" = "x1" ; then
49497 COND_DEBUG_FLAG_1=""
49500 COND_DEBUG_INFO_0="#"
49501 if test "x$DEBUG_INFO" = "x0" ; then
49502 COND_DEBUG_INFO_0=""
49505 COND_DEBUG_INFO_1="#"
49506 if test "x$DEBUG_INFO" = "x1" ; then
49507 COND_DEBUG_INFO_1=""
49510 COND_DEPS_TRACKING_0="#"
49511 if test "x$DEPS_TRACKING" = "x0" ; then
49512 COND_DEPS_TRACKING_0=""
49515 COND_DEPS_TRACKING_1="#"
49516 if test "x$DEPS_TRACKING" = "x1" ; then
49517 COND_DEPS_TRACKING_1=""
49521 if test "x$GCC_PCH" = "x1" ; then
49526 if test "x$ICC_PCH" = "x1" ; then
49530 COND_MONOLITHIC_0="#"
49531 if test "x$MONOLITHIC" = "x0" ; then
49532 COND_MONOLITHIC_0=""
49535 COND_MONOLITHIC_0_SHARED_0="#"
49536 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49537 COND_MONOLITHIC_0_SHARED_0=""
49540 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49541 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49542 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49545 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49546 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49547 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49550 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49551 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49552 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49555 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49556 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49557 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49560 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49561 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49562 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49565 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49566 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49567 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49570 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49571 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49572 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49575 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49576 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49577 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49580 COND_MONOLITHIC_0_SHARED_1="#"
49581 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49582 COND_MONOLITHIC_0_SHARED_1=""
49585 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49586 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49587 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49590 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49591 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49592 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49595 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49596 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49597 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49600 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49601 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49602 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49605 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49606 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49607 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49610 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49611 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49612 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49615 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49616 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49617 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49620 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49621 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49622 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49625 COND_MONOLITHIC_0_USE_AUI_1="#"
49626 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49627 COND_MONOLITHIC_0_USE_AUI_1=""
49630 COND_MONOLITHIC_0_USE_GUI_1="#"
49631 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49632 COND_MONOLITHIC_0_USE_GUI_1=""
49635 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49636 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49637 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49640 COND_MONOLITHIC_0_USE_HTML_1="#"
49641 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49642 COND_MONOLITHIC_0_USE_HTML_1=""
49645 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49646 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49647 COND_MONOLITHIC_0_USE_MEDIA_1=""
49650 COND_MONOLITHIC_0_USE_QA_1="#"
49651 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49652 COND_MONOLITHIC_0_USE_QA_1=""
49655 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49656 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49657 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49660 COND_MONOLITHIC_0_USE_STC_1="#"
49661 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49662 COND_MONOLITHIC_0_USE_STC_1=""
49665 COND_MONOLITHIC_0_USE_XRC_1="#"
49666 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49667 COND_MONOLITHIC_0_USE_XRC_1=""
49670 COND_MONOLITHIC_1="#"
49671 if test "x$MONOLITHIC" = "x1" ; then
49672 COND_MONOLITHIC_1=""
49675 COND_MONOLITHIC_1_SHARED_0="#"
49676 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49677 COND_MONOLITHIC_1_SHARED_0=""
49680 COND_MONOLITHIC_1_SHARED_1="#"
49681 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49682 COND_MONOLITHIC_1_SHARED_1=""
49685 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49686 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49687 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49690 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49691 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49692 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49695 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49696 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49697 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49700 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49701 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49702 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49705 COND_PLATFORM_MACOSX_1="#"
49706 if test "x$PLATFORM_MACOSX" = "x1" ; then
49707 COND_PLATFORM_MACOSX_1=""
49710 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49711 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49712 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49715 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
49716 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49717 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
49720 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
49721 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49722 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
49725 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
49726 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49727 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
49730 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
49731 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49732 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
49735 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49736 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49737 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49740 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
49741 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49742 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
49745 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49746 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49747 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49750 COND_PLATFORM_MACOS_1="#"
49751 if test "x$PLATFORM_MACOS" = "x1" ; then
49752 COND_PLATFORM_MACOS_1=""
49755 COND_PLATFORM_MAC_0="#"
49756 if test "x$PLATFORM_MAC" = "x0" ; then
49757 COND_PLATFORM_MAC_0=""
49760 COND_PLATFORM_MAC_1="#"
49761 if test "x$PLATFORM_MAC" = "x1" ; then
49762 COND_PLATFORM_MAC_1=""
49765 COND_PLATFORM_MSDOS_0="#"
49766 if test "x$PLATFORM_MSDOS" = "x0" ; then
49767 COND_PLATFORM_MSDOS_0=""
49770 COND_PLATFORM_MSDOS_1="#"
49771 if test "x$PLATFORM_MSDOS" = "x1" ; then
49772 COND_PLATFORM_MSDOS_1=""
49775 COND_PLATFORM_OS2_1="#"
49776 if test "x$PLATFORM_OS2" = "x1" ; then
49777 COND_PLATFORM_OS2_1=""
49780 COND_PLATFORM_UNIX_0="#"
49781 if test "x$PLATFORM_UNIX" = "x0" ; then
49782 COND_PLATFORM_UNIX_0=""
49785 COND_PLATFORM_UNIX_1="#"
49786 if test "x$PLATFORM_UNIX" = "x1" ; then
49787 COND_PLATFORM_UNIX_1=""
49790 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49791 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49792 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49795 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49796 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49797 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49800 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49801 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49802 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49805 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49806 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49807 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49810 COND_PLATFORM_WIN32_0="#"
49811 if test "x$PLATFORM_WIN32" = "x0" ; then
49812 COND_PLATFORM_WIN32_0=""
49815 COND_PLATFORM_WIN32_1="#"
49816 if test "x$PLATFORM_WIN32" = "x1" ; then
49817 COND_PLATFORM_WIN32_1=""
49821 if test "x$SHARED" = "x0" ; then
49825 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49826 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49827 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49830 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49831 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49832 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49835 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49836 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49837 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49840 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49841 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49842 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49845 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49846 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49847 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49850 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49851 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49852 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49855 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49856 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49857 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49860 COND_SHARED_0_USE_STC_1="#"
49861 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49862 COND_SHARED_0_USE_STC_1=""
49865 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49866 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49867 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49870 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49871 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49872 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49875 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49876 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49877 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49881 if test "x$SHARED" = "x1" ; then
49885 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49886 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49887 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49891 if test "x$TOOLKIT" = "x" ; then
49895 COND_TOOLKIT_COCOA="#"
49896 if test "x$TOOLKIT" = "xCOCOA" ; then
49897 COND_TOOLKIT_COCOA=""
49900 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49901 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49902 COND_TOOLKIT_COCOA_USE_GUI_1=""
49905 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49906 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49907 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49910 COND_TOOLKIT_DFB="#"
49911 if test "x$TOOLKIT" = "xDFB" ; then
49912 COND_TOOLKIT_DFB=""
49915 COND_TOOLKIT_DFB_USE_GUI_1="#"
49916 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49917 COND_TOOLKIT_DFB_USE_GUI_1=""
49920 COND_TOOLKIT_GTK="#"
49921 if test "x$TOOLKIT" = "xGTK" ; then
49922 COND_TOOLKIT_GTK=""
49925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49926 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49931 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49936 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49940 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49941 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49942 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49945 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49946 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49947 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49950 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49951 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49952 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49955 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49956 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49957 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49960 COND_TOOLKIT_GTK_USE_GUI_1="#"
49961 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49962 COND_TOOLKIT_GTK_USE_GUI_1=""
49965 COND_TOOLKIT_MAC="#"
49966 if test "x$TOOLKIT" = "xMAC" ; then
49967 COND_TOOLKIT_MAC=""
49970 COND_TOOLKIT_MGL="#"
49971 if test "x$TOOLKIT" = "xMGL" ; then
49972 COND_TOOLKIT_MGL=""
49975 COND_TOOLKIT_MGL_USE_GUI_1="#"
49976 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49977 COND_TOOLKIT_MGL_USE_GUI_1=""
49980 COND_TOOLKIT_MOTIF="#"
49981 if test "x$TOOLKIT" = "xMOTIF" ; then
49982 COND_TOOLKIT_MOTIF=""
49985 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49986 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49987 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49990 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49991 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49992 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49995 COND_TOOLKIT_MSW="#"
49996 if test "x$TOOLKIT" = "xMSW" ; then
49997 COND_TOOLKIT_MSW=""
50000 COND_TOOLKIT_MSW_USE_GUI_1="#"
50001 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50002 COND_TOOLKIT_MSW_USE_GUI_1=""
50005 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50006 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50007 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50010 COND_TOOLKIT_MSW_WXUNIV_0="#"
50011 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50012 COND_TOOLKIT_MSW_WXUNIV_0=""
50015 COND_TOOLKIT_OSX_CARBON="#"
50016 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50017 COND_TOOLKIT_OSX_CARBON=""
50020 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50021 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50022 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50025 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50026 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50027 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50030 COND_TOOLKIT_OSX_COCOA="#"
50031 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50032 COND_TOOLKIT_OSX_COCOA=""
50035 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50036 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50037 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50040 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50041 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50042 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50045 COND_TOOLKIT_OSX_IPHONE="#"
50046 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50047 COND_TOOLKIT_OSX_IPHONE=""
50050 COND_TOOLKIT_PM="#"
50051 if test "x$TOOLKIT" = "xPM" ; then
50055 COND_TOOLKIT_PM_USE_GUI_1="#"
50056 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50057 COND_TOOLKIT_PM_USE_GUI_1=""
50060 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50061 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50062 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50065 COND_TOOLKIT_WINCE="#"
50066 if test "x$TOOLKIT" = "xWINCE" ; then
50067 COND_TOOLKIT_WINCE=""
50070 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50071 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50072 COND_TOOLKIT_WINCE_USE_GUI_1=""
50075 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50076 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50077 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50080 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50081 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50082 COND_TOOLKIT_WINCE_WXUNIV_0=""
50085 COND_TOOLKIT_X11="#"
50086 if test "x$TOOLKIT" = "xX11" ; then
50087 COND_TOOLKIT_X11=""
50090 COND_TOOLKIT_X11_USE_GUI_1="#"
50091 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50092 COND_TOOLKIT_X11_USE_GUI_1=""
50096 if test "x$UNICODE" = "x1" ; then
50100 COND_USE_EXCEPTIONS_0="#"
50101 if test "x$USE_EXCEPTIONS" = "x0" ; then
50102 COND_USE_EXCEPTIONS_0=""
50105 COND_USE_EXCEPTIONS_1="#"
50106 if test "x$USE_EXCEPTIONS" = "x1" ; then
50107 COND_USE_EXCEPTIONS_1=""
50111 if test "x$USE_GUI" = "x0" ; then
50116 if test "x$USE_GUI" = "x1" ; then
50120 COND_USE_GUI_1_USE_OPENGL_1="#"
50121 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50122 COND_USE_GUI_1_USE_OPENGL_1=""
50125 COND_USE_GUI_1_WXUNIV_0="#"
50126 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50127 COND_USE_GUI_1_WXUNIV_0=""
50130 COND_USE_GUI_1_WXUNIV_1="#"
50131 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50132 COND_USE_GUI_1_WXUNIV_1=""
50135 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50136 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50137 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50140 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50141 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50142 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50145 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50146 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50147 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50150 COND_USE_OPENGL_1="#"
50151 if test "x$USE_OPENGL" = "x1" ; then
50152 COND_USE_OPENGL_1=""
50156 if test "x$USE_PCH" = "x1" ; then
50160 COND_USE_PLUGINS_0="#"
50161 if test "x$USE_PLUGINS" = "x0" ; then
50162 COND_USE_PLUGINS_0=""
50165 COND_USE_RTTI_0="#"
50166 if test "x$USE_RTTI" = "x0" ; then
50170 COND_USE_RTTI_1="#"
50171 if test "x$USE_RTTI" = "x1" ; then
50175 COND_USE_SOSYMLINKS_1="#"
50176 if test "x$USE_SOSYMLINKS" = "x1" ; then
50177 COND_USE_SOSYMLINKS_1=""
50180 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50181 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50182 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50185 COND_USE_SOVERLINUX_1="#"
50186 if test "x$USE_SOVERLINUX" = "x1" ; then
50187 COND_USE_SOVERLINUX_1=""
50190 COND_USE_SOVERSION_0="#"
50191 if test "x$USE_SOVERSION" = "x0" ; then
50192 COND_USE_SOVERSION_0=""
50195 COND_USE_SOVERSOLARIS_1="#"
50196 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50197 COND_USE_SOVERSOLARIS_1=""
50201 if test "x$USE_STC" = "x1" ; then
50205 COND_USE_THREADS_0="#"
50206 if test "x$USE_THREADS" = "x0" ; then
50207 COND_USE_THREADS_0=""
50210 COND_USE_THREADS_1="#"
50211 if test "x$USE_THREADS" = "x1" ; then
50212 COND_USE_THREADS_1=""
50216 if test "x$USE_XRC" = "x1" ; then
50220 COND_WINDOWS_IMPLIB_1="#"
50221 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50222 COND_WINDOWS_IMPLIB_1=""
50225 COND_WITH_PLUGIN_SDL_1="#"
50226 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50227 COND_WITH_PLUGIN_SDL_1=""
50231 if test "x$WXUNIV" = "x0" ; then
50236 if test "x$WXUNIV" = "x1" ; then
50240 COND_WXUSE_EXPAT_BUILTIN="#"
50241 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50242 COND_WXUSE_EXPAT_BUILTIN=""
50245 COND_WXUSE_LIBJPEG_BUILTIN="#"
50246 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50247 COND_WXUSE_LIBJPEG_BUILTIN=""
50250 COND_WXUSE_LIBPNG_BUILTIN="#"
50251 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50252 COND_WXUSE_LIBPNG_BUILTIN=""
50255 COND_WXUSE_LIBTIFF_BUILTIN="#"
50256 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50257 COND_WXUSE_LIBTIFF_BUILTIN=""
50260 COND_WXUSE_REGEX_BUILTIN="#"
50261 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50262 COND_WXUSE_REGEX_BUILTIN=""
50265 COND_WXUSE_ZLIB_BUILTIN="#"
50266 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50267 COND_WXUSE_ZLIB_BUILTIN=""
50272 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50273 { { 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
50274 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;}
50275 { (exit 1); exit 1; }; }
50278 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50279 { { 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
50280 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;}
50281 { (exit 1); exit 1; }; }
50288 ?:* ) # Drive letter, considered as absolute.
50291 INSTALL=`pwd`/${INSTALL} ;;
50294 if test "$wxUSE_GUI" = "yes"; then
50296 if test "$wxUSE_MSW" = 1 ; then
50297 if test "x$WINDRES" = "x"; then
50298 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50299 echo "$as_me: error: Required windres program not found" >&2;}
50300 { (exit 1); exit 1; }; }
50306 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50307 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50308 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50310 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50312 # Extract the first word of "DeRez", so it can be a program name with args.
50313 set dummy DeRez; ac_word=$2
50314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50316 if test "${ac_cv_prog_DEREZ+set}" = set; then
50317 echo $ECHO_N "(cached) $ECHO_C" >&6
50319 if test -n "$DEREZ"; then
50320 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50323 for as_dir in $PATH
50326 test -z "$as_dir" && as_dir=.
50327 for ac_exec_ext in '' $ac_executable_extensions; do
50328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50329 ac_cv_prog_DEREZ="DeRez"
50330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50337 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50340 DEREZ=$ac_cv_prog_DEREZ
50341 if test -n "$DEREZ"; then
50342 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50343 echo "${ECHO_T}$DEREZ" >&6; }
50345 { echo "$as_me:$LINENO: result: no" >&5
50346 echo "${ECHO_T}no" >&6; }
50351 MACSETFILE="\$(SETFILE)"
50353 if test "$wxUSE_OSX_CARBON" = 1; then
50354 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50356 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50358 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50359 RESCOMP="cat /dev/null \| $REZ"
50360 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50366 if test "$wxUSE_PM" = 1; then
50368 WXCONFIG_RESFLAGS="-ep"
50370 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50372 POSTLINK_COMMAND="@true"
50379 if test $GCC_PCH = 1
50381 if test "$wx_cv_gcc_pch_bug" = yes; then
50382 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50383 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50384 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50385 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50386 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50387 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50390 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50391 # the headers that benefit from precompilation are mostly C++ headers.
50392 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50393 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50394 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50398 if test "$wxUSE_MAC" = 1 ; then
50399 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50400 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50406 if test "$wxUSE_SHARED" = "yes"; then
50408 *-pc-os2_emx | *-pc-os2-emx )
50409 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50410 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50411 cp -p ${srcdir}/src/os2/dllnames.sh .
50412 cp -p ${srcdir}/src/os2/dllar.sh .
50416 if test "$wxUSE_OMF" = "yes"; then
50418 *-pc-os2_emx | *-pc-os2-emx )
50419 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50420 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50421 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50426 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50431 if test "$GCC" = yes; then
50432 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50433 LIBS=`echo $LIBS | sed 's/-mt//'`
50434 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50439 if test "x$SUNCXX" = xyes; then
50440 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50441 LIBS=`echo $LIBS | sed 's/-pthread//'`
50442 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50447 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50448 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50450 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50511 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50512 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50513 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50514 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50515 echo $ECHO_N "(cached) $ECHO_C" >&6
50517 cat >conftest.make <<\_ACEOF
50520 @echo '@@@%%%=$(MAKE)=@@@%%%'
50522 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50523 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50524 *@@@%%%=?*=@@@%%%*)
50525 eval ac_cv_prog_make_${ac_make}_set=yes;;
50527 eval ac_cv_prog_make_${ac_make}_set=no;;
50529 rm -f conftest.make
50531 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50532 { echo "$as_me:$LINENO: result: yes" >&5
50533 echo "${ECHO_T}yes" >&6; }
50536 { echo "$as_me:$LINENO: result: no" >&5
50537 echo "${ECHO_T}no" >&6; }
50538 SET_MAKE="MAKE=${MAKE-make}"
50543 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50546 if test "$USE_WIN32" = 1; then
50547 ac_config_commands="$ac_config_commands
50553 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50556 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50559 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50562 if test "$wx_cv_version_script" = "yes"; then
50563 ac_config_files="$ac_config_files version-script"
50566 ac_config_files="$ac_config_files Makefile"
50569 ac_config_commands="$ac_config_commands wx-config"
50573 if test "$wxWITH_SUBDIRS" != "no"; then
50574 if test "$wxUSE_GUI" = "yes"; then
50575 SUBDIRS="samples demos utils"
50577 SUBDIRS="samples utils"
50582 # Check whether --with-cppunit-prefix was given.
50583 if test "${with_cppunit_prefix+set}" = set; then
50584 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50586 cppunit_config_prefix=""
50590 # Check whether --with-cppunit-exec-prefix was given.
50591 if test "${with_cppunit_exec_prefix+set}" = set; then
50592 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50594 cppunit_config_exec_prefix=""
50598 if test x$cppunit_config_exec_prefix != x ; then
50599 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50600 if test x${CPPUNIT_CONFIG+set} != xset ; then
50601 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50604 if test x$cppunit_config_prefix != x ; then
50605 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50606 if test x${CPPUNIT_CONFIG+set} != xset ; then
50607 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50611 # Extract the first word of "cppunit-config", so it can be a program name with args.
50612 set dummy cppunit-config; ac_word=$2
50613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50615 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50616 echo $ECHO_N "(cached) $ECHO_C" >&6
50618 case $CPPUNIT_CONFIG in
50620 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50624 for as_dir in $PATH
50627 test -z "$as_dir" && as_dir=.
50628 for ac_exec_ext in '' $ac_executable_extensions; do
50629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50630 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50638 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50642 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50643 if test -n "$CPPUNIT_CONFIG"; then
50644 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50645 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50647 { echo "$as_me:$LINENO: result: no" >&5
50648 echo "${ECHO_T}no" >&6; }
50652 cppunit_version_min=1.8.0
50654 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50655 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50657 if test "$CPPUNIT_CONFIG" = "no" ; then
50658 { echo "$as_me:$LINENO: result: no" >&5
50659 echo "${ECHO_T}no" >&6; }
50662 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50663 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50664 cppunit_version=`$CPPUNIT_CONFIG --version`
50666 cppunit_major_version=`echo $cppunit_version | \
50667 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50668 cppunit_minor_version=`echo $cppunit_version | \
50669 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50670 cppunit_micro_version=`echo $cppunit_version | \
50671 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50673 cppunit_major_min=`echo $cppunit_version_min | \
50674 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50675 cppunit_minor_min=`echo $cppunit_version_min | \
50676 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50677 cppunit_micro_min=`echo $cppunit_version_min | \
50678 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50680 cppunit_version_proper=`expr \
50681 $cppunit_major_version \> $cppunit_major_min \| \
50682 $cppunit_major_version \= $cppunit_major_min \& \
50683 $cppunit_minor_version \> $cppunit_minor_min \| \
50684 $cppunit_major_version \= $cppunit_major_min \& \
50685 $cppunit_minor_version \= $cppunit_minor_min \& \
50686 $cppunit_micro_version \>= $cppunit_micro_min `
50688 if test "$cppunit_version_proper" = "1" ; then
50689 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50690 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50692 { echo "$as_me:$LINENO: result: no" >&5
50693 echo "${ECHO_T}no" >&6; }
50698 if test "x$no_cppunit" = x ; then
50699 SUBDIRS="$SUBDIRS tests"
50710 for subdir in $SUBDIRS; do
50711 if test -d ${srcdir}/${subdir} ; then
50712 if test "$wxUSE_GUI" = "yes"; then
50713 if test ${subdir} = "samples"; then
50714 makefiles="samples/Makefile.in $makefiles"
50715 for sample in $SAMPLES_SUBDIRS; do
50716 if test -d $srcdir/samples/$sample; then
50717 makefiles="samples/$sample/Makefile.in $makefiles"
50721 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50722 eval "disabled=\$$disabled_var"
50723 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50724 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50727 if test ${subdir} = "samples"; then
50728 makefiles="samples/Makefile.in $makefiles"
50729 for sample in `echo $SAMPLES_SUBDIRS`; do
50730 if test -d $srcdir/samples/$sample; then
50731 makefiles="samples/$sample/Makefile.in $makefiles"
50734 elif test ${subdir} = "utils"; then
50736 for util in ifacecheck ; do
50737 if test -d $srcdir/utils/$util ; then
50738 makefiles="utils/$util/src/Makefile.in \
50743 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50747 for mkin in $makefiles ; do
50748 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50749 ac_config_files="$ac_config_files $mk"
50755 cat >confcache <<\_ACEOF
50756 # This file is a shell script that caches the results of configure
50757 # tests run on this system so they can be shared between configure
50758 # scripts and configure runs, see configure's option --config-cache.
50759 # It is not useful on other systems. If it contains results you don't
50760 # want to keep, you may remove or edit it.
50762 # config.status only pays attention to the cache file if you give it
50763 # the --recheck option to rerun configure.
50765 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50766 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50767 # following values.
50771 # The following way of writing the cache mishandles newlines in values,
50772 # but we know of no workaround that is simple, portable, and efficient.
50773 # So, we kill variables containing newlines.
50774 # Ultrix sh set writes to stderr and can't be redirected directly,
50775 # and sets the high bit in the cache file unless we assign to the vars.
50777 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50778 eval ac_val=\$$ac_var
50782 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50783 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50786 _ | IFS | as_nl) ;; #(
50787 *) $as_unset $ac_var ;;
50793 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50794 *${as_nl}ac_space=\ *)
50795 # `set' does not quote correctly, so add quotes (double-quote
50796 # substitution turns \\\\ into \\, and sed turns \\ into \).
50799 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50802 # `set' quotes correctly as required by POSIX, so do not add quotes.
50803 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50812 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50814 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50816 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50817 if test -w "$cache_file"; then
50818 test "x$cache_file" != "x/dev/null" &&
50819 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50820 echo "$as_me: updating cache $cache_file" >&6;}
50821 cat confcache >$cache_file
50823 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50824 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50829 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50830 # Let make expand exec_prefix.
50831 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50833 DEFS=-DHAVE_CONFIG_H
50837 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50838 # 1. Remove the extension, and $U if already installed.
50839 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50840 ac_i=`echo "$ac_i" | sed "$ac_script"`
50841 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50842 # will be set to the directory where LIBOBJS objects are built.
50843 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50844 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50846 LIBOBJS=$ac_libobjs
50848 LTLIBOBJS=$ac_ltlibobjs
50852 : ${CONFIG_STATUS=./config.status}
50853 ac_clean_files_save=$ac_clean_files
50854 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50855 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50856 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50857 cat >$CONFIG_STATUS <<_ACEOF
50859 # Generated by $as_me.
50860 # Run this file to recreate the current configuration.
50861 # Compiler output produced by configure, useful for debugging
50862 # configure, is in config.log if it exists.
50865 ac_cs_recheck=false
50867 SHELL=\${CONFIG_SHELL-$SHELL}
50870 cat >>$CONFIG_STATUS <<\_ACEOF
50871 ## --------------------- ##
50872 ## M4sh Initialization. ##
50873 ## --------------------- ##
50875 # Be more Bourne compatible
50876 DUALCASE=1; export DUALCASE # for MKS sh
50877 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50880 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50881 # is contrary to our usage. Disable this feature.
50882 alias -g '${1+"$@"}'='"$@"'
50883 setopt NO_GLOB_SUBST
50885 case `(set -o) 2>/dev/null` in
50886 *posix*) set -o posix ;;
50895 # Avoid depending upon Character Ranges.
50896 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50897 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50898 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50899 as_cr_digits='0123456789'
50900 as_cr_alnum=$as_cr_Letters$as_cr_digits
50902 # The user is always right.
50903 if test "${PATH_SEPARATOR+set}" != set; then
50904 echo "#! /bin/sh" >conf$$.sh
50905 echo "exit 0" >>conf$$.sh
50907 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50915 # Support unset when possible.
50916 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50924 # We need space, tab and new line, in precisely that order. Quoting is
50925 # there to prevent editors from complaining about space-tab.
50926 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50927 # splitting by setting IFS to empty value.)
50932 # Find who we are. Look in the path if we contain no directory separator.
50934 *[\\/]* ) as_myself=$0 ;;
50935 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50936 for as_dir in $PATH
50939 test -z "$as_dir" && as_dir=.
50940 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50946 # We did not find ourselves, most probably we were run as `sh COMMAND'
50947 # in which case we are not to be found in the path.
50948 if test "x$as_myself" = x; then
50951 if test ! -f "$as_myself"; then
50952 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50953 { (exit 1); exit 1; }
50956 # Work around bugs in pre-3.0 UWIN ksh.
50957 for as_var in ENV MAIL MAILPATH
50958 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50966 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50967 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50968 LC_TELEPHONE LC_TIME
50970 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50971 eval $as_var=C; export $as_var
50973 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50977 # Required to use basename.
50978 if expr a : '\(a\)' >/dev/null 2>&1 &&
50979 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50985 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50986 as_basename=basename
50992 # Name of the executable.
50993 as_me=`$as_basename -- "$0" ||
50994 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50995 X"$0" : 'X\(//\)$' \| \
50996 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50998 sed '/^.*\/\([^/][^/]*\)\/*$/{
51017 as_lineno_1=$LINENO
51018 as_lineno_2=$LINENO
51019 test "x$as_lineno_1" != "x$as_lineno_2" &&
51020 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51022 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51023 # uniformly replaced by the line number. The first 'sed' inserts a
51024 # line-number line after each line using $LINENO; the second 'sed'
51025 # does the real work. The second script uses 'N' to pair each
51026 # line-number line with the line containing $LINENO, and appends
51027 # trailing '-' during substitution so that $LINENO is not a special
51028 # case at line end.
51029 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51030 # scripts with optimization help from Paolo Bonzini. Blame Lee
51031 # E. McMahon (1931-1989) for sed's syntax. :-)
51043 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51046 ' >$as_me.lineno &&
51047 chmod +x "$as_me.lineno" ||
51048 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51049 { (exit 1); exit 1; }; }
51051 # Don't try to exec as it changes $[0], causing all sort of problems
51052 # (the dirname of $[0] is not the place where we might find the
51053 # original and so on. Autoconf is especially sensitive to this).
51054 . "./$as_me.lineno"
51055 # Exit status is that of the last command.
51060 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51066 ECHO_C= ECHO_N= ECHO_T=
51067 case `echo -n x` in
51069 case `echo 'x\c'` in
51070 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51077 if expr a : '\(a\)' >/dev/null 2>&1 &&
51078 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51084 rm -f conf$$ conf$$.exe conf$$.file
51085 if test -d conf$$.dir; then
51086 rm -f conf$$.dir/conf$$.file
51092 if ln -s conf$$.file conf$$ 2>/dev/null; then
51094 # ... but there are two gotchas:
51095 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51096 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51097 # In both cases, we have to default to `cp -p'.
51098 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51100 elif ln conf$$.file conf$$ 2>/dev/null; then
51105 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51106 rmdir conf$$.dir 2>/dev/null
51108 if mkdir -p . 2>/dev/null; then
51111 test -d ./-p && rmdir ./-p
51115 if test -x / >/dev/null 2>&1; then
51116 as_test_x='test -x'
51118 if ls -dL / >/dev/null 2>&1; then
51125 if test -d "$1"; then
51131 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51132 ???[sx]*):;;*)false;;esac;fi
51136 as_executable_p=$as_test_x
51138 # Sed expression to map a string onto a valid CPP name.
51139 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51141 # Sed expression to map a string onto a valid variable name.
51142 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51147 # Save the log message, to keep $[0] and so on meaningful, and to
51148 # report actual input values of CONFIG_FILES etc. instead of their
51149 # values after options handling.
51151 This file was extended by wxWidgets $as_me 2.9.0, which was
51152 generated by GNU Autoconf 2.61. Invocation command line was
51154 CONFIG_FILES = $CONFIG_FILES
51155 CONFIG_HEADERS = $CONFIG_HEADERS
51156 CONFIG_LINKS = $CONFIG_LINKS
51157 CONFIG_COMMANDS = $CONFIG_COMMANDS
51160 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51165 cat >>$CONFIG_STATUS <<_ACEOF
51166 # Files that config.status was made for.
51167 config_files="$ac_config_files"
51168 config_headers="$ac_config_headers"
51169 config_commands="$ac_config_commands"
51173 cat >>$CONFIG_STATUS <<\_ACEOF
51175 \`$as_me' instantiates files from templates according to the
51176 current configuration.
51178 Usage: $0 [OPTIONS] [FILE]...
51180 -h, --help print this help, then exit
51181 -V, --version print version number and configuration settings, then exit
51182 -q, --quiet do not print progress messages
51183 -d, --debug don't remove temporary files
51184 --recheck update $as_me by reconfiguring in the same conditions
51185 --file=FILE[:TEMPLATE]
51186 instantiate the configuration file FILE
51187 --header=FILE[:TEMPLATE]
51188 instantiate the configuration header FILE
51190 Configuration files:
51193 Configuration headers:
51196 Configuration commands:
51199 Report bugs to <bug-autoconf@gnu.org>."
51202 cat >>$CONFIG_STATUS <<_ACEOF
51204 wxWidgets config.status 2.9.0
51205 configured by $0, generated by GNU Autoconf 2.61,
51206 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51208 Copyright (C) 2006 Free Software Foundation, Inc.
51209 This config.status script is free software; the Free Software Foundation
51210 gives unlimited permission to copy, distribute and modify it."
51217 cat >>$CONFIG_STATUS <<\_ACEOF
51218 # If no file are specified by the user, then we need to provide default
51219 # value. By we need to know if files were specified by the user.
51225 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51226 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51237 # Handling of the options.
51238 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51240 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51241 echo "$ac_cs_version"; exit ;;
51242 --debug | --debu | --deb | --de | --d | -d )
51244 --file | --fil | --fi | --f )
51246 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51247 ac_need_defaults=false;;
51248 --header | --heade | --head | --hea )
51250 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51251 ac_need_defaults=false;;
51253 # Conflict between --help and --header
51254 { echo "$as_me: error: ambiguous option: $1
51255 Try \`$0 --help' for more information." >&2
51256 { (exit 1); exit 1; }; };;
51257 --help | --hel | -h )
51258 echo "$ac_cs_usage"; exit ;;
51259 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51260 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51263 # This is an error.
51264 -*) { echo "$as_me: error: unrecognized option: $1
51265 Try \`$0 --help' for more information." >&2
51266 { (exit 1); exit 1; }; } ;;
51268 *) ac_config_targets="$ac_config_targets $1"
51269 ac_need_defaults=false ;;
51275 ac_configure_extra_args=
51277 if $ac_cs_silent; then
51279 ac_configure_extra_args="$ac_configure_extra_args --silent"
51283 cat >>$CONFIG_STATUS <<_ACEOF
51284 if \$ac_cs_recheck; then
51285 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51286 CONFIG_SHELL=$SHELL
51287 export CONFIG_SHELL
51288 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51292 cat >>$CONFIG_STATUS <<\_ACEOF
51296 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51297 ## Running $as_me. ##
51303 cat >>$CONFIG_STATUS <<_ACEOF
51309 infile="$srcdir/include/wx/msw/genrcdefs.h"
51310 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51313 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51314 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51315 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51321 cat >>$CONFIG_STATUS <<\_ACEOF
51323 # Handling of arguments.
51324 for ac_config_target in $ac_config_targets
51326 case $ac_config_target in
51327 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51328 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51329 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51330 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51331 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51332 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51333 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51334 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51335 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51337 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51338 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51339 { (exit 1); exit 1; }; };;
51344 # If the user did not use the arguments to specify the items to instantiate,
51345 # then the envvar interface is used. Set only those that are not.
51346 # We use the long form for the default assignment because of an extremely
51347 # bizarre bug on SunOS 4.1.3.
51348 if $ac_need_defaults; then
51349 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51350 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51351 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51354 # Have a temporary directory for convenience. Make it in the build tree
51355 # simply because there is no reason against having it here, and in addition,
51356 # creating and moving files from /tmp can sometimes cause problems.
51357 # Hook for its removal unless debugging.
51358 # Note that there is a small window in which the directory will not be cleaned:
51359 # after its creation but before its name has been assigned to `$tmp'.
51363 trap 'exit_status=$?
51364 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51366 trap '{ (exit 1); exit 1; }' 1 2 13 15
51368 # Create a (secure) tmp directory for tmp files.
51371 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51372 test -n "$tmp" && test -d "$tmp"
51375 tmp=./conf$$-$RANDOM
51376 (umask 077 && mkdir "$tmp")
51379 echo "$me: cannot create a temporary directory in ." >&2
51380 { (exit 1); exit 1; }
51384 # Set up the sed scripts for CONFIG_FILES section.
51387 # No need to generate the scripts if there are no CONFIG_FILES.
51388 # This happens for instance when ./config.status config.h
51389 if test -n "$CONFIG_FILES"; then
51396 for ac_last_try in false false false false false :; do
51397 cat >conf$$subs.sed <<_ACEOF
51398 SHELL!$SHELL$ac_delim
51399 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51400 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51401 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51402 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51403 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51404 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51405 exec_prefix!$exec_prefix$ac_delim
51406 prefix!$prefix$ac_delim
51407 program_transform_name!$program_transform_name$ac_delim
51408 bindir!$bindir$ac_delim
51409 sbindir!$sbindir$ac_delim
51410 libexecdir!$libexecdir$ac_delim
51411 datarootdir!$datarootdir$ac_delim
51412 datadir!$datadir$ac_delim
51413 sysconfdir!$sysconfdir$ac_delim
51414 sharedstatedir!$sharedstatedir$ac_delim
51415 localstatedir!$localstatedir$ac_delim
51416 includedir!$includedir$ac_delim
51417 oldincludedir!$oldincludedir$ac_delim
51418 docdir!$docdir$ac_delim
51419 infodir!$infodir$ac_delim
51420 htmldir!$htmldir$ac_delim
51421 dvidir!$dvidir$ac_delim
51422 pdfdir!$pdfdir$ac_delim
51423 psdir!$psdir$ac_delim
51424 libdir!$libdir$ac_delim
51425 localedir!$localedir$ac_delim
51426 mandir!$mandir$ac_delim
51427 DEFS!$DEFS$ac_delim
51428 ECHO_C!$ECHO_C$ac_delim
51429 ECHO_N!$ECHO_N$ac_delim
51430 ECHO_T!$ECHO_T$ac_delim
51431 LIBS!$LIBS$ac_delim
51432 build_alias!$build_alias$ac_delim
51433 host_alias!$host_alias$ac_delim
51434 target_alias!$target_alias$ac_delim
51435 build!$build$ac_delim
51436 build_cpu!$build_cpu$ac_delim
51437 build_vendor!$build_vendor$ac_delim
51438 build_os!$build_os$ac_delim
51439 host!$host$ac_delim
51440 host_cpu!$host_cpu$ac_delim
51441 host_vendor!$host_vendor$ac_delim
51442 host_os!$host_os$ac_delim
51443 target!$target$ac_delim
51444 target_cpu!$target_cpu$ac_delim
51445 target_vendor!$target_vendor$ac_delim
51446 target_os!$target_os$ac_delim
51447 wx_top_builddir!$wx_top_builddir$ac_delim
51449 CFLAGS!$CFLAGS$ac_delim
51450 LDFLAGS!$LDFLAGS$ac_delim
51451 CPPFLAGS!$CPPFLAGS$ac_delim
51452 ac_ct_CC!$ac_ct_CC$ac_delim
51453 EXEEXT!$EXEEXT$ac_delim
51454 OBJEXT!$OBJEXT$ac_delim
51456 GREP!$GREP$ac_delim
51457 EGREP!$EGREP$ac_delim
51459 CXXFLAGS!$CXXFLAGS$ac_delim
51460 ac_ct_CXX!$ac_ct_CXX$ac_delim
51462 subdirs!$subdirs$ac_delim
51463 PKG_CONFIG!$PKG_CONFIG$ac_delim
51464 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51465 GTK_LIBS!$GTK_LIBS$ac_delim
51466 GTK_CONFIG!$GTK_CONFIG$ac_delim
51467 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51468 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51469 XMKMF!$XMKMF$ac_delim
51470 X_CFLAGS!$X_CFLAGS$ac_delim
51471 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51472 X_LIBS!$X_LIBS$ac_delim
51473 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51474 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51475 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51476 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51477 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51478 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51479 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51480 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51481 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51482 LIBICONV!$LIBICONV$ac_delim
51483 SDL_CONFIG!$SDL_CONFIG$ac_delim
51484 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51485 SDL_LIBS!$SDL_LIBS$ac_delim
51486 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51487 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51488 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51489 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51490 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51491 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51492 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51493 HILDON_LIBS!$HILDON_LIBS$ac_delim
51494 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51497 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51499 elif $ac_last_try; then
51500 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51501 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51502 { (exit 1); exit 1; }; }
51504 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51508 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51509 if test -n "$ac_eof"; then
51510 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51511 ac_eof=`expr $ac_eof + 1`
51514 cat >>$CONFIG_STATUS <<_ACEOF
51515 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51516 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51519 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51520 s/^/s,@/; s/!/@,|#_!!_#|/
51523 s/'"$ac_delim"'$/,g/; t
51525 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51526 ' >>$CONFIG_STATUS <conf$$subs.sed
51527 rm -f conf$$subs.sed
51528 cat >>$CONFIG_STATUS <<_ACEOF
51534 for ac_last_try in false false false false false :; do
51535 cat >conf$$subs.sed <<_ACEOF
51536 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51537 GST_CFLAGS!$GST_CFLAGS$ac_delim
51538 GST_LIBS!$GST_LIBS$ac_delim
51539 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51540 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51541 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51542 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51543 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51544 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51545 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51546 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51547 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51548 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51549 VENDOR!$VENDOR$ac_delim
51550 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51551 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51552 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51553 WXUNIV!$WXUNIV$ac_delim
51554 MONOLITHIC!$MONOLITHIC$ac_delim
51555 USE_PLUGINS!$USE_PLUGINS$ac_delim
51556 CXXWARNINGS!$CXXWARNINGS$ac_delim
51557 EXTRALIBS!$EXTRALIBS$ac_delim
51558 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51559 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51560 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51561 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51562 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51563 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51564 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51565 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51566 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51567 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51568 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51569 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51570 UNICODE!$UNICODE$ac_delim
51571 BUILD!$BUILD$ac_delim
51572 DEBUG_INFO!$DEBUG_INFO$ac_delim
51573 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51574 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51575 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51576 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51577 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51578 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51579 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51580 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51581 RANLIB!$RANLIB$ac_delim
51582 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51583 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51584 INSTALL_DATA!$INSTALL_DATA$ac_delim
51585 LN_S!$LN_S$ac_delim
51586 SET_MAKE!$SET_MAKE$ac_delim
51587 MAKE_SET!$MAKE_SET$ac_delim
51588 AROPTIONS!$AROPTIONS$ac_delim
51589 STRIP!$STRIP$ac_delim
51591 INSTALL_DIR!$INSTALL_DIR$ac_delim
51592 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51593 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51594 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51595 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51596 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51597 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51598 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51599 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51600 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51601 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51602 SO_SUFFIX!$SO_SUFFIX$ac_delim
51603 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51604 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51605 LIBPREFIX!$LIBPREFIX$ac_delim
51606 LIBEXT!$LIBEXT$ac_delim
51607 DLLPREFIX!$DLLPREFIX$ac_delim
51608 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51609 dlldir!$dlldir$ac_delim
51610 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51611 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51612 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51613 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51614 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51615 PIC_FLAG!$PIC_FLAG$ac_delim
51616 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51617 USE_SOVERSION!$USE_SOVERSION$ac_delim
51618 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51619 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51620 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51621 USE_MACVERSION!$USE_MACVERSION$ac_delim
51622 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51623 SONAME_FLAG!$SONAME_FLAG$ac_delim
51624 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51625 BK_DEPS!$BK_DEPS$ac_delim
51626 WINDRES!$WINDRES$ac_delim
51628 SETFILE!$SETFILE$ac_delim
51629 GCC_PCH!$GCC_PCH$ac_delim
51630 ICC_PCH!$ICC_PCH$ac_delim
51631 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51632 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51635 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51637 elif $ac_last_try; then
51638 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51639 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51640 { (exit 1); exit 1; }; }
51642 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51646 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51647 if test -n "$ac_eof"; then
51648 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51649 ac_eof=`expr $ac_eof + 1`
51652 cat >>$CONFIG_STATUS <<_ACEOF
51653 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51654 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51657 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51658 s/^/s,@/; s/!/@,|#_!!_#|/
51661 s/'"$ac_delim"'$/,g/; t
51663 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51664 ' >>$CONFIG_STATUS <conf$$subs.sed
51665 rm -f conf$$subs.sed
51666 cat >>$CONFIG_STATUS <<_ACEOF
51672 for ac_last_try in false false false false false :; do
51673 cat >conf$$subs.sed <<_ACEOF
51674 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51675 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51676 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51677 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51678 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51679 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51680 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51681 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51682 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51683 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51684 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51685 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51686 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51687 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51688 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51689 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51690 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51691 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51692 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51693 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51694 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51695 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51696 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51697 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51698 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51699 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51700 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51701 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51702 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51703 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51704 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51705 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51706 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51707 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51708 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51709 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51710 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51711 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51712 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51713 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51714 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51715 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51716 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51717 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51718 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51719 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51720 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51721 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51722 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51723 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51724 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51725 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51726 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51727 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
51728 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51729 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51730 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51731 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51732 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51733 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51734 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51735 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51736 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51737 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51738 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51739 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51740 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51741 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51742 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51743 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51744 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51745 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51746 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51747 COND_SHARED_0!$COND_SHARED_0$ac_delim
51748 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51749 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51750 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51751 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51752 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51753 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51754 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51755 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51756 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51757 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51758 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51759 COND_SHARED_1!$COND_SHARED_1$ac_delim
51760 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51761 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51762 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51763 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51764 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51765 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51766 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51767 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51768 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51769 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51770 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51773 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51775 elif $ac_last_try; then
51776 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51777 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51778 { (exit 1); exit 1; }; }
51780 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51784 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51785 if test -n "$ac_eof"; then
51786 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51787 ac_eof=`expr $ac_eof + 1`
51790 cat >>$CONFIG_STATUS <<_ACEOF
51791 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51792 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51795 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51796 s/^/s,@/; s/!/@,|#_!!_#|/
51799 s/'"$ac_delim"'$/,g/; t
51801 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51802 ' >>$CONFIG_STATUS <conf$$subs.sed
51803 rm -f conf$$subs.sed
51804 cat >>$CONFIG_STATUS <<_ACEOF
51810 for ac_last_try in false false false false false :; do
51811 cat >conf$$subs.sed <<_ACEOF
51812 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51813 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51814 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51815 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51816 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51817 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51818 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51819 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51820 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51821 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51822 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51823 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51824 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51825 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51826 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51827 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
51828 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51829 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
51830 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
51831 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51832 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51833 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
51834 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51835 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51836 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51837 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51838 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51839 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51840 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51841 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51842 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51843 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51844 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51845 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51846 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51847 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51848 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51849 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51850 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51851 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51852 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51853 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51854 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51855 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51856 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51857 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51858 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51859 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51860 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51861 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51862 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51863 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51864 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51865 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51866 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51867 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51868 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51869 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51870 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51871 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51872 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51873 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51874 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51875 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51876 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51877 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51878 DEREZ!$DEREZ$ac_delim
51879 SHARED!$SHARED$ac_delim
51880 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51881 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51882 USE_GUI!$USE_GUI$ac_delim
51883 AFMINSTALL!$AFMINSTALL$ac_delim
51884 WIN32INSTALL!$WIN32INSTALL$ac_delim
51885 TOOLKIT!$TOOLKIT$ac_delim
51886 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51887 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51888 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51889 cross_compiling!$cross_compiling$ac_delim
51890 WIDGET_SET!$WIDGET_SET$ac_delim
51891 WX_RELEASE!$WX_RELEASE$ac_delim
51892 WX_VERSION!$WX_VERSION$ac_delim
51893 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51894 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51895 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51896 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51897 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51898 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51899 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51900 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51901 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51902 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51903 GUIDIST!$GUIDIST$ac_delim
51904 DISTDIR!$DISTDIR$ac_delim
51905 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51906 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51907 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51908 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51911 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51913 elif $ac_last_try; then
51914 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51915 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51916 { (exit 1); exit 1; }; }
51918 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51922 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51923 if test -n "$ac_eof"; then
51924 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51925 ac_eof=`expr $ac_eof + 1`
51928 cat >>$CONFIG_STATUS <<_ACEOF
51929 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51930 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51933 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51934 s/^/s,@/; s/!/@,|#_!!_#|/
51937 s/'"$ac_delim"'$/,g/; t
51939 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51940 ' >>$CONFIG_STATUS <conf$$subs.sed
51941 rm -f conf$$subs.sed
51942 cat >>$CONFIG_STATUS <<_ACEOF
51948 for ac_last_try in false false false false false :; do
51949 cat >conf$$subs.sed <<_ACEOF
51950 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51951 RESCOMP!$RESCOMP$ac_delim
51952 RESFLAGS!$RESFLAGS$ac_delim
51953 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51954 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51955 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51956 LIBWXMACRES!$LIBWXMACRES$ac_delim
51957 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51958 MACSETFILE!$MACSETFILE$ac_delim
51960 DLLTOOL!$DLLTOOL$ac_delim
51961 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51962 LIBOBJS!$LIBOBJS$ac_delim
51963 LTLIBOBJS!$LTLIBOBJS$ac_delim
51966 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
51968 elif $ac_last_try; then
51969 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51970 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51971 { (exit 1); exit 1; }; }
51973 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51977 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51978 if test -n "$ac_eof"; then
51979 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51980 ac_eof=`expr $ac_eof + 1`
51983 cat >>$CONFIG_STATUS <<_ACEOF
51984 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51985 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51988 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51989 s/^/s,@/; s/!/@,|#_!!_#|/
51992 s/'"$ac_delim"'$/,g/; t
51994 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51995 ' >>$CONFIG_STATUS <conf$$subs.sed
51996 rm -f conf$$subs.sed
51997 cat >>$CONFIG_STATUS <<_ACEOF
52004 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52005 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52006 # trailing colons and then remove the whole line if VPATH becomes empty
52007 # (actually we leave an empty line to preserve line numbers).
52008 if test "x$srcdir" = x.; then
52009 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52010 s/:*\$(srcdir):*/:/
52011 s/:*\${srcdir}:*/:/
52013 s/^\([^=]*=[ ]*\):*/\1/
52019 cat >>$CONFIG_STATUS <<\_ACEOF
52020 fi # test -n "$CONFIG_FILES"
52023 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52026 :[FHLC]) ac_mode=$ac_tag; continue;;
52028 case $ac_mode$ac_tag in
52030 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52031 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52032 { (exit 1); exit 1; }; };;
52033 :[FH]-) ac_tag=-:-;;
52034 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52051 -) ac_f="$tmp/stdin";;
52052 *) # Look for the file first in the build tree, then in the source tree
52053 # (if the path is not absolute). The absolute path cannot be DOS-style,
52054 # because $ac_f cannot contain `:'.
52058 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52060 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52061 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52062 { (exit 1); exit 1; }; };;
52064 ac_file_inputs="$ac_file_inputs $ac_f"
52067 # Let's still pretend it is `configure' which instantiates (i.e., don't
52068 # use $as_me), people would be surprised to read:
52069 # /* config.h. Generated by config.status. */
52070 configure_input="Generated from "`IFS=:
52071 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52072 if test x"$ac_file" != x-; then
52073 configure_input="$ac_file. $configure_input"
52074 { echo "$as_me:$LINENO: creating $ac_file" >&5
52075 echo "$as_me: creating $ac_file" >&6;}
52079 *:-:* | *:-) cat >"$tmp/stdin";;
52084 ac_dir=`$as_dirname -- "$ac_file" ||
52085 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52086 X"$ac_file" : 'X\(//\)[^/]' \| \
52087 X"$ac_file" : 'X\(//\)$' \| \
52088 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52094 /^X\(\/\/\)[^/].*/{
52109 -*) as_dir=./$as_dir;;
52111 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52115 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52116 *) as_qdir=$as_dir;;
52118 as_dirs="'$as_qdir' $as_dirs"
52119 as_dir=`$as_dirname -- "$as_dir" ||
52120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52121 X"$as_dir" : 'X\(//\)[^/]' \| \
52122 X"$as_dir" : 'X\(//\)$' \| \
52123 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52129 /^X\(\/\/\)[^/].*/{
52142 test -d "$as_dir" && break
52144 test -z "$as_dirs" || eval "mkdir $as_dirs"
52145 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52146 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52147 { (exit 1); exit 1; }; }; }
52151 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52153 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52154 # A ".." for each directory in $ac_dir_suffix.
52155 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52156 case $ac_top_builddir_sub in
52157 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52158 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52161 ac_abs_top_builddir=$ac_pwd
52162 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52163 # for backward compatibility:
52164 ac_top_builddir=$ac_top_build_prefix
52167 .) # We are building in place.
52169 ac_top_srcdir=$ac_top_builddir_sub
52170 ac_abs_top_srcdir=$ac_pwd ;;
52171 [\\/]* | ?:[\\/]* ) # Absolute name.
52172 ac_srcdir=$srcdir$ac_dir_suffix;
52173 ac_top_srcdir=$srcdir
52174 ac_abs_top_srcdir=$srcdir ;;
52175 *) # Relative name.
52176 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52177 ac_top_srcdir=$ac_top_build_prefix$srcdir
52178 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52180 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52190 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52191 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52195 cat >>$CONFIG_STATUS <<\_ACEOF
52196 # If the template does not know about datarootdir, expand it.
52197 # FIXME: This hack should be removed a few years after 2.60.
52198 ac_datarootdir_hack=; ac_datarootdir_seen=
52200 case `sed -n '/datarootdir/ {
52209 ' $ac_file_inputs` in
52210 *datarootdir*) ac_datarootdir_seen=yes;;
52211 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52212 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52213 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52215 cat >>$CONFIG_STATUS <<_ACEOF
52216 ac_datarootdir_hack='
52217 s&@datadir@&$datadir&g
52218 s&@docdir@&$docdir&g
52219 s&@infodir@&$infodir&g
52220 s&@localedir@&$localedir&g
52221 s&@mandir@&$mandir&g
52222 s&\\\${datarootdir}&$datarootdir&g' ;;
52226 # Neutralize VPATH when `$srcdir' = `.'.
52227 # Shell code in configure.ac might set extrasub.
52228 # FIXME: do we really want to maintain this feature?
52229 cat >>$CONFIG_STATUS <<_ACEOF
52233 cat >>$CONFIG_STATUS <<\_ACEOF
52235 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52236 s&@configure_input@&$configure_input&;t t
52237 s&@top_builddir@&$ac_top_builddir_sub&;t t
52238 s&@srcdir@&$ac_srcdir&;t t
52239 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52240 s&@top_srcdir@&$ac_top_srcdir&;t t
52241 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52242 s&@builddir@&$ac_builddir&;t t
52243 s&@abs_builddir@&$ac_abs_builddir&;t t
52244 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52245 s&@INSTALL@&$ac_INSTALL&;t t
52246 $ac_datarootdir_hack
52247 " $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
52249 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52250 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52251 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52252 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52253 which seems to be undefined. Please make sure it is defined." >&5
52254 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52255 which seems to be undefined. Please make sure it is defined." >&2;}
52259 -) cat "$tmp/out"; rm -f "$tmp/out";;
52260 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52269 # Transform confdefs.h into a sed script `conftest.defines', that
52270 # substitutes the proper values into config.h.in to produce config.h.
52271 rm -f conftest.defines conftest.tail
52272 # First, append a space to every undef/define line, to ease matching.
52273 echo 's/$/ /' >conftest.defines
52274 # Then, protect against being on the right side of a sed subst, or in
52275 # an unquoted here document, in config.status. If some macros were
52276 # called several times there might be several #defines for the same
52277 # symbol, which is useless. But do not sort them, since the last
52278 # AC_DEFINE must be honored.
52279 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52280 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52281 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52282 # PARAMS is the parameter list in the macro definition--in most cases, it's
52283 # just an empty string.
52284 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52285 ac_dB='\\)[ (].*,\\1define\\2'
52293 s/^[ ]*#[ ]*define[ ][ ]*//
52298 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52299 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52300 ' >>conftest.defines
52302 # Remove the space that was appended to ease matching.
52303 # Then replace #undef with comments. This is necessary, for
52304 # example, in the case of _POSIX_SOURCE, which is predefined and required
52305 # on some systems where configure will not decide to define it.
52306 # (The regexp can be short, since the line contains either #define or #undef.)
52308 s,^[ #]*u.*,/* & */,' >>conftest.defines
52310 # Break up conftest.defines:
52311 ac_max_sed_lines=50
52313 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52314 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52315 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52317 ac_in='$ac_file_inputs'
52318 ac_out='"$tmp/out1"'
52319 ac_nxt='"$tmp/out2"'
52323 # Write a here document:
52324 cat >>$CONFIG_STATUS <<_ACEOF
52325 # First, check the format of the line:
52326 cat >"\$tmp/defines.sed" <<\\CEOF
52327 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52328 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52332 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52334 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52335 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52336 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52337 grep . conftest.tail >/dev/null || break
52338 rm -f conftest.defines
52339 mv conftest.tail conftest.defines
52341 rm -f conftest.defines conftest.tail
52343 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52344 cat >>$CONFIG_STATUS <<\_ACEOF
52345 if test x"$ac_file" != x-; then
52346 echo "/* $configure_input */" >"$tmp/config.h"
52347 cat "$ac_result" >>"$tmp/config.h"
52348 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52349 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52350 echo "$as_me: $ac_file is unchanged" >&6;}
52353 mv "$tmp/config.h" $ac_file
52356 echo "/* $configure_input */"
52362 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52363 echo "$as_me: executing $ac_file commands" >&6;}
52368 case $ac_file$ac_mode in
52370 mkdir -p $outdir &&
52371 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52373 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52374 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52375 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52376 "wx-config":C) rm -f wx-config
52377 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52384 { (exit 0); exit 0; }
52386 chmod +x $CONFIG_STATUS
52387 ac_clean_files=$ac_clean_files_save
52390 # configure is writing to config.log, and then calls config.status.
52391 # config.status does its own redirection, appending to config.log.
52392 # Unfortunately, on DOS this fails, as config.log is still kept open
52393 # by configure, so config.status won't be able to write to it; its
52394 # output is simply discarded. So we exec the FD to /dev/null,
52395 # effectively closing config.log, so it can be properly (re)opened and
52396 # appended to by config.status. When coming back to configure, we
52397 # need to make the FD available again.
52398 if test "$no_create" != yes; then
52400 ac_config_status_args=
52401 test "$silent" = yes &&
52402 ac_config_status_args="$ac_config_status_args --quiet"
52404 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52406 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52407 # would make configure fail if this is the last instruction.
52408 $ac_cs_success || { (exit 1); exit 1; }
52412 # CONFIG_SUBDIRS section.
52414 if test "$no_recursion" != yes; then
52416 # Remove --cache-file and --srcdir arguments so they do not pile up.
52417 ac_sub_configure_args=
52419 eval "set x $ac_configure_args"
52423 if test -n "$ac_prev"; then
52428 -cache-file | --cache-file | --cache-fil | --cache-fi \
52429 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52430 ac_prev=cache_file ;;
52431 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52432 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52435 --config-cache | -C)
52437 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52439 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52441 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52443 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52447 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52449 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52453 # Always prepend --prefix to ensure using the same prefix
52454 # in subdir configurations.
52455 ac_arg="--prefix=$prefix"
52457 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52459 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52462 if test "$silent" = yes; then
52463 ac_sub_configure_args="--silent $ac_sub_configure_args"
52467 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52469 # Do not complain, so a configure script can configure whichever
52470 # parts of a large source tree are present.
52471 test -d "$srcdir/$ac_dir" || continue
52473 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52474 echo "$as_me:$LINENO: $ac_msg" >&5
52478 -*) as_dir=./$as_dir;;
52480 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52484 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52485 *) as_qdir=$as_dir;;
52487 as_dirs="'$as_qdir' $as_dirs"
52488 as_dir=`$as_dirname -- "$as_dir" ||
52489 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52490 X"$as_dir" : 'X\(//\)[^/]' \| \
52491 X"$as_dir" : 'X\(//\)$' \| \
52492 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52498 /^X\(\/\/\)[^/].*/{
52511 test -d "$as_dir" && break
52513 test -z "$as_dirs" || eval "mkdir $as_dirs"
52514 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52515 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52516 { (exit 1); exit 1; }; }; }
52520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52522 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52523 # A ".." for each directory in $ac_dir_suffix.
52524 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52525 case $ac_top_builddir_sub in
52526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52530 ac_abs_top_builddir=$ac_pwd
52531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52532 # for backward compatibility:
52533 ac_top_builddir=$ac_top_build_prefix
52536 .) # We are building in place.
52538 ac_top_srcdir=$ac_top_builddir_sub
52539 ac_abs_top_srcdir=$ac_pwd ;;
52540 [\\/]* | ?:[\\/]* ) # Absolute name.
52541 ac_srcdir=$srcdir$ac_dir_suffix;
52542 ac_top_srcdir=$srcdir
52543 ac_abs_top_srcdir=$srcdir ;;
52544 *) # Relative name.
52545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52546 ac_top_srcdir=$ac_top_build_prefix$srcdir
52547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52554 # Check for guested configure; otherwise get Cygnus style configure.
52555 if test -f "$ac_srcdir/configure.gnu"; then
52556 ac_sub_configure=$ac_srcdir/configure.gnu
52557 elif test -f "$ac_srcdir/configure"; then
52558 ac_sub_configure=$ac_srcdir/configure
52559 elif test -f "$ac_srcdir/configure.in"; then
52560 # This should be Cygnus configure.
52561 ac_sub_configure=$ac_aux_dir/configure
52563 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52564 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52568 # The recursion is here.
52569 if test -n "$ac_sub_configure"; then
52570 # Make the cache file name correct relative to the subdirectory.
52571 case $cache_file in
52572 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52573 *) # Relative name.
52574 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52577 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52578 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52579 # The eval makes quoting arguments work.
52580 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52581 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52582 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52583 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52584 { (exit 1); exit 1; }; }
52593 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52595 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52596 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52598 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52599 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52600 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52601 if test "$wxUSE_UNICODE" = "yes"; then
52602 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52603 echo " (using UTF-8)"
52605 echo " (using wchar_t)"
52611 echo " What level of wxWidgets compatibility should be enabled?"
52612 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52613 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52615 echo " Which libraries should wxWidgets use?"
52616 echo " STL ${wxUSE_STL}"
52617 echo " jpeg ${wxUSE_LIBJPEG-none}"
52618 echo " png ${wxUSE_LIBPNG-none}"
52619 echo " regex ${wxUSE_REGEX}"
52620 echo " tiff ${wxUSE_LIBTIFF-none}"
52621 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52622 echo " xpm ${wxUSE_LIBXPM-none}"
52624 echo " zlib ${wxUSE_ZLIB}"
52625 echo " expat ${wxUSE_EXPAT}"
52626 echo " libmspack ${wxUSE_LIBMSPACK}"
52627 echo " sdl ${wxUSE_LIBSDL}"