2 # From configure.in Id: configure.in.
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
717 LIBGNOMEPRINTUI_CFLAGS
761 SAMPLES_RPATH_POSTLINK
807 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
808 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
809 COND_BUILD_DEBUG_UNICODE_0
810 COND_BUILD_DEBUG_UNICODE_1
812 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
813 COND_BUILD_RELEASE_UNICODE_0
814 COND_BUILD_RELEASE_UNICODE_1
823 COND_MONOLITHIC_0_SHARED_0
824 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
825 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
830 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
831 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
832 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
833 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_AUI_1
846 COND_MONOLITHIC_0_USE_GUI_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_ODBC_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_TOOLKIT_
865 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
871 COND_PLATFORM_MACOSX_1_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
873 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_XRC_1
895 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
896 COND_SHARED_0_WXUSE_ODBC_BUILTIN
897 COND_SHARED_0_WXUSE_REGEX_BUILTIN
898 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
900 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
901 COND_SHARED_1_USE_XRC_1
904 COND_TOOLKIT_COCOA_USE_GUI_1
905 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
907 COND_TOOLKIT_DFB_USE_GUI_1
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_USE_GUI_1
917 COND_TOOLKIT_MAC_USE_GUI_1
918 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_MGL_USE_GUI_1
922 COND_TOOLKIT_MOTIF_USE_GUI_1
923 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MSW_USE_GUI_1
926 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MSW_WXUNIV_0
929 COND_TOOLKIT_PM_USE_GUI_1
930 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_WINCE_USE_GUI_1
933 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_WINCE_WXUNIV_0
936 COND_TOOLKIT_X11_USE_GUI_1
938 COND_USE_EXCEPTIONS_0
939 COND_USE_EXCEPTIONS_1
942 COND_USE_GUI_1_WXUNIV_0
943 COND_USE_GUI_1_WXUNIV_1
944 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
945 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
946 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
953 COND_USE_SOSYMLINKS_1
954 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
955 COND_USE_SOVERLINUX_1
957 COND_USE_SOVERSOLARIS_1
961 COND_WINDOWS_IMPLIB_1
962 COND_WITH_PLUGIN_SDL_1
965 COND_WXUSE_EXPAT_BUILTIN
966 COND_WXUSE_LIBJPEG_BUILTIN
967 COND_WXUSE_LIBPNG_BUILTIN
968 COND_WXUSE_LIBTIFF_BUILTIN
969 COND_WXUSE_ODBC_BUILTIN
970 COND_WXUSE_REGEX_BUILTIN
971 COND_WXUSE_ZLIB_BUILTIN
973 WX_LIBRARY_BASENAME_NOGUI
974 WX_LIBRARY_BASENAME_GUI
1007 WX_RESOURCES_MACOSX_ASCII
1008 WX_RESOURCES_MACOSX_DATA
1017 ac_precious_vars='build_alias
1039 LIBGNOMEPRINTUI_CFLAGS
1040 LIBGNOMEPRINTUI_LIBS
1049 ac_subdirs_all='src/expat'
1051 # Initialize some variables set by options.
1053 ac_init_version=false
1054 # The variables have the same names as the options, with
1055 # dashes changed to underlines.
1056 cache_file=/dev/null
1063 program_transform_name=s,x,x,
1071 # Installation directory options.
1072 # These are left unexpanded so users can "make install exec_prefix=/foo"
1073 # and all the variables that are supposed to be based on exec_prefix
1074 # by default will actually change.
1075 # Use braces instead of parens because sh, perl, etc. also accept them.
1076 # (The list follows the same order as the GNU Coding Standards.)
1077 bindir='${exec_prefix}/bin'
1078 sbindir='${exec_prefix}/sbin'
1079 libexecdir='${exec_prefix}/libexec'
1080 datarootdir='${prefix}/share'
1081 datadir='${datarootdir}'
1082 sysconfdir='${prefix}/etc'
1083 sharedstatedir='${prefix}/com'
1084 localstatedir='${prefix}/var'
1085 includedir='${prefix}/include'
1086 oldincludedir='/usr/include'
1087 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1088 infodir='${datarootdir}/info'
1093 libdir='${exec_prefix}/lib'
1094 localedir='${datarootdir}/locale'
1095 mandir='${datarootdir}/man'
1101 # If the previous option needs an argument, assign it.
1102 if test -n "$ac_prev"; then
1103 eval $ac_prev=\$ac_option
1109 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1113 # Accept the important Cygnus configure options, so we can diagnose typos.
1115 case $ac_dashdash$ac_option in
1119 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1121 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1122 bindir=$ac_optarg ;;
1124 -build | --build | --buil | --bui | --bu)
1125 ac_prev=build_alias ;;
1126 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1127 build_alias=$ac_optarg ;;
1129 -cache-file | --cache-file | --cache-fil | --cache-fi \
1130 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1131 ac_prev=cache_file ;;
1132 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1133 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1134 cache_file=$ac_optarg ;;
1136 --config-cache | -C)
1137 cache_file=config.cache ;;
1139 -datadir | --datadir | --datadi | --datad)
1141 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1142 datadir=$ac_optarg ;;
1144 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1145 | --dataroo | --dataro | --datar)
1146 ac_prev=datarootdir ;;
1147 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1148 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1149 datarootdir=$ac_optarg ;;
1151 -disable-* | --disable-*)
1152 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1156 { (exit 1); exit 1; }; }
1157 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1158 eval enable_$ac_feature=no ;;
1160 -docdir | --docdir | --docdi | --doc | --do)
1162 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1163 docdir=$ac_optarg ;;
1165 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1167 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1168 dvidir=$ac_optarg ;;
1170 -enable-* | --enable-*)
1171 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1174 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1175 { (exit 1); exit 1; }; }
1176 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1177 eval enable_$ac_feature=\$ac_optarg ;;
1179 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1180 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1181 | --exec | --exe | --ex)
1182 ac_prev=exec_prefix ;;
1183 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1184 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1185 | --exec=* | --exe=* | --ex=*)
1186 exec_prefix=$ac_optarg ;;
1188 -gas | --gas | --ga | --g)
1189 # Obsolete; use --with-gas.
1192 -help | --help | --hel | --he | -h)
1193 ac_init_help=long ;;
1194 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1195 ac_init_help=recursive ;;
1196 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1197 ac_init_help=short ;;
1199 -host | --host | --hos | --ho)
1200 ac_prev=host_alias ;;
1201 -host=* | --host=* | --hos=* | --ho=*)
1202 host_alias=$ac_optarg ;;
1204 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1206 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1208 htmldir=$ac_optarg ;;
1210 -includedir | --includedir | --includedi | --included | --include \
1211 | --includ | --inclu | --incl | --inc)
1212 ac_prev=includedir ;;
1213 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1214 | --includ=* | --inclu=* | --incl=* | --inc=*)
1215 includedir=$ac_optarg ;;
1217 -infodir | --infodir | --infodi | --infod | --info | --inf)
1219 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1220 infodir=$ac_optarg ;;
1222 -libdir | --libdir | --libdi | --libd)
1224 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1225 libdir=$ac_optarg ;;
1227 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1228 | --libexe | --libex | --libe)
1229 ac_prev=libexecdir ;;
1230 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1231 | --libexe=* | --libex=* | --libe=*)
1232 libexecdir=$ac_optarg ;;
1234 -localedir | --localedir | --localedi | --localed | --locale)
1235 ac_prev=localedir ;;
1236 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1237 localedir=$ac_optarg ;;
1239 -localstatedir | --localstatedir | --localstatedi | --localstated \
1240 | --localstate | --localstat | --localsta | --localst | --locals)
1241 ac_prev=localstatedir ;;
1242 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1243 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1244 localstatedir=$ac_optarg ;;
1246 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1248 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1249 mandir=$ac_optarg ;;
1251 -nfp | --nfp | --nf)
1252 # Obsolete; use --without-fp.
1255 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1256 | --no-cr | --no-c | -n)
1259 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1260 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1263 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1264 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1265 | --oldin | --oldi | --old | --ol | --o)
1266 ac_prev=oldincludedir ;;
1267 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1268 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1269 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1270 oldincludedir=$ac_optarg ;;
1272 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1274 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1275 prefix=$ac_optarg ;;
1277 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1278 | --program-pre | --program-pr | --program-p)
1279 ac_prev=program_prefix ;;
1280 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1281 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1282 program_prefix=$ac_optarg ;;
1284 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1285 | --program-suf | --program-su | --program-s)
1286 ac_prev=program_suffix ;;
1287 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1288 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1289 program_suffix=$ac_optarg ;;
1291 -program-transform-name | --program-transform-name \
1292 | --program-transform-nam | --program-transform-na \
1293 | --program-transform-n | --program-transform- \
1294 | --program-transform | --program-transfor \
1295 | --program-transfo | --program-transf \
1296 | --program-trans | --program-tran \
1297 | --progr-tra | --program-tr | --program-t)
1298 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
1308 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1310 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1311 pdfdir=$ac_optarg ;;
1313 -psdir | --psdir | --psdi | --psd | --ps)
1315 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1319 | -silent | --silent | --silen | --sile | --sil)
1322 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1324 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1326 sbindir=$ac_optarg ;;
1328 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1329 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1330 | --sharedst | --shareds | --shared | --share | --shar \
1332 ac_prev=sharedstatedir ;;
1333 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1334 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1335 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1337 sharedstatedir=$ac_optarg ;;
1339 -site | --site | --sit)
1341 -site=* | --site=* | --sit=*)
1344 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1346 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1347 srcdir=$ac_optarg ;;
1349 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1350 | --syscon | --sysco | --sysc | --sys | --sy)
1351 ac_prev=sysconfdir ;;
1352 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1353 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1354 sysconfdir=$ac_optarg ;;
1356 -target | --target | --targe | --targ | --tar | --ta | --t)
1357 ac_prev=target_alias ;;
1358 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1359 target_alias=$ac_optarg ;;
1361 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1364 -version | --version | --versio | --versi | --vers | -V)
1365 ac_init_version=: ;;
1368 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1369 # Reject names that are not valid shell variable names.
1370 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1371 { echo "$as_me: error: invalid package name: $ac_package" >&2
1372 { (exit 1); exit 1; }; }
1373 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1374 eval with_$ac_package=\$ac_optarg ;;
1376 -without-* | --without-*)
1377 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1378 # Reject names that are not valid shell variable names.
1379 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1380 { echo "$as_me: error: invalid package name: $ac_package" >&2
1381 { (exit 1); exit 1; }; }
1382 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1383 eval with_$ac_package=no ;;
1386 # Obsolete; use --with-x.
1389 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1390 | --x-incl | --x-inc | --x-in | --x-i)
1391 ac_prev=x_includes ;;
1392 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1393 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1394 x_includes=$ac_optarg ;;
1396 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1397 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1398 ac_prev=x_libraries ;;
1399 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1400 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1401 x_libraries=$ac_optarg ;;
1403 -*) { echo "$as_me: error: unrecognized option: $ac_option
1404 Try \`$0 --help' for more information." >&2
1405 { (exit 1); exit 1; }; }
1409 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1412 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1413 { (exit 1); exit 1; }; }
1414 eval $ac_envvar=\$ac_optarg
1415 export $ac_envvar ;;
1418 # FIXME: should be removed in autoconf 3.0.
1419 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1420 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1421 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1422 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1428 if test -n "$ac_prev"; then
1429 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1430 { echo "$as_me: error: missing argument to $ac_option" >&2
1431 { (exit 1); exit 1; }; }
1434 # Be sure to have absolute directory names.
1435 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1436 datadir sysconfdir sharedstatedir localstatedir includedir \
1437 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1438 libdir localedir mandir
1440 eval ac_val=\$$ac_var
1442 [\\/$]* | ?:[\\/]* ) continue;;
1443 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1445 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1446 { (exit 1); exit 1; }; }
1449 # There might be people who depend on the old broken behavior: `$host'
1450 # used to hold the argument of --host etc.
1451 # FIXME: To remove some day.
1454 target=$target_alias
1456 # FIXME: To remove some day.
1457 if test "x$host_alias" != x; then
1458 if test "x$build_alias" = x; then
1459 cross_compiling=maybe
1460 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1461 If a cross compiler is detected then cross compile mode will be used." >&2
1462 elif test "x$build_alias" != "x$host_alias"; then
1468 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1470 test "$silent" = yes && exec 6>/dev/null
1473 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1474 ac_ls_di=`ls -di .` &&
1475 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1476 { echo "$as_me: error: Working directory cannot be determined" >&2
1477 { (exit 1); exit 1; }; }
1478 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1479 { echo "$as_me: error: pwd does not report name of working directory" >&2
1480 { (exit 1); exit 1; }; }
1483 # Find the source files, if location was not specified.
1484 if test -z "$srcdir"; then
1485 ac_srcdir_defaulted=yes
1486 # Try the directory containing this script, then the parent directory.
1487 ac_confdir=`$as_dirname -- "$0" ||
1488 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1489 X"$0" : 'X\(//\)[^/]' \| \
1490 X"$0" : 'X\(//\)$' \| \
1491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1511 if test ! -r "$srcdir/$ac_unique_file"; then
1515 ac_srcdir_defaulted=no
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1519 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1520 { (exit 1); exit 1; }; }
1522 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1524 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1525 { (exit 1); exit 1; }; }
1527 # When building in place, set srcdir=.
1528 if test "$ac_abs_confdir" = "$ac_pwd"; then
1531 # Remove unnecessary trailing slashes from srcdir.
1532 # Double slashes in file names in object file debugging info
1533 # mess up M-x gdb in Emacs.
1535 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1537 for ac_var in $ac_precious_vars; do
1538 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1539 eval ac_env_${ac_var}_value=\$${ac_var}
1540 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1541 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1545 # Report the --help message.
1547 if test "$ac_init_help" = "long"; then
1548 # Omit some internal or obsolete options to make the list less imposing.
1549 # This message is too long to be a string in the A/UX 3.1 sh.
1551 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1553 Usage: $0 [OPTION]... [VAR=VALUE]...
1555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1556 VAR=VALUE. See below for descriptions of some of the useful variables.
1558 Defaults for the options are specified in brackets.
1561 -h, --help display this help and exit
1562 --help=short display options specific to this package
1563 --help=recursive display the short help of all the included packages
1564 -V, --version display version information and exit
1565 -q, --quiet, --silent do not print \`checking...' messages
1566 --cache-file=FILE cache test results in FILE [disabled]
1567 -C, --config-cache alias for \`--cache-file=config.cache'
1568 -n, --no-create do not create output files
1569 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1571 Installation directories:
1572 --prefix=PREFIX install architecture-independent files in PREFIX
1573 [$ac_default_prefix]
1574 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1577 By default, \`make install' will install all the files in
1578 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1579 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1580 for instance \`--prefix=\$HOME'.
1582 For better control, use the options below.
1584 Fine tuning of the installation directories:
1585 --bindir=DIR user executables [EPREFIX/bin]
1586 --sbindir=DIR system admin executables [EPREFIX/sbin]
1587 --libexecdir=DIR program executables [EPREFIX/libexec]
1588 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1589 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1590 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1591 --libdir=DIR object code libraries [EPREFIX/lib]
1592 --includedir=DIR C header files [PREFIX/include]
1593 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1594 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1595 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1596 --infodir=DIR info documentation [DATAROOTDIR/info]
1597 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1598 --mandir=DIR man documentation [DATAROOTDIR/man]
1599 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1600 --htmldir=DIR html documentation [DOCDIR]
1601 --dvidir=DIR dvi documentation [DOCDIR]
1602 --pdfdir=DIR pdf documentation [DOCDIR]
1603 --psdir=DIR ps documentation [DOCDIR]
1609 --x-includes=DIR X include files are in DIR
1610 --x-libraries=DIR X library files are in DIR
1613 --build=BUILD configure for building on BUILD [guessed]
1614 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1615 --target=TARGET configure for building compilers for TARGET [HOST]
1619 if test -n "$ac_init_help"; then
1620 case $ac_init_help in
1621 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1626 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1627 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1628 --enable-gui use GUI classes
1629 --enable-monolithic build wxWidgets as single library
1630 --enable-plugins build parts of wxWidgets as loadable components
1631 --enable-universal use wxWidgets GUI controls instead of native ones
1632 --enable-nanox use NanoX
1633 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1634 --enable-gpe use GNOME PDA Environment features if possible
1635 --enable-shared create shared library code
1636 --enable-optimise create optimised code
1637 --enable-debug same as debug_flag and debug_info
1638 --enable-stl use STL for containers
1639 --enable-omf use OMF object format
1640 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1641 --enable-debug_info create code with debugging information
1642 --enable-debug_gdb create code with extra GDB debugging information
1643 --enable-debug_cntxt use wxDebugContext
1644 --enable-mem_tracing create code with memory tracing
1645 --enable-profile create code with profiling information
1646 --enable-no_rtti create code without RTTI information
1647 --enable-no_exceptions create code without C++ exceptions handling
1648 --enable-permissive compile code disregarding strict ANSI
1649 --enable-no_deps create code without dependency information
1650 --disable-vararg_macros don't use vararg macros, even if they are supported
1651 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1652 --enable-compat26 enable wxWidgets 2.6 compatibility
1653 --disable-compat28 disable wxWidgets 2.8 compatibility
1654 --disable-rpath disable use of rpath for uninstalled builds
1655 --enable-intl use internationalization system
1656 --enable-config use wxConfig (and derived) classes
1657 --enable-protocols use wxProtocol and derived classes
1658 --enable-ftp use wxFTP (requires wxProtocol
1659 --enable-http use wxHTTP (requires wxProtocol
1660 --enable-fileproto use wxFileProto class (requires wxProtocol
1661 --enable-sockets use socket/network classes
1662 --enable-ole use OLE classes (Win32 only)
1663 --enable-dataobj use data object classes
1664 --enable-ipc use interprocess communication (wxSocket etc.)
1665 --enable-apple_ieee use the Apple IEEE codec
1666 --enable-arcstream use wxArchive streams
1667 --enable-backtrace use wxStackWalker class for getting backtraces
1668 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1669 --enable-cmdline use wxCmdLineParser class
1670 --enable-datetime use wxDateTime class
1671 --enable-debugreport use wxDebugReport class
1672 --enable-dialupman use dialup network classes
1673 --enable-dynlib use wxLibrary class for DLL loading
1674 --enable-dynamicloader use (new) wxDynamicLibrary class
1675 --enable-exceptions build exception-safe library
1676 --enable-ffile use wxFFile class
1677 --enable-file use wxFile class
1678 --enable-filesystem use virtual file systems classes
1679 --enable-fontmap use font encodings conversion classes
1680 --enable-fs_archive use virtual archive filesystems
1681 --enable-fs_inet use virtual HTTP/FTP filesystems
1682 --enable-fs_zip now replaced by fs_archive
1683 --enable-geometry use geometry class
1684 --enable-log use logging system
1685 --enable-longlong use wxLongLong class
1686 --enable-mimetype use wxMimeTypesManager
1687 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1688 --enable-snglinst use wxSingleInstanceChecker class
1689 --enable-std_iostreams use standard C++ stream classes
1690 --enable-std_string use standard C++ string classes
1691 --enable-stdpaths use wxStandardPaths class
1692 --enable-stopwatch use wxStopWatch class
1693 --enable-streams use wxStream etc classes
1694 --enable-sysoptions use wxSystemOptions
1695 --enable-tarstream use wxTar streams
1696 --enable-textbuf use wxTextBuffer class
1697 --enable-textfile use wxTextFile class
1698 --enable-timer use wxTimer class
1699 --enable-unicode compile wxString with Unicode support
1700 --enable-sound use wxSound class
1701 --enable-mediactrl use wxMediaCtrl class
1702 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1703 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1704 --enable-zipstream use wxZip streams
1705 --enable-url use wxURL class
1706 --enable-variant use wxVariant class
1707 --enable-protocol use wxProtocol class
1708 --enable-protocol-http HTTP support in wxProtocol
1709 --enable-protocol-ftp FTP support in wxProtocol
1710 --enable-protocol-file FILE support in wxProtocol
1711 --enable-threads use threads
1712 --enable-docview use document view architecture
1713 --enable-help use help subsystem
1714 --enable-mshtmlhelp use MS HTML Help (win32)
1715 --enable-html use wxHTML sub-library
1716 --enable-htmlhelp use wxHTML-based help
1717 --enable-xrc use XRC resources sub-library
1718 --enable-aui use AUI docking library
1719 --enable-stc use wxStyledTextCtrl library
1720 --enable-constraints use layout-constraints system
1721 --enable-printarch use printing architecture
1722 --enable-mdi use multiple document interface architecture
1723 --enable-mdidoc use docview architecture with MDI
1724 --enable-loggui use standard GUI logger
1725 --enable-logwin use wxLogWindow
1726 --enable-logdialog use wxLogDialog
1727 --enable-webkit use wxWebKitCtrl (Mac)
1728 --enable-richtext use wxRichTextCtrl
1729 --enable-graphics_ctx use graphics context 2D drawing API
1730 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1731 --enable-clipboard use wxClipboard class
1732 --enable-dnd use Drag'n'Drop classes
1733 --enable-metafile use win32 metafiles
1734 --enable-controls use all usual controls
1735 --enable-accel use accelerators
1736 --enable-animatectrl use wxAnimationCtrl class
1737 --enable-button use wxButton class
1738 --enable-bmpbutton use wxBitmapButton class
1739 --enable-bmpcombobox use wxBitmapComboBox class
1740 --enable-calendar use wxCalendarCtrl class
1741 --enable-caret use wxCaret class
1742 --enable-checkbox use wxCheckBox class
1743 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1744 --enable-choice use wxChoice class
1745 --enable-choicebook use wxChoicebook class
1746 --enable-collpane use wxCollapsiblePane class
1747 --enable-colourpicker use wxColourPickerCtrl class
1748 --enable-combobox use wxComboBox class
1749 --enable-comboctrl use wxComboCtrl class
1750 --enable-datepick use wxDatePickerCtrl class
1751 --enable-dirpicker use wxDirPickerCtrl class
1752 --enable-display use wxDisplay class
1753 --enable-detect_sm use code to detect X11 session manager
1754 --enable-filepicker use wxFilePickerCtrl class
1755 --enable-fontpicker use wxFontPickerCtrl class
1756 --enable-gauge use wxGauge class
1757 --enable-grid use wxGrid class
1758 --enable-dataviewctrl use wxDataViewCtrl class
1759 --enable-hyperlink use wxHyperlinkCtrl class
1760 --enable-imaglist use wxImageList class
1761 --enable-listbook use wxListbook class
1762 --enable-listbox use wxListBox class
1763 --enable-listctrl use wxListCtrl class
1764 --enable-notebook use wxNotebook class
1765 --enable-odcombobox use wxOwnerDrawnComboBox class
1766 --enable-radiobox use wxRadioBox class
1767 --enable-radiobtn use wxRadioButton class
1768 --enable-sash use wxSashWindow class
1769 --enable-scrollbar use wxScrollBar class and scrollable windows
1770 --enable-searchctrl use wxSearchCtrl class
1771 --enable-slider use wxSlider class
1772 --enable-spinbtn use wxSpinButton class
1773 --enable-spinctrl use wxSpinCtrl class
1774 --enable-splitter use wxSplitterWindow class
1775 --enable-statbmp use wxStaticBitmap class
1776 --enable-statbox use wxStaticBox class
1777 --enable-statline use wxStaticLine class
1778 --enable-stattext use wxStaticText class
1779 --enable-statusbar use wxStatusBar class
1780 --enable-tabdialog use wxTabControl class
1781 --enable-textctrl use wxTextCtrl class
1782 --enable-togglebtn use wxToggleButton class
1783 --enable-toolbar use wxToolBar class
1784 --enable-tbarnative use native wxToolBar class
1785 --enable-treebook use wxTreebook class
1786 --enable-toolbook use wxToolbook class
1787 --enable-treectrl use wxTreeCtrl class
1788 --enable-tipwindow use wxTipWindow class
1789 --enable-popupwin use wxPopUpWindow class
1790 --enable-commondlg use all common dialogs
1791 --enable-aboutdlg use wxAboutBox
1792 --enable-choicedlg use wxChoiceDialog
1793 --enable-coldlg use wxColourDialog
1794 --enable-filedlg use wxFileDialog
1795 --enable-finddlg use wxFindReplaceDialog
1796 --enable-fontdlg use wxFontDialog
1797 --enable-dirdlg use wxDirDialog
1798 --enable-msgdlg use wxMessageDialog
1799 --enable-numberdlg use wxNumberEntryDialog
1800 --enable-splash use wxSplashScreen
1801 --enable-textdlg use wxTextDialog
1802 --enable-tipdlg use startup tips
1803 --enable-progressdlg use wxProgressDialog
1804 --enable-wizarddlg use wxWizard
1805 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1806 --enable-miniframe use wxMiniFrame class
1807 --enable-tooltips use wxToolTip class
1808 --enable-splines use spline drawing code
1809 --enable-mousewheel use mousewheel
1810 --enable-validators use wxValidator and derived classes
1811 --enable-busyinfo use wxBusyInfo
1812 --enable-joystick use wxJoystick
1813 --enable-metafiles use wxMetaFile (Win32 only)
1814 --enable-dragimage use wxDragImage
1815 --enable-accessibility enable accessibility support
1816 --enable-dccache cache temporary wxDC objects (Win32 only)
1817 --enable-palette use wxPalette class
1818 --enable-image use wxImage class
1819 --enable-gif use gif images (GIF file format)
1820 --enable-pcx use pcx images (PCX file format)
1821 --enable-tga use tga images (TGA file format)
1822 --enable-iff use iff images (IFF file format)
1823 --enable-pnm use pnm images (PNM file format)
1824 --enable-xpm use xpm images (XPM file format)
1825 --enable-icocur use Windows ICO and CUR formats
1826 --enable-official_build official build of wxWidgets (win32 DLL only)
1827 --enable-vendor=VENDOR vendor name (win32 DLL only)
1828 --disable-largefile omit support for large files
1829 --disable-gtktest do not try to compile and run a test GTK+ program
1830 --disable-gtktest Do not try to compile and run a test GTK program
1831 --disable-sdltest Do not try to compile and run a test SDL program
1832 --enable-omf use OMF object format (OS/2)
1833 --disable-dependency-tracking
1834 don't use dependency tracking even if the compiler
1836 --disable-precomp-headers
1837 don't use precompiled headers even if compiler can
1840 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1841 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1842 --without-subdirs don't generate makefiles for samples/demos/...
1843 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1844 --with-motif use Motif/Lesstif
1845 --with-mac use Mac OS X
1846 --with-cocoa use Cocoa
1847 --with-wine use Wine
1848 --with-msw use MS-Windows
1849 --with-pm use OS/2 Presentation Manager
1850 --with-mgl use SciTech MGL
1851 --with-directfb use DirectFB
1852 --with-microwin use MicroWindows
1854 --with-libpng use libpng (PNG image format)
1855 --with-libjpeg use libjpeg (JPEG file format)
1856 --with-libtiff use libtiff (TIFF file format)
1857 --with-libxpm use libxpm (XPM file format)
1858 --with-libmspack use libmspack (CHM help files loading)
1859 --with-sdl use SDL for audio on Unix
1860 --with-gnomeprint use GNOME print for printing under GNOME
1861 --with-gnomevfs use GNOME VFS for associating MIME types
1862 --with-hildon use Hildon framework for Nokia 770
1863 --with-opengl use OpenGL (or Mesa)
1864 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1865 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1866 --with-regex enable support for wxRegEx class
1867 --with-zlib use zlib for LZW compression
1868 --with-odbc use the IODBC and wxODBC classes
1869 --with-expat enable XML support using expat parser
1870 --with-flavour=NAME specify a name to identify this build
1871 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1872 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1873 --with-x use the X Window System
1874 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1875 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1876 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1877 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1878 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1880 Some influential environment variables:
1881 CC C compiler command
1882 CFLAGS C compiler flags
1883 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1884 nonstandard directory <lib dir>
1885 LIBS libraries to pass to the linker, e.g. -l<library>
1886 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1887 you have headers in a nonstandard directory <include dir>
1889 CXX C++ compiler command
1890 CXXFLAGS C++ compiler flags
1891 PKG_CONFIG path to pkg-config utility
1893 C compiler flags for DIRECTFB, overriding pkg-config
1895 linker flags for DIRECTFB, overriding pkg-config
1896 XMKMF Path to xmkmf, Makefile generator for X Window System
1898 C compiler flags for PANGOX, overriding pkg-config
1899 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1901 C compiler flags for PANGOFT2, overriding pkg-config
1903 linker flags for PANGOFT2, overriding pkg-config
1905 C compiler flags for PANGOXFT, overriding pkg-config
1907 linker flags for PANGOXFT, overriding pkg-config
1908 LIBGNOMEPRINTUI_CFLAGS
1909 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1910 LIBGNOMEPRINTUI_LIBS
1911 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1913 C compiler flags for GNOMEVFS, overriding pkg-config
1915 linker flags for GNOMEVFS, overriding pkg-config
1917 C compiler flags for HILDON, overriding pkg-config
1918 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1920 C compiler flags for CAIRO, overriding pkg-config
1921 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1922 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1923 GST_LIBS linker flags for GST, overriding pkg-config
1925 Use these variables to override the choices made by `configure' or to help
1926 it to find libraries and programs with nonstandard names/locations.
1928 Report bugs to <wx-dev@lists.wxwidgets.org>.
1933 if test "$ac_init_help" = "recursive"; then
1934 # If there are subdirs, report their specific --help.
1935 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1936 test -d "$ac_dir" || continue
1940 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1942 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1943 # A ".." for each directory in $ac_dir_suffix.
1944 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1945 case $ac_top_builddir_sub in
1946 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1947 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1950 ac_abs_top_builddir=$ac_pwd
1951 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1952 # for backward compatibility:
1953 ac_top_builddir=$ac_top_build_prefix
1956 .) # We are building in place.
1958 ac_top_srcdir=$ac_top_builddir_sub
1959 ac_abs_top_srcdir=$ac_pwd ;;
1960 [\\/]* | ?:[\\/]* ) # Absolute name.
1961 ac_srcdir=$srcdir$ac_dir_suffix;
1962 ac_top_srcdir=$srcdir
1963 ac_abs_top_srcdir=$srcdir ;;
1965 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1966 ac_top_srcdir=$ac_top_build_prefix$srcdir
1967 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1969 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1971 cd "$ac_dir" || { ac_status=$?; continue; }
1972 # Check for guested configure.
1973 if test -f "$ac_srcdir/configure.gnu"; then
1975 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1976 elif test -f "$ac_srcdir/configure"; then
1978 $SHELL "$ac_srcdir/configure" --help=recursive
1980 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1982 cd "$ac_pwd" || { ac_status=$?; break; }
1986 test -n "$ac_init_help" && exit $ac_status
1987 if $ac_init_version; then
1989 wxWidgets configure 2.9.0
1990 generated by GNU Autoconf 2.61
1992 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1993 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1994 This configure script is free software; the Free Software Foundation
1995 gives unlimited permission to copy, distribute and modify it.
1999 cat >config.log <<_ACEOF
2000 This file contains any messages produced by compilers while
2001 running configure, to aid debugging if configure makes a mistake.
2003 It was created by wxWidgets $as_me 2.9.0, which was
2004 generated by GNU Autoconf 2.61. Invocation command line was
2016 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2017 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2018 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2019 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2020 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2022 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2023 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2025 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2026 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2027 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2028 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2029 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2030 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2031 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 test -z "$as_dir" && as_dir=.
2040 echo "PATH: $as_dir"
2056 # Keep a trace of the command line.
2057 # Strip out --no-create and --no-recursion so they do not pile up.
2058 # Strip out --silent because we don't want to record it for future runs.
2059 # Also quote any args containing shell meta-characters.
2060 # Make two passes to allow for proper duplicate-argument suppression.
2064 ac_must_keep_next=false
2070 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2072 | -silent | --silent | --silen | --sile | --sil)
2075 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2078 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2080 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2081 if test $ac_must_keep_next = true; then
2082 ac_must_keep_next=false # Got value, back to normal.
2085 *=* | --config-cache | -C | -disable-* | --disable-* \
2086 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2087 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2088 | -with-* | --with-* | -without-* | --without-* | --x)
2089 case "$ac_configure_args0 " in
2090 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2093 -* ) ac_must_keep_next=true ;;
2096 ac_configure_args="$ac_configure_args '$ac_arg'"
2101 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2102 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2104 # When interrupted or exit'd, cleanup temporary files, and complete
2105 # config.log. We remove comments because anyway the quotes in there
2106 # would cause problems or look ugly.
2107 # WARNING: Use '\'' to represent an apostrophe within the trap.
2108 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2109 trap 'exit_status=$?
2110 # Save into config.log some information that might help in debugging.
2115 ## ---------------- ##
2116 ## Cache variables. ##
2117 ## ---------------- ##
2120 # The following way of writing the cache mishandles newlines in values,
2122 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2123 eval ac_val=\$$ac_var
2127 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2128 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2131 _ | IFS | as_nl) ;; #(
2132 *) $as_unset $ac_var ;;
2137 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2138 *${as_nl}ac_space=\ *)
2140 "s/'\''/'\''\\\\'\'''\''/g;
2141 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2144 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2152 ## ----------------- ##
2153 ## Output variables. ##
2154 ## ----------------- ##
2157 for ac_var in $ac_subst_vars
2159 eval ac_val=\$$ac_var
2161 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2163 echo "$ac_var='\''$ac_val'\''"
2167 if test -n "$ac_subst_files"; then
2169 ## ------------------- ##
2170 ## File substitutions. ##
2171 ## ------------------- ##
2174 for ac_var in $ac_subst_files
2176 eval ac_val=\$$ac_var
2178 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2180 echo "$ac_var='\''$ac_val'\''"
2185 if test -s confdefs.h; then
2195 test "$ac_signal" != 0 &&
2196 echo "$as_me: caught signal $ac_signal"
2197 echo "$as_me: exit $exit_status"
2199 rm -f core *.core core.conftest.* &&
2200 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2203 for ac_signal in 1 2 13 15; do
2204 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2208 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2209 rm -f -r conftest* confdefs.h
2211 # Predefined preprocessor variables.
2213 cat >>confdefs.h <<_ACEOF
2214 #define PACKAGE_NAME "$PACKAGE_NAME"
2218 cat >>confdefs.h <<_ACEOF
2219 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2223 cat >>confdefs.h <<_ACEOF
2224 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2228 cat >>confdefs.h <<_ACEOF
2229 #define PACKAGE_STRING "$PACKAGE_STRING"
2233 cat >>confdefs.h <<_ACEOF
2234 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2238 # Let the site file select an alternate cache file if it wants to.
2239 # Prefer explicitly selected file to automatically selected ones.
2240 if test -n "$CONFIG_SITE"; then
2241 set x "$CONFIG_SITE"
2242 elif test "x$prefix" != xNONE; then
2243 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2245 set x "$ac_default_prefix/share/config.site" \
2246 "$ac_default_prefix/etc/config.site"
2251 if test -r "$ac_site_file"; then
2252 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2253 echo "$as_me: loading site script $ac_site_file" >&6;}
2254 sed 's/^/| /' "$ac_site_file" >&5
2259 if test -r "$cache_file"; then
2260 # Some versions of bash will fail to source /dev/null (special
2261 # files actually), so we avoid doing that.
2262 if test -f "$cache_file"; then
2263 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2264 echo "$as_me: loading cache $cache_file" >&6;}
2266 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2267 *) . "./$cache_file";;
2271 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2272 echo "$as_me: creating cache $cache_file" >&6;}
2276 # Check that the precious variables saved in the cache have kept the same
2278 ac_cache_corrupted=false
2279 for ac_var in $ac_precious_vars; do
2280 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2281 eval ac_new_set=\$ac_env_${ac_var}_set
2282 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2283 eval ac_new_val=\$ac_env_${ac_var}_value
2284 case $ac_old_set,$ac_new_set in
2286 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2287 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2288 ac_cache_corrupted=: ;;
2290 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2291 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2292 ac_cache_corrupted=: ;;
2295 if test "x$ac_old_val" != "x$ac_new_val"; then
2296 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2297 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2298 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2299 echo "$as_me: former value: $ac_old_val" >&2;}
2300 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2301 echo "$as_me: current value: $ac_new_val" >&2;}
2302 ac_cache_corrupted=:
2305 # Pass precious variables to config.status.
2306 if test "$ac_new_set" = set; then
2308 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2309 *) ac_arg=$ac_var=$ac_new_val ;;
2311 case " $ac_configure_args " in
2312 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2313 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2317 if $ac_cache_corrupted; then
2318 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2319 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2320 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2321 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2322 { (exit 1); exit 1; }; }
2350 ac_cpp='$CPP $CPPFLAGS'
2351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2360 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2361 if test -f "$ac_dir/install-sh"; then
2363 ac_install_sh="$ac_aux_dir/install-sh -c"
2365 elif test -f "$ac_dir/install.sh"; then
2367 ac_install_sh="$ac_aux_dir/install.sh -c"
2369 elif test -f "$ac_dir/shtool"; then
2371 ac_install_sh="$ac_aux_dir/shtool install -c"
2375 if test -z "$ac_aux_dir"; then
2376 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2377 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2378 { (exit 1); exit 1; }; }
2381 # These three variables are undocumented and unsupported,
2382 # and are intended to be withdrawn in a future Autoconf release.
2383 # They can cause serious problems if a builder's source tree is in a directory
2384 # whose full name contains unusual characters.
2385 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2386 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2387 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2390 # Make sure we can run config.sub.
2391 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2392 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2393 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2394 { (exit 1); exit 1; }; }
2396 { echo "$as_me:$LINENO: checking build system type" >&5
2397 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2398 if test "${ac_cv_build+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2401 ac_build_alias=$build_alias
2402 test "x$ac_build_alias" = x &&
2403 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2404 test "x$ac_build_alias" = x &&
2405 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2406 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2407 { (exit 1); exit 1; }; }
2408 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2409 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2410 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2411 { (exit 1); exit 1; }; }
2414 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2415 echo "${ECHO_T}$ac_cv_build" >&6; }
2416 case $ac_cv_build in
2418 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2419 echo "$as_me: error: invalid value of canonical build" >&2;}
2420 { (exit 1); exit 1; }; };;
2423 ac_save_IFS=$IFS; IFS='-'
2429 # Remember, the first character of IFS is used to create $*,
2430 # except with old shells:
2433 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2436 { echo "$as_me:$LINENO: checking host system type" >&5
2437 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2438 if test "${ac_cv_host+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2441 if test "x$host_alias" = x; then
2442 ac_cv_host=$ac_cv_build
2444 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2445 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2446 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2447 { (exit 1); exit 1; }; }
2451 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2452 echo "${ECHO_T}$ac_cv_host" >&6; }
2455 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2456 echo "$as_me: error: invalid value of canonical host" >&2;}
2457 { (exit 1); exit 1; }; };;
2460 ac_save_IFS=$IFS; IFS='-'
2466 # Remember, the first character of IFS is used to create $*,
2467 # except with old shells:
2470 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2473 { echo "$as_me:$LINENO: checking target system type" >&5
2474 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2475 if test "${ac_cv_target+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 if test "x$target_alias" = x; then
2479 ac_cv_target=$ac_cv_host
2481 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2482 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2483 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2484 { (exit 1); exit 1; }; }
2488 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2489 echo "${ECHO_T}$ac_cv_target" >&6; }
2490 case $ac_cv_target in
2492 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2493 echo "$as_me: error: invalid value of canonical target" >&2;}
2494 { (exit 1); exit 1; }; };;
2496 target=$ac_cv_target
2497 ac_save_IFS=$IFS; IFS='-'
2503 # Remember, the first character of IFS is used to create $*,
2504 # except with old shells:
2507 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2510 # The aliases save the names the user supplied, while $host etc.
2511 # will get canonicalized.
2512 test -n "$target_alias" &&
2513 test "$program_prefix$program_suffix$program_transform_name" = \
2515 program_prefix=${target_alias}-
2519 wx_major_version_number=2
2520 wx_minor_version_number=9
2522 wx_subrelease_number=0
2524 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2525 WX_VERSION=$WX_RELEASE.$wx_release_number
2526 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2528 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2531 wx_top_builddir="`pwd`"
2544 USE_BSD= USE_DARWIN= USE_FREEBSD=
2550 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2556 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2558 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2560 DEFAULT_wxUSE_COCOA=0
2564 DEFAULT_wxUSE_MICROWIN=0
2565 DEFAULT_wxUSE_MOTIF=0
2571 DEFAULT_DEFAULT_wxUSE_COCOA=0
2572 DEFAULT_DEFAULT_wxUSE_GTK=0
2573 DEFAULT_DEFAULT_wxUSE_MAC=0
2574 DEFAULT_DEFAULT_wxUSE_MGL=0
2575 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2576 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2577 DEFAULT_DEFAULT_wxUSE_MSW=0
2578 DEFAULT_DEFAULT_wxUSE_PM=0
2579 DEFAULT_DEFAULT_wxUSE_X11=0
2580 DEFAULT_DEFAULT_wxUSE_DFB=0
2585 SAMPLES_RPATH_POSTLINK=
2587 DEFAULT_STD_FLAG=yes
2592 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2593 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2595 cat >>confdefs.h <<\_ACEOF
2600 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2604 cat >>confdefs.h <<\_ACEOF
2609 if test "x$TMP" = "xalpha"; then
2611 cat >>confdefs.h <<\_ACEOF
2616 DEFAULT_DEFAULT_wxUSE_GTK=1
2618 *-*-gnu* | *-*-k*bsd*-gnu )
2621 if test "x$TMP" = "xalpha"; then
2623 cat >>confdefs.h <<\_ACEOF
2628 DEFAULT_DEFAULT_wxUSE_GTK=1
2630 *-*-irix5* | *-*-irix6* )
2633 cat >>confdefs.h <<\_ACEOF
2637 cat >>confdefs.h <<\_ACEOF
2641 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2647 cat >>confdefs.h <<\_ACEOF
2651 cat >>confdefs.h <<\_ACEOF
2652 #define __SOLARIS__ 1
2655 cat >>confdefs.h <<\_ACEOF
2659 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2660 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2666 cat >>confdefs.h <<\_ACEOF
2670 cat >>confdefs.h <<\_ACEOF
2674 cat >>confdefs.h <<\_ACEOF
2678 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __FREEBSD__ 1
2687 cat >>confdefs.h <<\_ACEOF
2691 DEFAULT_DEFAULT_wxUSE_GTK=1
2693 *-*-openbsd*|*-*-mirbsd*)
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __OPENBSD__ 1
2700 cat >>confdefs.h <<\_ACEOF
2704 DEFAULT_DEFAULT_wxUSE_GTK=1
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __NETBSD__ 1
2713 cat >>confdefs.h <<\_ACEOF
2717 DEFAULT_DEFAULT_wxUSE_GTK=1
2718 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2720 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2725 cat >>confdefs.h <<\_ACEOF
2729 cat >>confdefs.h <<\_ACEOF
2733 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2734 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2739 cat >>confdefs.h <<\_ACEOF
2743 cat >>confdefs.h <<\_ACEOF
2747 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2752 cat >>confdefs.h <<\_ACEOF
2756 cat >>confdefs.h <<\_ACEOF
2760 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2767 cat >>confdefs.h <<\_ACEOF
2771 cat >>confdefs.h <<\_ACEOF
2775 cat >>confdefs.h <<\_ACEOF
2779 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __UNIXWARE__ 1
2792 *-*-cygwin* | *-*-mingw32* )
2795 DEFAULT_DEFAULT_wxUSE_MSW=1
2801 cat >>confdefs.h <<\_ACEOF
2806 DEFAULT_DEFAULT_wxUSE_MGL=1
2809 *-pc-os2_emx | *-pc-os2-emx )
2810 cat >>confdefs.h <<\_ACEOF
2815 cat >>confdefs.h <<\_ACEOF
2820 DEFAULT_DEFAULT_wxUSE_PM=1
2822 LDFLAGS="$LDFLAGS -Zcrtdll"
2823 ac_executable_extensions=".exe"
2824 export ac_executable_extensions
2828 for ac_dir in $PATH; do
2830 if test -z "$ac_TEMP_PATH"; then
2831 ac_TEMP_PATH="$ac_dir"
2833 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2836 export PATH="$ac_TEMP_PATH"
2845 cat >>confdefs.h <<\_ACEOF
2849 cat >>confdefs.h <<\_ACEOF
2850 #define __DARWIN__ 1
2853 cat >>confdefs.h <<\_ACEOF
2854 #define TARGET_CARBON 1
2857 DEFAULT_DEFAULT_wxUSE_MAC=1
2860 powerpc-apple-macos* )
2862 ac_cv_c_bigendian=yes
2864 DEFAULT_DEFAULT_wxUSE_MAC=1
2870 cat >>confdefs.h <<\_ACEOF
2877 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2878 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2879 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2880 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2882 DEFAULT_DEFAULT_wxUSE_X11=1
2883 DEFAULT_wxUSE_SHARED=no
2889 wx_arg_cache_file="configarg.cache"
2890 echo "loading argument cache $wx_arg_cache_file"
2891 rm -f ${wx_arg_cache_file}.tmp
2892 touch ${wx_arg_cache_file}.tmp
2893 touch ${wx_arg_cache_file}
2897 if test $DEBUG_CONFIGURE = 1; then
2898 DEFAULT_wxUSE_UNIVERSAL=no
2899 DEFAULT_wxUSE_STL=no
2901 DEFAULT_wxUSE_NANOX=no
2903 DEFAULT_wxUSE_THREADS=yes
2905 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2906 DEFAULT_wxUSE_OPTIMISE=no
2907 DEFAULT_wxUSE_PROFILE=no
2908 DEFAULT_wxUSE_NO_DEPS=no
2909 DEFAULT_wxUSE_VARARG_MACROS=no
2910 DEFAULT_wxUSE_NO_RTTI=no
2911 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2912 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2913 DEFAULT_wxUSE_RPATH=yes
2914 DEFAULT_wxUSE_PERMISSIVE=no
2915 DEFAULT_wxUSE_DEBUG_FLAG=yes
2916 DEFAULT_wxUSE_DEBUG_INFO=yes
2917 DEFAULT_wxUSE_DEBUG_GDB=yes
2918 DEFAULT_wxUSE_MEM_TRACING=no
2919 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2920 DEFAULT_wxUSE_DMALLOC=no
2921 DEFAULT_wxUSE_APPLE_IEEE=no
2923 DEFAULT_wxUSE_EXCEPTIONS=no
2924 DEFAULT_wxUSE_LOG=yes
2925 DEFAULT_wxUSE_LOGWINDOW=no
2926 DEFAULT_wxUSE_LOGGUI=no
2927 DEFAULT_wxUSE_LOGDIALOG=no
2929 DEFAULT_wxUSE_GUI=yes
2930 DEFAULT_wxUSE_CONTROLS=no
2932 DEFAULT_wxUSE_REGEX=no
2933 DEFAULT_wxUSE_XML=no
2934 DEFAULT_wxUSE_EXPAT=no
2935 DEFAULT_wxUSE_ZLIB=no
2936 DEFAULT_wxUSE_LIBPNG=no
2937 DEFAULT_wxUSE_LIBJPEG=no
2938 DEFAULT_wxUSE_LIBTIFF=no
2939 DEFAULT_wxUSE_LIBXPM=no
2940 DEFAULT_wxUSE_LIBMSPACK=no
2941 DEFAULT_wxUSE_LIBSDL=no
2942 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2943 DEFAULT_wxUSE_LIBGNOMEVFS=no
2944 DEFAULT_wxUSE_LIBHILDON=no
2945 DEFAULT_wxUSE_ODBC=no
2946 DEFAULT_wxUSE_OPENGL=no
2948 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2949 DEFAULT_wxUSE_STACKWALKER=no
2950 DEFAULT_wxUSE_DEBUGREPORT=no
2951 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2952 DEFAULT_wxUSE_STD_IOSTREAM=no
2953 DEFAULT_wxUSE_STD_STRING=no
2954 DEFAULT_wxUSE_CMDLINE_PARSER=no
2955 DEFAULT_wxUSE_DATETIME=no
2956 DEFAULT_wxUSE_TIMER=no
2957 DEFAULT_wxUSE_STOPWATCH=no
2958 DEFAULT_wxUSE_FILE=no
2959 DEFAULT_wxUSE_FFILE=no
2960 DEFAULT_wxUSE_STDPATHS=no
2961 DEFAULT_wxUSE_TEXTBUFFER=no
2962 DEFAULT_wxUSE_TEXTFILE=no
2963 DEFAULT_wxUSE_SOUND=no
2964 DEFAULT_wxUSE_MEDIACTRL=no
2965 DEFAULT_wxUSE_GSTREAMER8=no
2966 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2967 DEFAULT_wxUSE_INTL=no
2968 DEFAULT_wxUSE_CONFIG=no
2969 DEFAULT_wxUSE_FONTMAP=no
2970 DEFAULT_wxUSE_STREAMS=no
2971 DEFAULT_wxUSE_SOCKETS=no
2972 DEFAULT_wxUSE_OLE=no
2973 DEFAULT_wxUSE_DATAOBJ=no
2974 DEFAULT_wxUSE_DIALUP_MANAGER=no
2975 DEFAULT_wxUSE_JOYSTICK=no
2976 DEFAULT_wxUSE_DYNLIB_CLASS=no
2977 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2978 DEFAULT_wxUSE_LONGLONG=no
2979 DEFAULT_wxUSE_GEOMETRY=no
2981 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2982 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2983 DEFAULT_wxUSE_POSTSCRIPT=no
2985 DEFAULT_wxUSE_CLIPBOARD=no
2986 DEFAULT_wxUSE_TOOLTIPS=no
2987 DEFAULT_wxUSE_DRAG_AND_DROP=no
2988 DEFAULT_wxUSE_DRAGIMAGE=no
2989 DEFAULT_wxUSE_SPLINES=no
2990 DEFAULT_wxUSE_MOUSEWHEEL=no
2992 DEFAULT_wxUSE_MDI=no
2993 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2994 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2995 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2997 DEFAULT_wxUSE_CONSTRAINTS=no
2998 DEFAULT_wxUSE_IPC=no
2999 DEFAULT_wxUSE_HELP=no
3000 DEFAULT_wxUSE_MS_HTML_HELP=no
3001 DEFAULT_wxUSE_WXHTML_HELP=no
3002 DEFAULT_wxUSE_TREELAYOUT=no
3003 DEFAULT_wxUSE_METAFILE=no
3004 DEFAULT_wxUSE_MIMETYPE=no
3005 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3006 DEFAULT_wxUSE_PROTOCOL=no
3007 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3008 DEFAULT_wxUSE_PROTOCOL_FTP=no
3009 DEFAULT_wxUSE_PROTOCOL_FILE=no
3010 DEFAULT_wxUSE_URL=no
3011 DEFAULT_wxUSE_VARIANT=no
3013 DEFAULT_wxUSE_ABOUTDLG=no
3014 DEFAULT_wxUSE_COMMONDLGS=no
3015 DEFAULT_wxUSE_CHOICEDLG=no
3016 DEFAULT_wxUSE_COLOURDLG=no
3017 DEFAULT_wxUSE_DIRDLG=no
3018 DEFAULT_wxUSE_FILEDLG=no
3019 DEFAULT_wxUSE_FINDREPLDLG=no
3020 DEFAULT_wxUSE_FONTDLG=no
3021 DEFAULT_wxUSE_MSGDLG=no
3022 DEFAULT_wxUSE_NUMBERDLG=no
3023 DEFAULT_wxUSE_TEXTDLG=no
3024 DEFAULT_wxUSE_SPLASH=no
3025 DEFAULT_wxUSE_STARTUP_TIPS=no
3026 DEFAULT_wxUSE_PROGRESSDLG=no
3027 DEFAULT_wxUSE_WIZARDDLG=no
3029 DEFAULT_wxUSE_MENUS=no
3030 DEFAULT_wxUSE_MINIFRAME=no
3031 DEFAULT_wxUSE_HTML=no
3032 DEFAULT_wxUSE_RICHTEXT=no
3033 DEFAULT_wxUSE_XRC=no
3034 DEFAULT_wxUSE_AUI=no
3035 DEFAULT_wxUSE_STC=no
3036 DEFAULT_wxUSE_WEBKIT=no
3037 DEFAULT_wxUSE_FILESYSTEM=no
3038 DEFAULT_wxUSE_FS_INET=no
3039 DEFAULT_wxUSE_FS_ZIP=no
3040 DEFAULT_wxUSE_FS_ARCHIVE=no
3041 DEFAULT_wxUSE_BUSYINFO=no
3042 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3043 DEFAULT_wxUSE_ZIPSTREAM=no
3044 DEFAULT_wxUSE_TARSTREAM=no
3045 DEFAULT_wxUSE_VALIDATORS=no
3047 DEFAULT_wxUSE_ACCEL=no
3048 DEFAULT_wxUSE_ANIMATIONCTRL=no
3049 DEFAULT_wxUSE_BUTTON=no
3050 DEFAULT_wxUSE_BMPBUTTON=no
3051 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3052 DEFAULT_wxUSE_CALCTRL=no
3053 DEFAULT_wxUSE_CARET=no
3054 DEFAULT_wxUSE_CHECKBOX=no
3055 DEFAULT_wxUSE_CHECKLST=no
3056 DEFAULT_wxUSE_CHOICE=no
3057 DEFAULT_wxUSE_CHOICEBOOK=no
3058 DEFAULT_wxUSE_COLLPANE=no
3059 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3060 DEFAULT_wxUSE_COMBOBOX=no
3061 DEFAULT_wxUSE_COMBOCTRL=no
3062 DEFAULT_wxUSE_DATEPICKCTRL=no
3063 DEFAULT_wxUSE_DISPLAY=no
3064 DEFAULT_wxUSE_DETECT_SM=no
3065 DEFAULT_wxUSE_DIRPICKERCTRL=no
3066 DEFAULT_wxUSE_FILEPICKERCTRL=no
3067 DEFAULT_wxUSE_FONTPICKERCTRL=no
3068 DEFAULT_wxUSE_GAUGE=no
3069 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3070 DEFAULT_wxUSE_GRID=no
3071 DEFAULT_wxUSE_HYPERLINKCTRL=no
3072 DEFAULT_wxUSE_DATAVIEWCTRL=no
3073 DEFAULT_wxUSE_IMAGLIST=no
3074 DEFAULT_wxUSE_LISTBOOK=no
3075 DEFAULT_wxUSE_LISTBOX=no
3076 DEFAULT_wxUSE_LISTCTRL=no
3077 DEFAULT_wxUSE_NOTEBOOK=no
3078 DEFAULT_wxUSE_ODCOMBOBOX=no
3079 DEFAULT_wxUSE_RADIOBOX=no
3080 DEFAULT_wxUSE_RADIOBTN=no
3081 DEFAULT_wxUSE_SASH=no
3082 DEFAULT_wxUSE_SCROLLBAR=no
3083 DEFAULT_wxUSE_SEARCHCTRL=no
3084 DEFAULT_wxUSE_SLIDER=no
3085 DEFAULT_wxUSE_SPINBTN=no
3086 DEFAULT_wxUSE_SPINCTRL=no
3087 DEFAULT_wxUSE_SPLITTER=no
3088 DEFAULT_wxUSE_STATBMP=no
3089 DEFAULT_wxUSE_STATBOX=no
3090 DEFAULT_wxUSE_STATLINE=no
3091 DEFAULT_wxUSE_STATTEXT=no
3092 DEFAULT_wxUSE_STATUSBAR=yes
3093 DEFAULT_wxUSE_TAB_DIALOG=no
3094 DEFAULT_wxUSE_TEXTCTRL=no
3095 DEFAULT_wxUSE_TOGGLEBTN=no
3096 DEFAULT_wxUSE_TOOLBAR=no
3097 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3098 DEFAULT_wxUSE_TREEBOOK=no
3099 DEFAULT_wxUSE_TOOLBOOK=no
3100 DEFAULT_wxUSE_TREECTRL=no
3101 DEFAULT_wxUSE_POPUPWIN=no
3102 DEFAULT_wxUSE_TIPWINDOW=no
3104 DEFAULT_wxUSE_UNICODE=no
3105 DEFAULT_wxUSE_UNICODE_MSLU=no
3106 DEFAULT_wxUSE_WCSRTOMBS=no
3108 DEFAULT_wxUSE_PALETTE=no
3109 DEFAULT_wxUSE_IMAGE=no
3110 DEFAULT_wxUSE_GIF=no
3111 DEFAULT_wxUSE_PCX=no
3112 DEFAULT_wxUSE_TGA=no
3113 DEFAULT_wxUSE_PNM=no
3114 DEFAULT_wxUSE_IFF=no
3115 DEFAULT_wxUSE_XPM=no
3116 DEFAULT_wxUSE_ICO_CUR=no
3117 DEFAULT_wxUSE_ACCESSIBILITY=no
3119 DEFAULT_wxUSE_MONOLITHIC=no
3120 DEFAULT_wxUSE_PLUGINS=no
3121 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3123 DEFAULT_wxUSE_UNIVERSAL=no
3124 DEFAULT_wxUSE_STL=no
3126 DEFAULT_wxUSE_NANOX=no
3128 DEFAULT_wxUSE_THREADS=yes
3130 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3131 DEFAULT_wxUSE_OPTIMISE=yes
3132 DEFAULT_wxUSE_PROFILE=no
3133 DEFAULT_wxUSE_NO_DEPS=no
3134 DEFAULT_wxUSE_VARARG_MACROS=yes
3135 DEFAULT_wxUSE_NO_RTTI=no
3136 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3137 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3138 DEFAULT_wxUSE_RPATH=yes
3139 DEFAULT_wxUSE_PERMISSIVE=no
3140 DEFAULT_wxUSE_DEBUG_FLAG=no
3141 DEFAULT_wxUSE_DEBUG_INFO=no
3142 DEFAULT_wxUSE_DEBUG_GDB=no
3143 DEFAULT_wxUSE_MEM_TRACING=no
3144 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3145 DEFAULT_wxUSE_DMALLOC=no
3146 DEFAULT_wxUSE_APPLE_IEEE=yes
3148 DEFAULT_wxUSE_EXCEPTIONS=yes
3149 DEFAULT_wxUSE_LOG=yes
3150 DEFAULT_wxUSE_LOGWINDOW=yes
3151 DEFAULT_wxUSE_LOGGUI=yes
3152 DEFAULT_wxUSE_LOGDIALOG=yes
3154 DEFAULT_wxUSE_GUI=yes
3156 DEFAULT_wxUSE_REGEX=yes
3157 DEFAULT_wxUSE_XML=yes
3158 DEFAULT_wxUSE_EXPAT=yes
3159 DEFAULT_wxUSE_ZLIB=yes
3160 DEFAULT_wxUSE_LIBPNG=yes
3161 DEFAULT_wxUSE_LIBJPEG=yes
3162 DEFAULT_wxUSE_LIBTIFF=yes
3163 DEFAULT_wxUSE_LIBXPM=yes
3164 DEFAULT_wxUSE_LIBMSPACK=yes
3165 DEFAULT_wxUSE_LIBSDL=no
3166 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3167 DEFAULT_wxUSE_LIBGNOMEVFS=no
3168 DEFAULT_wxUSE_LIBHILDON=no
3169 DEFAULT_wxUSE_ODBC=no
3170 DEFAULT_wxUSE_OPENGL=no
3172 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3173 DEFAULT_wxUSE_STACKWALKER=yes
3174 DEFAULT_wxUSE_DEBUGREPORT=yes
3175 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3176 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3177 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3178 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3179 DEFAULT_wxUSE_DATETIME=yes
3180 DEFAULT_wxUSE_TIMER=yes
3181 DEFAULT_wxUSE_STOPWATCH=yes
3182 DEFAULT_wxUSE_FILE=yes
3183 DEFAULT_wxUSE_FFILE=yes
3184 DEFAULT_wxUSE_STDPATHS=yes
3185 DEFAULT_wxUSE_TEXTBUFFER=yes
3186 DEFAULT_wxUSE_TEXTFILE=yes
3187 DEFAULT_wxUSE_SOUND=yes
3188 DEFAULT_wxUSE_MEDIACTRL=no
3189 DEFAULT_wxUSE_GSTREAMER8=no
3190 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3191 DEFAULT_wxUSE_INTL=yes
3192 DEFAULT_wxUSE_CONFIG=yes
3193 DEFAULT_wxUSE_FONTMAP=yes
3194 DEFAULT_wxUSE_STREAMS=yes
3195 DEFAULT_wxUSE_SOCKETS=yes
3196 DEFAULT_wxUSE_OLE=yes
3197 DEFAULT_wxUSE_DATAOBJ=yes
3198 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3199 DEFAULT_wxUSE_JOYSTICK=yes
3200 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3201 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3202 DEFAULT_wxUSE_LONGLONG=yes
3203 DEFAULT_wxUSE_GEOMETRY=yes
3205 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3206 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3207 DEFAULT_wxUSE_POSTSCRIPT=yes
3209 DEFAULT_wxUSE_CLIPBOARD=yes
3210 DEFAULT_wxUSE_TOOLTIPS=yes
3211 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3212 DEFAULT_wxUSE_DRAGIMAGE=yes
3213 DEFAULT_wxUSE_SPLINES=yes
3214 DEFAULT_wxUSE_MOUSEWHEEL=yes
3216 DEFAULT_wxUSE_MDI=yes
3217 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3218 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3219 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3221 DEFAULT_wxUSE_CONSTRAINTS=yes
3222 DEFAULT_wxUSE_IPC=yes
3223 DEFAULT_wxUSE_HELP=yes
3224 DEFAULT_wxUSE_MS_HTML_HELP=yes
3225 DEFAULT_wxUSE_WXHTML_HELP=yes
3226 DEFAULT_wxUSE_TREELAYOUT=yes
3227 DEFAULT_wxUSE_METAFILE=yes
3228 DEFAULT_wxUSE_MIMETYPE=yes
3229 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3230 DEFAULT_wxUSE_PROTOCOL=yes
3231 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3232 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3233 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3234 DEFAULT_wxUSE_URL=yes
3235 DEFAULT_wxUSE_VARIANT=yes
3237 DEFAULT_wxUSE_ABOUTDLG=yes
3238 DEFAULT_wxUSE_COMMONDLGS=yes
3239 DEFAULT_wxUSE_CHOICEDLG=yes
3240 DEFAULT_wxUSE_COLOURDLG=yes
3241 DEFAULT_wxUSE_DIRDLG=yes
3242 DEFAULT_wxUSE_FILEDLG=yes
3243 DEFAULT_wxUSE_FINDREPLDLG=yes
3244 DEFAULT_wxUSE_FONTDLG=yes
3245 DEFAULT_wxUSE_MSGDLG=yes
3246 DEFAULT_wxUSE_NUMBERDLG=yes
3247 DEFAULT_wxUSE_TEXTDLG=yes
3248 DEFAULT_wxUSE_SPLASH=yes
3249 DEFAULT_wxUSE_STARTUP_TIPS=yes
3250 DEFAULT_wxUSE_PROGRESSDLG=yes
3251 DEFAULT_wxUSE_WIZARDDLG=yes
3253 DEFAULT_wxUSE_MENUS=yes
3254 DEFAULT_wxUSE_MINIFRAME=yes
3255 DEFAULT_wxUSE_HTML=yes
3256 DEFAULT_wxUSE_RICHTEXT=yes
3257 DEFAULT_wxUSE_XRC=yes
3258 DEFAULT_wxUSE_AUI=yes
3259 DEFAULT_wxUSE_STC=yes
3260 DEFAULT_wxUSE_WEBKIT=yes
3261 DEFAULT_wxUSE_FILESYSTEM=yes
3262 DEFAULT_wxUSE_FS_INET=yes
3263 DEFAULT_wxUSE_FS_ZIP=yes
3264 DEFAULT_wxUSE_FS_ARCHIVE=yes
3265 DEFAULT_wxUSE_BUSYINFO=yes
3266 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3267 DEFAULT_wxUSE_ZIPSTREAM=yes
3268 DEFAULT_wxUSE_TARSTREAM=yes
3269 DEFAULT_wxUSE_VALIDATORS=yes
3271 DEFAULT_wxUSE_ACCEL=yes
3272 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3273 DEFAULT_wxUSE_BUTTON=yes
3274 DEFAULT_wxUSE_BMPBUTTON=yes
3275 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3276 DEFAULT_wxUSE_CALCTRL=yes
3277 DEFAULT_wxUSE_CARET=yes
3278 DEFAULT_wxUSE_CHECKBOX=yes
3279 DEFAULT_wxUSE_CHECKLST=yes
3280 DEFAULT_wxUSE_CHOICE=yes
3281 DEFAULT_wxUSE_CHOICEBOOK=yes
3282 DEFAULT_wxUSE_COLLPANE=yes
3283 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3284 DEFAULT_wxUSE_COMBOBOX=yes
3285 DEFAULT_wxUSE_COMBOCTRL=yes
3286 DEFAULT_wxUSE_DATEPICKCTRL=yes
3287 DEFAULT_wxUSE_DISPLAY=yes
3288 DEFAULT_wxUSE_DETECT_SM=yes
3289 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3290 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3291 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3292 DEFAULT_wxUSE_GAUGE=yes
3293 DEFAULT_wxUSE_GRID=yes
3294 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3295 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3296 DEFAULT_wxUSE_DATAVIEWCTRL=no
3297 DEFAULT_wxUSE_IMAGLIST=yes
3298 DEFAULT_wxUSE_LISTBOOK=yes
3299 DEFAULT_wxUSE_LISTBOX=yes
3300 DEFAULT_wxUSE_LISTCTRL=yes
3301 DEFAULT_wxUSE_NOTEBOOK=yes
3302 DEFAULT_wxUSE_ODCOMBOBOX=yes
3303 DEFAULT_wxUSE_RADIOBOX=yes
3304 DEFAULT_wxUSE_RADIOBTN=yes
3305 DEFAULT_wxUSE_SASH=yes
3306 DEFAULT_wxUSE_SCROLLBAR=yes
3307 DEFAULT_wxUSE_SEARCHCTRL=yes
3308 DEFAULT_wxUSE_SLIDER=yes
3309 DEFAULT_wxUSE_SPINBTN=yes
3310 DEFAULT_wxUSE_SPINCTRL=yes
3311 DEFAULT_wxUSE_SPLITTER=yes
3312 DEFAULT_wxUSE_STATBMP=yes
3313 DEFAULT_wxUSE_STATBOX=yes
3314 DEFAULT_wxUSE_STATLINE=yes
3315 DEFAULT_wxUSE_STATTEXT=yes
3316 DEFAULT_wxUSE_STATUSBAR=yes
3317 DEFAULT_wxUSE_TAB_DIALOG=no
3318 DEFAULT_wxUSE_TEXTCTRL=yes
3319 DEFAULT_wxUSE_TOGGLEBTN=yes
3320 DEFAULT_wxUSE_TOOLBAR=yes
3321 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3322 DEFAULT_wxUSE_TREEBOOK=yes
3323 DEFAULT_wxUSE_TOOLBOOK=yes
3324 DEFAULT_wxUSE_TREECTRL=yes
3325 DEFAULT_wxUSE_POPUPWIN=yes
3326 DEFAULT_wxUSE_TIPWINDOW=yes
3328 DEFAULT_wxUSE_UNICODE=no
3329 DEFAULT_wxUSE_UNICODE_MSLU=yes
3330 DEFAULT_wxUSE_WCSRTOMBS=no
3332 DEFAULT_wxUSE_PALETTE=yes
3333 DEFAULT_wxUSE_IMAGE=yes
3334 DEFAULT_wxUSE_GIF=yes
3335 DEFAULT_wxUSE_PCX=yes
3336 DEFAULT_wxUSE_TGA=yes
3337 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3338 DEFAULT_wxUSE_XPM=yes
3339 DEFAULT_wxUSE_ICO_CUR=yes
3340 DEFAULT_wxUSE_ACCESSIBILITY=no
3342 DEFAULT_wxUSE_MONOLITHIC=no
3343 DEFAULT_wxUSE_PLUGINS=no
3344 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3346 DEFAULT_wxUSE_GTK2=yes
3352 for toolkit in `echo $ALL_TOOLKITS`; do
3353 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3354 if test "x$LINE" != "x" ; then
3355 has_toolkit_in_cache=1
3356 eval "DEFAULT_$LINE"
3357 eval "CACHE_$toolkit=1"
3359 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3360 if test "x$LINE" != "x" ; then
3361 eval "DEFAULT_$LINE"
3369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3370 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3372 # Check whether --enable-gui was given.
3373 if test "${enable_gui+set}" = set; then
3374 enableval=$enable_gui;
3375 if test "$enableval" = yes; then
3376 ac_cv_use_gui='wxUSE_GUI=yes'
3378 ac_cv_use_gui='wxUSE_GUI=no'
3383 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3384 if test "x$LINE" != x ; then
3385 eval "DEFAULT_$LINE"
3390 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3395 eval "$ac_cv_use_gui"
3396 if test "$no_cache" != 1; then
3397 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3400 if test "$wxUSE_GUI" = yes; then
3401 { echo "$as_me:$LINENO: result: yes" >&5
3402 echo "${ECHO_T}yes" >&6; }
3404 { echo "$as_me:$LINENO: result: no" >&5
3405 echo "${ECHO_T}no" >&6; }
3410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3411 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3413 # Check whether --enable-monolithic was given.
3414 if test "${enable_monolithic+set}" = set; then
3415 enableval=$enable_monolithic;
3416 if test "$enableval" = yes; then
3417 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3419 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3424 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3425 if test "x$LINE" != x ; then
3426 eval "DEFAULT_$LINE"
3431 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3436 eval "$ac_cv_use_monolithic"
3437 if test "$no_cache" != 1; then
3438 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3441 if test "$wxUSE_MONOLITHIC" = yes; then
3442 { echo "$as_me:$LINENO: result: yes" >&5
3443 echo "${ECHO_T}yes" >&6; }
3445 { echo "$as_me:$LINENO: result: no" >&5
3446 echo "${ECHO_T}no" >&6; }
3451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3452 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3454 # Check whether --enable-plugins was given.
3455 if test "${enable_plugins+set}" = set; then
3456 enableval=$enable_plugins;
3457 if test "$enableval" = yes; then
3458 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3460 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3465 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3466 if test "x$LINE" != x ; then
3467 eval "DEFAULT_$LINE"
3472 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3477 eval "$ac_cv_use_plugins"
3478 if test "$no_cache" != 1; then
3479 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3482 if test "$wxUSE_PLUGINS" = yes; then
3483 { echo "$as_me:$LINENO: result: yes" >&5
3484 echo "${ECHO_T}yes" >&6; }
3486 { echo "$as_me:$LINENO: result: no" >&5
3487 echo "${ECHO_T}no" >&6; }
3492 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3493 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3496 # Check whether --with-subdirs was given.
3497 if test "${with_subdirs+set}" = set; then
3498 withval=$with_subdirs;
3499 if test "$withval" = yes; then
3500 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3502 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3507 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3508 if test "x$LINE" != x ; then
3509 eval "DEFAULT_$LINE"
3514 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3519 eval "$ac_cv_use_subdirs"
3520 if test "$no_cache" != 1; then
3521 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3524 if test "$wxWITH_SUBDIRS" = yes; then
3525 { echo "$as_me:$LINENO: result: yes" >&5
3526 echo "${ECHO_T}yes" >&6; }
3528 { echo "$as_me:$LINENO: result: no" >&5
3529 echo "${ECHO_T}no" >&6; }
3533 if test "$wxUSE_GUI" = "yes"; then
3537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3538 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3540 # Check whether --enable-universal was given.
3541 if test "${enable_universal+set}" = set; then
3542 enableval=$enable_universal;
3543 if test "$enableval" = yes; then
3544 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3546 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3551 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3552 if test "x$LINE" != x ; then
3553 eval "DEFAULT_$LINE"
3558 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3563 eval "$ac_cv_use_universal"
3564 if test "$no_cache" != 1; then
3565 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3568 if test "$wxUSE_UNIVERSAL" = yes; then
3569 { echo "$as_me:$LINENO: result: yes" >&5
3570 echo "${ECHO_T}yes" >&6; }
3572 { echo "$as_me:$LINENO: result: no" >&5
3573 echo "${ECHO_T}no" >&6; }
3577 # Check whether --with-gtk was given.
3578 if test "${with_gtk+set}" = set; then
3579 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3583 # Check whether --with-motif was given.
3584 if test "${with_motif+set}" = set; then
3585 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3589 # Check whether --with-mac was given.
3590 if test "${with_mac+set}" = set; then
3591 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3595 # Check whether --with-cocoa was given.
3596 if test "${with_cocoa+set}" = set; then
3597 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3601 # Check whether --with-wine was given.
3602 if test "${with_wine+set}" = set; then
3603 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3607 # Check whether --with-msw was given.
3608 if test "${with_msw+set}" = set; then
3609 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3613 # Check whether --with-pm was given.
3614 if test "${with_pm+set}" = set; then
3615 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3619 # Check whether --with-mgl was given.
3620 if test "${with_mgl+set}" = set; then
3621 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3625 # Check whether --with-directfb was given.
3626 if test "${with_directfb+set}" = set; then
3627 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3631 # Check whether --with-microwin was given.
3632 if test "${with_microwin+set}" = set; then
3633 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3637 # Check whether --with-x11 was given.
3638 if test "${with_x11+set}" = set; then
3639 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3645 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3647 # Check whether --enable-nanox was given.
3648 if test "${enable_nanox+set}" = set; then
3649 enableval=$enable_nanox;
3650 if test "$enableval" = yes; then
3651 ac_cv_use_nanox='wxUSE_NANOX=yes'
3653 ac_cv_use_nanox='wxUSE_NANOX=no'
3658 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3659 if test "x$LINE" != x ; then
3660 eval "DEFAULT_$LINE"
3665 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3670 eval "$ac_cv_use_nanox"
3671 if test "$no_cache" != 1; then
3672 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3675 if test "$wxUSE_NANOX" = yes; then
3676 { echo "$as_me:$LINENO: result: yes" >&5
3677 echo "${ECHO_T}yes" >&6; }
3679 { echo "$as_me:$LINENO: result: no" >&5
3680 echo "${ECHO_T}no" >&6; }
3684 # Check whether --enable-gtk2 was given.
3685 if test "${enable_gtk2+set}" = set; then
3686 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3692 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3694 # Check whether --enable-gpe was given.
3695 if test "${enable_gpe+set}" = set; then
3696 enableval=$enable_gpe;
3697 if test "$enableval" = yes; then
3698 ac_cv_use_gpe='wxUSE_GPE=yes'
3700 ac_cv_use_gpe='wxUSE_GPE=no'
3705 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x ; then
3707 eval "DEFAULT_$LINE"
3712 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3717 eval "$ac_cv_use_gpe"
3718 if test "$no_cache" != 1; then
3719 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3722 if test "$wxUSE_GPE" = yes; then
3723 { echo "$as_me:$LINENO: result: yes" >&5
3724 echo "${ECHO_T}yes" >&6; }
3726 { echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6; }
3732 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3733 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3736 # Check whether --with-libpng was given.
3737 if test "${with_libpng+set}" = set; then
3738 withval=$with_libpng;
3739 if test "$withval" = yes; then
3740 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3741 elif test "$withval" = no; then
3742 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3743 elif test "$withval" = sys; then
3744 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3745 elif test "$withval" = builtin; then
3746 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3748 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3749 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3750 { (exit 1); exit 1; }; }
3755 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x ; then
3757 eval "DEFAULT_$LINE"
3762 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3767 eval "$ac_cv_use_libpng"
3768 if test "$no_cache" != 1; then
3769 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3772 if test "$wxUSE_LIBPNG" = yes; then
3773 { echo "$as_me:$LINENO: result: yes" >&5
3774 echo "${ECHO_T}yes" >&6; }
3775 elif test "$wxUSE_LIBPNG" = no; then
3776 { echo "$as_me:$LINENO: result: no" >&5
3777 echo "${ECHO_T}no" >&6; }
3778 elif test "$wxUSE_LIBPNG" = sys; then
3779 { echo "$as_me:$LINENO: result: system version" >&5
3780 echo "${ECHO_T}system version" >&6; }
3781 elif test "$wxUSE_LIBPNG" = builtin; then
3782 { echo "$as_me:$LINENO: result: builtin version" >&5
3783 echo "${ECHO_T}builtin version" >&6; }
3785 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3786 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3787 { (exit 1); exit 1; }; }
3791 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3792 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3795 # Check whether --with-libjpeg was given.
3796 if test "${with_libjpeg+set}" = set; then
3797 withval=$with_libjpeg;
3798 if test "$withval" = yes; then
3799 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3800 elif test "$withval" = no; then
3801 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3802 elif test "$withval" = sys; then
3803 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3804 elif test "$withval" = builtin; then
3805 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3807 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3808 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3809 { (exit 1); exit 1; }; }
3814 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3815 if test "x$LINE" != x ; then
3816 eval "DEFAULT_$LINE"
3821 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3826 eval "$ac_cv_use_libjpeg"
3827 if test "$no_cache" != 1; then
3828 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3831 if test "$wxUSE_LIBJPEG" = yes; then
3832 { echo "$as_me:$LINENO: result: yes" >&5
3833 echo "${ECHO_T}yes" >&6; }
3834 elif test "$wxUSE_LIBJPEG" = no; then
3835 { echo "$as_me:$LINENO: result: no" >&5
3836 echo "${ECHO_T}no" >&6; }
3837 elif test "$wxUSE_LIBJPEG" = sys; then
3838 { echo "$as_me:$LINENO: result: system version" >&5
3839 echo "${ECHO_T}system version" >&6; }
3840 elif test "$wxUSE_LIBJPEG" = builtin; then
3841 { echo "$as_me:$LINENO: result: builtin version" >&5
3842 echo "${ECHO_T}builtin version" >&6; }
3844 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3845 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3846 { (exit 1); exit 1; }; }
3850 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3851 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3854 # Check whether --with-libtiff was given.
3855 if test "${with_libtiff+set}" = set; then
3856 withval=$with_libtiff;
3857 if test "$withval" = yes; then
3858 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3859 elif test "$withval" = no; then
3860 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3861 elif test "$withval" = sys; then
3862 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3863 elif test "$withval" = builtin; then
3864 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3866 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3867 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3868 { (exit 1); exit 1; }; }
3873 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3874 if test "x$LINE" != x ; then
3875 eval "DEFAULT_$LINE"
3880 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3885 eval "$ac_cv_use_libtiff"
3886 if test "$no_cache" != 1; then
3887 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3890 if test "$wxUSE_LIBTIFF" = yes; then
3891 { echo "$as_me:$LINENO: result: yes" >&5
3892 echo "${ECHO_T}yes" >&6; }
3893 elif test "$wxUSE_LIBTIFF" = no; then
3894 { echo "$as_me:$LINENO: result: no" >&5
3895 echo "${ECHO_T}no" >&6; }
3896 elif test "$wxUSE_LIBTIFF" = sys; then
3897 { echo "$as_me:$LINENO: result: system version" >&5
3898 echo "${ECHO_T}system version" >&6; }
3899 elif test "$wxUSE_LIBTIFF" = builtin; then
3900 { echo "$as_me:$LINENO: result: builtin version" >&5
3901 echo "${ECHO_T}builtin version" >&6; }
3903 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3904 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3905 { (exit 1); exit 1; }; }
3909 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3910 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3913 # Check whether --with-libxpm was given.
3914 if test "${with_libxpm+set}" = set; then
3915 withval=$with_libxpm;
3916 if test "$withval" = yes; then
3917 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3918 elif test "$withval" = no; then
3919 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3920 elif test "$withval" = sys; then
3921 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3922 elif test "$withval" = builtin; then
3923 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3925 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3926 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3927 { (exit 1); exit 1; }; }
3932 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3933 if test "x$LINE" != x ; then
3934 eval "DEFAULT_$LINE"
3939 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3944 eval "$ac_cv_use_libxpm"
3945 if test "$no_cache" != 1; then
3946 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3949 if test "$wxUSE_LIBXPM" = yes; then
3950 { echo "$as_me:$LINENO: result: yes" >&5
3951 echo "${ECHO_T}yes" >&6; }
3952 elif test "$wxUSE_LIBXPM" = no; then
3953 { echo "$as_me:$LINENO: result: no" >&5
3954 echo "${ECHO_T}no" >&6; }
3955 elif test "$wxUSE_LIBXPM" = sys; then
3956 { echo "$as_me:$LINENO: result: system version" >&5
3957 echo "${ECHO_T}system version" >&6; }
3958 elif test "$wxUSE_LIBXPM" = builtin; then
3959 { echo "$as_me:$LINENO: result: builtin version" >&5
3960 echo "${ECHO_T}builtin version" >&6; }
3962 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3963 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3964 { (exit 1); exit 1; }; }
3969 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3970 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3973 # Check whether --with-libmspack was given.
3974 if test "${with_libmspack+set}" = set; then
3975 withval=$with_libmspack;
3976 if test "$withval" = yes; then
3977 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3979 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3984 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x ; then
3986 eval "DEFAULT_$LINE"
3991 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3996 eval "$ac_cv_use_libmspack"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4001 if test "$wxUSE_LIBMSPACK" = yes; then
4002 { echo "$as_me:$LINENO: result: yes" >&5
4003 echo "${ECHO_T}yes" >&6; }
4005 { echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6; }
4011 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4012 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4015 # Check whether --with-sdl was given.
4016 if test "${with_sdl+set}" = set; then
4018 if test "$withval" = yes; then
4019 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4021 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4026 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4027 if test "x$LINE" != x ; then
4028 eval "DEFAULT_$LINE"
4033 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4038 eval "$ac_cv_use_sdl"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4043 if test "$wxUSE_LIBSDL" = yes; then
4044 { echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6; }
4047 { echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6; }
4053 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4054 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4057 # Check whether --with-gnomeprint was given.
4058 if test "${with_gnomeprint+set}" = set; then
4059 withval=$with_gnomeprint;
4060 if test "$withval" = yes; then
4061 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4063 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4068 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4075 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4080 eval "$ac_cv_use_gnomeprint"
4081 if test "$no_cache" != 1; then
4082 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4085 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4086 { echo "$as_me:$LINENO: result: yes" >&5
4087 echo "${ECHO_T}yes" >&6; }
4089 { echo "$as_me:$LINENO: result: no" >&5
4090 echo "${ECHO_T}no" >&6; }
4095 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4096 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4099 # Check whether --with-gnomevfs was given.
4100 if test "${with_gnomevfs+set}" = set; then
4101 withval=$with_gnomevfs;
4102 if test "$withval" = yes; then
4103 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4105 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4110 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4111 if test "x$LINE" != x ; then
4112 eval "DEFAULT_$LINE"
4117 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4122 eval "$ac_cv_use_gnomevfs"
4123 if test "$no_cache" != 1; then
4124 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4127 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4128 { echo "$as_me:$LINENO: result: yes" >&5
4129 echo "${ECHO_T}yes" >&6; }
4131 { echo "$as_me:$LINENO: result: no" >&5
4132 echo "${ECHO_T}no" >&6; }
4137 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4138 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4141 # Check whether --with-hildon was given.
4142 if test "${with_hildon+set}" = set; then
4143 withval=$with_hildon;
4144 if test "$withval" = yes; then
4145 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4147 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4152 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4153 if test "x$LINE" != x ; then
4154 eval "DEFAULT_$LINE"
4159 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4164 eval "$ac_cv_use_hildon"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4169 if test "$wxUSE_LIBHILDON" = yes; then
4170 { echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6; }
4173 { echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6; }
4179 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4180 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4183 # Check whether --with-opengl was given.
4184 if test "${with_opengl+set}" = set; then
4185 withval=$with_opengl;
4186 if test "$withval" = yes; then
4187 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4189 ac_cv_use_opengl='wxUSE_OPENGL=no'
4194 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4195 if test "x$LINE" != x ; then
4196 eval "DEFAULT_$LINE"
4201 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4206 eval "$ac_cv_use_opengl"
4207 if test "$no_cache" != 1; then
4208 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4211 if test "$wxUSE_OPENGL" = yes; then
4212 { echo "$as_me:$LINENO: result: yes" >&5
4213 echo "${ECHO_T}yes" >&6; }
4215 { echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6; }
4220 if test "$wxUSE_UNIVERSAL" = "yes"; then
4222 # Check whether --with-themes was given.
4223 if test "${with_themes+set}" = set; then
4224 withval=$with_themes; wxUNIV_THEMES="$withval"
4233 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4234 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4237 # Check whether --with-dmalloc was given.
4238 if test "${with_dmalloc+set}" = set; then
4239 withval=$with_dmalloc;
4240 if test "$withval" = yes; then
4241 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4243 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4248 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4249 if test "x$LINE" != x ; then
4250 eval "DEFAULT_$LINE"
4255 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4260 eval "$ac_cv_use_dmalloc"
4261 if test "$no_cache" != 1; then
4262 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4265 if test "$wxUSE_DMALLOC" = yes; then
4266 { echo "$as_me:$LINENO: result: yes" >&5
4267 echo "${ECHO_T}yes" >&6; }
4269 { echo "$as_me:$LINENO: result: no" >&5
4270 echo "${ECHO_T}no" >&6; }
4274 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4275 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4278 # Check whether --with-regex was given.
4279 if test "${with_regex+set}" = set; then
4280 withval=$with_regex;
4281 if test "$withval" = yes; then
4282 ac_cv_use_regex='wxUSE_REGEX=yes'
4283 elif test "$withval" = no; then
4284 ac_cv_use_regex='wxUSE_REGEX=no'
4285 elif test "$withval" = sys; then
4286 ac_cv_use_regex='wxUSE_REGEX=sys'
4287 elif test "$withval" = builtin; then
4288 ac_cv_use_regex='wxUSE_REGEX=builtin'
4290 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4291 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4292 { (exit 1); exit 1; }; }
4297 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4298 if test "x$LINE" != x ; then
4299 eval "DEFAULT_$LINE"
4304 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4309 eval "$ac_cv_use_regex"
4310 if test "$no_cache" != 1; then
4311 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4314 if test "$wxUSE_REGEX" = yes; then
4315 { echo "$as_me:$LINENO: result: yes" >&5
4316 echo "${ECHO_T}yes" >&6; }
4317 elif test "$wxUSE_REGEX" = no; then
4318 { echo "$as_me:$LINENO: result: no" >&5
4319 echo "${ECHO_T}no" >&6; }
4320 elif test "$wxUSE_REGEX" = sys; then
4321 { echo "$as_me:$LINENO: result: system version" >&5
4322 echo "${ECHO_T}system version" >&6; }
4323 elif test "$wxUSE_REGEX" = builtin; then
4324 { echo "$as_me:$LINENO: result: builtin version" >&5
4325 echo "${ECHO_T}builtin version" >&6; }
4327 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4328 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4329 { (exit 1); exit 1; }; }
4333 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4334 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4337 # Check whether --with-zlib was given.
4338 if test "${with_zlib+set}" = set; then
4340 if test "$withval" = yes; then
4341 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4342 elif test "$withval" = no; then
4343 ac_cv_use_zlib='wxUSE_ZLIB=no'
4344 elif test "$withval" = sys; then
4345 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4346 elif test "$withval" = builtin; then
4347 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4349 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4350 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4351 { (exit 1); exit 1; }; }
4356 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4357 if test "x$LINE" != x ; then
4358 eval "DEFAULT_$LINE"
4363 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4368 eval "$ac_cv_use_zlib"
4369 if test "$no_cache" != 1; then
4370 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4373 if test "$wxUSE_ZLIB" = yes; then
4374 { echo "$as_me:$LINENO: result: yes" >&5
4375 echo "${ECHO_T}yes" >&6; }
4376 elif test "$wxUSE_ZLIB" = no; then
4377 { echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6; }
4379 elif test "$wxUSE_ZLIB" = sys; then
4380 { echo "$as_me:$LINENO: result: system version" >&5
4381 echo "${ECHO_T}system version" >&6; }
4382 elif test "$wxUSE_ZLIB" = builtin; then
4383 { echo "$as_me:$LINENO: result: builtin version" >&5
4384 echo "${ECHO_T}builtin version" >&6; }
4386 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4387 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4388 { (exit 1); exit 1; }; }
4392 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4393 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4396 # Check whether --with-odbc was given.
4397 if test "${with_odbc+set}" = set; then
4399 if test "$withval" = yes; then
4400 ac_cv_use_odbc='wxUSE_ODBC=yes'
4401 elif test "$withval" = no; then
4402 ac_cv_use_odbc='wxUSE_ODBC=no'
4403 elif test "$withval" = sys; then
4404 ac_cv_use_odbc='wxUSE_ODBC=sys'
4405 elif test "$withval" = builtin; then
4406 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4408 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4409 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4410 { (exit 1); exit 1; }; }
4415 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4416 if test "x$LINE" != x ; then
4417 eval "DEFAULT_$LINE"
4422 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4427 eval "$ac_cv_use_odbc"
4428 if test "$no_cache" != 1; then
4429 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4432 if test "$wxUSE_ODBC" = yes; then
4433 { echo "$as_me:$LINENO: result: yes" >&5
4434 echo "${ECHO_T}yes" >&6; }
4435 elif test "$wxUSE_ODBC" = no; then
4436 { echo "$as_me:$LINENO: result: no" >&5
4437 echo "${ECHO_T}no" >&6; }
4438 elif test "$wxUSE_ODBC" = sys; then
4439 { echo "$as_me:$LINENO: result: system version" >&5
4440 echo "${ECHO_T}system version" >&6; }
4441 elif test "$wxUSE_ODBC" = builtin; then
4442 { echo "$as_me:$LINENO: result: builtin version" >&5
4443 echo "${ECHO_T}builtin version" >&6; }
4445 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4446 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4447 { (exit 1); exit 1; }; }
4451 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4452 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4455 # Check whether --with-expat was given.
4456 if test "${with_expat+set}" = set; then
4457 withval=$with_expat;
4458 if test "$withval" = yes; then
4459 ac_cv_use_expat='wxUSE_EXPAT=yes'
4460 elif test "$withval" = no; then
4461 ac_cv_use_expat='wxUSE_EXPAT=no'
4462 elif test "$withval" = sys; then
4463 ac_cv_use_expat='wxUSE_EXPAT=sys'
4464 elif test "$withval" = builtin; then
4465 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4467 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4468 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4469 { (exit 1); exit 1; }; }
4474 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4475 if test "x$LINE" != x ; then
4476 eval "DEFAULT_$LINE"
4481 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4486 eval "$ac_cv_use_expat"
4487 if test "$no_cache" != 1; then
4488 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4491 if test "$wxUSE_EXPAT" = yes; then
4492 { echo "$as_me:$LINENO: result: yes" >&5
4493 echo "${ECHO_T}yes" >&6; }
4494 elif test "$wxUSE_EXPAT" = no; then
4495 { echo "$as_me:$LINENO: result: no" >&5
4496 echo "${ECHO_T}no" >&6; }
4497 elif test "$wxUSE_EXPAT" = sys; then
4498 { echo "$as_me:$LINENO: result: system version" >&5
4499 echo "${ECHO_T}system version" >&6; }
4500 elif test "$wxUSE_EXPAT" = builtin; then
4501 { echo "$as_me:$LINENO: result: builtin version" >&5
4502 echo "${ECHO_T}builtin version" >&6; }
4504 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4505 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4506 { (exit 1); exit 1; }; }
4513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4516 # Check whether --enable-shared was given.
4517 if test "${enable_shared+set}" = set; then
4518 enableval=$enable_shared;
4519 if test "$enableval" = yes; then
4520 ac_cv_use_shared='wxUSE_SHARED=yes'
4522 ac_cv_use_shared='wxUSE_SHARED=no'
4527 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x ; then
4529 eval "DEFAULT_$LINE"
4534 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4539 eval "$ac_cv_use_shared"
4540 if test "$no_cache" != 1; then
4541 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4544 if test "$wxUSE_SHARED" = yes; then
4545 { echo "$as_me:$LINENO: result: yes" >&5
4546 echo "${ECHO_T}yes" >&6; }
4548 { echo "$as_me:$LINENO: result: no" >&5
4549 echo "${ECHO_T}no" >&6; }
4554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4555 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4557 # Check whether --enable-optimise was given.
4558 if test "${enable_optimise+set}" = set; then
4559 enableval=$enable_optimise;
4560 if test "$enableval" = yes; then
4561 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4563 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4568 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4569 if test "x$LINE" != x ; then
4570 eval "DEFAULT_$LINE"
4575 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4580 eval "$ac_cv_use_optimise"
4581 if test "$no_cache" != 1; then
4582 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4585 if test "$wxUSE_OPTIMISE" = yes; then
4586 { echo "$as_me:$LINENO: result: yes" >&5
4587 echo "${ECHO_T}yes" >&6; }
4589 { echo "$as_me:$LINENO: result: no" >&5
4590 echo "${ECHO_T}no" >&6; }
4595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4596 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4598 # Check whether --enable-debug was given.
4599 if test "${enable_debug+set}" = set; then
4600 enableval=$enable_debug;
4601 if test "$enableval" = yes; then
4602 ac_cv_use_debug='wxUSE_DEBUG=yes'
4604 ac_cv_use_debug='wxUSE_DEBUG=no'
4609 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4610 if test "x$LINE" != x ; then
4611 eval "DEFAULT_$LINE"
4616 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4621 eval "$ac_cv_use_debug"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4626 if test "$wxUSE_DEBUG" = yes; then
4627 { echo "$as_me:$LINENO: result: yes" >&5
4628 echo "${ECHO_T}yes" >&6; }
4630 { echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6; }
4636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4637 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4639 # Check whether --enable-stl was given.
4640 if test "${enable_stl+set}" = set; then
4641 enableval=$enable_stl;
4642 if test "$enableval" = yes; then
4643 ac_cv_use_stl='wxUSE_STL=yes'
4645 ac_cv_use_stl='wxUSE_STL=no'
4650 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4651 if test "x$LINE" != x ; then
4652 eval "DEFAULT_$LINE"
4657 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4662 eval "$ac_cv_use_stl"
4663 if test "$no_cache" != 1; then
4664 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4667 if test "$wxUSE_STL" = yes; then
4668 { echo "$as_me:$LINENO: result: yes" >&5
4669 echo "${ECHO_T}yes" >&6; }
4671 { echo "$as_me:$LINENO: result: no" >&5
4672 echo "${ECHO_T}no" >&6; }
4675 if test "$USE_OS2" = "1"; then
4676 DEFAULT_wxUSE_OMF=no
4679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4680 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4682 # Check whether --enable-omf was given.
4683 if test "${enable_omf+set}" = set; then
4684 enableval=$enable_omf;
4685 if test "$enableval" = yes; then
4686 ac_cv_use_omf='wxUSE_OMF=yes'
4688 ac_cv_use_omf='wxUSE_OMF=no'
4693 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4694 if test "x$LINE" != x ; then
4695 eval "DEFAULT_$LINE"
4700 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4705 eval "$ac_cv_use_omf"
4706 if test "$no_cache" != 1; then
4707 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4710 if test "$wxUSE_OMF" = yes; then
4711 { echo "$as_me:$LINENO: result: yes" >&5
4712 echo "${ECHO_T}yes" >&6; }
4714 { echo "$as_me:$LINENO: result: no" >&5
4715 echo "${ECHO_T}no" >&6; }
4720 if test "$wxUSE_DEBUG" = "yes"; then
4721 DEFAULT_wxUSE_DEBUG_FLAG=yes
4722 DEFAULT_wxUSE_DEBUG_INFO=yes
4724 elif test "$wxUSE_DEBUG" = "no"; then
4725 DEFAULT_wxUSE_DEBUG_FLAG=no
4726 DEFAULT_wxUSE_DEBUG_INFO=no
4732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4733 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4735 # Check whether --enable-debug_flag was given.
4736 if test "${enable_debug_flag+set}" = set; then
4737 enableval=$enable_debug_flag;
4738 if test "$enableval" = yes; then
4739 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4741 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4746 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x ; then
4748 eval "DEFAULT_$LINE"
4753 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4758 eval "$ac_cv_use_debug_flag"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4763 if test "$wxUSE_DEBUG_FLAG" = yes; then
4764 { echo "$as_me:$LINENO: result: yes" >&5
4765 echo "${ECHO_T}yes" >&6; }
4767 { echo "$as_me:$LINENO: result: no" >&5
4768 echo "${ECHO_T}no" >&6; }
4773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4774 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4776 # Check whether --enable-debug_info was given.
4777 if test "${enable_debug_info+set}" = set; then
4778 enableval=$enable_debug_info;
4779 if test "$enableval" = yes; then
4780 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4782 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4787 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4788 if test "x$LINE" != x ; then
4789 eval "DEFAULT_$LINE"
4794 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4799 eval "$ac_cv_use_debug_info"
4800 if test "$no_cache" != 1; then
4801 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4804 if test "$wxUSE_DEBUG_INFO" = yes; then
4805 { echo "$as_me:$LINENO: result: yes" >&5
4806 echo "${ECHO_T}yes" >&6; }
4808 { echo "$as_me:$LINENO: result: no" >&5
4809 echo "${ECHO_T}no" >&6; }
4814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4815 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4817 # Check whether --enable-debug_gdb was given.
4818 if test "${enable_debug_gdb+set}" = set; then
4819 enableval=$enable_debug_gdb;
4820 if test "$enableval" = yes; then
4821 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4823 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4828 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4829 if test "x$LINE" != x ; then
4830 eval "DEFAULT_$LINE"
4835 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4840 eval "$ac_cv_use_debug_gdb"
4841 if test "$no_cache" != 1; then
4842 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4845 if test "$wxUSE_DEBUG_GDB" = yes; then
4846 { echo "$as_me:$LINENO: result: yes" >&5
4847 echo "${ECHO_T}yes" >&6; }
4849 { echo "$as_me:$LINENO: result: no" >&5
4850 echo "${ECHO_T}no" >&6; }
4855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4856 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4858 # Check whether --enable-debug_cntxt was given.
4859 if test "${enable_debug_cntxt+set}" = set; then
4860 enableval=$enable_debug_cntxt;
4861 if test "$enableval" = yes; then
4862 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4864 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4869 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4870 if test "x$LINE" != x ; then
4871 eval "DEFAULT_$LINE"
4876 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4881 eval "$ac_cv_use_debug_cntxt"
4882 if test "$no_cache" != 1; then
4883 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4886 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4887 { echo "$as_me:$LINENO: result: yes" >&5
4888 echo "${ECHO_T}yes" >&6; }
4890 { echo "$as_me:$LINENO: result: no" >&5
4891 echo "${ECHO_T}no" >&6; }
4896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4897 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4899 # Check whether --enable-mem_tracing was given.
4900 if test "${enable_mem_tracing+set}" = set; then
4901 enableval=$enable_mem_tracing;
4902 if test "$enableval" = yes; then
4903 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4905 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4910 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4911 if test "x$LINE" != x ; then
4912 eval "DEFAULT_$LINE"
4917 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4922 eval "$ac_cv_use_mem_tracing"
4923 if test "$no_cache" != 1; then
4924 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4927 if test "$wxUSE_MEM_TRACING" = yes; then
4928 { echo "$as_me:$LINENO: result: yes" >&5
4929 echo "${ECHO_T}yes" >&6; }
4931 { echo "$as_me:$LINENO: result: no" >&5
4932 echo "${ECHO_T}no" >&6; }
4937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4938 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4940 # Check whether --enable-profile was given.
4941 if test "${enable_profile+set}" = set; then
4942 enableval=$enable_profile;
4943 if test "$enableval" = yes; then
4944 ac_cv_use_profile='wxUSE_PROFILE=yes'
4946 ac_cv_use_profile='wxUSE_PROFILE=no'
4951 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4952 if test "x$LINE" != x ; then
4953 eval "DEFAULT_$LINE"
4958 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4963 eval "$ac_cv_use_profile"
4964 if test "$no_cache" != 1; then
4965 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4968 if test "$wxUSE_PROFILE" = yes; then
4969 { echo "$as_me:$LINENO: result: yes" >&5
4970 echo "${ECHO_T}yes" >&6; }
4972 { echo "$as_me:$LINENO: result: no" >&5
4973 echo "${ECHO_T}no" >&6; }
4978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4979 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4981 # Check whether --enable-no_rtti was given.
4982 if test "${enable_no_rtti+set}" = set; then
4983 enableval=$enable_no_rtti;
4984 if test "$enableval" = yes; then
4985 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4987 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4992 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4993 if test "x$LINE" != x ; then
4994 eval "DEFAULT_$LINE"
4999 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5004 eval "$ac_cv_use_no_rtti"
5005 if test "$no_cache" != 1; then
5006 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5009 if test "$wxUSE_NO_RTTI" = yes; then
5010 { echo "$as_me:$LINENO: result: yes" >&5
5011 echo "${ECHO_T}yes" >&6; }
5013 { echo "$as_me:$LINENO: result: no" >&5
5014 echo "${ECHO_T}no" >&6; }
5019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5020 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5022 # Check whether --enable-no_exceptions was given.
5023 if test "${enable_no_exceptions+set}" = set; then
5024 enableval=$enable_no_exceptions;
5025 if test "$enableval" = yes; then
5026 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5028 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5033 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5034 if test "x$LINE" != x ; then
5035 eval "DEFAULT_$LINE"
5040 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5045 eval "$ac_cv_use_no_exceptions"
5046 if test "$no_cache" != 1; then
5047 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5050 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5051 { echo "$as_me:$LINENO: result: yes" >&5
5052 echo "${ECHO_T}yes" >&6; }
5054 { echo "$as_me:$LINENO: result: no" >&5
5055 echo "${ECHO_T}no" >&6; }
5060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5061 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5063 # Check whether --enable-permissive was given.
5064 if test "${enable_permissive+set}" = set; then
5065 enableval=$enable_permissive;
5066 if test "$enableval" = yes; then
5067 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5069 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5074 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5075 if test "x$LINE" != x ; then
5076 eval "DEFAULT_$LINE"
5081 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5086 eval "$ac_cv_use_permissive"
5087 if test "$no_cache" != 1; then
5088 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5091 if test "$wxUSE_PERMISSIVE" = yes; then
5092 { echo "$as_me:$LINENO: result: yes" >&5
5093 echo "${ECHO_T}yes" >&6; }
5095 { echo "$as_me:$LINENO: result: no" >&5
5096 echo "${ECHO_T}no" >&6; }
5101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5102 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5104 # Check whether --enable-no_deps was given.
5105 if test "${enable_no_deps+set}" = set; then
5106 enableval=$enable_no_deps;
5107 if test "$enableval" = yes; then
5108 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5110 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5115 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5116 if test "x$LINE" != x ; then
5117 eval "DEFAULT_$LINE"
5122 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5127 eval "$ac_cv_use_no_deps"
5128 if test "$no_cache" != 1; then
5129 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5132 if test "$wxUSE_NO_DEPS" = yes; then
5133 { echo "$as_me:$LINENO: result: yes" >&5
5134 echo "${ECHO_T}yes" >&6; }
5136 { echo "$as_me:$LINENO: result: no" >&5
5137 echo "${ECHO_T}no" >&6; }
5142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5143 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5145 # Check whether --enable-vararg_macros was given.
5146 if test "${enable_vararg_macros+set}" = set; then
5147 enableval=$enable_vararg_macros;
5148 if test "$enableval" = yes; then
5149 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5151 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5156 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5157 if test "x$LINE" != x ; then
5158 eval "DEFAULT_$LINE"
5163 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5168 eval "$ac_cv_use_vararg_macros"
5169 if test "$no_cache" != 1; then
5170 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5173 if test "$wxUSE_VARARG_MACROS" = yes; then
5174 { echo "$as_me:$LINENO: result: yes" >&5
5175 echo "${ECHO_T}yes" >&6; }
5177 { echo "$as_me:$LINENO: result: no" >&5
5178 echo "${ECHO_T}no" >&6; }
5183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5184 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5186 # Check whether --enable-universal_binary was given.
5187 if test "${enable_universal_binary+set}" = set; then
5188 enableval=$enable_universal_binary;
5189 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5193 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5194 if test "x$LINE" != x ; then
5195 eval "DEFAULT_$LINE"
5196 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5199 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5205 eval "$wx_cv_use_universal_binary"
5206 if test "$no_cache" != 1; then
5207 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5210 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5211 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5217 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5219 # Check whether --enable-compat26 was given.
5220 if test "${enable_compat26+set}" = set; then
5221 enableval=$enable_compat26;
5222 if test "$enableval" = yes; then
5223 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5225 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5230 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5231 if test "x$LINE" != x ; then
5232 eval "DEFAULT_$LINE"
5237 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5242 eval "$ac_cv_use_compat26"
5243 if test "$no_cache" != 1; then
5244 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5247 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5248 { echo "$as_me:$LINENO: result: yes" >&5
5249 echo "${ECHO_T}yes" >&6; }
5251 { echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6; }
5256 enablestring=disable
5257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5258 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5260 # Check whether --enable-compat28 was given.
5261 if test "${enable_compat28+set}" = set; then
5262 enableval=$enable_compat28;
5263 if test "$enableval" = yes; then
5264 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5266 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5271 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x ; then
5273 eval "DEFAULT_$LINE"
5278 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5283 eval "$ac_cv_use_compat28"
5284 if test "$no_cache" != 1; then
5285 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5288 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5289 { echo "$as_me:$LINENO: result: yes" >&5
5290 echo "${ECHO_T}yes" >&6; }
5292 { echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6; }
5299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5300 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5302 # Check whether --enable-rpath was given.
5303 if test "${enable_rpath+set}" = set; then
5304 enableval=$enable_rpath;
5305 if test "$enableval" = yes; then
5306 ac_cv_use_rpath='wxUSE_RPATH=yes'
5308 ac_cv_use_rpath='wxUSE_RPATH=no'
5313 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x ; then
5315 eval "DEFAULT_$LINE"
5320 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5325 eval "$ac_cv_use_rpath"
5326 if test "$no_cache" != 1; then
5327 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5330 if test "$wxUSE_RPATH" = yes; then
5331 { echo "$as_me:$LINENO: result: yes" >&5
5332 echo "${ECHO_T}yes" >&6; }
5334 { echo "$as_me:$LINENO: result: no" >&5
5335 echo "${ECHO_T}no" >&6; }
5343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5344 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5346 # Check whether --enable-intl was given.
5347 if test "${enable_intl+set}" = set; then
5348 enableval=$enable_intl;
5349 if test "$enableval" = yes; then
5350 ac_cv_use_intl='wxUSE_INTL=yes'
5352 ac_cv_use_intl='wxUSE_INTL=no'
5357 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5358 if test "x$LINE" != x ; then
5359 eval "DEFAULT_$LINE"
5364 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5369 eval "$ac_cv_use_intl"
5370 if test "$no_cache" != 1; then
5371 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5374 if test "$wxUSE_INTL" = yes; then
5375 { echo "$as_me:$LINENO: result: yes" >&5
5376 echo "${ECHO_T}yes" >&6; }
5378 { echo "$as_me:$LINENO: result: no" >&5
5379 echo "${ECHO_T}no" >&6; }
5384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5385 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5387 # Check whether --enable-config was given.
5388 if test "${enable_config+set}" = set; then
5389 enableval=$enable_config;
5390 if test "$enableval" = yes; then
5391 ac_cv_use_config='wxUSE_CONFIG=yes'
5393 ac_cv_use_config='wxUSE_CONFIG=no'
5398 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5399 if test "x$LINE" != x ; then
5400 eval "DEFAULT_$LINE"
5405 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5410 eval "$ac_cv_use_config"
5411 if test "$no_cache" != 1; then
5412 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5415 if test "$wxUSE_CONFIG" = yes; then
5416 { echo "$as_me:$LINENO: result: yes" >&5
5417 echo "${ECHO_T}yes" >&6; }
5419 { echo "$as_me:$LINENO: result: no" >&5
5420 echo "${ECHO_T}no" >&6; }
5426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5427 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5429 # Check whether --enable-protocols was given.
5430 if test "${enable_protocols+set}" = set; then
5431 enableval=$enable_protocols;
5432 if test "$enableval" = yes; then
5433 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5435 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5440 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5441 if test "x$LINE" != x ; then
5442 eval "DEFAULT_$LINE"
5447 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5452 eval "$ac_cv_use_protocols"
5453 if test "$no_cache" != 1; then
5454 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5457 if test "$wxUSE_PROTOCOL" = yes; then
5458 { echo "$as_me:$LINENO: result: yes" >&5
5459 echo "${ECHO_T}yes" >&6; }
5461 { echo "$as_me:$LINENO: result: no" >&5
5462 echo "${ECHO_T}no" >&6; }
5467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5468 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5470 # Check whether --enable-ftp was given.
5471 if test "${enable_ftp+set}" = set; then
5472 enableval=$enable_ftp;
5473 if test "$enableval" = yes; then
5474 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5476 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5481 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5482 if test "x$LINE" != x ; then
5483 eval "DEFAULT_$LINE"
5488 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5493 eval "$ac_cv_use_ftp"
5494 if test "$no_cache" != 1; then
5495 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5498 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5499 { echo "$as_me:$LINENO: result: yes" >&5
5500 echo "${ECHO_T}yes" >&6; }
5502 { echo "$as_me:$LINENO: result: no" >&5
5503 echo "${ECHO_T}no" >&6; }
5508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5509 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5511 # Check whether --enable-http was given.
5512 if test "${enable_http+set}" = set; then
5513 enableval=$enable_http;
5514 if test "$enableval" = yes; then
5515 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5517 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5522 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5523 if test "x$LINE" != x ; then
5524 eval "DEFAULT_$LINE"
5529 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5534 eval "$ac_cv_use_http"
5535 if test "$no_cache" != 1; then
5536 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5539 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5540 { echo "$as_me:$LINENO: result: yes" >&5
5541 echo "${ECHO_T}yes" >&6; }
5543 { echo "$as_me:$LINENO: result: no" >&5
5544 echo "${ECHO_T}no" >&6; }
5549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5550 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5552 # Check whether --enable-fileproto was given.
5553 if test "${enable_fileproto+set}" = set; then
5554 enableval=$enable_fileproto;
5555 if test "$enableval" = yes; then
5556 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5558 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5563 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5564 if test "x$LINE" != x ; then
5565 eval "DEFAULT_$LINE"
5570 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5575 eval "$ac_cv_use_fileproto"
5576 if test "$no_cache" != 1; then
5577 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5580 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5581 { echo "$as_me:$LINENO: result: yes" >&5
5582 echo "${ECHO_T}yes" >&6; }
5584 { echo "$as_me:$LINENO: result: no" >&5
5585 echo "${ECHO_T}no" >&6; }
5590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5591 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5593 # Check whether --enable-sockets was given.
5594 if test "${enable_sockets+set}" = set; then
5595 enableval=$enable_sockets;
5596 if test "$enableval" = yes; then
5597 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5599 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5604 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5605 if test "x$LINE" != x ; then
5606 eval "DEFAULT_$LINE"
5611 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5616 eval "$ac_cv_use_sockets"
5617 if test "$no_cache" != 1; then
5618 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5621 if test "$wxUSE_SOCKETS" = yes; then
5622 { echo "$as_me:$LINENO: result: yes" >&5
5623 echo "${ECHO_T}yes" >&6; }
5625 { echo "$as_me:$LINENO: result: no" >&5
5626 echo "${ECHO_T}no" >&6; }
5631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5632 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5634 # Check whether --enable-ole was given.
5635 if test "${enable_ole+set}" = set; then
5636 enableval=$enable_ole;
5637 if test "$enableval" = yes; then
5638 ac_cv_use_ole='wxUSE_OLE=yes'
5640 ac_cv_use_ole='wxUSE_OLE=no'
5645 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5646 if test "x$LINE" != x ; then
5647 eval "DEFAULT_$LINE"
5652 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5657 eval "$ac_cv_use_ole"
5658 if test "$no_cache" != 1; then
5659 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5662 if test "$wxUSE_OLE" = yes; then
5663 { echo "$as_me:$LINENO: result: yes" >&5
5664 echo "${ECHO_T}yes" >&6; }
5666 { echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6; }
5672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5673 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5675 # Check whether --enable-dataobj was given.
5676 if test "${enable_dataobj+set}" = set; then
5677 enableval=$enable_dataobj;
5678 if test "$enableval" = yes; then
5679 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5681 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5686 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5687 if test "x$LINE" != x ; then
5688 eval "DEFAULT_$LINE"
5693 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5698 eval "$ac_cv_use_dataobj"
5699 if test "$no_cache" != 1; then
5700 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5703 if test "$wxUSE_DATAOBJ" = yes; then
5704 { echo "$as_me:$LINENO: result: yes" >&5
5705 echo "${ECHO_T}yes" >&6; }
5707 { echo "$as_me:$LINENO: result: no" >&5
5708 echo "${ECHO_T}no" >&6; }
5714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5715 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5717 # Check whether --enable-ipc was given.
5718 if test "${enable_ipc+set}" = set; then
5719 enableval=$enable_ipc;
5720 if test "$enableval" = yes; then
5721 ac_cv_use_ipc='wxUSE_IPC=yes'
5723 ac_cv_use_ipc='wxUSE_IPC=no'
5728 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5729 if test "x$LINE" != x ; then
5730 eval "DEFAULT_$LINE"
5735 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5740 eval "$ac_cv_use_ipc"
5741 if test "$no_cache" != 1; then
5742 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5745 if test "$wxUSE_IPC" = yes; then
5746 { echo "$as_me:$LINENO: result: yes" >&5
5747 echo "${ECHO_T}yes" >&6; }
5749 { echo "$as_me:$LINENO: result: no" >&5
5750 echo "${ECHO_T}no" >&6; }
5756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5757 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5759 # Check whether --enable-apple_ieee was given.
5760 if test "${enable_apple_ieee+set}" = set; then
5761 enableval=$enable_apple_ieee;
5762 if test "$enableval" = yes; then
5763 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5765 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5770 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5771 if test "x$LINE" != x ; then
5772 eval "DEFAULT_$LINE"
5777 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5782 eval "$ac_cv_use_apple_ieee"
5783 if test "$no_cache" != 1; then
5784 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5787 if test "$wxUSE_APPLE_IEEE" = yes; then
5788 { echo "$as_me:$LINENO: result: yes" >&5
5789 echo "${ECHO_T}yes" >&6; }
5791 { echo "$as_me:$LINENO: result: no" >&5
5792 echo "${ECHO_T}no" >&6; }
5797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5798 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5800 # Check whether --enable-arcstream was given.
5801 if test "${enable_arcstream+set}" = set; then
5802 enableval=$enable_arcstream;
5803 if test "$enableval" = yes; then
5804 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5806 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5811 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5812 if test "x$LINE" != x ; then
5813 eval "DEFAULT_$LINE"
5818 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5823 eval "$ac_cv_use_arcstream"
5824 if test "$no_cache" != 1; then
5825 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5828 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5829 { echo "$as_me:$LINENO: result: yes" >&5
5830 echo "${ECHO_T}yes" >&6; }
5832 { echo "$as_me:$LINENO: result: no" >&5
5833 echo "${ECHO_T}no" >&6; }
5838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5839 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5841 # Check whether --enable-backtrace was given.
5842 if test "${enable_backtrace+set}" = set; then
5843 enableval=$enable_backtrace;
5844 if test "$enableval" = yes; then
5845 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5847 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5852 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5853 if test "x$LINE" != x ; then
5854 eval "DEFAULT_$LINE"
5859 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5864 eval "$ac_cv_use_backtrace"
5865 if test "$no_cache" != 1; then
5866 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5869 if test "$wxUSE_STACKWALKER" = yes; then
5870 { echo "$as_me:$LINENO: result: yes" >&5
5871 echo "${ECHO_T}yes" >&6; }
5873 { echo "$as_me:$LINENO: result: no" >&5
5874 echo "${ECHO_T}no" >&6; }
5879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5880 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5882 # Check whether --enable-catch_segvs was given.
5883 if test "${enable_catch_segvs+set}" = set; then
5884 enableval=$enable_catch_segvs;
5885 if test "$enableval" = yes; then
5886 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5888 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5893 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5894 if test "x$LINE" != x ; then
5895 eval "DEFAULT_$LINE"
5900 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5905 eval "$ac_cv_use_catch_segvs"
5906 if test "$no_cache" != 1; then
5907 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5910 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5911 { echo "$as_me:$LINENO: result: yes" >&5
5912 echo "${ECHO_T}yes" >&6; }
5914 { echo "$as_me:$LINENO: result: no" >&5
5915 echo "${ECHO_T}no" >&6; }
5920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5921 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5923 # Check whether --enable-cmdline was given.
5924 if test "${enable_cmdline+set}" = set; then
5925 enableval=$enable_cmdline;
5926 if test "$enableval" = yes; then
5927 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5929 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5934 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5935 if test "x$LINE" != x ; then
5936 eval "DEFAULT_$LINE"
5941 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5946 eval "$ac_cv_use_cmdline"
5947 if test "$no_cache" != 1; then
5948 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5951 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5952 { echo "$as_me:$LINENO: result: yes" >&5
5953 echo "${ECHO_T}yes" >&6; }
5955 { echo "$as_me:$LINENO: result: no" >&5
5956 echo "${ECHO_T}no" >&6; }
5961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5962 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5964 # Check whether --enable-datetime was given.
5965 if test "${enable_datetime+set}" = set; then
5966 enableval=$enable_datetime;
5967 if test "$enableval" = yes; then
5968 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5970 ac_cv_use_datetime='wxUSE_DATETIME=no'
5975 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5976 if test "x$LINE" != x ; then
5977 eval "DEFAULT_$LINE"
5982 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5987 eval "$ac_cv_use_datetime"
5988 if test "$no_cache" != 1; then
5989 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5992 if test "$wxUSE_DATETIME" = yes; then
5993 { echo "$as_me:$LINENO: result: yes" >&5
5994 echo "${ECHO_T}yes" >&6; }
5996 { echo "$as_me:$LINENO: result: no" >&5
5997 echo "${ECHO_T}no" >&6; }
6002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6003 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6005 # Check whether --enable-debugreport was given.
6006 if test "${enable_debugreport+set}" = set; then
6007 enableval=$enable_debugreport;
6008 if test "$enableval" = yes; then
6009 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6011 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6016 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x ; then
6018 eval "DEFAULT_$LINE"
6023 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6028 eval "$ac_cv_use_debugreport"
6029 if test "$no_cache" != 1; then
6030 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6033 if test "$wxUSE_DEBUGREPORT" = yes; then
6034 { echo "$as_me:$LINENO: result: yes" >&5
6035 echo "${ECHO_T}yes" >&6; }
6037 { echo "$as_me:$LINENO: result: no" >&5
6038 echo "${ECHO_T}no" >&6; }
6043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6044 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6046 # Check whether --enable-dialupman was given.
6047 if test "${enable_dialupman+set}" = set; then
6048 enableval=$enable_dialupman;
6049 if test "$enableval" = yes; then
6050 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6052 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6057 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6064 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6069 eval "$ac_cv_use_dialupman"
6070 if test "$no_cache" != 1; then
6071 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6074 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6075 { echo "$as_me:$LINENO: result: yes" >&5
6076 echo "${ECHO_T}yes" >&6; }
6078 { echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6; }
6084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6085 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6087 # Check whether --enable-dynlib was given.
6088 if test "${enable_dynlib+set}" = set; then
6089 enableval=$enable_dynlib;
6090 if test "$enableval" = yes; then
6091 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6093 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6098 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6099 if test "x$LINE" != x ; then
6100 eval "DEFAULT_$LINE"
6105 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6110 eval "$ac_cv_use_dynlib"
6111 if test "$no_cache" != 1; then
6112 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6115 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6116 { echo "$as_me:$LINENO: result: yes" >&5
6117 echo "${ECHO_T}yes" >&6; }
6119 { echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6; }
6125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6126 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6128 # Check whether --enable-dynamicloader was given.
6129 if test "${enable_dynamicloader+set}" = set; then
6130 enableval=$enable_dynamicloader;
6131 if test "$enableval" = yes; then
6132 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6134 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6139 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6140 if test "x$LINE" != x ; then
6141 eval "DEFAULT_$LINE"
6146 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6151 eval "$ac_cv_use_dynamicloader"
6152 if test "$no_cache" != 1; then
6153 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6156 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6157 { echo "$as_me:$LINENO: result: yes" >&5
6158 echo "${ECHO_T}yes" >&6; }
6160 { echo "$as_me:$LINENO: result: no" >&5
6161 echo "${ECHO_T}no" >&6; }
6166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6167 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6169 # Check whether --enable-exceptions was given.
6170 if test "${enable_exceptions+set}" = set; then
6171 enableval=$enable_exceptions;
6172 if test "$enableval" = yes; then
6173 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6175 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6180 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6181 if test "x$LINE" != x ; then
6182 eval "DEFAULT_$LINE"
6187 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6192 eval "$ac_cv_use_exceptions"
6193 if test "$no_cache" != 1; then
6194 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6197 if test "$wxUSE_EXCEPTIONS" = yes; then
6198 { echo "$as_me:$LINENO: result: yes" >&5
6199 echo "${ECHO_T}yes" >&6; }
6201 { echo "$as_me:$LINENO: result: no" >&5
6202 echo "${ECHO_T}no" >&6; }
6207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6208 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6210 # Check whether --enable-ffile was given.
6211 if test "${enable_ffile+set}" = set; then
6212 enableval=$enable_ffile;
6213 if test "$enableval" = yes; then
6214 ac_cv_use_ffile='wxUSE_FFILE=yes'
6216 ac_cv_use_ffile='wxUSE_FFILE=no'
6221 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6222 if test "x$LINE" != x ; then
6223 eval "DEFAULT_$LINE"
6228 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6233 eval "$ac_cv_use_ffile"
6234 if test "$no_cache" != 1; then
6235 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6238 if test "$wxUSE_FFILE" = yes; then
6239 { echo "$as_me:$LINENO: result: yes" >&5
6240 echo "${ECHO_T}yes" >&6; }
6242 { echo "$as_me:$LINENO: result: no" >&5
6243 echo "${ECHO_T}no" >&6; }
6248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6249 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6251 # Check whether --enable-file was given.
6252 if test "${enable_file+set}" = set; then
6253 enableval=$enable_file;
6254 if test "$enableval" = yes; then
6255 ac_cv_use_file='wxUSE_FILE=yes'
6257 ac_cv_use_file='wxUSE_FILE=no'
6262 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6263 if test "x$LINE" != x ; then
6264 eval "DEFAULT_$LINE"
6269 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6274 eval "$ac_cv_use_file"
6275 if test "$no_cache" != 1; then
6276 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6279 if test "$wxUSE_FILE" = yes; then
6280 { echo "$as_me:$LINENO: result: yes" >&5
6281 echo "${ECHO_T}yes" >&6; }
6283 { echo "$as_me:$LINENO: result: no" >&5
6284 echo "${ECHO_T}no" >&6; }
6289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6290 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6292 # Check whether --enable-filesystem was given.
6293 if test "${enable_filesystem+set}" = set; then
6294 enableval=$enable_filesystem;
6295 if test "$enableval" = yes; then
6296 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6298 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6303 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6304 if test "x$LINE" != x ; then
6305 eval "DEFAULT_$LINE"
6310 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6315 eval "$ac_cv_use_filesystem"
6316 if test "$no_cache" != 1; then
6317 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6320 if test "$wxUSE_FILESYSTEM" = yes; then
6321 { echo "$as_me:$LINENO: result: yes" >&5
6322 echo "${ECHO_T}yes" >&6; }
6324 { echo "$as_me:$LINENO: result: no" >&5
6325 echo "${ECHO_T}no" >&6; }
6330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6331 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6333 # Check whether --enable-fontmap was given.
6334 if test "${enable_fontmap+set}" = set; then
6335 enableval=$enable_fontmap;
6336 if test "$enableval" = yes; then
6337 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6339 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6344 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6345 if test "x$LINE" != x ; then
6346 eval "DEFAULT_$LINE"
6351 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6356 eval "$ac_cv_use_fontmap"
6357 if test "$no_cache" != 1; then
6358 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6361 if test "$wxUSE_FONTMAP" = yes; then
6362 { echo "$as_me:$LINENO: result: yes" >&5
6363 echo "${ECHO_T}yes" >&6; }
6365 { echo "$as_me:$LINENO: result: no" >&5
6366 echo "${ECHO_T}no" >&6; }
6371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6372 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6374 # Check whether --enable-fs_archive was given.
6375 if test "${enable_fs_archive+set}" = set; then
6376 enableval=$enable_fs_archive;
6377 if test "$enableval" = yes; then
6378 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6380 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6385 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6386 if test "x$LINE" != x ; then
6387 eval "DEFAULT_$LINE"
6392 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6397 eval "$ac_cv_use_fs_archive"
6398 if test "$no_cache" != 1; then
6399 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6402 if test "$wxUSE_FS_ARCHIVE" = yes; then
6403 { echo "$as_me:$LINENO: result: yes" >&5
6404 echo "${ECHO_T}yes" >&6; }
6406 { echo "$as_me:$LINENO: result: no" >&5
6407 echo "${ECHO_T}no" >&6; }
6412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6413 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6415 # Check whether --enable-fs_inet was given.
6416 if test "${enable_fs_inet+set}" = set; then
6417 enableval=$enable_fs_inet;
6418 if test "$enableval" = yes; then
6419 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6421 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6426 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6427 if test "x$LINE" != x ; then
6428 eval "DEFAULT_$LINE"
6433 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6438 eval "$ac_cv_use_fs_inet"
6439 if test "$no_cache" != 1; then
6440 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6443 if test "$wxUSE_FS_INET" = yes; then
6444 { echo "$as_me:$LINENO: result: yes" >&5
6445 echo "${ECHO_T}yes" >&6; }
6447 { echo "$as_me:$LINENO: result: no" >&5
6448 echo "${ECHO_T}no" >&6; }
6453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6454 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6456 # Check whether --enable-fs_zip was given.
6457 if test "${enable_fs_zip+set}" = set; then
6458 enableval=$enable_fs_zip;
6459 if test "$enableval" = yes; then
6460 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6462 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6467 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6468 if test "x$LINE" != x ; then
6469 eval "DEFAULT_$LINE"
6474 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6479 eval "$ac_cv_use_fs_zip"
6480 if test "$no_cache" != 1; then
6481 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6484 if test "$wxUSE_FS_ZIP" = yes; then
6485 { echo "$as_me:$LINENO: result: yes" >&5
6486 echo "${ECHO_T}yes" >&6; }
6488 { echo "$as_me:$LINENO: result: no" >&5
6489 echo "${ECHO_T}no" >&6; }
6494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6495 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6497 # Check whether --enable-geometry was given.
6498 if test "${enable_geometry+set}" = set; then
6499 enableval=$enable_geometry;
6500 if test "$enableval" = yes; then
6501 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6503 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6508 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6509 if test "x$LINE" != x ; then
6510 eval "DEFAULT_$LINE"
6515 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6520 eval "$ac_cv_use_geometry"
6521 if test "$no_cache" != 1; then
6522 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6525 if test "$wxUSE_GEOMETRY" = yes; then
6526 { echo "$as_me:$LINENO: result: yes" >&5
6527 echo "${ECHO_T}yes" >&6; }
6529 { echo "$as_me:$LINENO: result: no" >&5
6530 echo "${ECHO_T}no" >&6; }
6535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6536 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6538 # Check whether --enable-log was given.
6539 if test "${enable_log+set}" = set; then
6540 enableval=$enable_log;
6541 if test "$enableval" = yes; then
6542 ac_cv_use_log='wxUSE_LOG=yes'
6544 ac_cv_use_log='wxUSE_LOG=no'
6549 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6550 if test "x$LINE" != x ; then
6551 eval "DEFAULT_$LINE"
6556 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6561 eval "$ac_cv_use_log"
6562 if test "$no_cache" != 1; then
6563 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6566 if test "$wxUSE_LOG" = yes; then
6567 { echo "$as_me:$LINENO: result: yes" >&5
6568 echo "${ECHO_T}yes" >&6; }
6570 { echo "$as_me:$LINENO: result: no" >&5
6571 echo "${ECHO_T}no" >&6; }
6576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6577 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6579 # Check whether --enable-longlong was given.
6580 if test "${enable_longlong+set}" = set; then
6581 enableval=$enable_longlong;
6582 if test "$enableval" = yes; then
6583 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6585 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6590 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6591 if test "x$LINE" != x ; then
6592 eval "DEFAULT_$LINE"
6597 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6602 eval "$ac_cv_use_longlong"
6603 if test "$no_cache" != 1; then
6604 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6607 if test "$wxUSE_LONGLONG" = yes; then
6608 { echo "$as_me:$LINENO: result: yes" >&5
6609 echo "${ECHO_T}yes" >&6; }
6611 { echo "$as_me:$LINENO: result: no" >&5
6612 echo "${ECHO_T}no" >&6; }
6617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6618 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6620 # Check whether --enable-mimetype was given.
6621 if test "${enable_mimetype+set}" = set; then
6622 enableval=$enable_mimetype;
6623 if test "$enableval" = yes; then
6624 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6626 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6631 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6632 if test "x$LINE" != x ; then
6633 eval "DEFAULT_$LINE"
6638 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6643 eval "$ac_cv_use_mimetype"
6644 if test "$no_cache" != 1; then
6645 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6648 if test "$wxUSE_MIMETYPE" = yes; then
6649 { echo "$as_me:$LINENO: result: yes" >&5
6650 echo "${ECHO_T}yes" >&6; }
6652 { echo "$as_me:$LINENO: result: no" >&5
6653 echo "${ECHO_T}no" >&6; }
6658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6659 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6661 # Check whether --enable-mslu was given.
6662 if test "${enable_mslu+set}" = set; then
6663 enableval=$enable_mslu;
6664 if test "$enableval" = yes; then
6665 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6667 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6672 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6673 if test "x$LINE" != x ; then
6674 eval "DEFAULT_$LINE"
6679 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6684 eval "$ac_cv_use_mslu"
6685 if test "$no_cache" != 1; then
6686 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6689 if test "$wxUSE_UNICODE_MSLU" = yes; then
6690 { echo "$as_me:$LINENO: result: yes" >&5
6691 echo "${ECHO_T}yes" >&6; }
6693 { echo "$as_me:$LINENO: result: no" >&5
6694 echo "${ECHO_T}no" >&6; }
6699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6700 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6702 # Check whether --enable-snglinst was given.
6703 if test "${enable_snglinst+set}" = set; then
6704 enableval=$enable_snglinst;
6705 if test "$enableval" = yes; then
6706 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6708 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6713 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6714 if test "x$LINE" != x ; then
6715 eval "DEFAULT_$LINE"
6720 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6725 eval "$ac_cv_use_snglinst"
6726 if test "$no_cache" != 1; then
6727 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6730 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6731 { echo "$as_me:$LINENO: result: yes" >&5
6732 echo "${ECHO_T}yes" >&6; }
6734 { echo "$as_me:$LINENO: result: no" >&5
6735 echo "${ECHO_T}no" >&6; }
6740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6741 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6743 # Check whether --enable-std_iostreams was given.
6744 if test "${enable_std_iostreams+set}" = set; then
6745 enableval=$enable_std_iostreams;
6746 if test "$enableval" = yes; then
6747 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6749 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6754 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6755 if test "x$LINE" != x ; then
6756 eval "DEFAULT_$LINE"
6761 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6766 eval "$ac_cv_use_std_iostreams"
6767 if test "$no_cache" != 1; then
6768 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6771 if test "$wxUSE_STD_IOSTREAM" = yes; then
6772 { echo "$as_me:$LINENO: result: yes" >&5
6773 echo "${ECHO_T}yes" >&6; }
6775 { echo "$as_me:$LINENO: result: no" >&5
6776 echo "${ECHO_T}no" >&6; }
6781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6782 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6784 # Check whether --enable-std_string was given.
6785 if test "${enable_std_string+set}" = set; then
6786 enableval=$enable_std_string;
6787 if test "$enableval" = yes; then
6788 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6790 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6795 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6796 if test "x$LINE" != x ; then
6797 eval "DEFAULT_$LINE"
6802 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6807 eval "$ac_cv_use_std_string"
6808 if test "$no_cache" != 1; then
6809 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6812 if test "$wxUSE_STD_STRING" = yes; then
6813 { echo "$as_me:$LINENO: result: yes" >&5
6814 echo "${ECHO_T}yes" >&6; }
6816 { echo "$as_me:$LINENO: result: no" >&5
6817 echo "${ECHO_T}no" >&6; }
6822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6823 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6825 # Check whether --enable-stdpaths was given.
6826 if test "${enable_stdpaths+set}" = set; then
6827 enableval=$enable_stdpaths;
6828 if test "$enableval" = yes; then
6829 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6831 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6836 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6837 if test "x$LINE" != x ; then
6838 eval "DEFAULT_$LINE"
6843 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6848 eval "$ac_cv_use_stdpaths"
6849 if test "$no_cache" != 1; then
6850 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6853 if test "$wxUSE_STDPATHS" = yes; then
6854 { echo "$as_me:$LINENO: result: yes" >&5
6855 echo "${ECHO_T}yes" >&6; }
6857 { echo "$as_me:$LINENO: result: no" >&5
6858 echo "${ECHO_T}no" >&6; }
6863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6864 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6866 # Check whether --enable-stopwatch was given.
6867 if test "${enable_stopwatch+set}" = set; then
6868 enableval=$enable_stopwatch;
6869 if test "$enableval" = yes; then
6870 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6872 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6877 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6878 if test "x$LINE" != x ; then
6879 eval "DEFAULT_$LINE"
6884 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6889 eval "$ac_cv_use_stopwatch"
6890 if test "$no_cache" != 1; then
6891 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6894 if test "$wxUSE_STOPWATCH" = yes; then
6895 { echo "$as_me:$LINENO: result: yes" >&5
6896 echo "${ECHO_T}yes" >&6; }
6898 { echo "$as_me:$LINENO: result: no" >&5
6899 echo "${ECHO_T}no" >&6; }
6904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6905 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6907 # Check whether --enable-streams was given.
6908 if test "${enable_streams+set}" = set; then
6909 enableval=$enable_streams;
6910 if test "$enableval" = yes; then
6911 ac_cv_use_streams='wxUSE_STREAMS=yes'
6913 ac_cv_use_streams='wxUSE_STREAMS=no'
6918 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6919 if test "x$LINE" != x ; then
6920 eval "DEFAULT_$LINE"
6925 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6930 eval "$ac_cv_use_streams"
6931 if test "$no_cache" != 1; then
6932 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6935 if test "$wxUSE_STREAMS" = yes; then
6936 { echo "$as_me:$LINENO: result: yes" >&5
6937 echo "${ECHO_T}yes" >&6; }
6939 { echo "$as_me:$LINENO: result: no" >&5
6940 echo "${ECHO_T}no" >&6; }
6945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6946 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6948 # Check whether --enable-system_options was given.
6949 if test "${enable_system_options+set}" = set; then
6950 enableval=$enable_system_options;
6951 if test "$enableval" = yes; then
6952 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6954 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6959 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6960 if test "x$LINE" != x ; then
6961 eval "DEFAULT_$LINE"
6966 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6971 eval "$ac_cv_use_system_options"
6972 if test "$no_cache" != 1; then
6973 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6976 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6977 { echo "$as_me:$LINENO: result: yes" >&5
6978 echo "${ECHO_T}yes" >&6; }
6980 { echo "$as_me:$LINENO: result: no" >&5
6981 echo "${ECHO_T}no" >&6; }
6986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6989 # Check whether --enable-tarstream was given.
6990 if test "${enable_tarstream+set}" = set; then
6991 enableval=$enable_tarstream;
6992 if test "$enableval" = yes; then
6993 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6995 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7000 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x ; then
7002 eval "DEFAULT_$LINE"
7007 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7012 eval "$ac_cv_use_tarstream"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7017 if test "$wxUSE_TARSTREAM" = yes; then
7018 { echo "$as_me:$LINENO: result: yes" >&5
7019 echo "${ECHO_T}yes" >&6; }
7021 { echo "$as_me:$LINENO: result: no" >&5
7022 echo "${ECHO_T}no" >&6; }
7027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7030 # Check whether --enable-textbuf was given.
7031 if test "${enable_textbuf+set}" = set; then
7032 enableval=$enable_textbuf;
7033 if test "$enableval" = yes; then
7034 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7036 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7041 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7042 if test "x$LINE" != x ; then
7043 eval "DEFAULT_$LINE"
7048 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7053 eval "$ac_cv_use_textbuf"
7054 if test "$no_cache" != 1; then
7055 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7058 if test "$wxUSE_TEXTBUFFER" = yes; then
7059 { echo "$as_me:$LINENO: result: yes" >&5
7060 echo "${ECHO_T}yes" >&6; }
7062 { echo "$as_me:$LINENO: result: no" >&5
7063 echo "${ECHO_T}no" >&6; }
7068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7069 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7071 # Check whether --enable-textfile was given.
7072 if test "${enable_textfile+set}" = set; then
7073 enableval=$enable_textfile;
7074 if test "$enableval" = yes; then
7075 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7077 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7082 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7083 if test "x$LINE" != x ; then
7084 eval "DEFAULT_$LINE"
7089 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7094 eval "$ac_cv_use_textfile"
7095 if test "$no_cache" != 1; then
7096 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7099 if test "$wxUSE_TEXTFILE" = yes; then
7100 { echo "$as_me:$LINENO: result: yes" >&5
7101 echo "${ECHO_T}yes" >&6; }
7103 { echo "$as_me:$LINENO: result: no" >&5
7104 echo "${ECHO_T}no" >&6; }
7109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7110 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7112 # Check whether --enable-timer was given.
7113 if test "${enable_timer+set}" = set; then
7114 enableval=$enable_timer;
7115 if test "$enableval" = yes; then
7116 ac_cv_use_timer='wxUSE_TIMER=yes'
7118 ac_cv_use_timer='wxUSE_TIMER=no'
7123 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7124 if test "x$LINE" != x ; then
7125 eval "DEFAULT_$LINE"
7130 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7135 eval "$ac_cv_use_timer"
7136 if test "$no_cache" != 1; then
7137 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7140 if test "$wxUSE_TIMER" = yes; then
7141 { echo "$as_me:$LINENO: result: yes" >&5
7142 echo "${ECHO_T}yes" >&6; }
7144 { echo "$as_me:$LINENO: result: no" >&5
7145 echo "${ECHO_T}no" >&6; }
7150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7151 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7153 # Check whether --enable-unicode was given.
7154 if test "${enable_unicode+set}" = set; then
7155 enableval=$enable_unicode;
7156 if test "$enableval" = yes; then
7157 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7159 ac_cv_use_unicode='wxUSE_UNICODE=no'
7164 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7165 if test "x$LINE" != x ; then
7166 eval "DEFAULT_$LINE"
7171 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7176 eval "$ac_cv_use_unicode"
7177 if test "$no_cache" != 1; then
7178 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7181 if test "$wxUSE_UNICODE" = yes; then
7182 { echo "$as_me:$LINENO: result: yes" >&5
7183 echo "${ECHO_T}yes" >&6; }
7185 { echo "$as_me:$LINENO: result: no" >&5
7186 echo "${ECHO_T}no" >&6; }
7191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7192 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7194 # Check whether --enable-sound was given.
7195 if test "${enable_sound+set}" = set; then
7196 enableval=$enable_sound;
7197 if test "$enableval" = yes; then
7198 ac_cv_use_sound='wxUSE_SOUND=yes'
7200 ac_cv_use_sound='wxUSE_SOUND=no'
7205 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7206 if test "x$LINE" != x ; then
7207 eval "DEFAULT_$LINE"
7212 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7217 eval "$ac_cv_use_sound"
7218 if test "$no_cache" != 1; then
7219 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7222 if test "$wxUSE_SOUND" = yes; then
7223 { echo "$as_me:$LINENO: result: yes" >&5
7224 echo "${ECHO_T}yes" >&6; }
7226 { echo "$as_me:$LINENO: result: no" >&5
7227 echo "${ECHO_T}no" >&6; }
7232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7233 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7235 # Check whether --enable-mediactrl was given.
7236 if test "${enable_mediactrl+set}" = set; then
7237 enableval=$enable_mediactrl;
7238 if test "$enableval" = yes; then
7239 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7241 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7246 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7247 if test "x$LINE" != x ; then
7248 eval "DEFAULT_$LINE"
7253 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7258 eval "$ac_cv_use_mediactrl"
7259 if test "$no_cache" != 1; then
7260 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7263 if test "$wxUSE_MEDIACTRL" = yes; then
7264 { echo "$as_me:$LINENO: result: yes" >&5
7265 echo "${ECHO_T}yes" >&6; }
7267 { echo "$as_me:$LINENO: result: no" >&5
7268 echo "${ECHO_T}no" >&6; }
7273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7274 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7276 # Check whether --enable-gstreamer8 was given.
7277 if test "${enable_gstreamer8+set}" = set; then
7278 enableval=$enable_gstreamer8;
7279 if test "$enableval" = yes; then
7280 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7282 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7287 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7288 if test "x$LINE" != x ; then
7289 eval "DEFAULT_$LINE"
7294 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7299 eval "$ac_cv_use_gstreamer8"
7300 if test "$no_cache" != 1; then
7301 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7304 if test "$wxUSE_GSTREAMER8" = yes; then
7305 { echo "$as_me:$LINENO: result: yes" >&5
7306 echo "${ECHO_T}yes" >&6; }
7308 { echo "$as_me:$LINENO: result: no" >&5
7309 echo "${ECHO_T}no" >&6; }
7314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7315 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7317 # Check whether --enable-printfposparam was given.
7318 if test "${enable_printfposparam+set}" = set; then
7319 enableval=$enable_printfposparam;
7320 if test "$enableval" = yes; then
7321 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7323 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7328 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7329 if test "x$LINE" != x ; then
7330 eval "DEFAULT_$LINE"
7335 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7340 eval "$ac_cv_use_printfposparam"
7341 if test "$no_cache" != 1; then
7342 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7345 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7346 { echo "$as_me:$LINENO: result: yes" >&5
7347 echo "${ECHO_T}yes" >&6; }
7349 { echo "$as_me:$LINENO: result: no" >&5
7350 echo "${ECHO_T}no" >&6; }
7355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7356 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7358 # Check whether --enable-zipstream was given.
7359 if test "${enable_zipstream+set}" = set; then
7360 enableval=$enable_zipstream;
7361 if test "$enableval" = yes; then
7362 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7364 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7369 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x ; then
7371 eval "DEFAULT_$LINE"
7376 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7381 eval "$ac_cv_use_zipstream"
7382 if test "$no_cache" != 1; then
7383 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7386 if test "$wxUSE_ZIPSTREAM" = yes; then
7387 { echo "$as_me:$LINENO: result: yes" >&5
7388 echo "${ECHO_T}yes" >&6; }
7390 { echo "$as_me:$LINENO: result: no" >&5
7391 echo "${ECHO_T}no" >&6; }
7397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7398 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7400 # Check whether --enable-url was given.
7401 if test "${enable_url+set}" = set; then
7402 enableval=$enable_url;
7403 if test "$enableval" = yes; then
7404 ac_cv_use_url='wxUSE_URL=yes'
7406 ac_cv_use_url='wxUSE_URL=no'
7411 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7412 if test "x$LINE" != x ; then
7413 eval "DEFAULT_$LINE"
7418 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7423 eval "$ac_cv_use_url"
7424 if test "$no_cache" != 1; then
7425 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7428 if test "$wxUSE_URL" = yes; then
7429 { echo "$as_me:$LINENO: result: yes" >&5
7430 echo "${ECHO_T}yes" >&6; }
7432 { echo "$as_me:$LINENO: result: no" >&5
7433 echo "${ECHO_T}no" >&6; }
7438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7439 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7441 # Check whether --enable-variant was given.
7442 if test "${enable_variant+set}" = set; then
7443 enableval=$enable_variant;
7444 if test "$enableval" = yes; then
7445 ac_cv_use_variant='wxUSE_VARIANT=yes'
7447 ac_cv_use_variant='wxUSE_VARIANT=no'
7452 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7453 if test "x$LINE" != x ; then
7454 eval "DEFAULT_$LINE"
7459 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7464 eval "$ac_cv_use_variant"
7465 if test "$no_cache" != 1; then
7466 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7469 if test "$wxUSE_VARIANT" = yes; then
7470 { echo "$as_me:$LINENO: result: yes" >&5
7471 echo "${ECHO_T}yes" >&6; }
7473 { echo "$as_me:$LINENO: result: no" >&5
7474 echo "${ECHO_T}no" >&6; }
7479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7480 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7482 # Check whether --enable-protocol was given.
7483 if test "${enable_protocol+set}" = set; then
7484 enableval=$enable_protocol;
7485 if test "$enableval" = yes; then
7486 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7488 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7493 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7494 if test "x$LINE" != x ; then
7495 eval "DEFAULT_$LINE"
7500 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7505 eval "$ac_cv_use_protocol"
7506 if test "$no_cache" != 1; then
7507 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7510 if test "$wxUSE_PROTOCOL" = yes; then
7511 { echo "$as_me:$LINENO: result: yes" >&5
7512 echo "${ECHO_T}yes" >&6; }
7514 { echo "$as_me:$LINENO: result: no" >&5
7515 echo "${ECHO_T}no" >&6; }
7520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7523 # Check whether --enable-protocol_http was given.
7524 if test "${enable_protocol_http+set}" = set; then
7525 enableval=$enable_protocol_http;
7526 if test "$enableval" = yes; then
7527 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7529 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7534 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7535 if test "x$LINE" != x ; then
7536 eval "DEFAULT_$LINE"
7541 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7546 eval "$ac_cv_use_protocol_http"
7547 if test "$no_cache" != 1; then
7548 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7551 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7552 { echo "$as_me:$LINENO: result: yes" >&5
7553 echo "${ECHO_T}yes" >&6; }
7555 { echo "$as_me:$LINENO: result: no" >&5
7556 echo "${ECHO_T}no" >&6; }
7561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7562 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7564 # Check whether --enable-protocol_ftp was given.
7565 if test "${enable_protocol_ftp+set}" = set; then
7566 enableval=$enable_protocol_ftp;
7567 if test "$enableval" = yes; then
7568 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7570 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7575 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x ; then
7577 eval "DEFAULT_$LINE"
7582 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7587 eval "$ac_cv_use_protocol_ftp"
7588 if test "$no_cache" != 1; then
7589 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7592 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7593 { echo "$as_me:$LINENO: result: yes" >&5
7594 echo "${ECHO_T}yes" >&6; }
7596 { echo "$as_me:$LINENO: result: no" >&5
7597 echo "${ECHO_T}no" >&6; }
7602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7603 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7605 # Check whether --enable-protocol_file was given.
7606 if test "${enable_protocol_file+set}" = set; then
7607 enableval=$enable_protocol_file;
7608 if test "$enableval" = yes; then
7609 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7611 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7616 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x ; then
7618 eval "DEFAULT_$LINE"
7623 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7628 eval "$ac_cv_use_protocol_file"
7629 if test "$no_cache" != 1; then
7630 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7633 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7634 { echo "$as_me:$LINENO: result: yes" >&5
7635 echo "${ECHO_T}yes" >&6; }
7637 { echo "$as_me:$LINENO: result: no" >&5
7638 echo "${ECHO_T}no" >&6; }
7646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7647 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7649 # Check whether --enable-threads was given.
7650 if test "${enable_threads+set}" = set; then
7651 enableval=$enable_threads;
7652 if test "$enableval" = yes; then
7653 ac_cv_use_threads='wxUSE_THREADS=yes'
7655 ac_cv_use_threads='wxUSE_THREADS=no'
7660 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7661 if test "x$LINE" != x ; then
7662 eval "DEFAULT_$LINE"
7667 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7672 eval "$ac_cv_use_threads"
7673 if test "$no_cache" != 1; then
7674 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7677 if test "$wxUSE_THREADS" = yes; then
7678 { echo "$as_me:$LINENO: result: yes" >&5
7679 echo "${ECHO_T}yes" >&6; }
7681 { echo "$as_me:$LINENO: result: no" >&5
7682 echo "${ECHO_T}no" >&6; }
7686 if test "$wxUSE_GUI" = "yes"; then
7691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7692 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7694 # Check whether --enable-docview was given.
7695 if test "${enable_docview+set}" = set; then
7696 enableval=$enable_docview;
7697 if test "$enableval" = yes; then
7698 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7700 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7705 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7712 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7717 eval "$ac_cv_use_docview"
7718 if test "$no_cache" != 1; then
7719 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7722 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7723 { echo "$as_me:$LINENO: result: yes" >&5
7724 echo "${ECHO_T}yes" >&6; }
7726 { echo "$as_me:$LINENO: result: no" >&5
7727 echo "${ECHO_T}no" >&6; }
7732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7733 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7735 # Check whether --enable-help was given.
7736 if test "${enable_help+set}" = set; then
7737 enableval=$enable_help;
7738 if test "$enableval" = yes; then
7739 ac_cv_use_help='wxUSE_HELP=yes'
7741 ac_cv_use_help='wxUSE_HELP=no'
7746 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x ; then
7748 eval "DEFAULT_$LINE"
7753 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7758 eval "$ac_cv_use_help"
7759 if test "$no_cache" != 1; then
7760 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7763 if test "$wxUSE_HELP" = yes; then
7764 { echo "$as_me:$LINENO: result: yes" >&5
7765 echo "${ECHO_T}yes" >&6; }
7767 { echo "$as_me:$LINENO: result: no" >&5
7768 echo "${ECHO_T}no" >&6; }
7773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7774 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7776 # Check whether --enable-mshtmlhelp was given.
7777 if test "${enable_mshtmlhelp+set}" = set; then
7778 enableval=$enable_mshtmlhelp;
7779 if test "$enableval" = yes; then
7780 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7782 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7787 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7788 if test "x$LINE" != x ; then
7789 eval "DEFAULT_$LINE"
7794 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7799 eval "$ac_cv_use_mshtmlhelp"
7800 if test "$no_cache" != 1; then
7801 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7804 if test "$wxUSE_MS_HTML_HELP" = yes; then
7805 { echo "$as_me:$LINENO: result: yes" >&5
7806 echo "${ECHO_T}yes" >&6; }
7808 { echo "$as_me:$LINENO: result: no" >&5
7809 echo "${ECHO_T}no" >&6; }
7814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7815 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7817 # Check whether --enable-html was given.
7818 if test "${enable_html+set}" = set; then
7819 enableval=$enable_html;
7820 if test "$enableval" = yes; then
7821 ac_cv_use_html='wxUSE_HTML=yes'
7823 ac_cv_use_html='wxUSE_HTML=no'
7828 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7829 if test "x$LINE" != x ; then
7830 eval "DEFAULT_$LINE"
7835 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7840 eval "$ac_cv_use_html"
7841 if test "$no_cache" != 1; then
7842 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7845 if test "$wxUSE_HTML" = yes; then
7846 { echo "$as_me:$LINENO: result: yes" >&5
7847 echo "${ECHO_T}yes" >&6; }
7849 { echo "$as_me:$LINENO: result: no" >&5
7850 echo "${ECHO_T}no" >&6; }
7855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7856 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7858 # Check whether --enable-htmlhelp was given.
7859 if test "${enable_htmlhelp+set}" = set; then
7860 enableval=$enable_htmlhelp;
7861 if test "$enableval" = yes; then
7862 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7864 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7869 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7870 if test "x$LINE" != x ; then
7871 eval "DEFAULT_$LINE"
7876 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7881 eval "$ac_cv_use_htmlhelp"
7882 if test "$no_cache" != 1; then
7883 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7886 if test "$wxUSE_WXHTML_HELP" = yes; then
7887 { echo "$as_me:$LINENO: result: yes" >&5
7888 echo "${ECHO_T}yes" >&6; }
7890 { echo "$as_me:$LINENO: result: no" >&5
7891 echo "${ECHO_T}no" >&6; }
7896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7897 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7899 # Check whether --enable-xrc was given.
7900 if test "${enable_xrc+set}" = set; then
7901 enableval=$enable_xrc;
7902 if test "$enableval" = yes; then
7903 ac_cv_use_xrc='wxUSE_XRC=yes'
7905 ac_cv_use_xrc='wxUSE_XRC=no'
7910 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7911 if test "x$LINE" != x ; then
7912 eval "DEFAULT_$LINE"
7917 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7922 eval "$ac_cv_use_xrc"
7923 if test "$no_cache" != 1; then
7924 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7927 if test "$wxUSE_XRC" = yes; then
7928 { echo "$as_me:$LINENO: result: yes" >&5
7929 echo "${ECHO_T}yes" >&6; }
7931 { echo "$as_me:$LINENO: result: no" >&5
7932 echo "${ECHO_T}no" >&6; }
7937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7938 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7940 # Check whether --enable-aui was given.
7941 if test "${enable_aui+set}" = set; then
7942 enableval=$enable_aui;
7943 if test "$enableval" = yes; then
7944 ac_cv_use_aui='wxUSE_AUI=yes'
7946 ac_cv_use_aui='wxUSE_AUI=no'
7951 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7952 if test "x$LINE" != x ; then
7953 eval "DEFAULT_$LINE"
7958 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7963 eval "$ac_cv_use_aui"
7964 if test "$no_cache" != 1; then
7965 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7968 if test "$wxUSE_AUI" = yes; then
7969 { echo "$as_me:$LINENO: result: yes" >&5
7970 echo "${ECHO_T}yes" >&6; }
7972 { echo "$as_me:$LINENO: result: no" >&5
7973 echo "${ECHO_T}no" >&6; }
7978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7979 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
7981 # Check whether --enable-stc was given.
7982 if test "${enable_stc+set}" = set; then
7983 enableval=$enable_stc;
7984 if test "$enableval" = yes; then
7985 ac_cv_use_stc='wxUSE_STC=yes'
7987 ac_cv_use_stc='wxUSE_STC=no'
7992 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7993 if test "x$LINE" != x ; then
7994 eval "DEFAULT_$LINE"
7999 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8004 eval "$ac_cv_use_stc"
8005 if test "$no_cache" != 1; then
8006 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8009 if test "$wxUSE_STC" = yes; then
8010 { echo "$as_me:$LINENO: result: yes" >&5
8011 echo "${ECHO_T}yes" >&6; }
8013 { echo "$as_me:$LINENO: result: no" >&5
8014 echo "${ECHO_T}no" >&6; }
8019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8020 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8022 # Check whether --enable-constraints was given.
8023 if test "${enable_constraints+set}" = set; then
8024 enableval=$enable_constraints;
8025 if test "$enableval" = yes; then
8026 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8028 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8033 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8034 if test "x$LINE" != x ; then
8035 eval "DEFAULT_$LINE"
8040 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8045 eval "$ac_cv_use_constraints"
8046 if test "$no_cache" != 1; then
8047 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8050 if test "$wxUSE_CONSTRAINTS" = yes; then
8051 { echo "$as_me:$LINENO: result: yes" >&5
8052 echo "${ECHO_T}yes" >&6; }
8054 { echo "$as_me:$LINENO: result: no" >&5
8055 echo "${ECHO_T}no" >&6; }
8060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8061 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8063 # Check whether --enable-printarch was given.
8064 if test "${enable_printarch+set}" = set; then
8065 enableval=$enable_printarch;
8066 if test "$enableval" = yes; then
8067 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8069 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8074 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8075 if test "x$LINE" != x ; then
8076 eval "DEFAULT_$LINE"
8081 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8086 eval "$ac_cv_use_printarch"
8087 if test "$no_cache" != 1; then
8088 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8091 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8092 { echo "$as_me:$LINENO: result: yes" >&5
8093 echo "${ECHO_T}yes" >&6; }
8095 { echo "$as_me:$LINENO: result: no" >&5
8096 echo "${ECHO_T}no" >&6; }
8101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8102 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8104 # Check whether --enable-mdi was given.
8105 if test "${enable_mdi+set}" = set; then
8106 enableval=$enable_mdi;
8107 if test "$enableval" = yes; then
8108 ac_cv_use_mdi='wxUSE_MDI=yes'
8110 ac_cv_use_mdi='wxUSE_MDI=no'
8115 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8116 if test "x$LINE" != x ; then
8117 eval "DEFAULT_$LINE"
8122 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8127 eval "$ac_cv_use_mdi"
8128 if test "$no_cache" != 1; then
8129 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8132 if test "$wxUSE_MDI" = yes; then
8133 { echo "$as_me:$LINENO: result: yes" >&5
8134 echo "${ECHO_T}yes" >&6; }
8136 { echo "$as_me:$LINENO: result: no" >&5
8137 echo "${ECHO_T}no" >&6; }
8142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8143 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8145 # Check whether --enable-mdidoc was given.
8146 if test "${enable_mdidoc+set}" = set; then
8147 enableval=$enable_mdidoc;
8148 if test "$enableval" = yes; then
8149 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8151 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8156 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8157 if test "x$LINE" != x ; then
8158 eval "DEFAULT_$LINE"
8163 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8168 eval "$ac_cv_use_mdidoc"
8169 if test "$no_cache" != 1; then
8170 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8173 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8174 { echo "$as_me:$LINENO: result: yes" >&5
8175 echo "${ECHO_T}yes" >&6; }
8177 { echo "$as_me:$LINENO: result: no" >&5
8178 echo "${ECHO_T}no" >&6; }
8183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8184 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8186 # Check whether --enable-loggui was given.
8187 if test "${enable_loggui+set}" = set; then
8188 enableval=$enable_loggui;
8189 if test "$enableval" = yes; then
8190 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8192 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8197 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8198 if test "x$LINE" != x ; then
8199 eval "DEFAULT_$LINE"
8204 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8209 eval "$ac_cv_use_loggui"
8210 if test "$no_cache" != 1; then
8211 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8214 if test "$wxUSE_LOGGUI" = yes; then
8215 { echo "$as_me:$LINENO: result: yes" >&5
8216 echo "${ECHO_T}yes" >&6; }
8218 { echo "$as_me:$LINENO: result: no" >&5
8219 echo "${ECHO_T}no" >&6; }
8224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8225 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8227 # Check whether --enable-logwin was given.
8228 if test "${enable_logwin+set}" = set; then
8229 enableval=$enable_logwin;
8230 if test "$enableval" = yes; then
8231 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8233 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8238 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8239 if test "x$LINE" != x ; then
8240 eval "DEFAULT_$LINE"
8245 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8250 eval "$ac_cv_use_logwin"
8251 if test "$no_cache" != 1; then
8252 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8255 if test "$wxUSE_LOGWINDOW" = yes; then
8256 { echo "$as_me:$LINENO: result: yes" >&5
8257 echo "${ECHO_T}yes" >&6; }
8259 { echo "$as_me:$LINENO: result: no" >&5
8260 echo "${ECHO_T}no" >&6; }
8265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8266 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8268 # Check whether --enable-logdialog was given.
8269 if test "${enable_logdialog+set}" = set; then
8270 enableval=$enable_logdialog;
8271 if test "$enableval" = yes; then
8272 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8274 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8279 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8280 if test "x$LINE" != x ; then
8281 eval "DEFAULT_$LINE"
8286 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8291 eval "$ac_cv_use_logdialog"
8292 if test "$no_cache" != 1; then
8293 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8296 if test "$wxUSE_LOGDIALOG" = yes; then
8297 { echo "$as_me:$LINENO: result: yes" >&5
8298 echo "${ECHO_T}yes" >&6; }
8300 { echo "$as_me:$LINENO: result: no" >&5
8301 echo "${ECHO_T}no" >&6; }
8306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8307 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8309 # Check whether --enable-webkit was given.
8310 if test "${enable_webkit+set}" = set; then
8311 enableval=$enable_webkit;
8312 if test "$enableval" = yes; then
8313 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8315 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8320 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8321 if test "x$LINE" != x ; then
8322 eval "DEFAULT_$LINE"
8327 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8332 eval "$ac_cv_use_webkit"
8333 if test "$no_cache" != 1; then
8334 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8337 if test "$wxUSE_WEBKIT" = yes; then
8338 { echo "$as_me:$LINENO: result: yes" >&5
8339 echo "${ECHO_T}yes" >&6; }
8341 { echo "$as_me:$LINENO: result: no" >&5
8342 echo "${ECHO_T}no" >&6; }
8347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8348 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8350 # Check whether --enable-richtext was given.
8351 if test "${enable_richtext+set}" = set; then
8352 enableval=$enable_richtext;
8353 if test "$enableval" = yes; then
8354 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8356 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8361 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8362 if test "x$LINE" != x ; then
8363 eval "DEFAULT_$LINE"
8368 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8373 eval "$ac_cv_use_richtext"
8374 if test "$no_cache" != 1; then
8375 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8378 if test "$wxUSE_RICHTEXT" = yes; then
8379 { echo "$as_me:$LINENO: result: yes" >&5
8380 echo "${ECHO_T}yes" >&6; }
8382 { echo "$as_me:$LINENO: result: no" >&5
8383 echo "${ECHO_T}no" >&6; }
8388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8389 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8391 # Check whether --enable-graphics_ctx was given.
8392 if test "${enable_graphics_ctx+set}" = set; then
8393 enableval=$enable_graphics_ctx;
8394 if test "$enableval" = yes; then
8395 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8397 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8402 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8403 if test "x$LINE" != x ; then
8404 eval "DEFAULT_$LINE"
8409 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8414 eval "$ac_cv_use_graphics_ctx"
8415 if test "$no_cache" != 1; then
8416 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8419 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8420 { echo "$as_me:$LINENO: result: yes" >&5
8421 echo "${ECHO_T}yes" >&6; }
8423 { echo "$as_me:$LINENO: result: no" >&5
8424 echo "${ECHO_T}no" >&6; }
8430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8431 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8433 # Check whether --enable-postscript was given.
8434 if test "${enable_postscript+set}" = set; then
8435 enableval=$enable_postscript;
8436 if test "$enableval" = yes; then
8437 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8439 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8444 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8445 if test "x$LINE" != x ; then
8446 eval "DEFAULT_$LINE"
8451 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8456 eval "$ac_cv_use_postscript"
8457 if test "$no_cache" != 1; then
8458 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8461 if test "$wxUSE_POSTSCRIPT" = yes; then
8462 { echo "$as_me:$LINENO: result: yes" >&5
8463 echo "${ECHO_T}yes" >&6; }
8465 { echo "$as_me:$LINENO: result: no" >&5
8466 echo "${ECHO_T}no" >&6; }
8474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8475 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8477 # Check whether --enable-clipboard was given.
8478 if test "${enable_clipboard+set}" = set; then
8479 enableval=$enable_clipboard;
8480 if test "$enableval" = yes; then
8481 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8483 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8488 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8489 if test "x$LINE" != x ; then
8490 eval "DEFAULT_$LINE"
8495 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8500 eval "$ac_cv_use_clipboard"
8501 if test "$no_cache" != 1; then
8502 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8505 if test "$wxUSE_CLIPBOARD" = yes; then
8506 { echo "$as_me:$LINENO: result: yes" >&5
8507 echo "${ECHO_T}yes" >&6; }
8509 { echo "$as_me:$LINENO: result: no" >&5
8510 echo "${ECHO_T}no" >&6; }
8515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8516 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8518 # Check whether --enable-dnd was given.
8519 if test "${enable_dnd+set}" = set; then
8520 enableval=$enable_dnd;
8521 if test "$enableval" = yes; then
8522 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8524 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8529 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8530 if test "x$LINE" != x ; then
8531 eval "DEFAULT_$LINE"
8536 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8541 eval "$ac_cv_use_dnd"
8542 if test "$no_cache" != 1; then
8543 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8546 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8547 { echo "$as_me:$LINENO: result: yes" >&5
8548 echo "${ECHO_T}yes" >&6; }
8550 { echo "$as_me:$LINENO: result: no" >&5
8551 echo "${ECHO_T}no" >&6; }
8556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8557 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8559 # Check whether --enable-metafile was given.
8560 if test "${enable_metafile+set}" = set; then
8561 enableval=$enable_metafile;
8562 if test "$enableval" = yes; then
8563 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8565 ac_cv_use_metafile='wxUSE_METAFILE=no'
8570 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8571 if test "x$LINE" != x ; then
8572 eval "DEFAULT_$LINE"
8577 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8582 eval "$ac_cv_use_metafile"
8583 if test "$no_cache" != 1; then
8584 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8587 if test "$wxUSE_METAFILE" = yes; then
8588 { echo "$as_me:$LINENO: result: yes" >&5
8589 echo "${ECHO_T}yes" >&6; }
8591 { echo "$as_me:$LINENO: result: no" >&5
8592 echo "${ECHO_T}no" >&6; }
8600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8601 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8603 # Check whether --enable-controls was given.
8604 if test "${enable_controls+set}" = set; then
8605 enableval=$enable_controls;
8606 if test "$enableval" = yes; then
8607 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8609 ac_cv_use_controls='wxUSE_CONTROLS=no'
8614 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8615 if test "x$LINE" != x ; then
8616 eval "DEFAULT_$LINE"
8621 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8626 eval "$ac_cv_use_controls"
8627 if test "$no_cache" != 1; then
8628 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8631 if test "$wxUSE_CONTROLS" = yes; then
8632 { echo "$as_me:$LINENO: result: yes" >&5
8633 echo "${ECHO_T}yes" >&6; }
8635 { echo "$as_me:$LINENO: result: no" >&5
8636 echo "${ECHO_T}no" >&6; }
8640 if test "$wxUSE_CONTROLS" = "yes"; then
8641 DEFAULT_wxUSE_ACCEL=yes
8642 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8643 DEFAULT_wxUSE_BMPBUTTON=yes
8644 DEFAULT_wxUSE_BUTTON=yes
8645 DEFAULT_wxUSE_CALCTRL=yes
8646 DEFAULT_wxUSE_CARET=yes
8647 DEFAULT_wxUSE_COMBOBOX=yes
8648 DEFAULT_wxUSE_CHECKBOX=yes
8649 DEFAULT_wxUSE_CHECKLISTBOX=yes
8650 DEFAULT_wxUSE_CHOICE=yes
8651 DEFAULT_wxUSE_CHOICEBOOK=yes
8652 DEFAULT_wxUSE_COLLPANE=yes
8653 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8654 DEFAULT_wxUSE_COMBOBOX=yes
8655 DEFAULT_wxUSE_DATEPICKCTRL=yes
8656 DEFAULT_wxUSE_DISPLAY=yes
8657 DEFAULT_wxUSE_DETECT_SM=yes
8658 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8659 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8660 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8661 DEFAULT_wxUSE_GAUGE=yes
8662 DEFAULT_wxUSE_GRID=yes
8663 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8664 DEFAULT_wxUSE_DATAVIEWCTRL=no
8665 DEFAULT_wxUSE_IMAGLIST=yes
8666 DEFAULT_wxUSE_LISTBOOK=yes
8667 DEFAULT_wxUSE_LISTBOX=yes
8668 DEFAULT_wxUSE_LISTCTRL=yes
8669 DEFAULT_wxUSE_NOTEBOOK=yes
8670 DEFAULT_wxUSE_RADIOBOX=yes
8671 DEFAULT_wxUSE_RADIOBTN=yes
8672 DEFAULT_wxUSE_SASH=yes
8673 DEFAULT_wxUSE_SCROLLBAR=yes
8674 DEFAULT_wxUSE_SEARCHCTRL=yes
8675 DEFAULT_wxUSE_SLIDER=yes
8676 DEFAULT_wxUSE_SPINBTN=yes
8677 DEFAULT_wxUSE_SPINCTRL=yes
8678 DEFAULT_wxUSE_SPLITTER=yes
8679 DEFAULT_wxUSE_STATBMP=yes
8680 DEFAULT_wxUSE_STATBOX=yes
8681 DEFAULT_wxUSE_STATLINE=yes
8682 DEFAULT_wxUSE_STATUSBAR=yes
8683 DEFAULT_wxUSE_TAB_DIALOG=yes
8684 DEFAULT_wxUSE_TOGGLEBTN=yes
8685 DEFAULT_wxUSE_TOOLBAR=yes
8686 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8687 DEFAULT_wxUSE_TOOLTIPS=yes
8688 DEFAULT_wxUSE_TREEBOOK=yes
8689 DEFAULT_wxUSE_TOOLBOOK=yes
8690 DEFAULT_wxUSE_TREECTRL=yes
8691 DEFAULT_wxUSE_POPUPWIN=yes
8692 DEFAULT_wxUSE_TIPWINDOW=yes
8693 elif test "$wxUSE_CONTROLS" = "no"; then
8694 DEFAULT_wxUSE_ACCEL=no
8695 DEFAULT_wxUSE_ANIMATIONCTRL=no
8696 DEFAULT_wxUSE_BMPBUTTON=no
8697 DEFAULT_wxUSE_BUTTON=no
8698 DEFAULT_wxUSE_CALCTRL=no
8699 DEFAULT_wxUSE_CARET=no
8700 DEFAULT_wxUSE_COLLPANE=no
8701 DEFAULT_wxUSE_COMBOBOX=no
8702 DEFAULT_wxUSE_CHECKBOX=no
8703 DEFAULT_wxUSE_CHECKLISTBOX=no
8704 DEFAULT_wxUSE_CHOICE=no
8705 DEFAULT_wxUSE_CHOICEBOOK=no
8706 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8707 DEFAULT_wxUSE_COMBOBOX=no
8708 DEFAULT_wxUSE_DATEPICKCTRL=no
8709 DEFAULT_wxUSE_DISPLAY=no
8710 DEFAULT_wxUSE_DETECT_SM=no
8711 DEFAULT_wxUSE_DIRPICKERCTRL=no
8712 DEFAULT_wxUSE_FILEPICKERCTRL=no
8713 DEFAULT_wxUSE_FONTPICKERCTRL=no
8714 DEFAULT_wxUSE_GAUGE=no
8715 DEFAULT_wxUSE_GRID=no
8716 DEFAULT_wxUSE_HYPERLINKCTRL=no
8717 DEFAULT_wxUSE_DATAVIEWCTRL=no
8718 DEFAULT_wxUSE_IMAGLIST=no
8719 DEFAULT_wxUSE_LISTBOOK=no
8720 DEFAULT_wxUSE_LISTBOX=no
8721 DEFAULT_wxUSE_LISTCTRL=no
8722 DEFAULT_wxUSE_NOTEBOOK=no
8723 DEFAULT_wxUSE_RADIOBOX=no
8724 DEFAULT_wxUSE_RADIOBTN=no
8725 DEFAULT_wxUSE_SASH=no
8726 DEFAULT_wxUSE_SCROLLBAR=no
8727 DEFAULT_wxUSE_SEARCHCTRL=no
8728 DEFAULT_wxUSE_SLIDER=no
8729 DEFAULT_wxUSE_SPINBTN=no
8730 DEFAULT_wxUSE_SPINCTRL=no
8731 DEFAULT_wxUSE_SPLITTER=no
8732 DEFAULT_wxUSE_STATBMP=no
8733 DEFAULT_wxUSE_STATBOX=no
8734 DEFAULT_wxUSE_STATLINE=no
8735 DEFAULT_wxUSE_STATUSBAR=no
8736 DEFAULT_wxUSE_TAB_DIALOG=no
8737 DEFAULT_wxUSE_TOGGLEBTN=no
8738 DEFAULT_wxUSE_TOOLBAR=no
8739 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8740 DEFAULT_wxUSE_TOOLTIPS=no
8741 DEFAULT_wxUSE_TREEBOOK=no
8742 DEFAULT_wxUSE_TOOLBOOK=no
8743 DEFAULT_wxUSE_TREECTRL=no
8744 DEFAULT_wxUSE_POPUPWIN=no
8745 DEFAULT_wxUSE_TIPWINDOW=no
8750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8751 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8753 # Check whether --enable-accel was given.
8754 if test "${enable_accel+set}" = set; then
8755 enableval=$enable_accel;
8756 if test "$enableval" = yes; then
8757 ac_cv_use_accel='wxUSE_ACCEL=yes'
8759 ac_cv_use_accel='wxUSE_ACCEL=no'
8764 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8765 if test "x$LINE" != x ; then
8766 eval "DEFAULT_$LINE"
8771 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8776 eval "$ac_cv_use_accel"
8777 if test "$no_cache" != 1; then
8778 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8781 if test "$wxUSE_ACCEL" = yes; then
8782 { echo "$as_me:$LINENO: result: yes" >&5
8783 echo "${ECHO_T}yes" >&6; }
8785 { echo "$as_me:$LINENO: result: no" >&5
8786 echo "${ECHO_T}no" >&6; }
8791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8792 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8794 # Check whether --enable-animatectrl was given.
8795 if test "${enable_animatectrl+set}" = set; then
8796 enableval=$enable_animatectrl;
8797 if test "$enableval" = yes; then
8798 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8800 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8805 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8806 if test "x$LINE" != x ; then
8807 eval "DEFAULT_$LINE"
8812 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8817 eval "$ac_cv_use_animatectrl"
8818 if test "$no_cache" != 1; then
8819 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8822 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8823 { echo "$as_me:$LINENO: result: yes" >&5
8824 echo "${ECHO_T}yes" >&6; }
8826 { echo "$as_me:$LINENO: result: no" >&5
8827 echo "${ECHO_T}no" >&6; }
8832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8833 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8835 # Check whether --enable-button was given.
8836 if test "${enable_button+set}" = set; then
8837 enableval=$enable_button;
8838 if test "$enableval" = yes; then
8839 ac_cv_use_button='wxUSE_BUTTON=yes'
8841 ac_cv_use_button='wxUSE_BUTTON=no'
8846 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8847 if test "x$LINE" != x ; then
8848 eval "DEFAULT_$LINE"
8853 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8858 eval "$ac_cv_use_button"
8859 if test "$no_cache" != 1; then
8860 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8863 if test "$wxUSE_BUTTON" = yes; then
8864 { echo "$as_me:$LINENO: result: yes" >&5
8865 echo "${ECHO_T}yes" >&6; }
8867 { echo "$as_me:$LINENO: result: no" >&5
8868 echo "${ECHO_T}no" >&6; }
8873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8874 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8876 # Check whether --enable-bmpbutton was given.
8877 if test "${enable_bmpbutton+set}" = set; then
8878 enableval=$enable_bmpbutton;
8879 if test "$enableval" = yes; then
8880 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8882 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8887 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8888 if test "x$LINE" != x ; then
8889 eval "DEFAULT_$LINE"
8894 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8899 eval "$ac_cv_use_bmpbutton"
8900 if test "$no_cache" != 1; then
8901 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8904 if test "$wxUSE_BMPBUTTON" = yes; then
8905 { echo "$as_me:$LINENO: result: yes" >&5
8906 echo "${ECHO_T}yes" >&6; }
8908 { echo "$as_me:$LINENO: result: no" >&5
8909 echo "${ECHO_T}no" >&6; }
8914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8915 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8917 # Check whether --enable-bmpcombobox was given.
8918 if test "${enable_bmpcombobox+set}" = set; then
8919 enableval=$enable_bmpcombobox;
8920 if test "$enableval" = yes; then
8921 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8923 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8928 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8929 if test "x$LINE" != x ; then
8930 eval "DEFAULT_$LINE"
8935 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8940 eval "$ac_cv_use_bmpcombobox"
8941 if test "$no_cache" != 1; then
8942 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8945 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8946 { echo "$as_me:$LINENO: result: yes" >&5
8947 echo "${ECHO_T}yes" >&6; }
8949 { echo "$as_me:$LINENO: result: no" >&5
8950 echo "${ECHO_T}no" >&6; }
8955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8956 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8958 # Check whether --enable-calendar was given.
8959 if test "${enable_calendar+set}" = set; then
8960 enableval=$enable_calendar;
8961 if test "$enableval" = yes; then
8962 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8964 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8969 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8970 if test "x$LINE" != x ; then
8971 eval "DEFAULT_$LINE"
8976 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8981 eval "$ac_cv_use_calendar"
8982 if test "$no_cache" != 1; then
8983 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8986 if test "$wxUSE_CALCTRL" = yes; then
8987 { echo "$as_me:$LINENO: result: yes" >&5
8988 echo "${ECHO_T}yes" >&6; }
8990 { echo "$as_me:$LINENO: result: no" >&5
8991 echo "${ECHO_T}no" >&6; }
8996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8997 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
8999 # Check whether --enable-caret was given.
9000 if test "${enable_caret+set}" = set; then
9001 enableval=$enable_caret;
9002 if test "$enableval" = yes; then
9003 ac_cv_use_caret='wxUSE_CARET=yes'
9005 ac_cv_use_caret='wxUSE_CARET=no'
9010 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9011 if test "x$LINE" != x ; then
9012 eval "DEFAULT_$LINE"
9017 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9022 eval "$ac_cv_use_caret"
9023 if test "$no_cache" != 1; then
9024 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9027 if test "$wxUSE_CARET" = yes; then
9028 { echo "$as_me:$LINENO: result: yes" >&5
9029 echo "${ECHO_T}yes" >&6; }
9031 { echo "$as_me:$LINENO: result: no" >&5
9032 echo "${ECHO_T}no" >&6; }
9037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9038 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9040 # Check whether --enable-checkbox was given.
9041 if test "${enable_checkbox+set}" = set; then
9042 enableval=$enable_checkbox;
9043 if test "$enableval" = yes; then
9044 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9046 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9051 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9052 if test "x$LINE" != x ; then
9053 eval "DEFAULT_$LINE"
9058 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9063 eval "$ac_cv_use_checkbox"
9064 if test "$no_cache" != 1; then
9065 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9068 if test "$wxUSE_CHECKBOX" = yes; then
9069 { echo "$as_me:$LINENO: result: yes" >&5
9070 echo "${ECHO_T}yes" >&6; }
9072 { echo "$as_me:$LINENO: result: no" >&5
9073 echo "${ECHO_T}no" >&6; }
9078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9079 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9081 # Check whether --enable-checklst was given.
9082 if test "${enable_checklst+set}" = set; then
9083 enableval=$enable_checklst;
9084 if test "$enableval" = yes; then
9085 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9087 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9092 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9093 if test "x$LINE" != x ; then
9094 eval "DEFAULT_$LINE"
9099 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9104 eval "$ac_cv_use_checklst"
9105 if test "$no_cache" != 1; then
9106 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9109 if test "$wxUSE_CHECKLST" = yes; then
9110 { echo "$as_me:$LINENO: result: yes" >&5
9111 echo "${ECHO_T}yes" >&6; }
9113 { echo "$as_me:$LINENO: result: no" >&5
9114 echo "${ECHO_T}no" >&6; }
9119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9120 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9122 # Check whether --enable-choice was given.
9123 if test "${enable_choice+set}" = set; then
9124 enableval=$enable_choice;
9125 if test "$enableval" = yes; then
9126 ac_cv_use_choice='wxUSE_CHOICE=yes'
9128 ac_cv_use_choice='wxUSE_CHOICE=no'
9133 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9134 if test "x$LINE" != x ; then
9135 eval "DEFAULT_$LINE"
9140 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9145 eval "$ac_cv_use_choice"
9146 if test "$no_cache" != 1; then
9147 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9150 if test "$wxUSE_CHOICE" = yes; then
9151 { echo "$as_me:$LINENO: result: yes" >&5
9152 echo "${ECHO_T}yes" >&6; }
9154 { echo "$as_me:$LINENO: result: no" >&5
9155 echo "${ECHO_T}no" >&6; }
9160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9161 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9163 # Check whether --enable-choicebook was given.
9164 if test "${enable_choicebook+set}" = set; then
9165 enableval=$enable_choicebook;
9166 if test "$enableval" = yes; then
9167 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9169 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9174 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9175 if test "x$LINE" != x ; then
9176 eval "DEFAULT_$LINE"
9181 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9186 eval "$ac_cv_use_choicebook"
9187 if test "$no_cache" != 1; then
9188 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9191 if test "$wxUSE_CHOICEBOOK" = yes; then
9192 { echo "$as_me:$LINENO: result: yes" >&5
9193 echo "${ECHO_T}yes" >&6; }
9195 { echo "$as_me:$LINENO: result: no" >&5
9196 echo "${ECHO_T}no" >&6; }
9201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9202 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9204 # Check whether --enable-collpane was given.
9205 if test "${enable_collpane+set}" = set; then
9206 enableval=$enable_collpane;
9207 if test "$enableval" = yes; then
9208 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9210 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9215 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9216 if test "x$LINE" != x ; then
9217 eval "DEFAULT_$LINE"
9222 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9227 eval "$ac_cv_use_collpane"
9228 if test "$no_cache" != 1; then
9229 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9232 if test "$wxUSE_COLLPANE" = yes; then
9233 { echo "$as_me:$LINENO: result: yes" >&5
9234 echo "${ECHO_T}yes" >&6; }
9236 { echo "$as_me:$LINENO: result: no" >&5
9237 echo "${ECHO_T}no" >&6; }
9242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9243 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9245 # Check whether --enable-colourpicker was given.
9246 if test "${enable_colourpicker+set}" = set; then
9247 enableval=$enable_colourpicker;
9248 if test "$enableval" = yes; then
9249 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9251 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9256 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9257 if test "x$LINE" != x ; then
9258 eval "DEFAULT_$LINE"
9263 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9268 eval "$ac_cv_use_colourpicker"
9269 if test "$no_cache" != 1; then
9270 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9273 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9274 { echo "$as_me:$LINENO: result: yes" >&5
9275 echo "${ECHO_T}yes" >&6; }
9277 { echo "$as_me:$LINENO: result: no" >&5
9278 echo "${ECHO_T}no" >&6; }
9283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9284 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9286 # Check whether --enable-combobox was given.
9287 if test "${enable_combobox+set}" = set; then
9288 enableval=$enable_combobox;
9289 if test "$enableval" = yes; then
9290 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9292 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9297 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9298 if test "x$LINE" != x ; then
9299 eval "DEFAULT_$LINE"
9304 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9309 eval "$ac_cv_use_combobox"
9310 if test "$no_cache" != 1; then
9311 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9314 if test "$wxUSE_COMBOBOX" = yes; then
9315 { echo "$as_me:$LINENO: result: yes" >&5
9316 echo "${ECHO_T}yes" >&6; }
9318 { echo "$as_me:$LINENO: result: no" >&5
9319 echo "${ECHO_T}no" >&6; }
9324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9325 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9327 # Check whether --enable-comboctrl was given.
9328 if test "${enable_comboctrl+set}" = set; then
9329 enableval=$enable_comboctrl;
9330 if test "$enableval" = yes; then
9331 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9333 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9338 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9339 if test "x$LINE" != x ; then
9340 eval "DEFAULT_$LINE"
9345 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9350 eval "$ac_cv_use_comboctrl"
9351 if test "$no_cache" != 1; then
9352 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9355 if test "$wxUSE_COMBOCTRL" = yes; then
9356 { echo "$as_me:$LINENO: result: yes" >&5
9357 echo "${ECHO_T}yes" >&6; }
9359 { echo "$as_me:$LINENO: result: no" >&5
9360 echo "${ECHO_T}no" >&6; }
9365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9366 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9368 # Check whether --enable-datepick was given.
9369 if test "${enable_datepick+set}" = set; then
9370 enableval=$enable_datepick;
9371 if test "$enableval" = yes; then
9372 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9374 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9379 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9380 if test "x$LINE" != x ; then
9381 eval "DEFAULT_$LINE"
9386 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9391 eval "$ac_cv_use_datepick"
9392 if test "$no_cache" != 1; then
9393 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9396 if test "$wxUSE_DATEPICKCTRL" = yes; then
9397 { echo "$as_me:$LINENO: result: yes" >&5
9398 echo "${ECHO_T}yes" >&6; }
9400 { echo "$as_me:$LINENO: result: no" >&5
9401 echo "${ECHO_T}no" >&6; }
9406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9407 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9409 # Check whether --enable-dirpicker was given.
9410 if test "${enable_dirpicker+set}" = set; then
9411 enableval=$enable_dirpicker;
9412 if test "$enableval" = yes; then
9413 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9415 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9420 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9421 if test "x$LINE" != x ; then
9422 eval "DEFAULT_$LINE"
9427 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9432 eval "$ac_cv_use_dirpicker"
9433 if test "$no_cache" != 1; then
9434 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9437 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9438 { echo "$as_me:$LINENO: result: yes" >&5
9439 echo "${ECHO_T}yes" >&6; }
9441 { echo "$as_me:$LINENO: result: no" >&5
9442 echo "${ECHO_T}no" >&6; }
9447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9448 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9450 # Check whether --enable-display was given.
9451 if test "${enable_display+set}" = set; then
9452 enableval=$enable_display;
9453 if test "$enableval" = yes; then
9454 ac_cv_use_display='wxUSE_DISPLAY=yes'
9456 ac_cv_use_display='wxUSE_DISPLAY=no'
9461 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9462 if test "x$LINE" != x ; then
9463 eval "DEFAULT_$LINE"
9468 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9473 eval "$ac_cv_use_display"
9474 if test "$no_cache" != 1; then
9475 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9478 if test "$wxUSE_DISPLAY" = yes; then
9479 { echo "$as_me:$LINENO: result: yes" >&5
9480 echo "${ECHO_T}yes" >&6; }
9482 { echo "$as_me:$LINENO: result: no" >&5
9483 echo "${ECHO_T}no" >&6; }
9488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9489 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9491 # Check whether --enable-detect_sm was given.
9492 if test "${enable_detect_sm+set}" = set; then
9493 enableval=$enable_detect_sm;
9494 if test "$enableval" = yes; then
9495 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9497 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9502 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9503 if test "x$LINE" != x ; then
9504 eval "DEFAULT_$LINE"
9509 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9514 eval "$ac_cv_use_detect_sm"
9515 if test "$no_cache" != 1; then
9516 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9519 if test "$wxUSE_DETECT_SM" = yes; then
9520 { echo "$as_me:$LINENO: result: yes" >&5
9521 echo "${ECHO_T}yes" >&6; }
9523 { echo "$as_me:$LINENO: result: no" >&5
9524 echo "${ECHO_T}no" >&6; }
9529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9530 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9532 # Check whether --enable-filepicker was given.
9533 if test "${enable_filepicker+set}" = set; then
9534 enableval=$enable_filepicker;
9535 if test "$enableval" = yes; then
9536 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9538 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9543 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9544 if test "x$LINE" != x ; then
9545 eval "DEFAULT_$LINE"
9550 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9555 eval "$ac_cv_use_filepicker"
9556 if test "$no_cache" != 1; then
9557 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9560 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9561 { echo "$as_me:$LINENO: result: yes" >&5
9562 echo "${ECHO_T}yes" >&6; }
9564 { echo "$as_me:$LINENO: result: no" >&5
9565 echo "${ECHO_T}no" >&6; }
9570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9571 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9573 # Check whether --enable-fontpicker was given.
9574 if test "${enable_fontpicker+set}" = set; then
9575 enableval=$enable_fontpicker;
9576 if test "$enableval" = yes; then
9577 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9579 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9584 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9585 if test "x$LINE" != x ; then
9586 eval "DEFAULT_$LINE"
9591 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9596 eval "$ac_cv_use_fontpicker"
9597 if test "$no_cache" != 1; then
9598 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9601 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9602 { echo "$as_me:$LINENO: result: yes" >&5
9603 echo "${ECHO_T}yes" >&6; }
9605 { echo "$as_me:$LINENO: result: no" >&5
9606 echo "${ECHO_T}no" >&6; }
9611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9612 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9614 # Check whether --enable-gauge was given.
9615 if test "${enable_gauge+set}" = set; then
9616 enableval=$enable_gauge;
9617 if test "$enableval" = yes; then
9618 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9620 ac_cv_use_gauge='wxUSE_GAUGE=no'
9625 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9626 if test "x$LINE" != x ; then
9627 eval "DEFAULT_$LINE"
9632 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9637 eval "$ac_cv_use_gauge"
9638 if test "$no_cache" != 1; then
9639 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9642 if test "$wxUSE_GAUGE" = yes; then
9643 { echo "$as_me:$LINENO: result: yes" >&5
9644 echo "${ECHO_T}yes" >&6; }
9646 { echo "$as_me:$LINENO: result: no" >&5
9647 echo "${ECHO_T}no" >&6; }
9652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9653 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9655 # Check whether --enable-grid was given.
9656 if test "${enable_grid+set}" = set; then
9657 enableval=$enable_grid;
9658 if test "$enableval" = yes; then
9659 ac_cv_use_grid='wxUSE_GRID=yes'
9661 ac_cv_use_grid='wxUSE_GRID=no'
9666 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9667 if test "x$LINE" != x ; then
9668 eval "DEFAULT_$LINE"
9673 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9678 eval "$ac_cv_use_grid"
9679 if test "$no_cache" != 1; then
9680 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9683 if test "$wxUSE_GRID" = yes; then
9684 { echo "$as_me:$LINENO: result: yes" >&5
9685 echo "${ECHO_T}yes" >&6; }
9687 { echo "$as_me:$LINENO: result: no" >&5
9688 echo "${ECHO_T}no" >&6; }
9693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9694 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9696 # Check whether --enable-dataviewctrl was given.
9697 if test "${enable_dataviewctrl+set}" = set; then
9698 enableval=$enable_dataviewctrl;
9699 if test "$enableval" = yes; then
9700 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9702 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9707 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9708 if test "x$LINE" != x ; then
9709 eval "DEFAULT_$LINE"
9714 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9719 eval "$ac_cv_use_dataviewctrl"
9720 if test "$no_cache" != 1; then
9721 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9724 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9725 { echo "$as_me:$LINENO: result: yes" >&5
9726 echo "${ECHO_T}yes" >&6; }
9728 { echo "$as_me:$LINENO: result: no" >&5
9729 echo "${ECHO_T}no" >&6; }
9734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9735 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9737 # Check whether --enable-hyperlink was given.
9738 if test "${enable_hyperlink+set}" = set; then
9739 enableval=$enable_hyperlink;
9740 if test "$enableval" = yes; then
9741 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9743 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9748 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9749 if test "x$LINE" != x ; then
9750 eval "DEFAULT_$LINE"
9755 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9760 eval "$ac_cv_use_hyperlink"
9761 if test "$no_cache" != 1; then
9762 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9765 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9766 { echo "$as_me:$LINENO: result: yes" >&5
9767 echo "${ECHO_T}yes" >&6; }
9769 { echo "$as_me:$LINENO: result: no" >&5
9770 echo "${ECHO_T}no" >&6; }
9775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9776 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9778 # Check whether --enable-imaglist was given.
9779 if test "${enable_imaglist+set}" = set; then
9780 enableval=$enable_imaglist;
9781 if test "$enableval" = yes; then
9782 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9784 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9789 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9790 if test "x$LINE" != x ; then
9791 eval "DEFAULT_$LINE"
9796 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9801 eval "$ac_cv_use_imaglist"
9802 if test "$no_cache" != 1; then
9803 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9806 if test "$wxUSE_IMAGLIST" = yes; then
9807 { echo "$as_me:$LINENO: result: yes" >&5
9808 echo "${ECHO_T}yes" >&6; }
9810 { echo "$as_me:$LINENO: result: no" >&5
9811 echo "${ECHO_T}no" >&6; }
9816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9817 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9819 # Check whether --enable-listbook was given.
9820 if test "${enable_listbook+set}" = set; then
9821 enableval=$enable_listbook;
9822 if test "$enableval" = yes; then
9823 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9825 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9830 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9831 if test "x$LINE" != x ; then
9832 eval "DEFAULT_$LINE"
9837 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9842 eval "$ac_cv_use_listbook"
9843 if test "$no_cache" != 1; then
9844 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9847 if test "$wxUSE_LISTBOOK" = yes; then
9848 { echo "$as_me:$LINENO: result: yes" >&5
9849 echo "${ECHO_T}yes" >&6; }
9851 { echo "$as_me:$LINENO: result: no" >&5
9852 echo "${ECHO_T}no" >&6; }
9857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9858 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9860 # Check whether --enable-listbox was given.
9861 if test "${enable_listbox+set}" = set; then
9862 enableval=$enable_listbox;
9863 if test "$enableval" = yes; then
9864 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9866 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9871 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9872 if test "x$LINE" != x ; then
9873 eval "DEFAULT_$LINE"
9878 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9883 eval "$ac_cv_use_listbox"
9884 if test "$no_cache" != 1; then
9885 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9888 if test "$wxUSE_LISTBOX" = yes; then
9889 { echo "$as_me:$LINENO: result: yes" >&5
9890 echo "${ECHO_T}yes" >&6; }
9892 { echo "$as_me:$LINENO: result: no" >&5
9893 echo "${ECHO_T}no" >&6; }
9898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9899 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9901 # Check whether --enable-listctrl was given.
9902 if test "${enable_listctrl+set}" = set; then
9903 enableval=$enable_listctrl;
9904 if test "$enableval" = yes; then
9905 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9907 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9912 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9913 if test "x$LINE" != x ; then
9914 eval "DEFAULT_$LINE"
9919 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9924 eval "$ac_cv_use_listctrl"
9925 if test "$no_cache" != 1; then
9926 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9929 if test "$wxUSE_LISTCTRL" = yes; then
9930 { echo "$as_me:$LINENO: result: yes" >&5
9931 echo "${ECHO_T}yes" >&6; }
9933 { echo "$as_me:$LINENO: result: no" >&5
9934 echo "${ECHO_T}no" >&6; }
9939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9940 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9942 # Check whether --enable-notebook was given.
9943 if test "${enable_notebook+set}" = set; then
9944 enableval=$enable_notebook;
9945 if test "$enableval" = yes; then
9946 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9948 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9953 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9954 if test "x$LINE" != x ; then
9955 eval "DEFAULT_$LINE"
9960 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9965 eval "$ac_cv_use_notebook"
9966 if test "$no_cache" != 1; then
9967 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9970 if test "$wxUSE_NOTEBOOK" = yes; then
9971 { echo "$as_me:$LINENO: result: yes" >&5
9972 echo "${ECHO_T}yes" >&6; }
9974 { echo "$as_me:$LINENO: result: no" >&5
9975 echo "${ECHO_T}no" >&6; }
9980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9981 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
9983 # Check whether --enable-odcombobox was given.
9984 if test "${enable_odcombobox+set}" = set; then
9985 enableval=$enable_odcombobox;
9986 if test "$enableval" = yes; then
9987 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9989 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9994 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9995 if test "x$LINE" != x ; then
9996 eval "DEFAULT_$LINE"
10001 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10006 eval "$ac_cv_use_odcombobox"
10007 if test "$no_cache" != 1; then
10008 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10011 if test "$wxUSE_ODCOMBOBOX" = yes; then
10012 { echo "$as_me:$LINENO: result: yes" >&5
10013 echo "${ECHO_T}yes" >&6; }
10015 { echo "$as_me:$LINENO: result: no" >&5
10016 echo "${ECHO_T}no" >&6; }
10021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10022 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10024 # Check whether --enable-radiobox was given.
10025 if test "${enable_radiobox+set}" = set; then
10026 enableval=$enable_radiobox;
10027 if test "$enableval" = yes; then
10028 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10030 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10035 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10036 if test "x$LINE" != x ; then
10037 eval "DEFAULT_$LINE"
10042 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10047 eval "$ac_cv_use_radiobox"
10048 if test "$no_cache" != 1; then
10049 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10052 if test "$wxUSE_RADIOBOX" = yes; then
10053 { echo "$as_me:$LINENO: result: yes" >&5
10054 echo "${ECHO_T}yes" >&6; }
10056 { echo "$as_me:$LINENO: result: no" >&5
10057 echo "${ECHO_T}no" >&6; }
10062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10063 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10065 # Check whether --enable-radiobtn was given.
10066 if test "${enable_radiobtn+set}" = set; then
10067 enableval=$enable_radiobtn;
10068 if test "$enableval" = yes; then
10069 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10071 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10076 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10077 if test "x$LINE" != x ; then
10078 eval "DEFAULT_$LINE"
10083 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10088 eval "$ac_cv_use_radiobtn"
10089 if test "$no_cache" != 1; then
10090 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10093 if test "$wxUSE_RADIOBTN" = yes; then
10094 { echo "$as_me:$LINENO: result: yes" >&5
10095 echo "${ECHO_T}yes" >&6; }
10097 { echo "$as_me:$LINENO: result: no" >&5
10098 echo "${ECHO_T}no" >&6; }
10103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10104 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10106 # Check whether --enable-sash was given.
10107 if test "${enable_sash+set}" = set; then
10108 enableval=$enable_sash;
10109 if test "$enableval" = yes; then
10110 ac_cv_use_sash='wxUSE_SASH=yes'
10112 ac_cv_use_sash='wxUSE_SASH=no'
10117 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10118 if test "x$LINE" != x ; then
10119 eval "DEFAULT_$LINE"
10124 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10129 eval "$ac_cv_use_sash"
10130 if test "$no_cache" != 1; then
10131 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10134 if test "$wxUSE_SASH" = yes; then
10135 { echo "$as_me:$LINENO: result: yes" >&5
10136 echo "${ECHO_T}yes" >&6; }
10138 { echo "$as_me:$LINENO: result: no" >&5
10139 echo "${ECHO_T}no" >&6; }
10144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10145 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10147 # Check whether --enable-scrollbar was given.
10148 if test "${enable_scrollbar+set}" = set; then
10149 enableval=$enable_scrollbar;
10150 if test "$enableval" = yes; then
10151 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10153 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10158 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10159 if test "x$LINE" != x ; then
10160 eval "DEFAULT_$LINE"
10165 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10170 eval "$ac_cv_use_scrollbar"
10171 if test "$no_cache" != 1; then
10172 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10175 if test "$wxUSE_SCROLLBAR" = yes; then
10176 { echo "$as_me:$LINENO: result: yes" >&5
10177 echo "${ECHO_T}yes" >&6; }
10179 { echo "$as_me:$LINENO: result: no" >&5
10180 echo "${ECHO_T}no" >&6; }
10185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10186 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10188 # Check whether --enable-searchctrl was given.
10189 if test "${enable_searchctrl+set}" = set; then
10190 enableval=$enable_searchctrl;
10191 if test "$enableval" = yes; then
10192 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10194 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10199 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10200 if test "x$LINE" != x ; then
10201 eval "DEFAULT_$LINE"
10206 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10211 eval "$ac_cv_use_searchctrl"
10212 if test "$no_cache" != 1; then
10213 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10216 if test "$wxUSE_SEARCHCTRL" = yes; then
10217 { echo "$as_me:$LINENO: result: yes" >&5
10218 echo "${ECHO_T}yes" >&6; }
10220 { echo "$as_me:$LINENO: result: no" >&5
10221 echo "${ECHO_T}no" >&6; }
10226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10227 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10229 # Check whether --enable-slider was given.
10230 if test "${enable_slider+set}" = set; then
10231 enableval=$enable_slider;
10232 if test "$enableval" = yes; then
10233 ac_cv_use_slider='wxUSE_SLIDER=yes'
10235 ac_cv_use_slider='wxUSE_SLIDER=no'
10240 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10241 if test "x$LINE" != x ; then
10242 eval "DEFAULT_$LINE"
10247 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10252 eval "$ac_cv_use_slider"
10253 if test "$no_cache" != 1; then
10254 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10257 if test "$wxUSE_SLIDER" = yes; then
10258 { echo "$as_me:$LINENO: result: yes" >&5
10259 echo "${ECHO_T}yes" >&6; }
10261 { echo "$as_me:$LINENO: result: no" >&5
10262 echo "${ECHO_T}no" >&6; }
10267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10268 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10270 # Check whether --enable-spinbtn was given.
10271 if test "${enable_spinbtn+set}" = set; then
10272 enableval=$enable_spinbtn;
10273 if test "$enableval" = yes; then
10274 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10276 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10281 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10282 if test "x$LINE" != x ; then
10283 eval "DEFAULT_$LINE"
10288 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10293 eval "$ac_cv_use_spinbtn"
10294 if test "$no_cache" != 1; then
10295 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10298 if test "$wxUSE_SPINBTN" = yes; then
10299 { echo "$as_me:$LINENO: result: yes" >&5
10300 echo "${ECHO_T}yes" >&6; }
10302 { echo "$as_me:$LINENO: result: no" >&5
10303 echo "${ECHO_T}no" >&6; }
10308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10309 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10311 # Check whether --enable-spinctrl was given.
10312 if test "${enable_spinctrl+set}" = set; then
10313 enableval=$enable_spinctrl;
10314 if test "$enableval" = yes; then
10315 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10317 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10322 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10323 if test "x$LINE" != x ; then
10324 eval "DEFAULT_$LINE"
10329 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10334 eval "$ac_cv_use_spinctrl"
10335 if test "$no_cache" != 1; then
10336 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10339 if test "$wxUSE_SPINCTRL" = yes; then
10340 { echo "$as_me:$LINENO: result: yes" >&5
10341 echo "${ECHO_T}yes" >&6; }
10343 { echo "$as_me:$LINENO: result: no" >&5
10344 echo "${ECHO_T}no" >&6; }
10349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10350 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10352 # Check whether --enable-splitter was given.
10353 if test "${enable_splitter+set}" = set; then
10354 enableval=$enable_splitter;
10355 if test "$enableval" = yes; then
10356 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10358 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10363 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10364 if test "x$LINE" != x ; then
10365 eval "DEFAULT_$LINE"
10370 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10375 eval "$ac_cv_use_splitter"
10376 if test "$no_cache" != 1; then
10377 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10380 if test "$wxUSE_SPLITTER" = yes; then
10381 { echo "$as_me:$LINENO: result: yes" >&5
10382 echo "${ECHO_T}yes" >&6; }
10384 { echo "$as_me:$LINENO: result: no" >&5
10385 echo "${ECHO_T}no" >&6; }
10390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10391 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10393 # Check whether --enable-statbmp was given.
10394 if test "${enable_statbmp+set}" = set; then
10395 enableval=$enable_statbmp;
10396 if test "$enableval" = yes; then
10397 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10399 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10404 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10405 if test "x$LINE" != x ; then
10406 eval "DEFAULT_$LINE"
10411 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10416 eval "$ac_cv_use_statbmp"
10417 if test "$no_cache" != 1; then
10418 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10421 if test "$wxUSE_STATBMP" = yes; then
10422 { echo "$as_me:$LINENO: result: yes" >&5
10423 echo "${ECHO_T}yes" >&6; }
10425 { echo "$as_me:$LINENO: result: no" >&5
10426 echo "${ECHO_T}no" >&6; }
10431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10432 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10434 # Check whether --enable-statbox was given.
10435 if test "${enable_statbox+set}" = set; then
10436 enableval=$enable_statbox;
10437 if test "$enableval" = yes; then
10438 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10440 ac_cv_use_statbox='wxUSE_STATBOX=no'
10445 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10446 if test "x$LINE" != x ; then
10447 eval "DEFAULT_$LINE"
10452 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10457 eval "$ac_cv_use_statbox"
10458 if test "$no_cache" != 1; then
10459 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10462 if test "$wxUSE_STATBOX" = yes; then
10463 { echo "$as_me:$LINENO: result: yes" >&5
10464 echo "${ECHO_T}yes" >&6; }
10466 { echo "$as_me:$LINENO: result: no" >&5
10467 echo "${ECHO_T}no" >&6; }
10472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10473 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10475 # Check whether --enable-statline was given.
10476 if test "${enable_statline+set}" = set; then
10477 enableval=$enable_statline;
10478 if test "$enableval" = yes; then
10479 ac_cv_use_statline='wxUSE_STATLINE=yes'
10481 ac_cv_use_statline='wxUSE_STATLINE=no'
10486 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10487 if test "x$LINE" != x ; then
10488 eval "DEFAULT_$LINE"
10493 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10498 eval "$ac_cv_use_statline"
10499 if test "$no_cache" != 1; then
10500 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10503 if test "$wxUSE_STATLINE" = yes; then
10504 { echo "$as_me:$LINENO: result: yes" >&5
10505 echo "${ECHO_T}yes" >&6; }
10507 { echo "$as_me:$LINENO: result: no" >&5
10508 echo "${ECHO_T}no" >&6; }
10513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10514 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10516 # Check whether --enable-stattext was given.
10517 if test "${enable_stattext+set}" = set; then
10518 enableval=$enable_stattext;
10519 if test "$enableval" = yes; then
10520 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10522 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10527 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10528 if test "x$LINE" != x ; then
10529 eval "DEFAULT_$LINE"
10534 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10539 eval "$ac_cv_use_stattext"
10540 if test "$no_cache" != 1; then
10541 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10544 if test "$wxUSE_STATTEXT" = yes; then
10545 { echo "$as_me:$LINENO: result: yes" >&5
10546 echo "${ECHO_T}yes" >&6; }
10548 { echo "$as_me:$LINENO: result: no" >&5
10549 echo "${ECHO_T}no" >&6; }
10554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10557 # Check whether --enable-statusbar was given.
10558 if test "${enable_statusbar+set}" = set; then
10559 enableval=$enable_statusbar;
10560 if test "$enableval" = yes; then
10561 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10563 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10568 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10569 if test "x$LINE" != x ; then
10570 eval "DEFAULT_$LINE"
10575 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10580 eval "$ac_cv_use_statusbar"
10581 if test "$no_cache" != 1; then
10582 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10585 if test "$wxUSE_STATUSBAR" = yes; then
10586 { echo "$as_me:$LINENO: result: yes" >&5
10587 echo "${ECHO_T}yes" >&6; }
10589 { echo "$as_me:$LINENO: result: no" >&5
10590 echo "${ECHO_T}no" >&6; }
10595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10596 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10598 # Check whether --enable-tabdialog was given.
10599 if test "${enable_tabdialog+set}" = set; then
10600 enableval=$enable_tabdialog;
10601 if test "$enableval" = yes; then
10602 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10604 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10609 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10610 if test "x$LINE" != x ; then
10611 eval "DEFAULT_$LINE"
10616 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10621 eval "$ac_cv_use_tabdialog"
10622 if test "$no_cache" != 1; then
10623 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10626 if test "$wxUSE_TAB_DIALOG" = yes; then
10627 { echo "$as_me:$LINENO: result: yes" >&5
10628 echo "${ECHO_T}yes" >&6; }
10630 { echo "$as_me:$LINENO: result: no" >&5
10631 echo "${ECHO_T}no" >&6; }
10636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10637 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10639 # Check whether --enable-textctrl was given.
10640 if test "${enable_textctrl+set}" = set; then
10641 enableval=$enable_textctrl;
10642 if test "$enableval" = yes; then
10643 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10645 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10650 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10651 if test "x$LINE" != x ; then
10652 eval "DEFAULT_$LINE"
10657 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10662 eval "$ac_cv_use_textctrl"
10663 if test "$no_cache" != 1; then
10664 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10667 if test "$wxUSE_TEXTCTRL" = yes; then
10668 { echo "$as_me:$LINENO: result: yes" >&5
10669 echo "${ECHO_T}yes" >&6; }
10671 { echo "$as_me:$LINENO: result: no" >&5
10672 echo "${ECHO_T}no" >&6; }
10677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10678 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10680 # Check whether --enable-togglebtn was given.
10681 if test "${enable_togglebtn+set}" = set; then
10682 enableval=$enable_togglebtn;
10683 if test "$enableval" = yes; then
10684 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10686 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10691 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10692 if test "x$LINE" != x ; then
10693 eval "DEFAULT_$LINE"
10698 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10703 eval "$ac_cv_use_togglebtn"
10704 if test "$no_cache" != 1; then
10705 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10708 if test "$wxUSE_TOGGLEBTN" = yes; then
10709 { echo "$as_me:$LINENO: result: yes" >&5
10710 echo "${ECHO_T}yes" >&6; }
10712 { echo "$as_me:$LINENO: result: no" >&5
10713 echo "${ECHO_T}no" >&6; }
10718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10719 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10721 # Check whether --enable-toolbar was given.
10722 if test "${enable_toolbar+set}" = set; then
10723 enableval=$enable_toolbar;
10724 if test "$enableval" = yes; then
10725 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10727 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10732 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10733 if test "x$LINE" != x ; then
10734 eval "DEFAULT_$LINE"
10739 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10744 eval "$ac_cv_use_toolbar"
10745 if test "$no_cache" != 1; then
10746 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10749 if test "$wxUSE_TOOLBAR" = yes; then
10750 { echo "$as_me:$LINENO: result: yes" >&5
10751 echo "${ECHO_T}yes" >&6; }
10753 { echo "$as_me:$LINENO: result: no" >&5
10754 echo "${ECHO_T}no" >&6; }
10759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10760 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10762 # Check whether --enable-tbarnative was given.
10763 if test "${enable_tbarnative+set}" = set; then
10764 enableval=$enable_tbarnative;
10765 if test "$enableval" = yes; then
10766 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10768 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10773 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10774 if test "x$LINE" != x ; then
10775 eval "DEFAULT_$LINE"
10780 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10785 eval "$ac_cv_use_tbarnative"
10786 if test "$no_cache" != 1; then
10787 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10790 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10791 { echo "$as_me:$LINENO: result: yes" >&5
10792 echo "${ECHO_T}yes" >&6; }
10794 { echo "$as_me:$LINENO: result: no" >&5
10795 echo "${ECHO_T}no" >&6; }
10800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10801 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10803 # Check whether --enable-treebook was given.
10804 if test "${enable_treebook+set}" = set; then
10805 enableval=$enable_treebook;
10806 if test "$enableval" = yes; then
10807 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10809 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10814 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10815 if test "x$LINE" != x ; then
10816 eval "DEFAULT_$LINE"
10821 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10826 eval "$ac_cv_use_treebook"
10827 if test "$no_cache" != 1; then
10828 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10831 if test "$wxUSE_TREEBOOK" = yes; then
10832 { echo "$as_me:$LINENO: result: yes" >&5
10833 echo "${ECHO_T}yes" >&6; }
10835 { echo "$as_me:$LINENO: result: no" >&5
10836 echo "${ECHO_T}no" >&6; }
10841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10842 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10844 # Check whether --enable-toolbook was given.
10845 if test "${enable_toolbook+set}" = set; then
10846 enableval=$enable_toolbook;
10847 if test "$enableval" = yes; then
10848 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10850 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10855 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10856 if test "x$LINE" != x ; then
10857 eval "DEFAULT_$LINE"
10862 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10867 eval "$ac_cv_use_toolbook"
10868 if test "$no_cache" != 1; then
10869 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10872 if test "$wxUSE_TOOLBOOK" = yes; then
10873 { echo "$as_me:$LINENO: result: yes" >&5
10874 echo "${ECHO_T}yes" >&6; }
10876 { echo "$as_me:$LINENO: result: no" >&5
10877 echo "${ECHO_T}no" >&6; }
10882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10883 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10885 # Check whether --enable-treectrl was given.
10886 if test "${enable_treectrl+set}" = set; then
10887 enableval=$enable_treectrl;
10888 if test "$enableval" = yes; then
10889 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10891 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10896 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10897 if test "x$LINE" != x ; then
10898 eval "DEFAULT_$LINE"
10903 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10908 eval "$ac_cv_use_treectrl"
10909 if test "$no_cache" != 1; then
10910 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10913 if test "$wxUSE_TREECTRL" = yes; then
10914 { echo "$as_me:$LINENO: result: yes" >&5
10915 echo "${ECHO_T}yes" >&6; }
10917 { echo "$as_me:$LINENO: result: no" >&5
10918 echo "${ECHO_T}no" >&6; }
10923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10924 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10926 # Check whether --enable-tipwindow was given.
10927 if test "${enable_tipwindow+set}" = set; then
10928 enableval=$enable_tipwindow;
10929 if test "$enableval" = yes; then
10930 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10932 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10937 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10938 if test "x$LINE" != x ; then
10939 eval "DEFAULT_$LINE"
10944 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10949 eval "$ac_cv_use_tipwindow"
10950 if test "$no_cache" != 1; then
10951 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10954 if test "$wxUSE_TIPWINDOW" = yes; then
10955 { echo "$as_me:$LINENO: result: yes" >&5
10956 echo "${ECHO_T}yes" >&6; }
10958 { echo "$as_me:$LINENO: result: no" >&5
10959 echo "${ECHO_T}no" >&6; }
10964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10965 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
10967 # Check whether --enable-popupwin was given.
10968 if test "${enable_popupwin+set}" = set; then
10969 enableval=$enable_popupwin;
10970 if test "$enableval" = yes; then
10971 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10973 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10978 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10979 if test "x$LINE" != x ; then
10980 eval "DEFAULT_$LINE"
10985 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10990 eval "$ac_cv_use_popupwin"
10991 if test "$no_cache" != 1; then
10992 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10995 if test "$wxUSE_POPUPWIN" = yes; then
10996 { echo "$as_me:$LINENO: result: yes" >&5
10997 echo "${ECHO_T}yes" >&6; }
10999 { echo "$as_me:$LINENO: result: no" >&5
11000 echo "${ECHO_T}no" >&6; }
11007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11008 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11010 # Check whether --enable-commondlg was given.
11011 if test "${enable_commondlg+set}" = set; then
11012 enableval=$enable_commondlg;
11013 if test "$enableval" = yes; then
11014 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11016 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11021 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11022 if test "x$LINE" != x ; then
11023 eval "DEFAULT_$LINE"
11028 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11033 eval "$ac_cv_use_commondlg"
11034 if test "$no_cache" != 1; then
11035 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11038 if test "$wxUSE_COMMONDLGS" = yes; then
11039 { echo "$as_me:$LINENO: result: yes" >&5
11040 echo "${ECHO_T}yes" >&6; }
11042 { echo "$as_me:$LINENO: result: no" >&5
11043 echo "${ECHO_T}no" >&6; }
11048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11049 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11051 # Check whether --enable-aboutdlg was given.
11052 if test "${enable_aboutdlg+set}" = set; then
11053 enableval=$enable_aboutdlg;
11054 if test "$enableval" = yes; then
11055 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11057 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11062 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11063 if test "x$LINE" != x ; then
11064 eval "DEFAULT_$LINE"
11069 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11074 eval "$ac_cv_use_aboutdlg"
11075 if test "$no_cache" != 1; then
11076 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11079 if test "$wxUSE_ABOUTDLG" = yes; then
11080 { echo "$as_me:$LINENO: result: yes" >&5
11081 echo "${ECHO_T}yes" >&6; }
11083 { echo "$as_me:$LINENO: result: no" >&5
11084 echo "${ECHO_T}no" >&6; }
11089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11090 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11092 # Check whether --enable-choicedlg was given.
11093 if test "${enable_choicedlg+set}" = set; then
11094 enableval=$enable_choicedlg;
11095 if test "$enableval" = yes; then
11096 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11098 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11103 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11104 if test "x$LINE" != x ; then
11105 eval "DEFAULT_$LINE"
11110 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11115 eval "$ac_cv_use_choicedlg"
11116 if test "$no_cache" != 1; then
11117 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11120 if test "$wxUSE_CHOICEDLG" = yes; then
11121 { echo "$as_me:$LINENO: result: yes" >&5
11122 echo "${ECHO_T}yes" >&6; }
11124 { echo "$as_me:$LINENO: result: no" >&5
11125 echo "${ECHO_T}no" >&6; }
11130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11131 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11133 # Check whether --enable-coldlg was given.
11134 if test "${enable_coldlg+set}" = set; then
11135 enableval=$enable_coldlg;
11136 if test "$enableval" = yes; then
11137 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11139 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11144 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11145 if test "x$LINE" != x ; then
11146 eval "DEFAULT_$LINE"
11151 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11156 eval "$ac_cv_use_coldlg"
11157 if test "$no_cache" != 1; then
11158 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11161 if test "$wxUSE_COLOURDLG" = yes; then
11162 { echo "$as_me:$LINENO: result: yes" >&5
11163 echo "${ECHO_T}yes" >&6; }
11165 { echo "$as_me:$LINENO: result: no" >&5
11166 echo "${ECHO_T}no" >&6; }
11171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11172 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11174 # Check whether --enable-filedlg was given.
11175 if test "${enable_filedlg+set}" = set; then
11176 enableval=$enable_filedlg;
11177 if test "$enableval" = yes; then
11178 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11180 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11185 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11186 if test "x$LINE" != x ; then
11187 eval "DEFAULT_$LINE"
11192 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11197 eval "$ac_cv_use_filedlg"
11198 if test "$no_cache" != 1; then
11199 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11202 if test "$wxUSE_FILEDLG" = yes; then
11203 { echo "$as_me:$LINENO: result: yes" >&5
11204 echo "${ECHO_T}yes" >&6; }
11206 { echo "$as_me:$LINENO: result: no" >&5
11207 echo "${ECHO_T}no" >&6; }
11212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11213 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11215 # Check whether --enable-finddlg was given.
11216 if test "${enable_finddlg+set}" = set; then
11217 enableval=$enable_finddlg;
11218 if test "$enableval" = yes; then
11219 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11221 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11226 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11227 if test "x$LINE" != x ; then
11228 eval "DEFAULT_$LINE"
11233 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11238 eval "$ac_cv_use_finddlg"
11239 if test "$no_cache" != 1; then
11240 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11243 if test "$wxUSE_FINDREPLDLG" = yes; then
11244 { echo "$as_me:$LINENO: result: yes" >&5
11245 echo "${ECHO_T}yes" >&6; }
11247 { echo "$as_me:$LINENO: result: no" >&5
11248 echo "${ECHO_T}no" >&6; }
11253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11254 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11256 # Check whether --enable-fontdlg was given.
11257 if test "${enable_fontdlg+set}" = set; then
11258 enableval=$enable_fontdlg;
11259 if test "$enableval" = yes; then
11260 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11262 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11267 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11268 if test "x$LINE" != x ; then
11269 eval "DEFAULT_$LINE"
11274 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11279 eval "$ac_cv_use_fontdlg"
11280 if test "$no_cache" != 1; then
11281 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11284 if test "$wxUSE_FONTDLG" = yes; then
11285 { echo "$as_me:$LINENO: result: yes" >&5
11286 echo "${ECHO_T}yes" >&6; }
11288 { echo "$as_me:$LINENO: result: no" >&5
11289 echo "${ECHO_T}no" >&6; }
11294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11295 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11297 # Check whether --enable-dirdlg was given.
11298 if test "${enable_dirdlg+set}" = set; then
11299 enableval=$enable_dirdlg;
11300 if test "$enableval" = yes; then
11301 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11303 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11308 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11309 if test "x$LINE" != x ; then
11310 eval "DEFAULT_$LINE"
11315 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11320 eval "$ac_cv_use_dirdlg"
11321 if test "$no_cache" != 1; then
11322 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11325 if test "$wxUSE_DIRDLG" = yes; then
11326 { echo "$as_me:$LINENO: result: yes" >&5
11327 echo "${ECHO_T}yes" >&6; }
11329 { echo "$as_me:$LINENO: result: no" >&5
11330 echo "${ECHO_T}no" >&6; }
11335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11336 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11338 # Check whether --enable-msgdlg was given.
11339 if test "${enable_msgdlg+set}" = set; then
11340 enableval=$enable_msgdlg;
11341 if test "$enableval" = yes; then
11342 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11344 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11349 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11350 if test "x$LINE" != x ; then
11351 eval "DEFAULT_$LINE"
11356 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11361 eval "$ac_cv_use_msgdlg"
11362 if test "$no_cache" != 1; then
11363 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11366 if test "$wxUSE_MSGDLG" = yes; then
11367 { echo "$as_me:$LINENO: result: yes" >&5
11368 echo "${ECHO_T}yes" >&6; }
11370 { echo "$as_me:$LINENO: result: no" >&5
11371 echo "${ECHO_T}no" >&6; }
11376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11377 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11379 # Check whether --enable-numberdlg was given.
11380 if test "${enable_numberdlg+set}" = set; then
11381 enableval=$enable_numberdlg;
11382 if test "$enableval" = yes; then
11383 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11385 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11390 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11391 if test "x$LINE" != x ; then
11392 eval "DEFAULT_$LINE"
11397 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11402 eval "$ac_cv_use_numberdlg"
11403 if test "$no_cache" != 1; then
11404 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11407 if test "$wxUSE_NUMBERDLG" = yes; then
11408 { echo "$as_me:$LINENO: result: yes" >&5
11409 echo "${ECHO_T}yes" >&6; }
11411 { echo "$as_me:$LINENO: result: no" >&5
11412 echo "${ECHO_T}no" >&6; }
11417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11418 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11420 # Check whether --enable-splash was given.
11421 if test "${enable_splash+set}" = set; then
11422 enableval=$enable_splash;
11423 if test "$enableval" = yes; then
11424 ac_cv_use_splash='wxUSE_SPLASH=yes'
11426 ac_cv_use_splash='wxUSE_SPLASH=no'
11431 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11432 if test "x$LINE" != x ; then
11433 eval "DEFAULT_$LINE"
11438 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11443 eval "$ac_cv_use_splash"
11444 if test "$no_cache" != 1; then
11445 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11448 if test "$wxUSE_SPLASH" = yes; then
11449 { echo "$as_me:$LINENO: result: yes" >&5
11450 echo "${ECHO_T}yes" >&6; }
11452 { echo "$as_me:$LINENO: result: no" >&5
11453 echo "${ECHO_T}no" >&6; }
11458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11459 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11461 # Check whether --enable-textdlg was given.
11462 if test "${enable_textdlg+set}" = set; then
11463 enableval=$enable_textdlg;
11464 if test "$enableval" = yes; then
11465 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11467 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11472 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11473 if test "x$LINE" != x ; then
11474 eval "DEFAULT_$LINE"
11479 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11484 eval "$ac_cv_use_textdlg"
11485 if test "$no_cache" != 1; then
11486 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11489 if test "$wxUSE_TEXTDLG" = yes; then
11490 { echo "$as_me:$LINENO: result: yes" >&5
11491 echo "${ECHO_T}yes" >&6; }
11493 { echo "$as_me:$LINENO: result: no" >&5
11494 echo "${ECHO_T}no" >&6; }
11499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11500 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11502 # Check whether --enable-tipdlg was given.
11503 if test "${enable_tipdlg+set}" = set; then
11504 enableval=$enable_tipdlg;
11505 if test "$enableval" = yes; then
11506 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11508 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11513 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11514 if test "x$LINE" != x ; then
11515 eval "DEFAULT_$LINE"
11520 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11525 eval "$ac_cv_use_tipdlg"
11526 if test "$no_cache" != 1; then
11527 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11530 if test "$wxUSE_STARTUP_TIPS" = yes; then
11531 { echo "$as_me:$LINENO: result: yes" >&5
11532 echo "${ECHO_T}yes" >&6; }
11534 { echo "$as_me:$LINENO: result: no" >&5
11535 echo "${ECHO_T}no" >&6; }
11540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11541 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11543 # Check whether --enable-progressdlg was given.
11544 if test "${enable_progressdlg+set}" = set; then
11545 enableval=$enable_progressdlg;
11546 if test "$enableval" = yes; then
11547 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11549 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11554 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11555 if test "x$LINE" != x ; then
11556 eval "DEFAULT_$LINE"
11561 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11566 eval "$ac_cv_use_progressdlg"
11567 if test "$no_cache" != 1; then
11568 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11571 if test "$wxUSE_PROGRESSDLG" = yes; then
11572 { echo "$as_me:$LINENO: result: yes" >&5
11573 echo "${ECHO_T}yes" >&6; }
11575 { echo "$as_me:$LINENO: result: no" >&5
11576 echo "${ECHO_T}no" >&6; }
11581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11582 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11584 # Check whether --enable-wizarddlg was given.
11585 if test "${enable_wizarddlg+set}" = set; then
11586 enableval=$enable_wizarddlg;
11587 if test "$enableval" = yes; then
11588 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11590 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11595 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11596 if test "x$LINE" != x ; then
11597 eval "DEFAULT_$LINE"
11602 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11607 eval "$ac_cv_use_wizarddlg"
11608 if test "$no_cache" != 1; then
11609 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11612 if test "$wxUSE_WIZARDDLG" = yes; then
11613 { echo "$as_me:$LINENO: result: yes" >&5
11614 echo "${ECHO_T}yes" >&6; }
11616 { echo "$as_me:$LINENO: result: no" >&5
11617 echo "${ECHO_T}no" >&6; }
11624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11625 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11627 # Check whether --enable-menus was given.
11628 if test "${enable_menus+set}" = set; then
11629 enableval=$enable_menus;
11630 if test "$enableval" = yes; then
11631 ac_cv_use_menus='wxUSE_MENUS=yes'
11633 ac_cv_use_menus='wxUSE_MENUS=no'
11638 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11639 if test "x$LINE" != x ; then
11640 eval "DEFAULT_$LINE"
11645 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11650 eval "$ac_cv_use_menus"
11651 if test "$no_cache" != 1; then
11652 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11655 if test "$wxUSE_MENUS" = yes; then
11656 { echo "$as_me:$LINENO: result: yes" >&5
11657 echo "${ECHO_T}yes" >&6; }
11659 { echo "$as_me:$LINENO: result: no" >&5
11660 echo "${ECHO_T}no" >&6; }
11665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11666 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11668 # Check whether --enable-miniframe was given.
11669 if test "${enable_miniframe+set}" = set; then
11670 enableval=$enable_miniframe;
11671 if test "$enableval" = yes; then
11672 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11674 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11679 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11680 if test "x$LINE" != x ; then
11681 eval "DEFAULT_$LINE"
11686 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11691 eval "$ac_cv_use_miniframe"
11692 if test "$no_cache" != 1; then
11693 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11696 if test "$wxUSE_MINIFRAME" = yes; then
11697 { echo "$as_me:$LINENO: result: yes" >&5
11698 echo "${ECHO_T}yes" >&6; }
11700 { echo "$as_me:$LINENO: result: no" >&5
11701 echo "${ECHO_T}no" >&6; }
11706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11707 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11709 # Check whether --enable-tooltips was given.
11710 if test "${enable_tooltips+set}" = set; then
11711 enableval=$enable_tooltips;
11712 if test "$enableval" = yes; then
11713 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11715 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11720 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11721 if test "x$LINE" != x ; then
11722 eval "DEFAULT_$LINE"
11727 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11732 eval "$ac_cv_use_tooltips"
11733 if test "$no_cache" != 1; then
11734 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11737 if test "$wxUSE_TOOLTIPS" = yes; then
11738 { echo "$as_me:$LINENO: result: yes" >&5
11739 echo "${ECHO_T}yes" >&6; }
11741 { echo "$as_me:$LINENO: result: no" >&5
11742 echo "${ECHO_T}no" >&6; }
11747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11748 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11750 # Check whether --enable-splines was given.
11751 if test "${enable_splines+set}" = set; then
11752 enableval=$enable_splines;
11753 if test "$enableval" = yes; then
11754 ac_cv_use_splines='wxUSE_SPLINES=yes'
11756 ac_cv_use_splines='wxUSE_SPLINES=no'
11761 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11762 if test "x$LINE" != x ; then
11763 eval "DEFAULT_$LINE"
11768 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11773 eval "$ac_cv_use_splines"
11774 if test "$no_cache" != 1; then
11775 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11778 if test "$wxUSE_SPLINES" = yes; then
11779 { echo "$as_me:$LINENO: result: yes" >&5
11780 echo "${ECHO_T}yes" >&6; }
11782 { echo "$as_me:$LINENO: result: no" >&5
11783 echo "${ECHO_T}no" >&6; }
11788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11789 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11791 # Check whether --enable-mousewheel was given.
11792 if test "${enable_mousewheel+set}" = set; then
11793 enableval=$enable_mousewheel;
11794 if test "$enableval" = yes; then
11795 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11797 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11802 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11803 if test "x$LINE" != x ; then
11804 eval "DEFAULT_$LINE"
11809 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11814 eval "$ac_cv_use_mousewheel"
11815 if test "$no_cache" != 1; then
11816 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11819 if test "$wxUSE_MOUSEWHEEL" = yes; then
11820 { echo "$as_me:$LINENO: result: yes" >&5
11821 echo "${ECHO_T}yes" >&6; }
11823 { echo "$as_me:$LINENO: result: no" >&5
11824 echo "${ECHO_T}no" >&6; }
11829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11830 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11832 # Check whether --enable-validators was given.
11833 if test "${enable_validators+set}" = set; then
11834 enableval=$enable_validators;
11835 if test "$enableval" = yes; then
11836 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11838 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11843 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11844 if test "x$LINE" != x ; then
11845 eval "DEFAULT_$LINE"
11850 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11855 eval "$ac_cv_use_validators"
11856 if test "$no_cache" != 1; then
11857 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11860 if test "$wxUSE_VALIDATORS" = yes; then
11861 { echo "$as_me:$LINENO: result: yes" >&5
11862 echo "${ECHO_T}yes" >&6; }
11864 { echo "$as_me:$LINENO: result: no" >&5
11865 echo "${ECHO_T}no" >&6; }
11870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11871 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11873 # Check whether --enable-busyinfo was given.
11874 if test "${enable_busyinfo+set}" = set; then
11875 enableval=$enable_busyinfo;
11876 if test "$enableval" = yes; then
11877 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11879 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11884 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11885 if test "x$LINE" != x ; then
11886 eval "DEFAULT_$LINE"
11891 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11896 eval "$ac_cv_use_busyinfo"
11897 if test "$no_cache" != 1; then
11898 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11901 if test "$wxUSE_BUSYINFO" = yes; then
11902 { echo "$as_me:$LINENO: result: yes" >&5
11903 echo "${ECHO_T}yes" >&6; }
11905 { echo "$as_me:$LINENO: result: no" >&5
11906 echo "${ECHO_T}no" >&6; }
11911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11912 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11914 # Check whether --enable-joystick was given.
11915 if test "${enable_joystick+set}" = set; then
11916 enableval=$enable_joystick;
11917 if test "$enableval" = yes; then
11918 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11920 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11925 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11926 if test "x$LINE" != x ; then
11927 eval "DEFAULT_$LINE"
11932 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11937 eval "$ac_cv_use_joystick"
11938 if test "$no_cache" != 1; then
11939 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11942 if test "$wxUSE_JOYSTICK" = yes; then
11943 { echo "$as_me:$LINENO: result: yes" >&5
11944 echo "${ECHO_T}yes" >&6; }
11946 { echo "$as_me:$LINENO: result: no" >&5
11947 echo "${ECHO_T}no" >&6; }
11952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11953 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11955 # Check whether --enable-metafile was given.
11956 if test "${enable_metafile+set}" = set; then
11957 enableval=$enable_metafile;
11958 if test "$enableval" = yes; then
11959 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11961 ac_cv_use_metafile='wxUSE_METAFILE=no'
11966 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11967 if test "x$LINE" != x ; then
11968 eval "DEFAULT_$LINE"
11973 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11978 eval "$ac_cv_use_metafile"
11979 if test "$no_cache" != 1; then
11980 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11983 if test "$wxUSE_METAFILE" = yes; then
11984 { echo "$as_me:$LINENO: result: yes" >&5
11985 echo "${ECHO_T}yes" >&6; }
11987 { echo "$as_me:$LINENO: result: no" >&5
11988 echo "${ECHO_T}no" >&6; }
11993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11994 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
11996 # Check whether --enable-dragimage was given.
11997 if test "${enable_dragimage+set}" = set; then
11998 enableval=$enable_dragimage;
11999 if test "$enableval" = yes; then
12000 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12002 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12007 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12008 if test "x$LINE" != x ; then
12009 eval "DEFAULT_$LINE"
12014 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12019 eval "$ac_cv_use_dragimage"
12020 if test "$no_cache" != 1; then
12021 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12024 if test "$wxUSE_DRAGIMAGE" = yes; then
12025 { echo "$as_me:$LINENO: result: yes" >&5
12026 echo "${ECHO_T}yes" >&6; }
12028 { echo "$as_me:$LINENO: result: no" >&5
12029 echo "${ECHO_T}no" >&6; }
12034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12035 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12037 # Check whether --enable-accessibility was given.
12038 if test "${enable_accessibility+set}" = set; then
12039 enableval=$enable_accessibility;
12040 if test "$enableval" = yes; then
12041 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12043 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12048 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12049 if test "x$LINE" != x ; then
12050 eval "DEFAULT_$LINE"
12055 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12060 eval "$ac_cv_use_accessibility"
12061 if test "$no_cache" != 1; then
12062 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12065 if test "$wxUSE_ACCESSIBILITY" = yes; then
12066 { echo "$as_me:$LINENO: result: yes" >&5
12067 echo "${ECHO_T}yes" >&6; }
12069 { echo "$as_me:$LINENO: result: no" >&5
12070 echo "${ECHO_T}no" >&6; }
12074 if test "$wxUSE_MSW" = "1"; then
12077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12078 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12080 # Check whether --enable-dccache was given.
12081 if test "${enable_dccache+set}" = set; then
12082 enableval=$enable_dccache;
12083 if test "$enableval" = yes; then
12084 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12086 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12091 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12092 if test "x$LINE" != x ; then
12093 eval "DEFAULT_$LINE"
12098 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12103 eval "$ac_cv_use_dccache"
12104 if test "$no_cache" != 1; then
12105 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12108 if test "$wxUSE_DC_CACHEING" = yes; then
12109 { echo "$as_me:$LINENO: result: yes" >&5
12110 echo "${ECHO_T}yes" >&6; }
12112 { echo "$as_me:$LINENO: result: no" >&5
12113 echo "${ECHO_T}no" >&6; }
12121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12122 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12124 # Check whether --enable-palette was given.
12125 if test "${enable_palette+set}" = set; then
12126 enableval=$enable_palette;
12127 if test "$enableval" = yes; then
12128 ac_cv_use_palette='wxUSE_PALETTE=yes'
12130 ac_cv_use_palette='wxUSE_PALETTE=no'
12135 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12136 if test "x$LINE" != x ; then
12137 eval "DEFAULT_$LINE"
12142 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12147 eval "$ac_cv_use_palette"
12148 if test "$no_cache" != 1; then
12149 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12152 if test "$wxUSE_PALETTE" = yes; then
12153 { echo "$as_me:$LINENO: result: yes" >&5
12154 echo "${ECHO_T}yes" >&6; }
12156 { echo "$as_me:$LINENO: result: no" >&5
12157 echo "${ECHO_T}no" >&6; }
12162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12163 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12165 # Check whether --enable-image was given.
12166 if test "${enable_image+set}" = set; then
12167 enableval=$enable_image;
12168 if test "$enableval" = yes; then
12169 ac_cv_use_image='wxUSE_IMAGE=yes'
12171 ac_cv_use_image='wxUSE_IMAGE=no'
12176 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12177 if test "x$LINE" != x ; then
12178 eval "DEFAULT_$LINE"
12183 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12188 eval "$ac_cv_use_image"
12189 if test "$no_cache" != 1; then
12190 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12193 if test "$wxUSE_IMAGE" = yes; then
12194 { echo "$as_me:$LINENO: result: yes" >&5
12195 echo "${ECHO_T}yes" >&6; }
12197 { echo "$as_me:$LINENO: result: no" >&5
12198 echo "${ECHO_T}no" >&6; }
12203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12204 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12206 # Check whether --enable-gif was given.
12207 if test "${enable_gif+set}" = set; then
12208 enableval=$enable_gif;
12209 if test "$enableval" = yes; then
12210 ac_cv_use_gif='wxUSE_GIF=yes'
12212 ac_cv_use_gif='wxUSE_GIF=no'
12217 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12218 if test "x$LINE" != x ; then
12219 eval "DEFAULT_$LINE"
12224 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12229 eval "$ac_cv_use_gif"
12230 if test "$no_cache" != 1; then
12231 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12234 if test "$wxUSE_GIF" = yes; then
12235 { echo "$as_me:$LINENO: result: yes" >&5
12236 echo "${ECHO_T}yes" >&6; }
12238 { echo "$as_me:$LINENO: result: no" >&5
12239 echo "${ECHO_T}no" >&6; }
12244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12245 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12247 # Check whether --enable-pcx was given.
12248 if test "${enable_pcx+set}" = set; then
12249 enableval=$enable_pcx;
12250 if test "$enableval" = yes; then
12251 ac_cv_use_pcx='wxUSE_PCX=yes'
12253 ac_cv_use_pcx='wxUSE_PCX=no'
12258 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12259 if test "x$LINE" != x ; then
12260 eval "DEFAULT_$LINE"
12265 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12270 eval "$ac_cv_use_pcx"
12271 if test "$no_cache" != 1; then
12272 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12275 if test "$wxUSE_PCX" = yes; then
12276 { echo "$as_me:$LINENO: result: yes" >&5
12277 echo "${ECHO_T}yes" >&6; }
12279 { echo "$as_me:$LINENO: result: no" >&5
12280 echo "${ECHO_T}no" >&6; }
12285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12286 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12288 # Check whether --enable-tga was given.
12289 if test "${enable_tga+set}" = set; then
12290 enableval=$enable_tga;
12291 if test "$enableval" = yes; then
12292 ac_cv_use_tga='wxUSE_TGA=yes'
12294 ac_cv_use_tga='wxUSE_TGA=no'
12299 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12300 if test "x$LINE" != x ; then
12301 eval "DEFAULT_$LINE"
12306 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12311 eval "$ac_cv_use_tga"
12312 if test "$no_cache" != 1; then
12313 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12316 if test "$wxUSE_TGA" = yes; then
12317 { echo "$as_me:$LINENO: result: yes" >&5
12318 echo "${ECHO_T}yes" >&6; }
12320 { echo "$as_me:$LINENO: result: no" >&5
12321 echo "${ECHO_T}no" >&6; }
12326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12327 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12329 # Check whether --enable-iff was given.
12330 if test "${enable_iff+set}" = set; then
12331 enableval=$enable_iff;
12332 if test "$enableval" = yes; then
12333 ac_cv_use_iff='wxUSE_IFF=yes'
12335 ac_cv_use_iff='wxUSE_IFF=no'
12340 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12341 if test "x$LINE" != x ; then
12342 eval "DEFAULT_$LINE"
12347 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12352 eval "$ac_cv_use_iff"
12353 if test "$no_cache" != 1; then
12354 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12357 if test "$wxUSE_IFF" = yes; then
12358 { echo "$as_me:$LINENO: result: yes" >&5
12359 echo "${ECHO_T}yes" >&6; }
12361 { echo "$as_me:$LINENO: result: no" >&5
12362 echo "${ECHO_T}no" >&6; }
12367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12368 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12370 # Check whether --enable-pnm was given.
12371 if test "${enable_pnm+set}" = set; then
12372 enableval=$enable_pnm;
12373 if test "$enableval" = yes; then
12374 ac_cv_use_pnm='wxUSE_PNM=yes'
12376 ac_cv_use_pnm='wxUSE_PNM=no'
12381 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12382 if test "x$LINE" != x ; then
12383 eval "DEFAULT_$LINE"
12388 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12393 eval "$ac_cv_use_pnm"
12394 if test "$no_cache" != 1; then
12395 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12398 if test "$wxUSE_PNM" = yes; then
12399 { echo "$as_me:$LINENO: result: yes" >&5
12400 echo "${ECHO_T}yes" >&6; }
12402 { echo "$as_me:$LINENO: result: no" >&5
12403 echo "${ECHO_T}no" >&6; }
12408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12409 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12411 # Check whether --enable-xpm was given.
12412 if test "${enable_xpm+set}" = set; then
12413 enableval=$enable_xpm;
12414 if test "$enableval" = yes; then
12415 ac_cv_use_xpm='wxUSE_XPM=yes'
12417 ac_cv_use_xpm='wxUSE_XPM=no'
12422 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12423 if test "x$LINE" != x ; then
12424 eval "DEFAULT_$LINE"
12429 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12434 eval "$ac_cv_use_xpm"
12435 if test "$no_cache" != 1; then
12436 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12439 if test "$wxUSE_XPM" = yes; then
12440 { echo "$as_me:$LINENO: result: yes" >&5
12441 echo "${ECHO_T}yes" >&6; }
12443 { echo "$as_me:$LINENO: result: no" >&5
12444 echo "${ECHO_T}no" >&6; }
12449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12450 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12452 # Check whether --enable-ico_cur was given.
12453 if test "${enable_ico_cur+set}" = set; then
12454 enableval=$enable_ico_cur;
12455 if test "$enableval" = yes; then
12456 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12458 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12463 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12464 if test "x$LINE" != x ; then
12465 eval "DEFAULT_$LINE"
12470 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12475 eval "$ac_cv_use_ico_cur"
12476 if test "$no_cache" != 1; then
12477 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12480 if test "$wxUSE_ICO_CUR" = yes; then
12481 { echo "$as_me:$LINENO: result: yes" >&5
12482 echo "${ECHO_T}yes" >&6; }
12484 { echo "$as_me:$LINENO: result: no" >&5
12485 echo "${ECHO_T}no" >&6; }
12493 # Check whether --with-flavour was given.
12494 if test "${with_flavour+set}" = set; then
12495 withval=$with_flavour; WX_FLAVOUR="$withval"
12502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12503 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12505 # Check whether --enable-official_build was given.
12506 if test "${enable_official_build+set}" = set; then
12507 enableval=$enable_official_build;
12508 if test "$enableval" = yes; then
12509 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12511 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12516 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12517 if test "x$LINE" != x ; then
12518 eval "DEFAULT_$LINE"
12523 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12528 eval "$ac_cv_use_official_build"
12529 if test "$no_cache" != 1; then
12530 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12533 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12534 { echo "$as_me:$LINENO: result: yes" >&5
12535 echo "${ECHO_T}yes" >&6; }
12537 { echo "$as_me:$LINENO: result: no" >&5
12538 echo "${ECHO_T}no" >&6; }
12541 # Check whether --enable-vendor was given.
12542 if test "${enable_vendor+set}" = set; then
12543 enableval=$enable_vendor; VENDOR="$enableval"
12546 if test "x$VENDOR" = "x"; then
12553 echo "saving argument cache $wx_arg_cache_file"
12554 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12558 { echo "$as_me:$LINENO: checking for toolkit" >&5
12559 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12561 # In Wine, we need to default to MSW, not GTK or MOTIF
12562 if test "$wxUSE_WINE" = "yes"; then
12563 DEFAULT_DEFAULT_wxUSE_GTK=0
12564 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12565 DEFAULT_DEFAULT_wxUSE_MSW=1
12568 CXX=${CXX:-wineg++}
12572 if test "$wxUSE_GUI" = "yes"; then
12574 if test "$USE_BEOS" = 1; then
12575 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12576 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12577 { (exit 1); exit 1; }; }
12580 if test "$TOOLKIT_GIVEN" = 1; then
12581 for toolkit in `echo $ALL_TOOLKITS`; do
12583 eval "value=\$${var}"
12584 if test "x$value" = "xno"; then
12586 elif test "x$value" != "x"; then
12590 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12591 eval "wx${toolkit}_VERSION=$value"
12595 for toolkit in `echo $ALL_TOOLKITS`; do
12596 if test "$has_toolkit_in_cache" != 1; then
12597 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12599 var=DEFAULT_wxUSE_$toolkit
12601 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12602 if test "x$version" != "x"; then
12603 eval "wx${toolkit}_VERSION=$version"
12606 eval "wxUSE_$toolkit=\$${var}"
12610 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12611 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12612 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12615 *-pc-os2_emx | *-pc-os2-emx )
12616 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12619 case "$NUM_TOOLKITS" in
12623 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12624 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12625 { (exit 1); exit 1; }; }
12628 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12629 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12630 { (exit 1); exit 1; }; }
12633 # to be removed when --disable-gtk2 isn't needed
12634 if test "x$wxUSE_GTK2" = "xyes"; then
12636 elif test "x$wxUSE_GTK2" = "xno"; then
12640 for toolkit in `echo $ALL_TOOLKITS`; do
12642 eval "value=\$${var}"
12643 if test "x$value" != x; then
12644 cache_var=CACHE_$toolkit
12645 eval "cache=\$${cache_var}"
12646 if test "$cache" = 1; then
12647 echo "$var=$value" >> ${wx_arg_cache_file}
12648 eval "version=\$wx${toolkit}_VERSION"
12649 if test "x$version" != "x"; then
12650 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12653 if test "$value" = 1; then
12654 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12655 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12656 echo "${ECHO_T}$toolkit_echo" >&6; }
12661 if test "x$host_alias" != "x"; then
12662 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12663 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12665 { echo "$as_me:$LINENO: result: base only" >&5
12666 echo "${ECHO_T}base only" >&6; }
12671 cat >confcache <<\_ACEOF
12672 # This file is a shell script that caches the results of configure
12673 # tests run on this system so they can be shared between configure
12674 # scripts and configure runs, see configure's option --config-cache.
12675 # It is not useful on other systems. If it contains results you don't
12676 # want to keep, you may remove or edit it.
12678 # config.status only pays attention to the cache file if you give it
12679 # the --recheck option to rerun configure.
12681 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12682 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12683 # following values.
12687 # The following way of writing the cache mishandles newlines in values,
12688 # but we know of no workaround that is simple, portable, and efficient.
12689 # So, we kill variables containing newlines.
12690 # Ultrix sh set writes to stderr and can't be redirected directly,
12691 # and sets the high bit in the cache file unless we assign to the vars.
12693 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12694 eval ac_val=\$$ac_var
12698 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12699 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12702 _ | IFS | as_nl) ;; #(
12703 *) $as_unset $ac_var ;;
12709 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12710 *${as_nl}ac_space=\ *)
12711 # `set' does not quote correctly, so add quotes (double-quote
12712 # substitution turns \\\\ into \\, and sed turns \\ into \).
12715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12718 # `set' quotes correctly as required by POSIX, so do not add quotes.
12719 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12728 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12730 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12732 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12733 if test -w "$cache_file"; then
12734 test "x$cache_file" != "x/dev/null" &&
12735 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12736 echo "$as_me: updating cache $cache_file" >&6;}
12737 cat confcache >$cache_file
12739 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12740 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12750 ac_cpp='$CPP $CPPFLAGS'
12751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12754 if test -n "$ac_tool_prefix"; then
12755 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12756 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12757 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12759 if test "${ac_cv_prog_CC+set}" = set; then
12760 echo $ECHO_N "(cached) $ECHO_C" >&6
12762 if test -n "$CC"; then
12763 ac_cv_prog_CC="$CC" # Let the user override the test.
12765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12766 for as_dir in $PATH
12769 test -z "$as_dir" && as_dir=.
12770 for ac_exec_ext in '' $ac_executable_extensions; do
12771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12772 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12783 if test -n "$CC"; then
12784 { echo "$as_me:$LINENO: result: $CC" >&5
12785 echo "${ECHO_T}$CC" >&6; }
12787 { echo "$as_me:$LINENO: result: no" >&5
12788 echo "${ECHO_T}no" >&6; }
12793 if test -z "$ac_cv_prog_CC"; then
12795 # Extract the first word of "gcc", so it can be a program name with args.
12796 set dummy gcc; ac_word=$2
12797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12799 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12800 echo $ECHO_N "(cached) $ECHO_C" >&6
12802 if test -n "$ac_ct_CC"; then
12803 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12806 for as_dir in $PATH
12809 test -z "$as_dir" && as_dir=.
12810 for ac_exec_ext in '' $ac_executable_extensions; do
12811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12812 ac_cv_prog_ac_ct_CC="gcc"
12813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12822 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12823 if test -n "$ac_ct_CC"; then
12824 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12825 echo "${ECHO_T}$ac_ct_CC" >&6; }
12827 { echo "$as_me:$LINENO: result: no" >&5
12828 echo "${ECHO_T}no" >&6; }
12831 if test "x$ac_ct_CC" = x; then
12834 case $cross_compiling:$ac_tool_warned in
12836 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12837 whose name does not start with the host triplet. If you think this
12838 configuration is useful to you, please write to autoconf@gnu.org." >&5
12839 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12840 whose name does not start with the host triplet. If you think this
12841 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12842 ac_tool_warned=yes ;;
12847 CC="$ac_cv_prog_CC"
12850 if test -z "$CC"; then
12851 if test -n "$ac_tool_prefix"; then
12852 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12853 set dummy ${ac_tool_prefix}cc; ac_word=$2
12854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12856 if test "${ac_cv_prog_CC+set}" = set; then
12857 echo $ECHO_N "(cached) $ECHO_C" >&6
12859 if test -n "$CC"; then
12860 ac_cv_prog_CC="$CC" # Let the user override the test.
12862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12863 for as_dir in $PATH
12866 test -z "$as_dir" && as_dir=.
12867 for ac_exec_ext in '' $ac_executable_extensions; do
12868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12869 ac_cv_prog_CC="${ac_tool_prefix}cc"
12870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12880 if test -n "$CC"; then
12881 { echo "$as_me:$LINENO: result: $CC" >&5
12882 echo "${ECHO_T}$CC" >&6; }
12884 { echo "$as_me:$LINENO: result: no" >&5
12885 echo "${ECHO_T}no" >&6; }
12891 if test -z "$CC"; then
12892 # Extract the first word of "cc", so it can be a program name with args.
12893 set dummy cc; ac_word=$2
12894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12896 if test "${ac_cv_prog_CC+set}" = set; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12899 if test -n "$CC"; then
12900 ac_cv_prog_CC="$CC" # Let the user override the test.
12902 ac_prog_rejected=no
12903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12904 for as_dir in $PATH
12907 test -z "$as_dir" && as_dir=.
12908 for ac_exec_ext in '' $ac_executable_extensions; do
12909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12910 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12911 ac_prog_rejected=yes
12915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12922 if test $ac_prog_rejected = yes; then
12923 # We found a bogon in the path, so make sure we never use it.
12924 set dummy $ac_cv_prog_CC
12926 if test $# != 0; then
12927 # We chose a different compiler from the bogus one.
12928 # However, it has the same basename, so the bogon will be chosen
12929 # first if we set CC to just the basename; use the full file name.
12931 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12937 if test -n "$CC"; then
12938 { echo "$as_me:$LINENO: result: $CC" >&5
12939 echo "${ECHO_T}$CC" >&6; }
12941 { echo "$as_me:$LINENO: result: no" >&5
12942 echo "${ECHO_T}no" >&6; }
12947 if test -z "$CC"; then
12948 if test -n "$ac_tool_prefix"; then
12949 for ac_prog in cl.exe
12951 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12952 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12955 if test "${ac_cv_prog_CC+set}" = set; then
12956 echo $ECHO_N "(cached) $ECHO_C" >&6
12958 if test -n "$CC"; then
12959 ac_cv_prog_CC="$CC" # Let the user override the test.
12961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12962 for as_dir in $PATH
12965 test -z "$as_dir" && as_dir=.
12966 for ac_exec_ext in '' $ac_executable_extensions; do
12967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12968 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12979 if test -n "$CC"; then
12980 { echo "$as_me:$LINENO: result: $CC" >&5
12981 echo "${ECHO_T}$CC" >&6; }
12983 { echo "$as_me:$LINENO: result: no" >&5
12984 echo "${ECHO_T}no" >&6; }
12988 test -n "$CC" && break
12991 if test -z "$CC"; then
12993 for ac_prog in cl.exe
12995 # Extract the first word of "$ac_prog", so it can be a program name with args.
12996 set dummy $ac_prog; ac_word=$2
12997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12999 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13000 echo $ECHO_N "(cached) $ECHO_C" >&6
13002 if test -n "$ac_ct_CC"; then
13003 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13006 for as_dir in $PATH
13009 test -z "$as_dir" && as_dir=.
13010 for ac_exec_ext in '' $ac_executable_extensions; do
13011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13012 ac_cv_prog_ac_ct_CC="$ac_prog"
13013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13022 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13023 if test -n "$ac_ct_CC"; then
13024 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13025 echo "${ECHO_T}$ac_ct_CC" >&6; }
13027 { echo "$as_me:$LINENO: result: no" >&5
13028 echo "${ECHO_T}no" >&6; }
13032 test -n "$ac_ct_CC" && break
13035 if test "x$ac_ct_CC" = x; then
13038 case $cross_compiling:$ac_tool_warned in
13040 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13041 whose name does not start with the host triplet. If you think this
13042 configuration is useful to you, please write to autoconf@gnu.org." >&5
13043 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13044 whose name does not start with the host triplet. If you think this
13045 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13046 ac_tool_warned=yes ;;
13055 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13056 See \`config.log' for more details." >&5
13057 echo "$as_me: error: no acceptable C compiler found in \$PATH
13058 See \`config.log' for more details." >&2;}
13059 { (exit 1); exit 1; }; }
13061 # Provide some information about the compiler.
13062 echo "$as_me:$LINENO: checking for C compiler version" >&5
13063 ac_compiler=`set X $ac_compile; echo $2`
13064 { (ac_try="$ac_compiler --version >&5"
13065 case "(($ac_try" in
13066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13067 *) ac_try_echo=$ac_try;;
13069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13070 (eval "$ac_compiler --version >&5") 2>&5
13072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 (exit $ac_status); }
13074 { (ac_try="$ac_compiler -v >&5"
13075 case "(($ac_try" in
13076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13077 *) ac_try_echo=$ac_try;;
13079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13080 (eval "$ac_compiler -v >&5") 2>&5
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); }
13084 { (ac_try="$ac_compiler -V >&5"
13085 case "(($ac_try" in
13086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13087 *) ac_try_echo=$ac_try;;
13089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13090 (eval "$ac_compiler -V >&5") 2>&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }
13095 cat >conftest.$ac_ext <<_ACEOF
13098 cat confdefs.h >>conftest.$ac_ext
13099 cat >>conftest.$ac_ext <<_ACEOF
13100 /* end confdefs.h. */
13110 ac_clean_files_save=$ac_clean_files
13111 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13112 # Try to create an executable without -o first, disregard a.out.
13113 # It will help us diagnose broken compilers, and finding out an intuition
13115 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13116 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13117 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13119 # List of possible output files, starting from the most likely.
13120 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13121 # only as a last resort. b.out is created by i960 compilers.
13122 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13124 # The IRIX 6 linker writes into existing files which may not be
13125 # executable, retaining their permissions. Remove them first so a
13126 # subsequent execution test works.
13128 for ac_file in $ac_files
13131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13132 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13137 if { (ac_try="$ac_link_default"
13138 case "(($ac_try" in
13139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13140 *) ac_try_echo=$ac_try;;
13142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13143 (eval "$ac_link_default") 2>&5
13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 (exit $ac_status); }; then
13147 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13148 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13149 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13150 # so that the user can short-circuit this test for compilers unknown to
13152 for ac_file in $ac_files ''
13154 test -f "$ac_file" || continue
13156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13159 # We found the default executable, but exeext='' is most
13163 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13165 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13167 # We set ac_cv_exeext here because the later test for it is not
13168 # safe: cross compilers may not add the suffix if given an `-o'
13169 # argument, so we may need to know it at that point already.
13170 # Even if this section looks crufty: it has the advantage of
13171 # actually working.
13177 test "$ac_cv_exeext" = no && ac_cv_exeext=
13183 { echo "$as_me:$LINENO: result: $ac_file" >&5
13184 echo "${ECHO_T}$ac_file" >&6; }
13185 if test -z "$ac_file"; then
13186 echo "$as_me: failed program was:" >&5
13187 sed 's/^/| /' conftest.$ac_ext >&5
13189 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13190 See \`config.log' for more details." >&5
13191 echo "$as_me: error: C compiler cannot create executables
13192 See \`config.log' for more details." >&2;}
13193 { (exit 77); exit 77; }; }
13196 ac_exeext=$ac_cv_exeext
13198 # Check that the compiler produces executables we can run. If not, either
13199 # the compiler is broken, or we cross compile.
13200 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13201 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13202 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13203 # If not cross compiling, check that we can run a simple program.
13204 if test "$cross_compiling" != yes; then
13205 if { ac_try='./$ac_file'
13206 { (case "(($ac_try" in
13207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13208 *) ac_try_echo=$ac_try;;
13210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13211 (eval "$ac_try") 2>&5
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214 (exit $ac_status); }; }; then
13217 if test "$cross_compiling" = maybe; then
13218 cross_compiling=yes
13220 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13221 If you meant to cross compile, use \`--host'.
13222 See \`config.log' for more details." >&5
13223 echo "$as_me: error: cannot run C compiled programs.
13224 If you meant to cross compile, use \`--host'.
13225 See \`config.log' for more details." >&2;}
13226 { (exit 1); exit 1; }; }
13230 { echo "$as_me:$LINENO: result: yes" >&5
13231 echo "${ECHO_T}yes" >&6; }
13233 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13234 ac_clean_files=$ac_clean_files_save
13235 # Check that the compiler produces executables we can run. If not, either
13236 # the compiler is broken, or we cross compile.
13237 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13238 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13239 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13240 echo "${ECHO_T}$cross_compiling" >&6; }
13242 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13243 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13244 if { (ac_try="$ac_link"
13245 case "(($ac_try" in
13246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13247 *) ac_try_echo=$ac_try;;
13249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13250 (eval "$ac_link") 2>&5
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); }; then
13254 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13255 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13256 # work properly (i.e., refer to `conftest.exe'), while it won't with
13258 for ac_file in conftest.exe conftest conftest.*; do
13259 test -f "$ac_file" || continue
13261 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13262 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13268 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13269 See \`config.log' for more details." >&5
13270 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13271 See \`config.log' for more details." >&2;}
13272 { (exit 1); exit 1; }; }
13275 rm -f conftest$ac_cv_exeext
13276 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13277 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13279 rm -f conftest.$ac_ext
13280 EXEEXT=$ac_cv_exeext
13282 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13283 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13284 if test "${ac_cv_objext+set}" = set; then
13285 echo $ECHO_N "(cached) $ECHO_C" >&6
13287 cat >conftest.$ac_ext <<_ACEOF
13290 cat confdefs.h >>conftest.$ac_ext
13291 cat >>conftest.$ac_ext <<_ACEOF
13292 /* end confdefs.h. */
13302 rm -f conftest.o conftest.obj
13303 if { (ac_try="$ac_compile"
13304 case "(($ac_try" in
13305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13306 *) ac_try_echo=$ac_try;;
13308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13309 (eval "$ac_compile") 2>&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); }; then
13313 for ac_file in conftest.o conftest.obj conftest.*; do
13314 test -f "$ac_file" || continue;
13316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13317 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13322 echo "$as_me: failed program was:" >&5
13323 sed 's/^/| /' conftest.$ac_ext >&5
13325 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13326 See \`config.log' for more details." >&5
13327 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13328 See \`config.log' for more details." >&2;}
13329 { (exit 1); exit 1; }; }
13332 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13334 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13335 echo "${ECHO_T}$ac_cv_objext" >&6; }
13336 OBJEXT=$ac_cv_objext
13338 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13339 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13340 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13341 echo $ECHO_N "(cached) $ECHO_C" >&6
13343 cat >conftest.$ac_ext <<_ACEOF
13346 cat confdefs.h >>conftest.$ac_ext
13347 cat >>conftest.$ac_ext <<_ACEOF
13348 /* end confdefs.h. */
13361 rm -f conftest.$ac_objext
13362 if { (ac_try="$ac_compile"
13363 case "(($ac_try" in
13364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13365 *) ac_try_echo=$ac_try;;
13367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13368 (eval "$ac_compile") 2>conftest.er1
13370 grep -v '^ *+' conftest.er1 >conftest.err
13372 cat conftest.err >&5
13373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13374 (exit $ac_status); } && {
13375 test -z "$ac_c_werror_flag" ||
13376 test ! -s conftest.err
13377 } && test -s conftest.$ac_objext; then
13378 ac_compiler_gnu=yes
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.$ac_ext >&5
13386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13387 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13390 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13391 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13392 GCC=`test $ac_compiler_gnu = yes && echo yes`
13393 ac_test_CFLAGS=${CFLAGS+set}
13394 ac_save_CFLAGS=$CFLAGS
13395 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13396 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13397 if test "${ac_cv_prog_cc_g+set}" = set; then
13398 echo $ECHO_N "(cached) $ECHO_C" >&6
13400 ac_save_c_werror_flag=$ac_c_werror_flag
13401 ac_c_werror_flag=yes
13404 cat >conftest.$ac_ext <<_ACEOF
13407 cat confdefs.h >>conftest.$ac_ext
13408 cat >>conftest.$ac_ext <<_ACEOF
13409 /* end confdefs.h. */
13419 rm -f conftest.$ac_objext
13420 if { (ac_try="$ac_compile"
13421 case "(($ac_try" in
13422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13423 *) ac_try_echo=$ac_try;;
13425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13426 (eval "$ac_compile") 2>conftest.er1
13428 grep -v '^ *+' conftest.er1 >conftest.err
13430 cat conftest.err >&5
13431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432 (exit $ac_status); } && {
13433 test -z "$ac_c_werror_flag" ||
13434 test ! -s conftest.err
13435 } && test -s conftest.$ac_objext; then
13436 ac_cv_prog_cc_g=yes
13438 echo "$as_me: failed program was:" >&5
13439 sed 's/^/| /' conftest.$ac_ext >&5
13442 cat >conftest.$ac_ext <<_ACEOF
13445 cat confdefs.h >>conftest.$ac_ext
13446 cat >>conftest.$ac_ext <<_ACEOF
13447 /* end confdefs.h. */
13457 rm -f conftest.$ac_objext
13458 if { (ac_try="$ac_compile"
13459 case "(($ac_try" in
13460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13461 *) ac_try_echo=$ac_try;;
13463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13464 (eval "$ac_compile") 2>conftest.er1
13466 grep -v '^ *+' conftest.er1 >conftest.err
13468 cat conftest.err >&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } && {
13471 test -z "$ac_c_werror_flag" ||
13472 test ! -s conftest.err
13473 } && test -s conftest.$ac_objext; then
13476 echo "$as_me: failed program was:" >&5
13477 sed 's/^/| /' conftest.$ac_ext >&5
13479 ac_c_werror_flag=$ac_save_c_werror_flag
13481 cat >conftest.$ac_ext <<_ACEOF
13484 cat confdefs.h >>conftest.$ac_ext
13485 cat >>conftest.$ac_ext <<_ACEOF
13486 /* end confdefs.h. */
13496 rm -f conftest.$ac_objext
13497 if { (ac_try="$ac_compile"
13498 case "(($ac_try" in
13499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13500 *) ac_try_echo=$ac_try;;
13502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13503 (eval "$ac_compile") 2>conftest.er1
13505 grep -v '^ *+' conftest.er1 >conftest.err
13507 cat conftest.err >&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); } && {
13510 test -z "$ac_c_werror_flag" ||
13511 test ! -s conftest.err
13512 } && test -s conftest.$ac_objext; then
13513 ac_cv_prog_cc_g=yes
13515 echo "$as_me: failed program was:" >&5
13516 sed 's/^/| /' conftest.$ac_ext >&5
13521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13528 ac_c_werror_flag=$ac_save_c_werror_flag
13530 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13531 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13532 if test "$ac_test_CFLAGS" = set; then
13533 CFLAGS=$ac_save_CFLAGS
13534 elif test $ac_cv_prog_cc_g = yes; then
13535 if test "$GCC" = yes; then
13541 if test "$GCC" = yes; then
13547 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13548 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13549 if test "${ac_cv_prog_cc_c89+set}" = set; then
13550 echo $ECHO_N "(cached) $ECHO_C" >&6
13552 ac_cv_prog_cc_c89=no
13554 cat >conftest.$ac_ext <<_ACEOF
13557 cat confdefs.h >>conftest.$ac_ext
13558 cat >>conftest.$ac_ext <<_ACEOF
13559 /* end confdefs.h. */
13560 #include <stdarg.h>
13562 #include <sys/types.h>
13563 #include <sys/stat.h>
13564 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13565 struct buf { int x; };
13566 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13567 static char *e (p, i)
13573 static char *f (char * (*g) (char **, int), char **p, ...)
13578 s = g (p, va_arg (v,int));
13583 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13584 function prototypes and stuff, but not '\xHH' hex character constants.
13585 These don't provoke an error unfortunately, instead are silently treated
13586 as 'x'. The following induces an error, until -std is added to get
13587 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13588 array size at least. It's necessary to write '\x00'==0 to get something
13589 that's true only with -std. */
13590 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13592 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13593 inside strings and character constants. */
13595 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13597 int test (int i, double x);
13598 struct s1 {int (*f) (int a);};
13599 struct s2 {int (*f) (double a);};
13600 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13606 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13611 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13612 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13614 CC="$ac_save_CC $ac_arg"
13615 rm -f conftest.$ac_objext
13616 if { (ac_try="$ac_compile"
13617 case "(($ac_try" in
13618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13619 *) ac_try_echo=$ac_try;;
13621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13622 (eval "$ac_compile") 2>conftest.er1
13624 grep -v '^ *+' conftest.er1 >conftest.err
13626 cat conftest.err >&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); } && {
13629 test -z "$ac_c_werror_flag" ||
13630 test ! -s conftest.err
13631 } && test -s conftest.$ac_objext; then
13632 ac_cv_prog_cc_c89=$ac_arg
13634 echo "$as_me: failed program was:" >&5
13635 sed 's/^/| /' conftest.$ac_ext >&5
13640 rm -f core conftest.err conftest.$ac_objext
13641 test "x$ac_cv_prog_cc_c89" != "xno" && break
13643 rm -f conftest.$ac_ext
13648 case "x$ac_cv_prog_cc_c89" in
13650 { echo "$as_me:$LINENO: result: none needed" >&5
13651 echo "${ECHO_T}none needed" >&6; } ;;
13653 { echo "$as_me:$LINENO: result: unsupported" >&5
13654 echo "${ECHO_T}unsupported" >&6; } ;;
13656 CC="$CC $ac_cv_prog_cc_c89"
13657 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13658 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13663 ac_cpp='$CPP $CPPFLAGS'
13664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13671 ac_cpp='$CPP $CPPFLAGS'
13672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13676 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13677 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13678 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13679 echo $ECHO_N "(cached) $ECHO_C" >&6
13681 cat >conftest.$ac_ext <<_ACEOF
13684 cat confdefs.h >>conftest.$ac_ext
13685 cat >>conftest.$ac_ext <<_ACEOF
13686 /* end confdefs.h. */
13692 #ifndef __INTEL_COMPILER
13700 rm -f conftest.$ac_objext
13701 if { (ac_try="$ac_compile"
13702 case "(($ac_try" in
13703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13704 *) ac_try_echo=$ac_try;;
13706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13707 (eval "$ac_compile") 2>conftest.er1
13709 grep -v '^ *+' conftest.er1 >conftest.err
13711 cat conftest.err >&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); } && {
13714 test -z "$ac_c_werror_flag" ||
13715 test ! -s conftest.err
13716 } && test -s conftest.$ac_objext; then
13717 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13719 echo "$as_me: failed program was:" >&5
13720 sed 's/^/| /' conftest.$ac_ext >&5
13722 bakefile_cv_c_compiler___INTEL_COMPILER=no
13726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13730 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13731 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13733 ac_cpp='$CPP $CPPFLAGS'
13734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13738 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13745 if test "x$GCC" != "xyes"; then
13746 if test "xCC" = "xC"; then
13747 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13748 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13749 if test "${bakefile_cv_c_exto+set}" = set; then
13750 echo $ECHO_N "(cached) $ECHO_C" >&6
13752 cat >conftest.$ac_ext <<_ACEOF
13755 cat confdefs.h >>conftest.$ac_ext
13756 cat >>conftest.$ac_ext <<_ACEOF
13757 /* end confdefs.h. */
13767 rm -f conftest.$ac_objext conftest.$ac_ext.o
13768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13769 (eval $ac_compile) 2>&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }; then
13773 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13775 conftest.$ac_ext.o)
13776 bakefile_cv_c_exto="-ext o"
13783 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13784 See \`config.log' for more details." >&5
13785 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13786 See \`config.log' for more details." >&2;}
13787 { (exit 1); exit 1; }; }
13791 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13794 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13795 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13796 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13797 if test "c" = "c"; then
13798 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13800 if test "c" = "cxx"; then
13801 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13805 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13806 unset ac_cv_prog_cc_g
13807 ac_test_CFLAGS=${CFLAGS+set}
13808 ac_save_CFLAGS=$CFLAGS
13809 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13810 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13811 if test "${ac_cv_prog_cc_g+set}" = set; then
13812 echo $ECHO_N "(cached) $ECHO_C" >&6
13814 ac_save_c_werror_flag=$ac_c_werror_flag
13815 ac_c_werror_flag=yes
13818 cat >conftest.$ac_ext <<_ACEOF
13821 cat confdefs.h >>conftest.$ac_ext
13822 cat >>conftest.$ac_ext <<_ACEOF
13823 /* end confdefs.h. */
13833 rm -f conftest.$ac_objext
13834 if { (ac_try="$ac_compile"
13835 case "(($ac_try" in
13836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13837 *) ac_try_echo=$ac_try;;
13839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13840 (eval "$ac_compile") 2>conftest.er1
13842 grep -v '^ *+' conftest.er1 >conftest.err
13844 cat conftest.err >&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); } && {
13847 test -z "$ac_c_werror_flag" ||
13848 test ! -s conftest.err
13849 } && test -s conftest.$ac_objext; then
13850 ac_cv_prog_cc_g=yes
13852 echo "$as_me: failed program was:" >&5
13853 sed 's/^/| /' conftest.$ac_ext >&5
13856 cat >conftest.$ac_ext <<_ACEOF
13859 cat confdefs.h >>conftest.$ac_ext
13860 cat >>conftest.$ac_ext <<_ACEOF
13861 /* end confdefs.h. */
13871 rm -f conftest.$ac_objext
13872 if { (ac_try="$ac_compile"
13873 case "(($ac_try" in
13874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13875 *) ac_try_echo=$ac_try;;
13877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13878 (eval "$ac_compile") 2>conftest.er1
13880 grep -v '^ *+' conftest.er1 >conftest.err
13882 cat conftest.err >&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); } && {
13885 test -z "$ac_c_werror_flag" ||
13886 test ! -s conftest.err
13887 } && test -s conftest.$ac_objext; then
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5
13893 ac_c_werror_flag=$ac_save_c_werror_flag
13895 cat >conftest.$ac_ext <<_ACEOF
13898 cat confdefs.h >>conftest.$ac_ext
13899 cat >>conftest.$ac_ext <<_ACEOF
13900 /* end confdefs.h. */
13910 rm -f conftest.$ac_objext
13911 if { (ac_try="$ac_compile"
13912 case "(($ac_try" in
13913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13914 *) ac_try_echo=$ac_try;;
13916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13917 (eval "$ac_compile") 2>conftest.er1
13919 grep -v '^ *+' conftest.er1 >conftest.err
13921 cat conftest.err >&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); } && {
13924 test -z "$ac_c_werror_flag" ||
13925 test ! -s conftest.err
13926 } && test -s conftest.$ac_objext; then
13927 ac_cv_prog_cc_g=yes
13929 echo "$as_me: failed program was:" >&5
13930 sed 's/^/| /' conftest.$ac_ext >&5
13935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13942 ac_c_werror_flag=$ac_save_c_werror_flag
13944 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13945 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13946 if test "$ac_test_CFLAGS" = set; then
13947 CFLAGS=$ac_save_CFLAGS
13948 elif test $ac_cv_prog_cc_g = yes; then
13949 if test "$GCC" = yes; then
13955 if test "$GCC" = yes; then
13967 ac_cpp='$CPP $CPPFLAGS'
13968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13972 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13973 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
13974 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13975 echo $ECHO_N "(cached) $ECHO_C" >&6
13977 cat >conftest.$ac_ext <<_ACEOF
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13995 rm -f conftest.$ac_objext
13996 if { (ac_try="$ac_compile"
13997 case "(($ac_try" in
13998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13999 *) ac_try_echo=$ac_try;;
14001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14002 (eval "$ac_compile") 2>conftest.er1
14004 grep -v '^ *+' conftest.er1 >conftest.err
14006 cat conftest.err >&5
14007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008 (exit $ac_status); } && {
14009 test -z "$ac_c_werror_flag" ||
14010 test ! -s conftest.err
14011 } && test -s conftest.$ac_objext; then
14012 bakefile_compiler_xlc=yes
14014 echo "$as_me: failed program was:" >&5
14015 sed 's/^/| /' conftest.$ac_ext >&5
14017 bakefile_compiler_xlc=no
14020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14021 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14024 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14025 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14027 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14029 ac_cpp='$CPP $CPPFLAGS'
14030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14039 ac_cpp='$CPP $CPPFLAGS'
14040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14044 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14045 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14046 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14047 echo $ECHO_N "(cached) $ECHO_C" >&6
14049 cat >conftest.$ac_ext <<_ACEOF
14052 cat confdefs.h >>conftest.$ac_ext
14053 cat >>conftest.$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14067 rm -f conftest.$ac_objext
14068 if { (ac_try="$ac_compile"
14069 case "(($ac_try" in
14070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14071 *) ac_try_echo=$ac_try;;
14073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14074 (eval "$ac_compile") 2>conftest.er1
14076 grep -v '^ *+' conftest.er1 >conftest.err
14078 cat conftest.err >&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } && {
14081 test -z "$ac_c_werror_flag" ||
14082 test ! -s conftest.err
14083 } && test -s conftest.$ac_objext; then
14084 bakefile_compiler_mwerks=yes
14086 echo "$as_me: failed program was:" >&5
14087 sed 's/^/| /' conftest.$ac_ext >&5
14089 bakefile_compiler_mwerks=no
14092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14093 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14096 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14097 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14099 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14101 ac_cpp='$CPP $CPPFLAGS'
14102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14108 ac_cpp='$CPP $CPPFLAGS'
14109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14113 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14114 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14115 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14116 echo $ECHO_N "(cached) $ECHO_C" >&6
14118 cat >conftest.$ac_ext <<_ACEOF
14121 cat confdefs.h >>conftest.$ac_ext
14122 cat >>conftest.$ac_ext <<_ACEOF
14123 /* end confdefs.h. */
14136 rm -f conftest.$ac_objext
14137 if { (ac_try="$ac_compile"
14138 case "(($ac_try" in
14139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14140 *) ac_try_echo=$ac_try;;
14142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14143 (eval "$ac_compile") 2>conftest.er1
14145 grep -v '^ *+' conftest.er1 >conftest.err
14147 cat conftest.err >&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); } && {
14150 test -z "$ac_c_werror_flag" ||
14151 test ! -s conftest.err
14152 } && test -s conftest.$ac_objext; then
14153 bakefile_compiler_xlc=yes
14155 echo "$as_me: failed program was:" >&5
14156 sed 's/^/| /' conftest.$ac_ext >&5
14158 bakefile_compiler_xlc=no
14161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14162 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14165 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14166 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14168 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14170 ac_cpp='$CPP $CPPFLAGS'
14171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14182 ac_cpp='$CPP $CPPFLAGS'
14183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14187 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14188 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14189 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14192 cat >conftest.$ac_ext <<_ACEOF
14195 cat confdefs.h >>conftest.$ac_ext
14196 cat >>conftest.$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14203 #ifndef _SGI_COMPILER_VERSION
14211 rm -f conftest.$ac_objext
14212 if { (ac_try="$ac_compile"
14213 case "(($ac_try" in
14214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14215 *) ac_try_echo=$ac_try;;
14217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14218 (eval "$ac_compile") 2>conftest.er1
14220 grep -v '^ *+' conftest.er1 >conftest.err
14222 cat conftest.err >&5
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); } && {
14225 test -z "$ac_c_werror_flag" ||
14226 test ! -s conftest.err
14227 } && test -s conftest.$ac_objext; then
14228 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.$ac_ext >&5
14233 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14241 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14242 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14244 ac_cpp='$CPP $CPPFLAGS'
14245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14249 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14262 ac_cpp='$CPP $CPPFLAGS'
14263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14267 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14268 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14269 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14270 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 cat >conftest.$ac_ext <<_ACEOF
14275 cat confdefs.h >>conftest.$ac_ext
14276 cat >>conftest.$ac_ext <<_ACEOF
14277 /* end confdefs.h. */
14291 rm -f conftest.$ac_objext
14292 if { (ac_try="$ac_compile"
14293 case "(($ac_try" in
14294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14295 *) ac_try_echo=$ac_try;;
14297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14298 (eval "$ac_compile") 2>conftest.er1
14300 grep -v '^ *+' conftest.er1 >conftest.err
14302 cat conftest.err >&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); } && {
14305 test -z "$ac_c_werror_flag" ||
14306 test ! -s conftest.err
14307 } && test -s conftest.$ac_objext; then
14308 bakefile_cv_c_compiler___HP_cc=yes
14310 echo "$as_me: failed program was:" >&5
14311 sed 's/^/| /' conftest.$ac_ext >&5
14313 bakefile_cv_c_compiler___HP_cc=no
14317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14321 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14322 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14324 ac_cpp='$CPP $CPPFLAGS'
14325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14329 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14342 ac_cpp='$CPP $CPPFLAGS'
14343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14347 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14348 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14349 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14350 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 cat >conftest.$ac_ext <<_ACEOF
14355 cat confdefs.h >>conftest.$ac_ext
14356 cat >>conftest.$ac_ext <<_ACEOF
14357 /* end confdefs.h. */
14371 rm -f conftest.$ac_objext
14372 if { (ac_try="$ac_compile"
14373 case "(($ac_try" in
14374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14375 *) ac_try_echo=$ac_try;;
14377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14378 (eval "$ac_compile") 2>conftest.er1
14380 grep -v '^ *+' conftest.er1 >conftest.err
14382 cat conftest.err >&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } && {
14385 test -z "$ac_c_werror_flag" ||
14386 test ! -s conftest.err
14387 } && test -s conftest.$ac_objext; then
14388 bakefile_cv_c_compiler___DECC=yes
14390 echo "$as_me: failed program was:" >&5
14391 sed 's/^/| /' conftest.$ac_ext >&5
14393 bakefile_cv_c_compiler___DECC=no
14397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14401 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14402 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14404 ac_cpp='$CPP $CPPFLAGS'
14405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14409 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14422 ac_cpp='$CPP $CPPFLAGS'
14423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14427 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14428 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14429 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14430 echo $ECHO_N "(cached) $ECHO_C" >&6
14432 cat >conftest.$ac_ext <<_ACEOF
14435 cat confdefs.h >>conftest.$ac_ext
14436 cat >>conftest.$ac_ext <<_ACEOF
14437 /* end confdefs.h. */
14451 rm -f conftest.$ac_objext
14452 if { (ac_try="$ac_compile"
14453 case "(($ac_try" in
14454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14455 *) ac_try_echo=$ac_try;;
14457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14458 (eval "$ac_compile") 2>conftest.er1
14460 grep -v '^ *+' conftest.er1 >conftest.err
14462 cat conftest.err >&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); } && {
14465 test -z "$ac_c_werror_flag" ||
14466 test ! -s conftest.err
14467 } && test -s conftest.$ac_objext; then
14468 bakefile_cv_c_compiler___SUNPRO_C=yes
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.$ac_ext >&5
14473 bakefile_cv_c_compiler___SUNPRO_C=no
14477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14481 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14482 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14484 ac_cpp='$CPP $CPPFLAGS'
14485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14489 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14503 ac_cpp='$CPP $CPPFLAGS'
14504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14507 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14508 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14509 # On Suns, sometimes $CPP names a directory.
14510 if test -n "$CPP" && test -d "$CPP"; then
14513 if test -z "$CPP"; then
14514 if test "${ac_cv_prog_CPP+set}" = set; then
14515 echo $ECHO_N "(cached) $ECHO_C" >&6
14517 # Double quotes because CPP needs to be expanded
14518 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14520 ac_preproc_ok=false
14521 for ac_c_preproc_warn_flag in '' yes
14523 # Use a header file that comes with gcc, so configuring glibc
14524 # with a fresh cross-compiler works.
14525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14526 # <limits.h> exists even on freestanding compilers.
14527 # On the NeXT, cc -E runs the code through the compiler's parser,
14528 # not just through cpp. "Syntax error" is here to catch this case.
14529 cat >conftest.$ac_ext <<_ACEOF
14532 cat confdefs.h >>conftest.$ac_ext
14533 cat >>conftest.$ac_ext <<_ACEOF
14534 /* end confdefs.h. */
14536 # include <limits.h>
14538 # include <assert.h>
14542 if { (ac_try="$ac_cpp conftest.$ac_ext"
14543 case "(($ac_try" in
14544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14545 *) ac_try_echo=$ac_try;;
14547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14550 grep -v '^ *+' conftest.er1 >conftest.err
14552 cat conftest.err >&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } >/dev/null && {
14555 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14556 test ! -s conftest.err
14560 echo "$as_me: failed program was:" >&5
14561 sed 's/^/| /' conftest.$ac_ext >&5
14563 # Broken: fails on valid input.
14567 rm -f conftest.err conftest.$ac_ext
14569 # OK, works on sane cases. Now check whether nonexistent headers
14570 # can be detected and how.
14571 cat >conftest.$ac_ext <<_ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
14576 /* end confdefs.h. */
14577 #include <ac_nonexistent.h>
14579 if { (ac_try="$ac_cpp conftest.$ac_ext"
14580 case "(($ac_try" in
14581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14582 *) ac_try_echo=$ac_try;;
14584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14587 grep -v '^ *+' conftest.er1 >conftest.err
14589 cat conftest.err >&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); } >/dev/null && {
14592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14593 test ! -s conftest.err
14595 # Broken: success on invalid input.
14598 echo "$as_me: failed program was:" >&5
14599 sed 's/^/| /' conftest.$ac_ext >&5
14601 # Passes both tests.
14606 rm -f conftest.err conftest.$ac_ext
14609 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14610 rm -f conftest.err conftest.$ac_ext
14611 if $ac_preproc_ok; then
14616 ac_cv_prog_CPP=$CPP
14619 CPP=$ac_cv_prog_CPP
14621 ac_cv_prog_CPP=$CPP
14623 { echo "$as_me:$LINENO: result: $CPP" >&5
14624 echo "${ECHO_T}$CPP" >&6; }
14625 ac_preproc_ok=false
14626 for ac_c_preproc_warn_flag in '' yes
14628 # Use a header file that comes with gcc, so configuring glibc
14629 # with a fresh cross-compiler works.
14630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14631 # <limits.h> exists even on freestanding compilers.
14632 # On the NeXT, cc -E runs the code through the compiler's parser,
14633 # not just through cpp. "Syntax error" is here to catch this case.
14634 cat >conftest.$ac_ext <<_ACEOF
14637 cat confdefs.h >>conftest.$ac_ext
14638 cat >>conftest.$ac_ext <<_ACEOF
14639 /* end confdefs.h. */
14641 # include <limits.h>
14643 # include <assert.h>
14647 if { (ac_try="$ac_cpp conftest.$ac_ext"
14648 case "(($ac_try" in
14649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14650 *) ac_try_echo=$ac_try;;
14652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14655 grep -v '^ *+' conftest.er1 >conftest.err
14657 cat conftest.err >&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); } >/dev/null && {
14660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14661 test ! -s conftest.err
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.$ac_ext >&5
14668 # Broken: fails on valid input.
14672 rm -f conftest.err conftest.$ac_ext
14674 # OK, works on sane cases. Now check whether nonexistent headers
14675 # can be detected and how.
14676 cat >conftest.$ac_ext <<_ACEOF
14679 cat confdefs.h >>conftest.$ac_ext
14680 cat >>conftest.$ac_ext <<_ACEOF
14681 /* end confdefs.h. */
14682 #include <ac_nonexistent.h>
14684 if { (ac_try="$ac_cpp conftest.$ac_ext"
14685 case "(($ac_try" in
14686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14687 *) ac_try_echo=$ac_try;;
14689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14692 grep -v '^ *+' conftest.er1 >conftest.err
14694 cat conftest.err >&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); } >/dev/null && {
14697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14698 test ! -s conftest.err
14700 # Broken: success on invalid input.
14703 echo "$as_me: failed program was:" >&5
14704 sed 's/^/| /' conftest.$ac_ext >&5
14706 # Passes both tests.
14711 rm -f conftest.err conftest.$ac_ext
14714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14715 rm -f conftest.err conftest.$ac_ext
14716 if $ac_preproc_ok; then
14719 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14720 See \`config.log' for more details." >&5
14721 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14722 See \`config.log' for more details." >&2;}
14723 { (exit 1); exit 1; }; }
14727 ac_cpp='$CPP $CPPFLAGS'
14728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14733 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14734 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14735 if test "${ac_cv_path_GREP+set}" = set; then
14736 echo $ECHO_N "(cached) $ECHO_C" >&6
14738 # Extract the first word of "grep ggrep" to use in msg output
14739 if test -z "$GREP"; then
14740 set dummy grep ggrep; ac_prog_name=$2
14741 if test "${ac_cv_path_GREP+set}" = set; then
14742 echo $ECHO_N "(cached) $ECHO_C" >&6
14744 ac_path_GREP_found=false
14745 # Loop through the user's path and test for each of PROGNAME-LIST
14746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14747 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14750 test -z "$as_dir" && as_dir=.
14751 for ac_prog in grep ggrep; do
14752 for ac_exec_ext in '' $ac_executable_extensions; do
14753 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14754 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14755 # Check for GNU ac_path_GREP and select it if it is found.
14756 # Check for GNU $ac_path_GREP
14757 case `"$ac_path_GREP" --version 2>&1` in
14759 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14762 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14765 cat "conftest.in" "conftest.in" >"conftest.tmp"
14766 mv "conftest.tmp" "conftest.in"
14767 cp "conftest.in" "conftest.nl"
14768 echo 'GREP' >> "conftest.nl"
14769 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14770 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14771 ac_count=`expr $ac_count + 1`
14772 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14773 # Best one so far, save it but keep looking for a better one
14774 ac_cv_path_GREP="$ac_path_GREP"
14775 ac_path_GREP_max=$ac_count
14777 # 10*(2^10) chars as input seems more than enough
14778 test $ac_count -gt 10 && break
14780 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14784 $ac_path_GREP_found && break 3
14794 GREP="$ac_cv_path_GREP"
14795 if test -z "$GREP"; then
14796 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14797 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14798 { (exit 1); exit 1; }; }
14802 ac_cv_path_GREP=$GREP
14807 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14808 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14809 GREP="$ac_cv_path_GREP"
14812 { echo "$as_me:$LINENO: checking for egrep" >&5
14813 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14814 if test "${ac_cv_path_EGREP+set}" = set; then
14815 echo $ECHO_N "(cached) $ECHO_C" >&6
14817 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14818 then ac_cv_path_EGREP="$GREP -E"
14820 # Extract the first word of "egrep" to use in msg output
14821 if test -z "$EGREP"; then
14822 set dummy egrep; ac_prog_name=$2
14823 if test "${ac_cv_path_EGREP+set}" = set; then
14824 echo $ECHO_N "(cached) $ECHO_C" >&6
14826 ac_path_EGREP_found=false
14827 # Loop through the user's path and test for each of PROGNAME-LIST
14828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14829 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14832 test -z "$as_dir" && as_dir=.
14833 for ac_prog in egrep; do
14834 for ac_exec_ext in '' $ac_executable_extensions; do
14835 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
14836 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14837 # Check for GNU ac_path_EGREP and select it if it is found.
14838 # Check for GNU $ac_path_EGREP
14839 case `"$ac_path_EGREP" --version 2>&1` in
14841 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
14844 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14847 cat "conftest.in" "conftest.in" >"conftest.tmp"
14848 mv "conftest.tmp" "conftest.in"
14849 cp "conftest.in" "conftest.nl"
14850 echo 'EGREP' >> "conftest.nl"
14851 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14852 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14853 ac_count=`expr $ac_count + 1`
14854 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14855 # Best one so far, save it but keep looking for a better one
14856 ac_cv_path_EGREP="$ac_path_EGREP"
14857 ac_path_EGREP_max=$ac_count
14859 # 10*(2^10) chars as input seems more than enough
14860 test $ac_count -gt 10 && break
14862 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14866 $ac_path_EGREP_found && break 3
14876 EGREP="$ac_cv_path_EGREP"
14877 if test -z "$EGREP"; then
14878 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14879 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14880 { (exit 1); exit 1; }; }
14884 ac_cv_path_EGREP=$EGREP
14890 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14891 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14892 EGREP="$ac_cv_path_EGREP"
14895 if test $ac_cv_c_compiler_gnu = yes; then
14896 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14897 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14898 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14899 echo $ECHO_N "(cached) $ECHO_C" >&6
14901 ac_pattern="Autoconf.*'x'"
14902 cat >conftest.$ac_ext <<_ACEOF
14905 cat confdefs.h >>conftest.$ac_ext
14906 cat >>conftest.$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14912 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14913 ac_cv_prog_gcc_traditional=yes
14915 ac_cv_prog_gcc_traditional=no
14920 if test $ac_cv_prog_gcc_traditional = no; then
14921 cat >conftest.$ac_ext <<_ACEOF
14924 cat confdefs.h >>conftest.$ac_ext
14925 cat >>conftest.$ac_ext <<_ACEOF
14926 /* end confdefs.h. */
14927 #include <termio.h>
14930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14931 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14932 ac_cv_prog_gcc_traditional=yes
14938 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14939 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
14940 if test $ac_cv_prog_gcc_traditional = yes; then
14941 CC="$CC -traditional"
14946 CXXFLAGS=${CXXFLAGS:=}
14951 ac_cpp='$CXXCPP $CPPFLAGS'
14952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14955 if test -z "$CXX"; then
14956 if test -n "$CCC"; then
14959 if test -n "$ac_tool_prefix"; then
14960 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14962 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14963 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14966 if test "${ac_cv_prog_CXX+set}" = set; then
14967 echo $ECHO_N "(cached) $ECHO_C" >&6
14969 if test -n "$CXX"; then
14970 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14973 for as_dir in $PATH
14976 test -z "$as_dir" && as_dir=.
14977 for ac_exec_ext in '' $ac_executable_extensions; do
14978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14979 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14989 CXX=$ac_cv_prog_CXX
14990 if test -n "$CXX"; then
14991 { echo "$as_me:$LINENO: result: $CXX" >&5
14992 echo "${ECHO_T}$CXX" >&6; }
14994 { echo "$as_me:$LINENO: result: no" >&5
14995 echo "${ECHO_T}no" >&6; }
14999 test -n "$CXX" && break
15002 if test -z "$CXX"; then
15004 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15006 # Extract the first word of "$ac_prog", so it can be a program name with args.
15007 set dummy $ac_prog; ac_word=$2
15008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15010 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15011 echo $ECHO_N "(cached) $ECHO_C" >&6
15013 if test -n "$ac_ct_CXX"; then
15014 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15017 for as_dir in $PATH
15020 test -z "$as_dir" && as_dir=.
15021 for ac_exec_ext in '' $ac_executable_extensions; do
15022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15023 ac_cv_prog_ac_ct_CXX="$ac_prog"
15024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15033 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15034 if test -n "$ac_ct_CXX"; then
15035 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15036 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15038 { echo "$as_me:$LINENO: result: no" >&5
15039 echo "${ECHO_T}no" >&6; }
15043 test -n "$ac_ct_CXX" && break
15046 if test "x$ac_ct_CXX" = x; then
15049 case $cross_compiling:$ac_tool_warned in
15051 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15052 whose name does not start with the host triplet. If you think this
15053 configuration is useful to you, please write to autoconf@gnu.org." >&5
15054 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15055 whose name does not start with the host triplet. If you think this
15056 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15057 ac_tool_warned=yes ;;
15065 # Provide some information about the compiler.
15066 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15067 ac_compiler=`set X $ac_compile; echo $2`
15068 { (ac_try="$ac_compiler --version >&5"
15069 case "(($ac_try" in
15070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15071 *) ac_try_echo=$ac_try;;
15073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15074 (eval "$ac_compiler --version >&5") 2>&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); }
15078 { (ac_try="$ac_compiler -v >&5"
15079 case "(($ac_try" in
15080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15081 *) ac_try_echo=$ac_try;;
15083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15084 (eval "$ac_compiler -v >&5") 2>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); }
15088 { (ac_try="$ac_compiler -V >&5"
15089 case "(($ac_try" in
15090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15091 *) ac_try_echo=$ac_try;;
15093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15094 (eval "$ac_compiler -V >&5") 2>&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); }
15099 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15100 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15101 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15102 echo $ECHO_N "(cached) $ECHO_C" >&6
15104 cat >conftest.$ac_ext <<_ACEOF
15107 cat confdefs.h >>conftest.$ac_ext
15108 cat >>conftest.$ac_ext <<_ACEOF
15109 /* end confdefs.h. */
15122 rm -f conftest.$ac_objext
15123 if { (ac_try="$ac_compile"
15124 case "(($ac_try" in
15125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15126 *) ac_try_echo=$ac_try;;
15128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15129 (eval "$ac_compile") 2>conftest.er1
15131 grep -v '^ *+' conftest.er1 >conftest.err
15133 cat conftest.err >&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } && {
15136 test -z "$ac_cxx_werror_flag" ||
15137 test ! -s conftest.err
15138 } && test -s conftest.$ac_objext; then
15139 ac_compiler_gnu=yes
15141 echo "$as_me: failed program was:" >&5
15142 sed 's/^/| /' conftest.$ac_ext >&5
15147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15148 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15151 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15152 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15153 GXX=`test $ac_compiler_gnu = yes && echo yes`
15154 ac_test_CXXFLAGS=${CXXFLAGS+set}
15155 ac_save_CXXFLAGS=$CXXFLAGS
15156 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15157 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15158 if test "${ac_cv_prog_cxx_g+set}" = set; then
15159 echo $ECHO_N "(cached) $ECHO_C" >&6
15161 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15162 ac_cxx_werror_flag=yes
15163 ac_cv_prog_cxx_g=no
15165 cat >conftest.$ac_ext <<_ACEOF
15168 cat confdefs.h >>conftest.$ac_ext
15169 cat >>conftest.$ac_ext <<_ACEOF
15170 /* end confdefs.h. */
15180 rm -f conftest.$ac_objext
15181 if { (ac_try="$ac_compile"
15182 case "(($ac_try" in
15183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15184 *) ac_try_echo=$ac_try;;
15186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15187 (eval "$ac_compile") 2>conftest.er1
15189 grep -v '^ *+' conftest.er1 >conftest.err
15191 cat conftest.err >&5
15192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15193 (exit $ac_status); } && {
15194 test -z "$ac_cxx_werror_flag" ||
15195 test ! -s conftest.err
15196 } && test -s conftest.$ac_objext; then
15197 ac_cv_prog_cxx_g=yes
15199 echo "$as_me: failed program was:" >&5
15200 sed 's/^/| /' conftest.$ac_ext >&5
15203 cat >conftest.$ac_ext <<_ACEOF
15206 cat confdefs.h >>conftest.$ac_ext
15207 cat >>conftest.$ac_ext <<_ACEOF
15208 /* end confdefs.h. */
15218 rm -f conftest.$ac_objext
15219 if { (ac_try="$ac_compile"
15220 case "(($ac_try" in
15221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15222 *) ac_try_echo=$ac_try;;
15224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15225 (eval "$ac_compile") 2>conftest.er1
15227 grep -v '^ *+' conftest.er1 >conftest.err
15229 cat conftest.err >&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); } && {
15232 test -z "$ac_cxx_werror_flag" ||
15233 test ! -s conftest.err
15234 } && test -s conftest.$ac_objext; then
15237 echo "$as_me: failed program was:" >&5
15238 sed 's/^/| /' conftest.$ac_ext >&5
15240 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15242 cat >conftest.$ac_ext <<_ACEOF
15245 cat confdefs.h >>conftest.$ac_ext
15246 cat >>conftest.$ac_ext <<_ACEOF
15247 /* end confdefs.h. */
15257 rm -f conftest.$ac_objext
15258 if { (ac_try="$ac_compile"
15259 case "(($ac_try" in
15260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15261 *) ac_try_echo=$ac_try;;
15263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15264 (eval "$ac_compile") 2>conftest.er1
15266 grep -v '^ *+' conftest.er1 >conftest.err
15268 cat conftest.err >&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); } && {
15271 test -z "$ac_cxx_werror_flag" ||
15272 test ! -s conftest.err
15273 } && test -s conftest.$ac_objext; then
15274 ac_cv_prog_cxx_g=yes
15276 echo "$as_me: failed program was:" >&5
15277 sed 's/^/| /' conftest.$ac_ext >&5
15282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15289 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15291 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15292 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15293 if test "$ac_test_CXXFLAGS" = set; then
15294 CXXFLAGS=$ac_save_CXXFLAGS
15295 elif test $ac_cv_prog_cxx_g = yes; then
15296 if test "$GXX" = yes; then
15302 if test "$GXX" = yes; then
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
15317 ac_cpp='$CXXCPP $CPPFLAGS'
15318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15322 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15323 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15324 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15325 echo $ECHO_N "(cached) $ECHO_C" >&6
15327 cat >conftest.$ac_ext <<_ACEOF
15330 cat confdefs.h >>conftest.$ac_ext
15331 cat >>conftest.$ac_ext <<_ACEOF
15332 /* end confdefs.h. */
15338 #ifndef __INTEL_COMPILER
15346 rm -f conftest.$ac_objext
15347 if { (ac_try="$ac_compile"
15348 case "(($ac_try" in
15349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15350 *) ac_try_echo=$ac_try;;
15352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15353 (eval "$ac_compile") 2>conftest.er1
15355 grep -v '^ *+' conftest.er1 >conftest.err
15357 cat conftest.err >&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); } && {
15360 test -z "$ac_cxx_werror_flag" ||
15361 test ! -s conftest.err
15362 } && test -s conftest.$ac_objext; then
15363 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15365 echo "$as_me: failed program was:" >&5
15366 sed 's/^/| /' conftest.$ac_ext >&5
15368 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15376 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15377 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15379 ac_cpp='$CPP $CPPFLAGS'
15380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15384 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15391 if test "x$GCXX" != "xyes"; then
15392 if test "xCXX" = "xC"; then
15393 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15394 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15395 if test "${bakefile_cv_c_exto+set}" = set; then
15396 echo $ECHO_N "(cached) $ECHO_C" >&6
15398 cat >conftest.$ac_ext <<_ACEOF
15401 cat confdefs.h >>conftest.$ac_ext
15402 cat >>conftest.$ac_ext <<_ACEOF
15403 /* end confdefs.h. */
15413 rm -f conftest.$ac_objext conftest.$ac_ext.o
15414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15415 (eval $ac_compile) 2>&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); }; then
15419 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15421 conftest.$ac_ext.o)
15422 bakefile_cv_c_exto="-ext o"
15429 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15430 See \`config.log' for more details." >&5
15431 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15432 See \`config.log' for more details." >&2;}
15433 { (exit 1); exit 1; }; }
15437 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15440 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15441 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15442 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15443 if test "c" = "c"; then
15444 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15446 if test "c" = "cxx"; then
15447 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15451 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15452 unset ac_cv_prog_cc_g
15453 ac_test_CFLAGS=${CFLAGS+set}
15454 ac_save_CFLAGS=$CFLAGS
15455 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15456 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15457 if test "${ac_cv_prog_cc_g+set}" = set; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15460 ac_save_c_werror_flag=$ac_c_werror_flag
15461 ac_c_werror_flag=yes
15464 cat >conftest.$ac_ext <<_ACEOF
15467 cat confdefs.h >>conftest.$ac_ext
15468 cat >>conftest.$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15479 rm -f conftest.$ac_objext
15480 if { (ac_try="$ac_compile"
15481 case "(($ac_try" in
15482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15483 *) ac_try_echo=$ac_try;;
15485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15486 (eval "$ac_compile") 2>conftest.er1
15488 grep -v '^ *+' conftest.er1 >conftest.err
15490 cat conftest.err >&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); } && {
15493 test -z "$ac_c_werror_flag" ||
15494 test ! -s conftest.err
15495 } && test -s conftest.$ac_objext; then
15496 ac_cv_prog_cc_g=yes
15498 echo "$as_me: failed program was:" >&5
15499 sed 's/^/| /' conftest.$ac_ext >&5
15502 cat >conftest.$ac_ext <<_ACEOF
15505 cat confdefs.h >>conftest.$ac_ext
15506 cat >>conftest.$ac_ext <<_ACEOF
15507 /* end confdefs.h. */
15517 rm -f conftest.$ac_objext
15518 if { (ac_try="$ac_compile"
15519 case "(($ac_try" in
15520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15521 *) ac_try_echo=$ac_try;;
15523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15524 (eval "$ac_compile") 2>conftest.er1
15526 grep -v '^ *+' conftest.er1 >conftest.err
15528 cat conftest.err >&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && {
15531 test -z "$ac_c_werror_flag" ||
15532 test ! -s conftest.err
15533 } && test -s conftest.$ac_objext; then
15536 echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.$ac_ext >&5
15539 ac_c_werror_flag=$ac_save_c_werror_flag
15541 cat >conftest.$ac_ext <<_ACEOF
15544 cat confdefs.h >>conftest.$ac_ext
15545 cat >>conftest.$ac_ext <<_ACEOF
15546 /* end confdefs.h. */
15556 rm -f conftest.$ac_objext
15557 if { (ac_try="$ac_compile"
15558 case "(($ac_try" in
15559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15560 *) ac_try_echo=$ac_try;;
15562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15563 (eval "$ac_compile") 2>conftest.er1
15565 grep -v '^ *+' conftest.er1 >conftest.err
15567 cat conftest.err >&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); } && {
15570 test -z "$ac_c_werror_flag" ||
15571 test ! -s conftest.err
15572 } && test -s conftest.$ac_objext; then
15573 ac_cv_prog_cc_g=yes
15575 echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.$ac_ext >&5
15581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15588 ac_c_werror_flag=$ac_save_c_werror_flag
15590 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15591 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15592 if test "$ac_test_CFLAGS" = set; then
15593 CFLAGS=$ac_save_CFLAGS
15594 elif test $ac_cv_prog_cc_g = yes; then
15595 if test "$GCC" = yes; then
15601 if test "$GCC" = yes; then
15613 ac_cpp='$CXXCPP $CPPFLAGS'
15614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15618 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15619 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15620 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15621 echo $ECHO_N "(cached) $ECHO_C" >&6
15623 cat >conftest.$ac_ext <<_ACEOF
15626 cat confdefs.h >>conftest.$ac_ext
15627 cat >>conftest.$ac_ext <<_ACEOF
15628 /* end confdefs.h. */
15641 rm -f conftest.$ac_objext
15642 if { (ac_try="$ac_compile"
15643 case "(($ac_try" in
15644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15645 *) ac_try_echo=$ac_try;;
15647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15648 (eval "$ac_compile") 2>conftest.er1
15650 grep -v '^ *+' conftest.er1 >conftest.err
15652 cat conftest.err >&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } && {
15655 test -z "$ac_cxx_werror_flag" ||
15656 test ! -s conftest.err
15657 } && test -s conftest.$ac_objext; then
15658 bakefile_compiler_xlc=yes
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.$ac_ext >&5
15663 bakefile_compiler_xlc=no
15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15667 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15670 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15671 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15673 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15675 ac_cpp='$CPP $CPPFLAGS'
15676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15685 ac_cpp='$CXXCPP $CPPFLAGS'
15686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15690 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15691 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15692 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15693 echo $ECHO_N "(cached) $ECHO_C" >&6
15695 cat >conftest.$ac_ext <<_ACEOF
15698 cat confdefs.h >>conftest.$ac_ext
15699 cat >>conftest.$ac_ext <<_ACEOF
15700 /* end confdefs.h. */
15713 rm -f conftest.$ac_objext
15714 if { (ac_try="$ac_compile"
15715 case "(($ac_try" in
15716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15717 *) ac_try_echo=$ac_try;;
15719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15720 (eval "$ac_compile") 2>conftest.er1
15722 grep -v '^ *+' conftest.er1 >conftest.err
15724 cat conftest.err >&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); } && {
15727 test -z "$ac_cxx_werror_flag" ||
15728 test ! -s conftest.err
15729 } && test -s conftest.$ac_objext; then
15730 bakefile_compiler_mwerks=yes
15732 echo "$as_me: failed program was:" >&5
15733 sed 's/^/| /' conftest.$ac_ext >&5
15735 bakefile_compiler_mwerks=no
15738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15739 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15742 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15743 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15745 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15747 ac_cpp='$CPP $CPPFLAGS'
15748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15754 ac_cpp='$CXXCPP $CPPFLAGS'
15755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15759 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15760 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15761 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15762 echo $ECHO_N "(cached) $ECHO_C" >&6
15764 cat >conftest.$ac_ext <<_ACEOF
15767 cat confdefs.h >>conftest.$ac_ext
15768 cat >>conftest.$ac_ext <<_ACEOF
15769 /* end confdefs.h. */
15782 rm -f conftest.$ac_objext
15783 if { (ac_try="$ac_compile"
15784 case "(($ac_try" in
15785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15786 *) ac_try_echo=$ac_try;;
15788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15789 (eval "$ac_compile") 2>conftest.er1
15791 grep -v '^ *+' conftest.er1 >conftest.err
15793 cat conftest.err >&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); } && {
15796 test -z "$ac_cxx_werror_flag" ||
15797 test ! -s conftest.err
15798 } && test -s conftest.$ac_objext; then
15799 bakefile_compiler_xlc=yes
15801 echo "$as_me: failed program was:" >&5
15802 sed 's/^/| /' conftest.$ac_ext >&5
15804 bakefile_compiler_xlc=no
15807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15808 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15811 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15812 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15814 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15816 ac_cpp='$CPP $CPPFLAGS'
15817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15828 ac_cpp='$CXXCPP $CPPFLAGS'
15829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15833 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15834 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15835 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15836 echo $ECHO_N "(cached) $ECHO_C" >&6
15838 cat >conftest.$ac_ext <<_ACEOF
15841 cat confdefs.h >>conftest.$ac_ext
15842 cat >>conftest.$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15849 #ifndef _SGI_COMPILER_VERSION
15857 rm -f conftest.$ac_objext
15858 if { (ac_try="$ac_compile"
15859 case "(($ac_try" in
15860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15861 *) ac_try_echo=$ac_try;;
15863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15864 (eval "$ac_compile") 2>conftest.er1
15866 grep -v '^ *+' conftest.er1 >conftest.err
15868 cat conftest.err >&5
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); } && {
15871 test -z "$ac_cxx_werror_flag" ||
15872 test ! -s conftest.err
15873 } && test -s conftest.$ac_objext; then
15874 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15876 echo "$as_me: failed program was:" >&5
15877 sed 's/^/| /' conftest.$ac_ext >&5
15879 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15887 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15888 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15890 ac_cpp='$CPP $CPPFLAGS'
15891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15895 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15908 ac_cpp='$CXXCPP $CPPFLAGS'
15909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15913 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15914 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
15915 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15916 echo $ECHO_N "(cached) $ECHO_C" >&6
15918 cat >conftest.$ac_ext <<_ACEOF
15921 cat confdefs.h >>conftest.$ac_ext
15922 cat >>conftest.$ac_ext <<_ACEOF
15923 /* end confdefs.h. */
15937 rm -f conftest.$ac_objext
15938 if { (ac_try="$ac_compile"
15939 case "(($ac_try" in
15940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15941 *) ac_try_echo=$ac_try;;
15943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15944 (eval "$ac_compile") 2>conftest.er1
15946 grep -v '^ *+' conftest.er1 >conftest.err
15948 cat conftest.err >&5
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); } && {
15951 test -z "$ac_cxx_werror_flag" ||
15952 test ! -s conftest.err
15953 } && test -s conftest.$ac_objext; then
15954 bakefile_cv_cxx_compiler___HP_aCC=yes
15956 echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.$ac_ext >&5
15959 bakefile_cv_cxx_compiler___HP_aCC=no
15963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15967 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15968 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
15970 ac_cpp='$CPP $CPPFLAGS'
15971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15975 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
15988 ac_cpp='$CXXCPP $CPPFLAGS'
15989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15993 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15994 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
15995 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15996 echo $ECHO_N "(cached) $ECHO_C" >&6
15998 cat >conftest.$ac_ext <<_ACEOF
16001 cat confdefs.h >>conftest.$ac_ext
16002 cat >>conftest.$ac_ext <<_ACEOF
16003 /* end confdefs.h. */
16017 rm -f conftest.$ac_objext
16018 if { (ac_try="$ac_compile"
16019 case "(($ac_try" in
16020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16021 *) ac_try_echo=$ac_try;;
16023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16024 (eval "$ac_compile") 2>conftest.er1
16026 grep -v '^ *+' conftest.er1 >conftest.err
16028 cat conftest.err >&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); } && {
16031 test -z "$ac_cxx_werror_flag" ||
16032 test ! -s conftest.err
16033 } && test -s conftest.$ac_objext; then
16034 bakefile_cv_cxx_compiler___DECCXX=yes
16036 echo "$as_me: failed program was:" >&5
16037 sed 's/^/| /' conftest.$ac_ext >&5
16039 bakefile_cv_cxx_compiler___DECCXX=no
16043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16047 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16048 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16050 ac_cpp='$CPP $CPPFLAGS'
16051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16055 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16068 ac_cpp='$CXXCPP $CPPFLAGS'
16069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16073 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16074 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16075 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16076 echo $ECHO_N "(cached) $ECHO_C" >&6
16078 cat >conftest.$ac_ext <<_ACEOF
16081 cat confdefs.h >>conftest.$ac_ext
16082 cat >>conftest.$ac_ext <<_ACEOF
16083 /* end confdefs.h. */
16089 #ifndef __SUNPRO_CC
16097 rm -f conftest.$ac_objext
16098 if { (ac_try="$ac_compile"
16099 case "(($ac_try" in
16100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16101 *) ac_try_echo=$ac_try;;
16103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16104 (eval "$ac_compile") 2>conftest.er1
16106 grep -v '^ *+' conftest.er1 >conftest.err
16108 cat conftest.err >&5
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); } && {
16111 test -z "$ac_cxx_werror_flag" ||
16112 test ! -s conftest.err
16113 } && test -s conftest.$ac_objext; then
16114 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16116 echo "$as_me: failed program was:" >&5
16117 sed 's/^/| /' conftest.$ac_ext >&5
16119 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16127 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16128 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16130 ac_cpp='$CPP $CPPFLAGS'
16131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16135 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16148 if test -n "$ac_tool_prefix"; then
16149 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16150 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16153 if test "${ac_cv_prog_RANLIB+set}" = set; then
16154 echo $ECHO_N "(cached) $ECHO_C" >&6
16156 if test -n "$RANLIB"; then
16157 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16160 for as_dir in $PATH
16163 test -z "$as_dir" && as_dir=.
16164 for ac_exec_ext in '' $ac_executable_extensions; do
16165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16166 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16176 RANLIB=$ac_cv_prog_RANLIB
16177 if test -n "$RANLIB"; then
16178 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16179 echo "${ECHO_T}$RANLIB" >&6; }
16181 { echo "$as_me:$LINENO: result: no" >&5
16182 echo "${ECHO_T}no" >&6; }
16187 if test -z "$ac_cv_prog_RANLIB"; then
16188 ac_ct_RANLIB=$RANLIB
16189 # Extract the first word of "ranlib", so it can be a program name with args.
16190 set dummy ranlib; ac_word=$2
16191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16193 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 if test -n "$ac_ct_RANLIB"; then
16197 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16200 for as_dir in $PATH
16203 test -z "$as_dir" && as_dir=.
16204 for ac_exec_ext in '' $ac_executable_extensions; do
16205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16206 ac_cv_prog_ac_ct_RANLIB="ranlib"
16207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16216 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16217 if test -n "$ac_ct_RANLIB"; then
16218 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16219 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16221 { echo "$as_me:$LINENO: result: no" >&5
16222 echo "${ECHO_T}no" >&6; }
16225 if test "x$ac_ct_RANLIB" = x; then
16228 case $cross_compiling:$ac_tool_warned in
16230 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16231 whose name does not start with the host triplet. If you think this
16232 configuration is useful to you, please write to autoconf@gnu.org." >&5
16233 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16234 whose name does not start with the host triplet. If you think this
16235 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16236 ac_tool_warned=yes ;;
16238 RANLIB=$ac_ct_RANLIB
16241 RANLIB="$ac_cv_prog_RANLIB"
16245 if test "x$SUNCXX" != xyes; then
16246 if test -n "$ac_tool_prefix"; then
16247 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16248 set dummy ${ac_tool_prefix}ar; ac_word=$2
16249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16251 if test "${ac_cv_prog_AR+set}" = set; then
16252 echo $ECHO_N "(cached) $ECHO_C" >&6
16254 if test -n "$AR"; then
16255 ac_cv_prog_AR="$AR" # Let the user override the test.
16257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16258 for as_dir in $PATH
16261 test -z "$as_dir" && as_dir=.
16262 for ac_exec_ext in '' $ac_executable_extensions; do
16263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16264 ac_cv_prog_AR="${ac_tool_prefix}ar"
16265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16275 if test -n "$AR"; then
16276 { echo "$as_me:$LINENO: result: $AR" >&5
16277 echo "${ECHO_T}$AR" >&6; }
16279 { echo "$as_me:$LINENO: result: no" >&5
16280 echo "${ECHO_T}no" >&6; }
16285 if test -z "$ac_cv_prog_AR"; then
16287 # Extract the first word of "ar", so it can be a program name with args.
16288 set dummy ar; ac_word=$2
16289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16291 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16292 echo $ECHO_N "(cached) $ECHO_C" >&6
16294 if test -n "$ac_ct_AR"; then
16295 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16298 for as_dir in $PATH
16301 test -z "$as_dir" && as_dir=.
16302 for ac_exec_ext in '' $ac_executable_extensions; do
16303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16304 ac_cv_prog_ac_ct_AR="ar"
16305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16314 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16315 if test -n "$ac_ct_AR"; then
16316 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16317 echo "${ECHO_T}$ac_ct_AR" >&6; }
16319 { echo "$as_me:$LINENO: result: no" >&5
16320 echo "${ECHO_T}no" >&6; }
16323 if test "x$ac_ct_AR" = x; then
16326 case $cross_compiling:$ac_tool_warned in
16328 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16329 whose name does not start with the host triplet. If you think this
16330 configuration is useful to you, please write to autoconf@gnu.org." >&5
16331 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16332 whose name does not start with the host triplet. If you think this
16333 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16334 ac_tool_warned=yes ;;
16339 AR="$ac_cv_prog_AR"
16342 if test "x$AR" = "x" ; then
16343 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16344 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16345 { (exit 1); exit 1; }; }
16349 # Find a good install program. We prefer a C program (faster),
16350 # so one script is as good as another. But avoid the broken or
16351 # incompatible versions:
16352 # SysV /etc/install, /usr/sbin/install
16353 # SunOS /usr/etc/install
16354 # IRIX /sbin/install
16356 # AmigaOS /C/install, which installs bootblocks on floppy discs
16357 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16358 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16359 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16360 # OS/2's system install, which has a completely different semantic
16361 # ./install, which can be erroneously created by make from ./install.sh.
16362 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16363 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16364 if test -z "$INSTALL"; then
16365 if test "${ac_cv_path_install+set}" = set; then
16366 echo $ECHO_N "(cached) $ECHO_C" >&6
16368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16369 for as_dir in $PATH
16372 test -z "$as_dir" && as_dir=.
16373 # Account for people who put trailing slashes in PATH elements.
16375 ./ | .// | /cC/* | \
16376 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16377 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16380 # OSF1 and SCO ODT 3.0 have their own names for install.
16381 # Don't use installbsd from OSF since it installs stuff as root
16383 for ac_prog in ginstall scoinst install; do
16384 for ac_exec_ext in '' $ac_executable_extensions; do
16385 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16386 if test $ac_prog = install &&
16387 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16388 # AIX install. It has an incompatible calling convention.
16390 elif test $ac_prog = install &&
16391 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16392 # program-specific install script used by HP pwplus--don't use.
16395 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16408 if test "${ac_cv_path_install+set}" = set; then
16409 INSTALL=$ac_cv_path_install
16411 # As a last resort, use the slow shell script. Don't cache a
16412 # value for INSTALL within a source directory, because that will
16413 # break other packages using the cache if that directory is
16414 # removed, or if the value is a relative name.
16415 INSTALL=$ac_install_sh
16418 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16419 echo "${ECHO_T}$INSTALL" >&6; }
16421 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16422 # It thinks the first close brace ends the variable substitution.
16423 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16425 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16427 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16433 ?:* ) # Drive letter, considered as absolute.
16436 INSTALL=`pwd`/${INSTALL} ;;
16443 INSTALL_PROGRAM="cp -fp"
16444 INSTALL_DATA="cp -fp"
16450 if test -n "$ac_tool_prefix"; then
16451 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16452 set dummy ${ac_tool_prefix}strip; ac_word=$2
16453 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16455 if test "${ac_cv_prog_STRIP+set}" = set; then
16456 echo $ECHO_N "(cached) $ECHO_C" >&6
16458 if test -n "$STRIP"; then
16459 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16462 for as_dir in $PATH
16465 test -z "$as_dir" && as_dir=.
16466 for ac_exec_ext in '' $ac_executable_extensions; do
16467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16468 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16478 STRIP=$ac_cv_prog_STRIP
16479 if test -n "$STRIP"; then
16480 { echo "$as_me:$LINENO: result: $STRIP" >&5
16481 echo "${ECHO_T}$STRIP" >&6; }
16483 { echo "$as_me:$LINENO: result: no" >&5
16484 echo "${ECHO_T}no" >&6; }
16489 if test -z "$ac_cv_prog_STRIP"; then
16491 # Extract the first word of "strip", so it can be a program name with args.
16492 set dummy strip; ac_word=$2
16493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16495 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16496 echo $ECHO_N "(cached) $ECHO_C" >&6
16498 if test -n "$ac_ct_STRIP"; then
16499 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16502 for as_dir in $PATH
16505 test -z "$as_dir" && as_dir=.
16506 for ac_exec_ext in '' $ac_executable_extensions; do
16507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16508 ac_cv_prog_ac_ct_STRIP="strip"
16509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16518 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16519 if test -n "$ac_ct_STRIP"; then
16520 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16521 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16523 { echo "$as_me:$LINENO: result: no" >&5
16524 echo "${ECHO_T}no" >&6; }
16527 if test "x$ac_ct_STRIP" = x; then
16530 case $cross_compiling:$ac_tool_warned in
16532 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16533 whose name does not start with the host triplet. If you think this
16534 configuration is useful to you, please write to autoconf@gnu.org." >&5
16535 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16536 whose name does not start with the host triplet. If you think this
16537 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16538 ac_tool_warned=yes ;;
16543 STRIP="$ac_cv_prog_STRIP"
16547 if test "$wxUSE_WINE" = "yes"; then
16548 if test -n "$ac_tool_prefix"; then
16549 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16550 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16553 if test "${ac_cv_prog_WINDRES+set}" = set; then
16554 echo $ECHO_N "(cached) $ECHO_C" >&6
16556 if test -n "$WINDRES"; then
16557 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16560 for as_dir in $PATH
16563 test -z "$as_dir" && as_dir=.
16564 for ac_exec_ext in '' $ac_executable_extensions; do
16565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16566 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16576 WINDRES=$ac_cv_prog_WINDRES
16577 if test -n "$WINDRES"; then
16578 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16579 echo "${ECHO_T}$WINDRES" >&6; }
16581 { echo "$as_me:$LINENO: result: no" >&5
16582 echo "${ECHO_T}no" >&6; }
16587 if test -z "$ac_cv_prog_WINDRES"; then
16588 ac_ct_WINDRES=$WINDRES
16589 # Extract the first word of "wrc", so it can be a program name with args.
16590 set dummy wrc; ac_word=$2
16591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16593 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16594 echo $ECHO_N "(cached) $ECHO_C" >&6
16596 if test -n "$ac_ct_WINDRES"; then
16597 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16600 for as_dir in $PATH
16603 test -z "$as_dir" && as_dir=.
16604 for ac_exec_ext in '' $ac_executable_extensions; do
16605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16606 ac_cv_prog_ac_ct_WINDRES="wrc"
16607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16616 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16617 if test -n "$ac_ct_WINDRES"; then
16618 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16619 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16621 { echo "$as_me:$LINENO: result: no" >&5
16622 echo "${ECHO_T}no" >&6; }
16625 if test "x$ac_ct_WINDRES" = x; then
16628 case $cross_compiling:$ac_tool_warned in
16630 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16631 whose name does not start with the host triplet. If you think this
16632 configuration is useful to you, please write to autoconf@gnu.org." >&5
16633 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16634 whose name does not start with the host triplet. If you think this
16635 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16636 ac_tool_warned=yes ;;
16638 WINDRES=$ac_ct_WINDRES
16641 WINDRES="$ac_cv_prog_WINDRES"
16647 *-*-cygwin* | *-*-mingw32* )
16648 if test -n "$ac_tool_prefix"; then
16649 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16650 set dummy ${ac_tool_prefix}windres; ac_word=$2
16651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16653 if test "${ac_cv_prog_WINDRES+set}" = set; then
16654 echo $ECHO_N "(cached) $ECHO_C" >&6
16656 if test -n "$WINDRES"; then
16657 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16660 for as_dir in $PATH
16663 test -z "$as_dir" && as_dir=.
16664 for ac_exec_ext in '' $ac_executable_extensions; do
16665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16666 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16676 WINDRES=$ac_cv_prog_WINDRES
16677 if test -n "$WINDRES"; then
16678 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16679 echo "${ECHO_T}$WINDRES" >&6; }
16681 { echo "$as_me:$LINENO: result: no" >&5
16682 echo "${ECHO_T}no" >&6; }
16687 if test -z "$ac_cv_prog_WINDRES"; then
16688 ac_ct_WINDRES=$WINDRES
16689 # Extract the first word of "windres", so it can be a program name with args.
16690 set dummy windres; ac_word=$2
16691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16693 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16694 echo $ECHO_N "(cached) $ECHO_C" >&6
16696 if test -n "$ac_ct_WINDRES"; then
16697 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16700 for as_dir in $PATH
16703 test -z "$as_dir" && as_dir=.
16704 for ac_exec_ext in '' $ac_executable_extensions; do
16705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16706 ac_cv_prog_ac_ct_WINDRES="windres"
16707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16716 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16717 if test -n "$ac_ct_WINDRES"; then
16718 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16719 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16721 { echo "$as_me:$LINENO: result: no" >&5
16722 echo "${ECHO_T}no" >&6; }
16725 if test "x$ac_ct_WINDRES" = x; then
16728 case $cross_compiling:$ac_tool_warned in
16730 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16731 whose name does not start with the host triplet. If you think this
16732 configuration is useful to you, please write to autoconf@gnu.org." >&5
16733 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16734 whose name does not start with the host triplet. If you think this
16735 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16736 ac_tool_warned=yes ;;
16738 WINDRES=$ac_ct_WINDRES
16741 WINDRES="$ac_cv_prog_WINDRES"
16745 if test -n "$ac_tool_prefix"; then
16746 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16747 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16750 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16753 if test -n "$DLLTOOL"; then
16754 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16757 for as_dir in $PATH
16760 test -z "$as_dir" && as_dir=.
16761 for ac_exec_ext in '' $ac_executable_extensions; do
16762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16763 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16773 DLLTOOL=$ac_cv_prog_DLLTOOL
16774 if test -n "$DLLTOOL"; then
16775 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16776 echo "${ECHO_T}$DLLTOOL" >&6; }
16778 { echo "$as_me:$LINENO: result: no" >&5
16779 echo "${ECHO_T}no" >&6; }
16784 if test -z "$ac_cv_prog_DLLTOOL"; then
16785 ac_ct_DLLTOOL=$DLLTOOL
16786 # Extract the first word of "dlltool", so it can be a program name with args.
16787 set dummy dlltool; ac_word=$2
16788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16790 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16791 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 if test -n "$ac_ct_DLLTOOL"; then
16794 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16797 for as_dir in $PATH
16800 test -z "$as_dir" && as_dir=.
16801 for ac_exec_ext in '' $ac_executable_extensions; do
16802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16803 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16813 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16814 if test -n "$ac_ct_DLLTOOL"; then
16815 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16816 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16818 { echo "$as_me:$LINENO: result: no" >&5
16819 echo "${ECHO_T}no" >&6; }
16822 if test "x$ac_ct_DLLTOOL" = x; then
16825 case $cross_compiling:$ac_tool_warned in
16827 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16828 whose name does not start with the host triplet. If you think this
16829 configuration is useful to you, please write to autoconf@gnu.org." >&5
16830 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16831 whose name does not start with the host triplet. If you think this
16832 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16833 ac_tool_warned=yes ;;
16835 DLLTOOL=$ac_ct_DLLTOOL
16838 DLLTOOL="$ac_cv_prog_DLLTOOL"
16845 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16846 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16847 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16848 echo $ECHO_N "(cached) $ECHO_C" >&6
16851 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
16852 $EGREP -s GNU > /dev/null); then
16853 wx_cv_prog_makeisgnu="yes"
16855 wx_cv_prog_makeisgnu="no"
16859 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16860 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16862 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16870 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16871 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16872 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16873 if test "${wx_cv_prog_makevpath+set}" = set; then
16874 echo $ECHO_N "(cached) $ECHO_C" >&6
16877 cat - << EOF > confMake
16883 if test ! -d sub ; then
16886 echo dummy > sub/file
16887 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
16889 rm -f sub/file check final_file confMake
16891 if test "$RESULT" = 0; then
16892 wx_cv_prog_makevpath="yes"
16894 wx_cv_prog_makevpath="no"
16898 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16899 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16901 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16902 { { echo "$as_me:$LINENO: error:
16903 You need a make-utility that is able to use the variable
16905 If your version of make does not support VPATH correctly,
16906 please install GNU-make (possibly as gmake), and start
16907 configure with the following command:
16908 export MAKE=gmake; ./configure for sh-type shells
16909 setenv MAKE gmake; ./configure for csh-type shells
16910 Also please do remember to use gmake in this case every time
16911 you are trying to compile.
16913 echo "$as_me: error:
16914 You need a make-utility that is able to use the variable
16916 If your version of make does not support VPATH correctly,
16917 please install GNU-make (possibly as gmake), and start
16918 configure with the following command:
16919 export MAKE=gmake; ./configure for sh-type shells
16920 setenv MAKE gmake; ./configure for csh-type shells
16921 Also please do remember to use gmake in this case every time
16922 you are trying to compile.
16924 { (exit 1); exit 1; }; }
16926 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
16927 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16929 if test "$LN_S" = "ln -s"; then
16930 { echo "$as_me:$LINENO: result: yes" >&5
16931 echo "${ECHO_T}yes" >&6; }
16933 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16934 echo "${ECHO_T}no, using $LN_S" >&6; }
16940 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16941 CXXFLAGS="-qunique $CXXFLAGS"
16945 powerpc-*-darwin* )
16946 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16947 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
16948 cat >conftest.$ac_ext <<_ACEOF
16951 cat confdefs.h >>conftest.$ac_ext
16952 cat >>conftest.$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16958 #ifndef __POWERPC__
16959 choke me for lack of PowerPC
16966 rm -f conftest.$ac_objext
16967 if { (ac_try="$ac_compile"
16968 case "(($ac_try" in
16969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16970 *) ac_try_echo=$ac_try;;
16972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16973 (eval "$ac_compile") 2>conftest.er1
16975 grep -v '^ *+' conftest.er1 >conftest.err
16977 cat conftest.err >&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } && {
16980 test -z "$ac_c_werror_flag" ||
16981 test ! -s conftest.err
16982 } && test -s conftest.$ac_objext; then
16983 { echo "$as_me:$LINENO: result: yes" >&5
16984 echo "${ECHO_T}yes" >&6; }
16986 echo "$as_me: failed program was:" >&5
16987 sed 's/^/| /' conftest.$ac_ext >&5
16989 { echo "$as_me:$LINENO: result: no" >&5
16990 echo "${ECHO_T}no" >&6; }
16991 cat >>confdefs.h <<\_ACEOF
16992 #define __POWERPC__ 1
16998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17004 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17005 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17006 cat >conftest.$ac_ext <<_ACEOF
17009 cat confdefs.h >>conftest.$ac_ext
17010 cat >>conftest.$ac_ext <<_ACEOF
17011 /* end confdefs.h. */
17012 #include <CoreFoundation/CFBase.h>
17022 rm -f conftest.$ac_objext
17023 if { (ac_try="$ac_compile"
17024 case "(($ac_try" in
17025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17026 *) ac_try_echo=$ac_try;;
17028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17029 (eval "$ac_compile") 2>conftest.er1
17031 grep -v '^ *+' conftest.er1 >conftest.err
17033 cat conftest.err >&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); } && {
17036 test -z "$ac_c_werror_flag" ||
17037 test ! -s conftest.err
17038 } && test -s conftest.$ac_objext; then
17039 { echo "$as_me:$LINENO: result: yes" >&5
17040 echo "${ECHO_T}yes" >&6; }
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.$ac_ext >&5
17045 { echo "$as_me:$LINENO: result: no" >&5
17046 echo "${ECHO_T}no" >&6; }
17047 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17048 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17049 cat >conftest.$ac_ext <<_ACEOF
17052 cat confdefs.h >>conftest.$ac_ext
17053 cat >>conftest.$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17055 #define __CF_USE_FRAMEWORK_INCLUDES__
17056 #include <CoreFoundation/CFBase.h>
17066 rm -f conftest.$ac_objext
17067 if { (ac_try="$ac_compile"
17068 case "(($ac_try" in
17069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17070 *) ac_try_echo=$ac_try;;
17072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17073 (eval "$ac_compile") 2>conftest.er1
17075 grep -v '^ *+' conftest.er1 >conftest.err
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && {
17080 test -z "$ac_c_werror_flag" ||
17081 test ! -s conftest.err
17082 } && test -s conftest.$ac_objext; then
17083 { echo "$as_me:$LINENO: result: yes" >&5
17084 echo "${ECHO_T}yes" >&6; }
17085 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17087 echo "$as_me: failed program was:" >&5
17088 sed 's/^/| /' conftest.$ac_ext >&5
17090 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17091 See \`config.log' for more details." >&5
17092 echo "$as_me: error: no. CoreFoundation not available.
17093 See \`config.log' for more details." >&2;}
17094 { (exit 1); exit 1; }; }
17098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17108 doesnt_want_win32=0
17111 if test "$wxUSE_MSW" = 1 ; then
17114 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17115 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17116 if test "${wx_cv_nocygwin+set}" = set; then
17117 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 cat >conftest.$ac_ext <<_ACEOF
17123 cat confdefs.h >>conftest.$ac_ext
17124 cat >>conftest.$ac_ext <<_ACEOF
17125 /* end confdefs.h. */
17139 rm -f conftest.$ac_objext
17140 if { (ac_try="$ac_compile"
17141 case "(($ac_try" in
17142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17143 *) ac_try_echo=$ac_try;;
17145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17146 (eval "$ac_compile") 2>conftest.er1
17148 grep -v '^ *+' conftest.er1 >conftest.err
17150 cat conftest.err >&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); } && {
17153 test -z "$ac_c_werror_flag" ||
17154 test ! -s conftest.err
17155 } && test -s conftest.$ac_objext; then
17158 echo "$as_me: failed program was:" >&5
17159 sed 's/^/| /' conftest.$ac_ext >&5
17165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17169 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17170 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17172 if test "$wx_cv_nocygwin" = "yes"; then
17175 doesnt_want_win32=1
17178 if test "$wants_win32" = 1 ; then
17179 BAKEFILE_FORCE_PLATFORM=win32
17187 if test "$wxUSE_WINE" = "yes"; then
17189 LDFLAGS_GUI="-mwindows"
17192 if test "$wants_win32" = 1 ; then
17195 cat >>confdefs.h <<\_ACEOF
17196 #define __WIN32__ 1
17199 cat >>confdefs.h <<\_ACEOF
17200 #define __WIN95__ 1
17203 cat >>confdefs.h <<\_ACEOF
17204 #define __WINDOWS__ 1
17207 cat >>confdefs.h <<\_ACEOF
17208 #define __GNUWIN32__ 1
17211 cat >>confdefs.h <<\_ACEOF
17216 if test "$doesnt_want_win32" = 1 ; then
17221 if test "$USE_UNIX" = 1 ; then
17223 cat >>confdefs.h <<\_ACEOF
17230 *-pc-os2_emx | *-pc-os2-emx )
17231 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17232 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17233 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17234 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17237 ac_check_lib_save_LIBS=$LIBS
17238 LIBS="-lcExt $LIBS"
17239 cat >conftest.$ac_ext <<_ACEOF
17242 cat confdefs.h >>conftest.$ac_ext
17243 cat >>conftest.$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17246 /* Override any GCC internal prototype to avoid an error.
17247 Use char because int might match the return type of a GCC
17248 builtin and then its argument prototype would still apply. */
17261 rm -f conftest.$ac_objext conftest$ac_exeext
17262 if { (ac_try="$ac_link"
17263 case "(($ac_try" in
17264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17265 *) ac_try_echo=$ac_try;;
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_link") 2>conftest.er1
17270 grep -v '^ *+' conftest.er1 >conftest.err
17272 cat conftest.err >&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } && {
17275 test -z "$ac_c_werror_flag" ||
17276 test ! -s conftest.err
17277 } && test -s conftest$ac_exeext &&
17278 $as_test_x conftest$ac_exeext; then
17279 ac_cv_lib_cExt_drand48=yes
17281 echo "$as_me: failed program was:" >&5
17282 sed 's/^/| /' conftest.$ac_ext >&5
17284 ac_cv_lib_cExt_drand48=no
17287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17288 conftest$ac_exeext conftest.$ac_ext
17289 LIBS=$ac_check_lib_save_LIBS
17291 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17292 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17293 if test $ac_cv_lib_cExt_drand48 = yes; then
17294 LIBS="$LIBS -lcExt"
17298 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17300 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17301 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17302 if test "${wx_cv_gccversion+set}" = set; then
17303 echo $ECHO_N "(cached) $ECHO_C" >&6
17306 if test "$cross_compiling" = yes; then
17307 wx_cv_gccversion="EMX2"
17310 cat >conftest.$ac_ext <<_ACEOF
17313 cat confdefs.h >>conftest.$ac_ext
17314 cat >>conftest.$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17321 FILE *f=fopen("conftestval", "w");
17326 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17328 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17338 rm -f conftest$ac_exeext
17339 if { (ac_try="$ac_link"
17340 case "(($ac_try" in
17341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17342 *) ac_try_echo=$ac_try;;
17344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17345 (eval "$ac_link") 2>&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17349 { (case "(($ac_try" in
17350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17351 *) ac_try_echo=$ac_try;;
17353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17354 (eval "$ac_try") 2>&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); }; }; then
17358 wx_cv_gccversion=`cat conftestval`
17360 echo "$as_me: program exited with status $ac_status" >&5
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.$ac_ext >&5
17364 ( exit $ac_status )
17365 wx_cv_gccversion="EMX2"
17367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17373 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17374 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17375 if test "$wx_cv_gccversion" = "EMX2"; then
17376 LIBS="$LIBS -lstdcpp"
17377 LDFLAGS="$LDFLAGS -Zsysv-signals"
17379 if test "$wx_cv_gccversion" = "EMX3"; then
17380 LIBS="$LIBS -lstdcxx -lgcc"
17381 LDFLAGS="$LDFLAGS -Zsysv-signals"
17383 LIBS="$LIBS -lstdc++"
17386 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17387 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17388 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17395 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17396 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17397 if test "${ac_cv_string_strcasecmp+set}" = set; then
17398 echo $ECHO_N "(cached) $ECHO_C" >&6
17401 cat >conftest.$ac_ext <<_ACEOF
17404 cat confdefs.h >>conftest.$ac_ext
17405 cat >>conftest.$ac_ext <<_ACEOF
17406 /* end confdefs.h. */
17408 #include <string.h>
17414 strcasecmp("foo", "bar");
17420 rm -f conftest.$ac_objext conftest$ac_exeext
17421 if { (ac_try="$ac_link"
17422 case "(($ac_try" in
17423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17424 *) ac_try_echo=$ac_try;;
17426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17427 (eval "$ac_link") 2>conftest.er1
17429 grep -v '^ *+' conftest.er1 >conftest.err
17431 cat conftest.err >&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); } && {
17434 test -z "$ac_c_werror_flag" ||
17435 test ! -s conftest.err
17436 } && test -s conftest$ac_exeext &&
17437 $as_test_x conftest$ac_exeext; then
17438 ac_cv_string_strcasecmp=yes
17440 echo "$as_me: failed program was:" >&5
17441 sed 's/^/| /' conftest.$ac_ext >&5
17443 ac_cv_string_strcasecmp=no
17447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17448 conftest$ac_exeext conftest.$ac_ext
17451 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17452 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17454 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17455 cat >>confdefs.h <<\_ACEOF
17456 #define HAVE_STRCASECMP_IN_STRING_H 1
17460 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17461 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17462 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17463 echo $ECHO_N "(cached) $ECHO_C" >&6
17466 cat >conftest.$ac_ext <<_ACEOF
17469 cat confdefs.h >>conftest.$ac_ext
17470 cat >>conftest.$ac_ext <<_ACEOF
17471 /* end confdefs.h. */
17473 #include <strings.h>
17479 strcasecmp("foo", "bar");
17485 rm -f conftest.$ac_objext conftest$ac_exeext
17486 if { (ac_try="$ac_link"
17487 case "(($ac_try" in
17488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17489 *) ac_try_echo=$ac_try;;
17491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17492 (eval "$ac_link") 2>conftest.er1
17494 grep -v '^ *+' conftest.er1 >conftest.err
17496 cat conftest.err >&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); } && {
17499 test -z "$ac_c_werror_flag" ||
17500 test ! -s conftest.err
17501 } && test -s conftest$ac_exeext &&
17502 $as_test_x conftest$ac_exeext; then
17503 ac_cv_strings_strcasecmp=yes
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.$ac_ext >&5
17508 ac_cv_strings_strcasecmp=no
17512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17513 conftest$ac_exeext conftest.$ac_ext
17516 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17517 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17519 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17520 cat >>confdefs.h <<\_ACEOF
17521 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17525 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17526 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17527 { (exit 1); exit 1; }; }
17535 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17536 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17537 if test "${ac_cv_header_stdc+set}" = set; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6
17540 cat >conftest.$ac_ext <<_ACEOF
17543 cat confdefs.h >>conftest.$ac_ext
17544 cat >>conftest.$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 #include <stdlib.h>
17547 #include <stdarg.h>
17548 #include <string.h>
17559 rm -f conftest.$ac_objext
17560 if { (ac_try="$ac_compile"
17561 case "(($ac_try" in
17562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17563 *) ac_try_echo=$ac_try;;
17565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17566 (eval "$ac_compile") 2>conftest.er1
17568 grep -v '^ *+' conftest.er1 >conftest.err
17570 cat conftest.err >&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); } && {
17573 test -z "$ac_c_werror_flag" ||
17574 test ! -s conftest.err
17575 } && test -s conftest.$ac_objext; then
17576 ac_cv_header_stdc=yes
17578 echo "$as_me: failed program was:" >&5
17579 sed 's/^/| /' conftest.$ac_ext >&5
17581 ac_cv_header_stdc=no
17584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17586 if test $ac_cv_header_stdc = yes; then
17587 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17588 cat >conftest.$ac_ext <<_ACEOF
17591 cat confdefs.h >>conftest.$ac_ext
17592 cat >>conftest.$ac_ext <<_ACEOF
17593 /* end confdefs.h. */
17594 #include <string.h>
17597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17598 $EGREP "memchr" >/dev/null 2>&1; then
17601 ac_cv_header_stdc=no
17607 if test $ac_cv_header_stdc = yes; then
17608 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17609 cat >conftest.$ac_ext <<_ACEOF
17612 cat confdefs.h >>conftest.$ac_ext
17613 cat >>conftest.$ac_ext <<_ACEOF
17614 /* end confdefs.h. */
17615 #include <stdlib.h>
17618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17619 $EGREP "free" >/dev/null 2>&1; then
17622 ac_cv_header_stdc=no
17628 if test $ac_cv_header_stdc = yes; then
17629 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17630 if test "$cross_compiling" = yes; then
17633 cat >conftest.$ac_ext <<_ACEOF
17636 cat confdefs.h >>conftest.$ac_ext
17637 cat >>conftest.$ac_ext <<_ACEOF
17638 /* end confdefs.h. */
17640 #include <stdlib.h>
17641 #if ((' ' & 0x0FF) == 0x020)
17642 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17643 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17645 # define ISLOWER(c) \
17646 (('a' <= (c) && (c) <= 'i') \
17647 || ('j' <= (c) && (c) <= 'r') \
17648 || ('s' <= (c) && (c) <= 'z'))
17649 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17652 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17657 for (i = 0; i < 256; i++)
17658 if (XOR (islower (i), ISLOWER (i))
17659 || toupper (i) != TOUPPER (i))
17664 rm -f conftest$ac_exeext
17665 if { (ac_try="$ac_link"
17666 case "(($ac_try" in
17667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17668 *) ac_try_echo=$ac_try;;
17670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17671 (eval "$ac_link") 2>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17675 { (case "(($ac_try" in
17676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17677 *) ac_try_echo=$ac_try;;
17679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17680 (eval "$ac_try") 2>&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); }; }; then
17686 echo "$as_me: program exited with status $ac_status" >&5
17687 echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.$ac_ext >&5
17690 ( exit $ac_status )
17691 ac_cv_header_stdc=no
17693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17699 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17700 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17701 if test $ac_cv_header_stdc = yes; then
17703 cat >>confdefs.h <<\_ACEOF
17704 #define STDC_HEADERS 1
17709 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17719 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17720 inttypes.h stdint.h unistd.h
17722 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17723 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17725 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17726 echo $ECHO_N "(cached) $ECHO_C" >&6
17728 cat >conftest.$ac_ext <<_ACEOF
17731 cat confdefs.h >>conftest.$ac_ext
17732 cat >>conftest.$ac_ext <<_ACEOF
17733 /* end confdefs.h. */
17734 $ac_includes_default
17736 #include <$ac_header>
17738 rm -f conftest.$ac_objext
17739 if { (ac_try="$ac_compile"
17740 case "(($ac_try" in
17741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17742 *) ac_try_echo=$ac_try;;
17744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17745 (eval "$ac_compile") 2>conftest.er1
17747 grep -v '^ *+' conftest.er1 >conftest.err
17749 cat conftest.err >&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); } && {
17752 test -z "$ac_c_werror_flag" ||
17753 test ! -s conftest.err
17754 } && test -s conftest.$ac_objext; then
17755 eval "$as_ac_Header=yes"
17757 echo "$as_me: failed program was:" >&5
17758 sed 's/^/| /' conftest.$ac_ext >&5
17760 eval "$as_ac_Header=no"
17763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17765 ac_res=`eval echo '${'$as_ac_Header'}'`
17766 { echo "$as_me:$LINENO: result: $ac_res" >&5
17767 echo "${ECHO_T}$ac_res" >&6; }
17768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17769 cat >>confdefs.h <<_ACEOF
17770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17784 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17786 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17787 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17790 echo $ECHO_N "(cached) $ECHO_C" >&6
17792 cat >conftest.$ac_ext <<_ACEOF
17795 cat confdefs.h >>conftest.$ac_ext
17796 cat >>conftest.$ac_ext <<_ACEOF
17797 /* end confdefs.h. */
17798 $ac_includes_default
17800 #include <$ac_header>
17802 rm -f conftest.$ac_objext
17803 if { (ac_try="$ac_compile"
17804 case "(($ac_try" in
17805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17806 *) ac_try_echo=$ac_try;;
17808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17809 (eval "$ac_compile") 2>conftest.er1
17811 grep -v '^ *+' conftest.er1 >conftest.err
17813 cat conftest.err >&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } && {
17816 test -z "$ac_c_werror_flag" ||
17817 test ! -s conftest.err
17818 } && test -s conftest.$ac_objext; then
17819 eval "$as_ac_Header=yes"
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.$ac_ext >&5
17824 eval "$as_ac_Header=no"
17827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17829 ac_res=`eval echo '${'$as_ac_Header'}'`
17830 { echo "$as_me:$LINENO: result: $ac_res" >&5
17831 echo "${ECHO_T}$ac_res" >&6; }
17832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17833 cat >>confdefs.h <<_ACEOF
17834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17842 if test "$ac_cv_header_wchar_h" != "yes"; then
17843 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
17844 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
17845 if test "${ac_cv_header_wcstr_h+set}" = set; then
17846 echo $ECHO_N "(cached) $ECHO_C" >&6
17848 cat >conftest.$ac_ext <<_ACEOF
17851 cat confdefs.h >>conftest.$ac_ext
17852 cat >>conftest.$ac_ext <<_ACEOF
17853 /* end confdefs.h. */
17854 $ac_includes_default
17858 rm -f conftest.$ac_objext
17859 if { (ac_try="$ac_compile"
17860 case "(($ac_try" in
17861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17862 *) ac_try_echo=$ac_try;;
17864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17865 (eval "$ac_compile") 2>conftest.er1
17867 grep -v '^ *+' conftest.er1 >conftest.err
17869 cat conftest.err >&5
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); } && {
17872 test -z "$ac_c_werror_flag" ||
17873 test ! -s conftest.err
17874 } && test -s conftest.$ac_objext; then
17875 ac_cv_header_wcstr_h=yes
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.$ac_ext >&5
17880 ac_cv_header_wcstr_h=no
17883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17885 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
17886 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17892 *-pc-os2_emx | *-pc-os2-emx )
17893 if test $ac_cv_header_langinfo_h = "yes" \
17894 -a \( "$wx_cv_gccversion" = "EMX2" \
17895 -o "$wx_cv_gccversion" = "EMX3" \
17896 -o "$wx_cv_gccversion" = "Innotek5" \); then
17897 LIBS="$LIBS -lintl"
17902 if test "$USE_UNIX" = 1 ; then
17903 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
17904 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
17905 if test "${ac_cv_header_sys_select_h+set}" = set; then
17906 echo $ECHO_N "(cached) $ECHO_C" >&6
17908 cat >conftest.$ac_ext <<_ACEOF
17911 cat confdefs.h >>conftest.$ac_ext
17912 cat >>conftest.$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 $ac_includes_default
17916 #include <sys/select.h>
17918 rm -f conftest.$ac_objext
17919 if { (ac_try="$ac_compile"
17920 case "(($ac_try" in
17921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17922 *) ac_try_echo=$ac_try;;
17924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17925 (eval "$ac_compile") 2>conftest.er1
17927 grep -v '^ *+' conftest.er1 >conftest.err
17929 cat conftest.err >&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); } && {
17932 test -z "$ac_c_werror_flag" ||
17933 test ! -s conftest.err
17934 } && test -s conftest.$ac_objext; then
17935 ac_cv_header_sys_select_h=yes
17937 echo "$as_me: failed program was:" >&5
17938 sed 's/^/| /' conftest.$ac_ext >&5
17940 ac_cv_header_sys_select_h=no
17943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17945 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
17946 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
17952 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17953 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17954 if test "${ac_cv_c_const+set}" = set; then
17955 echo $ECHO_N "(cached) $ECHO_C" >&6
17957 cat >conftest.$ac_ext <<_ACEOF
17960 cat confdefs.h >>conftest.$ac_ext
17961 cat >>conftest.$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17967 /* FIXME: Include the comments suggested by Paul. */
17968 #ifndef __cplusplus
17969 /* Ultrix mips cc rejects this. */
17970 typedef int charset[2];
17972 /* SunOS 4.1.1 cc rejects this. */
17973 char const *const *pcpcc;
17975 /* NEC SVR4.0.2 mips cc rejects this. */
17976 struct point {int x, y;};
17977 static struct point const zero = {0,0};
17978 /* AIX XL C 1.02.0.0 rejects this.
17979 It does not let you subtract one const X* pointer from another in
17980 an arm of an if-expression whose if-part is not a constant
17982 const char *g = "string";
17983 pcpcc = &g + (g ? g-g : 0);
17984 /* HPUX 7.0 cc rejects these. */
17986 ppc = (char**) pcpcc;
17987 pcpcc = (char const *const *) ppc;
17988 { /* SCO 3.2v4 cc rejects this. */
17990 char const *s = 0 ? (char *) 0 : (char const *) 0;
17995 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17996 int x[] = {25, 17};
17997 const int *foo = &x[0];
18000 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18001 typedef const int *iptr;
18005 { /* AIX XL C 1.02.0.0 rejects this saying
18006 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18007 struct s { int j; const int *ap[3]; };
18008 struct s *b; b->j = 5;
18010 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18011 const int foo = 10;
18012 if (!foo) return 0;
18014 return !cs[0] && !zero.x;
18021 rm -f conftest.$ac_objext
18022 if { (ac_try="$ac_compile"
18023 case "(($ac_try" in
18024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18025 *) ac_try_echo=$ac_try;;
18027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18028 (eval "$ac_compile") 2>conftest.er1
18030 grep -v '^ *+' conftest.er1 >conftest.err
18032 cat conftest.err >&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); } && {
18035 test -z "$ac_c_werror_flag" ||
18036 test ! -s conftest.err
18037 } && test -s conftest.$ac_objext; then
18040 echo "$as_me: failed program was:" >&5
18041 sed 's/^/| /' conftest.$ac_ext >&5
18046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18048 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18049 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18050 if test $ac_cv_c_const = no; then
18052 cat >>confdefs.h <<\_ACEOF
18058 { echo "$as_me:$LINENO: checking for inline" >&5
18059 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18060 if test "${ac_cv_c_inline+set}" = set; then
18061 echo $ECHO_N "(cached) $ECHO_C" >&6
18064 for ac_kw in inline __inline__ __inline; do
18065 cat >conftest.$ac_ext <<_ACEOF
18068 cat confdefs.h >>conftest.$ac_ext
18069 cat >>conftest.$ac_ext <<_ACEOF
18070 /* end confdefs.h. */
18071 #ifndef __cplusplus
18073 static $ac_kw foo_t static_foo () {return 0; }
18074 $ac_kw foo_t foo () {return 0; }
18078 rm -f conftest.$ac_objext
18079 if { (ac_try="$ac_compile"
18080 case "(($ac_try" in
18081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18082 *) ac_try_echo=$ac_try;;
18084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18085 (eval "$ac_compile") 2>conftest.er1
18087 grep -v '^ *+' conftest.er1 >conftest.err
18089 cat conftest.err >&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); } && {
18092 test -z "$ac_c_werror_flag" ||
18093 test ! -s conftest.err
18094 } && test -s conftest.$ac_objext; then
18095 ac_cv_c_inline=$ac_kw
18097 echo "$as_me: failed program was:" >&5
18098 sed 's/^/| /' conftest.$ac_ext >&5
18103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18104 test "$ac_cv_c_inline" != no && break
18108 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18109 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18112 case $ac_cv_c_inline in
18115 case $ac_cv_c_inline in
18117 *) ac_val=$ac_cv_c_inline;;
18119 cat >>confdefs.h <<_ACEOF
18120 #ifndef __cplusplus
18121 #define inline $ac_val
18128 { echo "$as_me:$LINENO: checking for short" >&5
18129 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18130 if test "${ac_cv_type_short+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 cat >conftest.$ac_ext <<_ACEOF
18136 cat confdefs.h >>conftest.$ac_ext
18137 cat >>conftest.$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18139 $ac_includes_default
18140 typedef short ac__type_new_;
18144 if ((ac__type_new_ *) 0)
18146 if (sizeof (ac__type_new_))
18152 rm -f conftest.$ac_objext
18153 if { (ac_try="$ac_compile"
18154 case "(($ac_try" in
18155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18156 *) ac_try_echo=$ac_try;;
18158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18159 (eval "$ac_compile") 2>conftest.er1
18161 grep -v '^ *+' conftest.er1 >conftest.err
18163 cat conftest.err >&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } && {
18166 test -z "$ac_c_werror_flag" ||
18167 test ! -s conftest.err
18168 } && test -s conftest.$ac_objext; then
18169 ac_cv_type_short=yes
18171 echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.$ac_ext >&5
18174 ac_cv_type_short=no
18177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18179 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18180 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18182 # The cast to long int works around a bug in the HP C Compiler
18183 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18184 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18185 # This bug is HP SR number 8606223364.
18186 { echo "$as_me:$LINENO: checking size of short" >&5
18187 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18188 if test "${ac_cv_sizeof_short+set}" = set; then
18189 echo $ECHO_N "(cached) $ECHO_C" >&6
18191 if test "$cross_compiling" = yes; then
18192 # Depending upon the size, compute the lo and hi bounds.
18193 cat >conftest.$ac_ext <<_ACEOF
18196 cat confdefs.h >>conftest.$ac_ext
18197 cat >>conftest.$ac_ext <<_ACEOF
18198 /* end confdefs.h. */
18199 $ac_includes_default
18200 typedef short ac__type_sizeof_;
18204 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18211 rm -f conftest.$ac_objext
18212 if { (ac_try="$ac_compile"
18213 case "(($ac_try" in
18214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18215 *) ac_try_echo=$ac_try;;
18217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18218 (eval "$ac_compile") 2>conftest.er1
18220 grep -v '^ *+' conftest.er1 >conftest.err
18222 cat conftest.err >&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } && {
18225 test -z "$ac_c_werror_flag" ||
18226 test ! -s conftest.err
18227 } && test -s conftest.$ac_objext; then
18230 cat >conftest.$ac_ext <<_ACEOF
18233 cat confdefs.h >>conftest.$ac_ext
18234 cat >>conftest.$ac_ext <<_ACEOF
18235 /* end confdefs.h. */
18236 $ac_includes_default
18237 typedef short ac__type_sizeof_;
18241 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18248 rm -f conftest.$ac_objext
18249 if { (ac_try="$ac_compile"
18250 case "(($ac_try" in
18251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18252 *) ac_try_echo=$ac_try;;
18254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18255 (eval "$ac_compile") 2>conftest.er1
18257 grep -v '^ *+' conftest.er1 >conftest.err
18259 cat conftest.err >&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); } && {
18262 test -z "$ac_c_werror_flag" ||
18263 test ! -s conftest.err
18264 } && test -s conftest.$ac_objext; then
18265 ac_hi=$ac_mid; break
18267 echo "$as_me: failed program was:" >&5
18268 sed 's/^/| /' conftest.$ac_ext >&5
18270 ac_lo=`expr $ac_mid + 1`
18271 if test $ac_lo -le $ac_mid; then
18275 ac_mid=`expr 2 '*' $ac_mid + 1`
18278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18281 echo "$as_me: failed program was:" >&5
18282 sed 's/^/| /' conftest.$ac_ext >&5
18284 cat >conftest.$ac_ext <<_ACEOF
18287 cat confdefs.h >>conftest.$ac_ext
18288 cat >>conftest.$ac_ext <<_ACEOF
18289 /* end confdefs.h. */
18290 $ac_includes_default
18291 typedef short ac__type_sizeof_;
18295 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18302 rm -f conftest.$ac_objext
18303 if { (ac_try="$ac_compile"
18304 case "(($ac_try" in
18305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18306 *) ac_try_echo=$ac_try;;
18308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18309 (eval "$ac_compile") 2>conftest.er1
18311 grep -v '^ *+' conftest.er1 >conftest.err
18313 cat conftest.err >&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } && {
18316 test -z "$ac_c_werror_flag" ||
18317 test ! -s conftest.err
18318 } && test -s conftest.$ac_objext; then
18321 cat >conftest.$ac_ext <<_ACEOF
18324 cat confdefs.h >>conftest.$ac_ext
18325 cat >>conftest.$ac_ext <<_ACEOF
18326 /* end confdefs.h. */
18327 $ac_includes_default
18328 typedef short ac__type_sizeof_;
18332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18339 rm -f conftest.$ac_objext
18340 if { (ac_try="$ac_compile"
18341 case "(($ac_try" in
18342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18343 *) ac_try_echo=$ac_try;;
18345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18346 (eval "$ac_compile") 2>conftest.er1
18348 grep -v '^ *+' conftest.er1 >conftest.err
18350 cat conftest.err >&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); } && {
18353 test -z "$ac_c_werror_flag" ||
18354 test ! -s conftest.err
18355 } && test -s conftest.$ac_objext; then
18356 ac_lo=$ac_mid; break
18358 echo "$as_me: failed program was:" >&5
18359 sed 's/^/| /' conftest.$ac_ext >&5
18361 ac_hi=`expr '(' $ac_mid ')' - 1`
18362 if test $ac_mid -le $ac_hi; then
18366 ac_mid=`expr 2 '*' $ac_mid`
18369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.$ac_ext >&5
18378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18382 # Binary search between lo and hi bounds.
18383 while test "x$ac_lo" != "x$ac_hi"; do
18384 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18385 cat >conftest.$ac_ext <<_ACEOF
18388 cat confdefs.h >>conftest.$ac_ext
18389 cat >>conftest.$ac_ext <<_ACEOF
18390 /* end confdefs.h. */
18391 $ac_includes_default
18392 typedef short ac__type_sizeof_;
18396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18403 rm -f conftest.$ac_objext
18404 if { (ac_try="$ac_compile"
18405 case "(($ac_try" in
18406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18407 *) ac_try_echo=$ac_try;;
18409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18410 (eval "$ac_compile") 2>conftest.er1
18412 grep -v '^ *+' conftest.er1 >conftest.err
18414 cat conftest.err >&5
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); } && {
18417 test -z "$ac_c_werror_flag" ||
18418 test ! -s conftest.err
18419 } && test -s conftest.$ac_objext; then
18422 echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.$ac_ext >&5
18425 ac_lo=`expr '(' $ac_mid ')' + 1`
18428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18431 ?*) ac_cv_sizeof_short=$ac_lo;;
18432 '') if test "$ac_cv_type_short" = yes; then
18433 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18434 See \`config.log' for more details." >&5
18435 echo "$as_me: error: cannot compute sizeof (short)
18436 See \`config.log' for more details." >&2;}
18437 { (exit 77); exit 77; }; }
18439 ac_cv_sizeof_short=0
18443 cat >conftest.$ac_ext <<_ACEOF
18446 cat confdefs.h >>conftest.$ac_ext
18447 cat >>conftest.$ac_ext <<_ACEOF
18448 /* end confdefs.h. */
18449 $ac_includes_default
18450 typedef short ac__type_sizeof_;
18451 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18452 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18454 #include <stdlib.h>
18459 FILE *f = fopen ("conftest.val", "w");
18462 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18464 long int i = longval ();
18465 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18467 fprintf (f, "%ld\n", i);
18471 unsigned long int i = ulongval ();
18472 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18474 fprintf (f, "%lu\n", i);
18476 return ferror (f) || fclose (f) != 0;
18482 rm -f conftest$ac_exeext
18483 if { (ac_try="$ac_link"
18484 case "(($ac_try" in
18485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18486 *) ac_try_echo=$ac_try;;
18488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18489 (eval "$ac_link") 2>&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18493 { (case "(($ac_try" in
18494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18495 *) ac_try_echo=$ac_try;;
18497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18498 (eval "$ac_try") 2>&5
18500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501 (exit $ac_status); }; }; then
18502 ac_cv_sizeof_short=`cat conftest.val`
18504 echo "$as_me: program exited with status $ac_status" >&5
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.$ac_ext >&5
18508 ( exit $ac_status )
18509 if test "$ac_cv_type_short" = yes; then
18510 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18511 See \`config.log' for more details." >&5
18512 echo "$as_me: error: cannot compute sizeof (short)
18513 See \`config.log' for more details." >&2;}
18514 { (exit 77); exit 77; }; }
18516 ac_cv_sizeof_short=0
18519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18523 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18524 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18528 cat >>confdefs.h <<_ACEOF
18529 #define SIZEOF_SHORT $ac_cv_sizeof_short
18533 { echo "$as_me:$LINENO: checking for void *" >&5
18534 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18535 if test "${ac_cv_type_void_p+set}" = set; then
18536 echo $ECHO_N "(cached) $ECHO_C" >&6
18538 cat >conftest.$ac_ext <<_ACEOF
18541 cat confdefs.h >>conftest.$ac_ext
18542 cat >>conftest.$ac_ext <<_ACEOF
18543 /* end confdefs.h. */
18544 $ac_includes_default
18545 typedef void * ac__type_new_;
18549 if ((ac__type_new_ *) 0)
18551 if (sizeof (ac__type_new_))
18557 rm -f conftest.$ac_objext
18558 if { (ac_try="$ac_compile"
18559 case "(($ac_try" in
18560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18561 *) ac_try_echo=$ac_try;;
18563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18564 (eval "$ac_compile") 2>conftest.er1
18566 grep -v '^ *+' conftest.er1 >conftest.err
18568 cat conftest.err >&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } && {
18571 test -z "$ac_c_werror_flag" ||
18572 test ! -s conftest.err
18573 } && test -s conftest.$ac_objext; then
18574 ac_cv_type_void_p=yes
18576 echo "$as_me: failed program was:" >&5
18577 sed 's/^/| /' conftest.$ac_ext >&5
18579 ac_cv_type_void_p=no
18582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18584 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18585 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18587 # The cast to long int works around a bug in the HP C Compiler
18588 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18589 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18590 # This bug is HP SR number 8606223364.
18591 { echo "$as_me:$LINENO: checking size of void *" >&5
18592 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18593 if test "${ac_cv_sizeof_void_p+set}" = set; then
18594 echo $ECHO_N "(cached) $ECHO_C" >&6
18596 if test "$cross_compiling" = yes; then
18597 # Depending upon the size, compute the lo and hi bounds.
18598 cat >conftest.$ac_ext <<_ACEOF
18601 cat confdefs.h >>conftest.$ac_ext
18602 cat >>conftest.$ac_ext <<_ACEOF
18603 /* end confdefs.h. */
18604 $ac_includes_default
18605 typedef void * ac__type_sizeof_;
18609 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18616 rm -f conftest.$ac_objext
18617 if { (ac_try="$ac_compile"
18618 case "(($ac_try" in
18619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18620 *) ac_try_echo=$ac_try;;
18622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18623 (eval "$ac_compile") 2>conftest.er1
18625 grep -v '^ *+' conftest.er1 >conftest.err
18627 cat conftest.err >&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } && {
18630 test -z "$ac_c_werror_flag" ||
18631 test ! -s conftest.err
18632 } && test -s conftest.$ac_objext; then
18635 cat >conftest.$ac_ext <<_ACEOF
18638 cat confdefs.h >>conftest.$ac_ext
18639 cat >>conftest.$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 $ac_includes_default
18642 typedef void * ac__type_sizeof_;
18646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18653 rm -f conftest.$ac_objext
18654 if { (ac_try="$ac_compile"
18655 case "(($ac_try" in
18656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18657 *) ac_try_echo=$ac_try;;
18659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18660 (eval "$ac_compile") 2>conftest.er1
18662 grep -v '^ *+' conftest.er1 >conftest.err
18664 cat conftest.err >&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); } && {
18667 test -z "$ac_c_werror_flag" ||
18668 test ! -s conftest.err
18669 } && test -s conftest.$ac_objext; then
18670 ac_hi=$ac_mid; break
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.$ac_ext >&5
18675 ac_lo=`expr $ac_mid + 1`
18676 if test $ac_lo -le $ac_mid; then
18680 ac_mid=`expr 2 '*' $ac_mid + 1`
18683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18686 echo "$as_me: failed program was:" >&5
18687 sed 's/^/| /' conftest.$ac_ext >&5
18689 cat >conftest.$ac_ext <<_ACEOF
18692 cat confdefs.h >>conftest.$ac_ext
18693 cat >>conftest.$ac_ext <<_ACEOF
18694 /* end confdefs.h. */
18695 $ac_includes_default
18696 typedef void * ac__type_sizeof_;
18700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18707 rm -f conftest.$ac_objext
18708 if { (ac_try="$ac_compile"
18709 case "(($ac_try" in
18710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18711 *) ac_try_echo=$ac_try;;
18713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18714 (eval "$ac_compile") 2>conftest.er1
18716 grep -v '^ *+' conftest.er1 >conftest.err
18718 cat conftest.err >&5
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); } && {
18721 test -z "$ac_c_werror_flag" ||
18722 test ! -s conftest.err
18723 } && test -s conftest.$ac_objext; then
18726 cat >conftest.$ac_ext <<_ACEOF
18729 cat confdefs.h >>conftest.$ac_ext
18730 cat >>conftest.$ac_ext <<_ACEOF
18731 /* end confdefs.h. */
18732 $ac_includes_default
18733 typedef void * ac__type_sizeof_;
18737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18744 rm -f conftest.$ac_objext
18745 if { (ac_try="$ac_compile"
18746 case "(($ac_try" in
18747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18748 *) ac_try_echo=$ac_try;;
18750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18751 (eval "$ac_compile") 2>conftest.er1
18753 grep -v '^ *+' conftest.er1 >conftest.err
18755 cat conftest.err >&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } && {
18758 test -z "$ac_c_werror_flag" ||
18759 test ! -s conftest.err
18760 } && test -s conftest.$ac_objext; then
18761 ac_lo=$ac_mid; break
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.$ac_ext >&5
18766 ac_hi=`expr '(' $ac_mid ')' - 1`
18767 if test $ac_mid -le $ac_hi; then
18771 ac_mid=`expr 2 '*' $ac_mid`
18774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.$ac_ext >&5
18783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18787 # Binary search between lo and hi bounds.
18788 while test "x$ac_lo" != "x$ac_hi"; do
18789 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18790 cat >conftest.$ac_ext <<_ACEOF
18793 cat confdefs.h >>conftest.$ac_ext
18794 cat >>conftest.$ac_ext <<_ACEOF
18795 /* end confdefs.h. */
18796 $ac_includes_default
18797 typedef void * ac__type_sizeof_;
18801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18808 rm -f conftest.$ac_objext
18809 if { (ac_try="$ac_compile"
18810 case "(($ac_try" in
18811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18812 *) ac_try_echo=$ac_try;;
18814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18815 (eval "$ac_compile") 2>conftest.er1
18817 grep -v '^ *+' conftest.er1 >conftest.err
18819 cat conftest.err >&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); } && {
18822 test -z "$ac_c_werror_flag" ||
18823 test ! -s conftest.err
18824 } && test -s conftest.$ac_objext; then
18827 echo "$as_me: failed program was:" >&5
18828 sed 's/^/| /' conftest.$ac_ext >&5
18830 ac_lo=`expr '(' $ac_mid ')' + 1`
18833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18836 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18837 '') if test "$ac_cv_type_void_p" = yes; then
18838 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18839 See \`config.log' for more details." >&5
18840 echo "$as_me: error: cannot compute sizeof (void *)
18841 See \`config.log' for more details." >&2;}
18842 { (exit 77); exit 77; }; }
18844 ac_cv_sizeof_void_p=0
18848 cat >conftest.$ac_ext <<_ACEOF
18851 cat confdefs.h >>conftest.$ac_ext
18852 cat >>conftest.$ac_ext <<_ACEOF
18853 /* end confdefs.h. */
18854 $ac_includes_default
18855 typedef void * ac__type_sizeof_;
18856 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18857 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18859 #include <stdlib.h>
18864 FILE *f = fopen ("conftest.val", "w");
18867 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18869 long int i = longval ();
18870 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18872 fprintf (f, "%ld\n", i);
18876 unsigned long int i = ulongval ();
18877 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18879 fprintf (f, "%lu\n", i);
18881 return ferror (f) || fclose (f) != 0;
18887 rm -f conftest$ac_exeext
18888 if { (ac_try="$ac_link"
18889 case "(($ac_try" in
18890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18891 *) ac_try_echo=$ac_try;;
18893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18894 (eval "$ac_link") 2>&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18898 { (case "(($ac_try" in
18899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18900 *) ac_try_echo=$ac_try;;
18902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18903 (eval "$ac_try") 2>&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; }; then
18907 ac_cv_sizeof_void_p=`cat conftest.val`
18909 echo "$as_me: program exited with status $ac_status" >&5
18910 echo "$as_me: failed program was:" >&5
18911 sed 's/^/| /' conftest.$ac_ext >&5
18913 ( exit $ac_status )
18914 if test "$ac_cv_type_void_p" = yes; then
18915 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18916 See \`config.log' for more details." >&5
18917 echo "$as_me: error: cannot compute sizeof (void *)
18918 See \`config.log' for more details." >&2;}
18919 { (exit 77); exit 77; }; }
18921 ac_cv_sizeof_void_p=0
18924 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18928 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18929 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
18933 cat >>confdefs.h <<_ACEOF
18934 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18938 { echo "$as_me:$LINENO: checking for int" >&5
18939 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
18940 if test "${ac_cv_type_int+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18943 cat >conftest.$ac_ext <<_ACEOF
18946 cat confdefs.h >>conftest.$ac_ext
18947 cat >>conftest.$ac_ext <<_ACEOF
18948 /* end confdefs.h. */
18949 $ac_includes_default
18950 typedef int ac__type_new_;
18954 if ((ac__type_new_ *) 0)
18956 if (sizeof (ac__type_new_))
18962 rm -f conftest.$ac_objext
18963 if { (ac_try="$ac_compile"
18964 case "(($ac_try" in
18965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18966 *) ac_try_echo=$ac_try;;
18968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18969 (eval "$ac_compile") 2>conftest.er1
18971 grep -v '^ *+' conftest.er1 >conftest.err
18973 cat conftest.err >&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); } && {
18976 test -z "$ac_c_werror_flag" ||
18977 test ! -s conftest.err
18978 } && test -s conftest.$ac_objext; then
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.$ac_ext >&5
18987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18989 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18990 echo "${ECHO_T}$ac_cv_type_int" >&6; }
18992 # The cast to long int works around a bug in the HP C Compiler
18993 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18994 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18995 # This bug is HP SR number 8606223364.
18996 { echo "$as_me:$LINENO: checking size of int" >&5
18997 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
18998 if test "${ac_cv_sizeof_int+set}" = set; then
18999 echo $ECHO_N "(cached) $ECHO_C" >&6
19001 if test "$cross_compiling" = yes; then
19002 # Depending upon the size, compute the lo and hi bounds.
19003 cat >conftest.$ac_ext <<_ACEOF
19006 cat confdefs.h >>conftest.$ac_ext
19007 cat >>conftest.$ac_ext <<_ACEOF
19008 /* end confdefs.h. */
19009 $ac_includes_default
19010 typedef int ac__type_sizeof_;
19014 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19021 rm -f conftest.$ac_objext
19022 if { (ac_try="$ac_compile"
19023 case "(($ac_try" in
19024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19025 *) ac_try_echo=$ac_try;;
19027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19028 (eval "$ac_compile") 2>conftest.er1
19030 grep -v '^ *+' conftest.er1 >conftest.err
19032 cat conftest.err >&5
19033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19034 (exit $ac_status); } && {
19035 test -z "$ac_c_werror_flag" ||
19036 test ! -s conftest.err
19037 } && test -s conftest.$ac_objext; then
19040 cat >conftest.$ac_ext <<_ACEOF
19043 cat confdefs.h >>conftest.$ac_ext
19044 cat >>conftest.$ac_ext <<_ACEOF
19045 /* end confdefs.h. */
19046 $ac_includes_default
19047 typedef int ac__type_sizeof_;
19051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19058 rm -f conftest.$ac_objext
19059 if { (ac_try="$ac_compile"
19060 case "(($ac_try" in
19061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19062 *) ac_try_echo=$ac_try;;
19064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19065 (eval "$ac_compile") 2>conftest.er1
19067 grep -v '^ *+' conftest.er1 >conftest.err
19069 cat conftest.err >&5
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); } && {
19072 test -z "$ac_c_werror_flag" ||
19073 test ! -s conftest.err
19074 } && test -s conftest.$ac_objext; then
19075 ac_hi=$ac_mid; break
19077 echo "$as_me: failed program was:" >&5
19078 sed 's/^/| /' conftest.$ac_ext >&5
19080 ac_lo=`expr $ac_mid + 1`
19081 if test $ac_lo -le $ac_mid; then
19085 ac_mid=`expr 2 '*' $ac_mid + 1`
19088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19091 echo "$as_me: failed program was:" >&5
19092 sed 's/^/| /' conftest.$ac_ext >&5
19094 cat >conftest.$ac_ext <<_ACEOF
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 $ac_includes_default
19101 typedef int ac__type_sizeof_;
19105 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19112 rm -f conftest.$ac_objext
19113 if { (ac_try="$ac_compile"
19114 case "(($ac_try" in
19115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_compile") 2>conftest.er1
19121 grep -v '^ *+' conftest.er1 >conftest.err
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } && {
19126 test -z "$ac_c_werror_flag" ||
19127 test ! -s conftest.err
19128 } && test -s conftest.$ac_objext; then
19131 cat >conftest.$ac_ext <<_ACEOF
19134 cat confdefs.h >>conftest.$ac_ext
19135 cat >>conftest.$ac_ext <<_ACEOF
19136 /* end confdefs.h. */
19137 $ac_includes_default
19138 typedef int ac__type_sizeof_;
19142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19149 rm -f conftest.$ac_objext
19150 if { (ac_try="$ac_compile"
19151 case "(($ac_try" in
19152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19153 *) ac_try_echo=$ac_try;;
19155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19156 (eval "$ac_compile") 2>conftest.er1
19158 grep -v '^ *+' conftest.er1 >conftest.err
19160 cat conftest.err >&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); } && {
19163 test -z "$ac_c_werror_flag" ||
19164 test ! -s conftest.err
19165 } && test -s conftest.$ac_objext; then
19166 ac_lo=$ac_mid; break
19168 echo "$as_me: failed program was:" >&5
19169 sed 's/^/| /' conftest.$ac_ext >&5
19171 ac_hi=`expr '(' $ac_mid ')' - 1`
19172 if test $ac_mid -le $ac_hi; then
19176 ac_mid=`expr 2 '*' $ac_mid`
19179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19192 # Binary search between lo and hi bounds.
19193 while test "x$ac_lo" != "x$ac_hi"; do
19194 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19195 cat >conftest.$ac_ext <<_ACEOF
19198 cat confdefs.h >>conftest.$ac_ext
19199 cat >>conftest.$ac_ext <<_ACEOF
19200 /* end confdefs.h. */
19201 $ac_includes_default
19202 typedef int ac__type_sizeof_;
19206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19213 rm -f conftest.$ac_objext
19214 if { (ac_try="$ac_compile"
19215 case "(($ac_try" in
19216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19217 *) ac_try_echo=$ac_try;;
19219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19220 (eval "$ac_compile") 2>conftest.er1
19222 grep -v '^ *+' conftest.er1 >conftest.err
19224 cat conftest.err >&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } && {
19227 test -z "$ac_c_werror_flag" ||
19228 test ! -s conftest.err
19229 } && test -s conftest.$ac_objext; then
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.$ac_ext >&5
19235 ac_lo=`expr '(' $ac_mid ')' + 1`
19238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19241 ?*) ac_cv_sizeof_int=$ac_lo;;
19242 '') if test "$ac_cv_type_int" = yes; then
19243 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19244 See \`config.log' for more details." >&5
19245 echo "$as_me: error: cannot compute sizeof (int)
19246 See \`config.log' for more details." >&2;}
19247 { (exit 77); exit 77; }; }
19253 cat >conftest.$ac_ext <<_ACEOF
19256 cat confdefs.h >>conftest.$ac_ext
19257 cat >>conftest.$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19259 $ac_includes_default
19260 typedef int ac__type_sizeof_;
19261 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19262 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19264 #include <stdlib.h>
19269 FILE *f = fopen ("conftest.val", "w");
19272 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19274 long int i = longval ();
19275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19277 fprintf (f, "%ld\n", i);
19281 unsigned long int i = ulongval ();
19282 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19284 fprintf (f, "%lu\n", i);
19286 return ferror (f) || fclose (f) != 0;
19292 rm -f conftest$ac_exeext
19293 if { (ac_try="$ac_link"
19294 case "(($ac_try" in
19295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19296 *) ac_try_echo=$ac_try;;
19298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19299 (eval "$ac_link") 2>&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19303 { (case "(($ac_try" in
19304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19305 *) ac_try_echo=$ac_try;;
19307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19308 (eval "$ac_try") 2>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; }; then
19312 ac_cv_sizeof_int=`cat conftest.val`
19314 echo "$as_me: program exited with status $ac_status" >&5
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.$ac_ext >&5
19318 ( exit $ac_status )
19319 if test "$ac_cv_type_int" = yes; then
19320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19321 See \`config.log' for more details." >&5
19322 echo "$as_me: error: cannot compute sizeof (int)
19323 See \`config.log' for more details." >&2;}
19324 { (exit 77); exit 77; }; }
19329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19333 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19334 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19338 cat >>confdefs.h <<_ACEOF
19339 #define SIZEOF_INT $ac_cv_sizeof_int
19343 { echo "$as_me:$LINENO: checking for long" >&5
19344 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19345 if test "${ac_cv_type_long+set}" = set; then
19346 echo $ECHO_N "(cached) $ECHO_C" >&6
19348 cat >conftest.$ac_ext <<_ACEOF
19351 cat confdefs.h >>conftest.$ac_ext
19352 cat >>conftest.$ac_ext <<_ACEOF
19353 /* end confdefs.h. */
19354 $ac_includes_default
19355 typedef long ac__type_new_;
19359 if ((ac__type_new_ *) 0)
19361 if (sizeof (ac__type_new_))
19367 rm -f conftest.$ac_objext
19368 if { (ac_try="$ac_compile"
19369 case "(($ac_try" in
19370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19371 *) ac_try_echo=$ac_try;;
19373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19374 (eval "$ac_compile") 2>conftest.er1
19376 grep -v '^ *+' conftest.er1 >conftest.err
19378 cat conftest.err >&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } && {
19381 test -z "$ac_c_werror_flag" ||
19382 test ! -s conftest.err
19383 } && test -s conftest.$ac_objext; then
19384 ac_cv_type_long=yes
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.$ac_ext >&5
19392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19394 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19395 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19397 # The cast to long int works around a bug in the HP C Compiler
19398 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19399 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19400 # This bug is HP SR number 8606223364.
19401 { echo "$as_me:$LINENO: checking size of long" >&5
19402 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19403 if test "${ac_cv_sizeof_long+set}" = set; then
19404 echo $ECHO_N "(cached) $ECHO_C" >&6
19406 if test "$cross_compiling" = yes; then
19407 # Depending upon the size, compute the lo and hi bounds.
19408 cat >conftest.$ac_ext <<_ACEOF
19411 cat confdefs.h >>conftest.$ac_ext
19412 cat >>conftest.$ac_ext <<_ACEOF
19413 /* end confdefs.h. */
19414 $ac_includes_default
19415 typedef long ac__type_sizeof_;
19419 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19426 rm -f conftest.$ac_objext
19427 if { (ac_try="$ac_compile"
19428 case "(($ac_try" in
19429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19430 *) ac_try_echo=$ac_try;;
19432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19433 (eval "$ac_compile") 2>conftest.er1
19435 grep -v '^ *+' conftest.er1 >conftest.err
19437 cat conftest.err >&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); } && {
19440 test -z "$ac_c_werror_flag" ||
19441 test ! -s conftest.err
19442 } && test -s conftest.$ac_objext; then
19445 cat >conftest.$ac_ext <<_ACEOF
19448 cat confdefs.h >>conftest.$ac_ext
19449 cat >>conftest.$ac_ext <<_ACEOF
19450 /* end confdefs.h. */
19451 $ac_includes_default
19452 typedef long ac__type_sizeof_;
19456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19463 rm -f conftest.$ac_objext
19464 if { (ac_try="$ac_compile"
19465 case "(($ac_try" in
19466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19467 *) ac_try_echo=$ac_try;;
19469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19470 (eval "$ac_compile") 2>conftest.er1
19472 grep -v '^ *+' conftest.er1 >conftest.err
19474 cat conftest.err >&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } && {
19477 test -z "$ac_c_werror_flag" ||
19478 test ! -s conftest.err
19479 } && test -s conftest.$ac_objext; then
19480 ac_hi=$ac_mid; break
19482 echo "$as_me: failed program was:" >&5
19483 sed 's/^/| /' conftest.$ac_ext >&5
19485 ac_lo=`expr $ac_mid + 1`
19486 if test $ac_lo -le $ac_mid; then
19490 ac_mid=`expr 2 '*' $ac_mid + 1`
19493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.$ac_ext >&5
19499 cat >conftest.$ac_ext <<_ACEOF
19502 cat confdefs.h >>conftest.$ac_ext
19503 cat >>conftest.$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19505 $ac_includes_default
19506 typedef long ac__type_sizeof_;
19510 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19517 rm -f conftest.$ac_objext
19518 if { (ac_try="$ac_compile"
19519 case "(($ac_try" in
19520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19521 *) ac_try_echo=$ac_try;;
19523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19524 (eval "$ac_compile") 2>conftest.er1
19526 grep -v '^ *+' conftest.er1 >conftest.err
19528 cat conftest.err >&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } && {
19531 test -z "$ac_c_werror_flag" ||
19532 test ! -s conftest.err
19533 } && test -s conftest.$ac_objext; then
19536 cat >conftest.$ac_ext <<_ACEOF
19539 cat confdefs.h >>conftest.$ac_ext
19540 cat >>conftest.$ac_ext <<_ACEOF
19541 /* end confdefs.h. */
19542 $ac_includes_default
19543 typedef long ac__type_sizeof_;
19547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19554 rm -f conftest.$ac_objext
19555 if { (ac_try="$ac_compile"
19556 case "(($ac_try" in
19557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19558 *) ac_try_echo=$ac_try;;
19560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19561 (eval "$ac_compile") 2>conftest.er1
19563 grep -v '^ *+' conftest.er1 >conftest.err
19565 cat conftest.err >&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } && {
19568 test -z "$ac_c_werror_flag" ||
19569 test ! -s conftest.err
19570 } && test -s conftest.$ac_objext; then
19571 ac_lo=$ac_mid; break
19573 echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.$ac_ext >&5
19576 ac_hi=`expr '(' $ac_mid ')' - 1`
19577 if test $ac_mid -le $ac_hi; then
19581 ac_mid=`expr 2 '*' $ac_mid`
19584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19587 echo "$as_me: failed program was:" >&5
19588 sed 's/^/| /' conftest.$ac_ext >&5
19593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19597 # Binary search between lo and hi bounds.
19598 while test "x$ac_lo" != "x$ac_hi"; do
19599 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19600 cat >conftest.$ac_ext <<_ACEOF
19603 cat confdefs.h >>conftest.$ac_ext
19604 cat >>conftest.$ac_ext <<_ACEOF
19605 /* end confdefs.h. */
19606 $ac_includes_default
19607 typedef long ac__type_sizeof_;
19611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19618 rm -f conftest.$ac_objext
19619 if { (ac_try="$ac_compile"
19620 case "(($ac_try" in
19621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19622 *) ac_try_echo=$ac_try;;
19624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19625 (eval "$ac_compile") 2>conftest.er1
19627 grep -v '^ *+' conftest.er1 >conftest.err
19629 cat conftest.err >&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); } && {
19632 test -z "$ac_c_werror_flag" ||
19633 test ! -s conftest.err
19634 } && test -s conftest.$ac_objext; then
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19640 ac_lo=`expr '(' $ac_mid ')' + 1`
19643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19646 ?*) ac_cv_sizeof_long=$ac_lo;;
19647 '') if test "$ac_cv_type_long" = yes; then
19648 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19649 See \`config.log' for more details." >&5
19650 echo "$as_me: error: cannot compute sizeof (long)
19651 See \`config.log' for more details." >&2;}
19652 { (exit 77); exit 77; }; }
19654 ac_cv_sizeof_long=0
19658 cat >conftest.$ac_ext <<_ACEOF
19661 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 $ac_includes_default
19665 typedef long ac__type_sizeof_;
19666 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19667 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19669 #include <stdlib.h>
19674 FILE *f = fopen ("conftest.val", "w");
19677 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19679 long int i = longval ();
19680 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19682 fprintf (f, "%ld\n", i);
19686 unsigned long int i = ulongval ();
19687 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19689 fprintf (f, "%lu\n", i);
19691 return ferror (f) || fclose (f) != 0;
19697 rm -f conftest$ac_exeext
19698 if { (ac_try="$ac_link"
19699 case "(($ac_try" in
19700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19701 *) ac_try_echo=$ac_try;;
19703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19704 (eval "$ac_link") 2>&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19708 { (case "(($ac_try" in
19709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19710 *) ac_try_echo=$ac_try;;
19712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19713 (eval "$ac_try") 2>&5
19715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19716 (exit $ac_status); }; }; then
19717 ac_cv_sizeof_long=`cat conftest.val`
19719 echo "$as_me: program exited with status $ac_status" >&5
19720 echo "$as_me: failed program was:" >&5
19721 sed 's/^/| /' conftest.$ac_ext >&5
19723 ( exit $ac_status )
19724 if test "$ac_cv_type_long" = yes; then
19725 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19726 See \`config.log' for more details." >&5
19727 echo "$as_me: error: cannot compute sizeof (long)
19728 See \`config.log' for more details." >&2;}
19729 { (exit 77); exit 77; }; }
19731 ac_cv_sizeof_long=0
19734 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19738 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19739 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19743 cat >>confdefs.h <<_ACEOF
19744 #define SIZEOF_LONG $ac_cv_sizeof_long
19748 { echo "$as_me:$LINENO: checking for size_t" >&5
19749 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19750 if test "${ac_cv_type_size_t+set}" = set; then
19751 echo $ECHO_N "(cached) $ECHO_C" >&6
19753 cat >conftest.$ac_ext <<_ACEOF
19756 cat confdefs.h >>conftest.$ac_ext
19757 cat >>conftest.$ac_ext <<_ACEOF
19758 /* end confdefs.h. */
19759 $ac_includes_default
19760 typedef size_t ac__type_new_;
19764 if ((ac__type_new_ *) 0)
19766 if (sizeof (ac__type_new_))
19772 rm -f conftest.$ac_objext
19773 if { (ac_try="$ac_compile"
19774 case "(($ac_try" in
19775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19776 *) ac_try_echo=$ac_try;;
19778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19779 (eval "$ac_compile") 2>conftest.er1
19781 grep -v '^ *+' conftest.er1 >conftest.err
19783 cat conftest.err >&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); } && {
19786 test -z "$ac_c_werror_flag" ||
19787 test ! -s conftest.err
19788 } && test -s conftest.$ac_objext; then
19789 ac_cv_type_size_t=yes
19791 echo "$as_me: failed program was:" >&5
19792 sed 's/^/| /' conftest.$ac_ext >&5
19794 ac_cv_type_size_t=no
19797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19799 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19800 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19802 # The cast to long int works around a bug in the HP C Compiler
19803 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19804 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19805 # This bug is HP SR number 8606223364.
19806 { echo "$as_me:$LINENO: checking size of size_t" >&5
19807 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19808 if test "${ac_cv_sizeof_size_t+set}" = set; then
19809 echo $ECHO_N "(cached) $ECHO_C" >&6
19811 if test "$cross_compiling" = yes; then
19812 # Depending upon the size, compute the lo and hi bounds.
19813 cat >conftest.$ac_ext <<_ACEOF
19816 cat confdefs.h >>conftest.$ac_ext
19817 cat >>conftest.$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19819 $ac_includes_default
19820 typedef size_t ac__type_sizeof_;
19824 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19831 rm -f conftest.$ac_objext
19832 if { (ac_try="$ac_compile"
19833 case "(($ac_try" in
19834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19835 *) ac_try_echo=$ac_try;;
19837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19838 (eval "$ac_compile") 2>conftest.er1
19840 grep -v '^ *+' conftest.er1 >conftest.err
19842 cat conftest.err >&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); } && {
19845 test -z "$ac_c_werror_flag" ||
19846 test ! -s conftest.err
19847 } && test -s conftest.$ac_objext; then
19850 cat >conftest.$ac_ext <<_ACEOF
19853 cat confdefs.h >>conftest.$ac_ext
19854 cat >>conftest.$ac_ext <<_ACEOF
19855 /* end confdefs.h. */
19856 $ac_includes_default
19857 typedef size_t ac__type_sizeof_;
19861 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19868 rm -f conftest.$ac_objext
19869 if { (ac_try="$ac_compile"
19870 case "(($ac_try" in
19871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19872 *) ac_try_echo=$ac_try;;
19874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19875 (eval "$ac_compile") 2>conftest.er1
19877 grep -v '^ *+' conftest.er1 >conftest.err
19879 cat conftest.err >&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); } && {
19882 test -z "$ac_c_werror_flag" ||
19883 test ! -s conftest.err
19884 } && test -s conftest.$ac_objext; then
19885 ac_hi=$ac_mid; break
19887 echo "$as_me: failed program was:" >&5
19888 sed 's/^/| /' conftest.$ac_ext >&5
19890 ac_lo=`expr $ac_mid + 1`
19891 if test $ac_lo -le $ac_mid; then
19895 ac_mid=`expr 2 '*' $ac_mid + 1`
19898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19901 echo "$as_me: failed program was:" >&5
19902 sed 's/^/| /' conftest.$ac_ext >&5
19904 cat >conftest.$ac_ext <<_ACEOF
19907 cat confdefs.h >>conftest.$ac_ext
19908 cat >>conftest.$ac_ext <<_ACEOF
19909 /* end confdefs.h. */
19910 $ac_includes_default
19911 typedef size_t ac__type_sizeof_;
19915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19922 rm -f conftest.$ac_objext
19923 if { (ac_try="$ac_compile"
19924 case "(($ac_try" in
19925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19926 *) ac_try_echo=$ac_try;;
19928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19929 (eval "$ac_compile") 2>conftest.er1
19931 grep -v '^ *+' conftest.er1 >conftest.err
19933 cat conftest.err >&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); } && {
19936 test -z "$ac_c_werror_flag" ||
19937 test ! -s conftest.err
19938 } && test -s conftest.$ac_objext; then
19941 cat >conftest.$ac_ext <<_ACEOF
19944 cat confdefs.h >>conftest.$ac_ext
19945 cat >>conftest.$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 $ac_includes_default
19948 typedef size_t ac__type_sizeof_;
19952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19959 rm -f conftest.$ac_objext
19960 if { (ac_try="$ac_compile"
19961 case "(($ac_try" in
19962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19963 *) ac_try_echo=$ac_try;;
19965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19966 (eval "$ac_compile") 2>conftest.er1
19968 grep -v '^ *+' conftest.er1 >conftest.err
19970 cat conftest.err >&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && {
19973 test -z "$ac_c_werror_flag" ||
19974 test ! -s conftest.err
19975 } && test -s conftest.$ac_objext; then
19976 ac_lo=$ac_mid; break
19978 echo "$as_me: failed program was:" >&5
19979 sed 's/^/| /' conftest.$ac_ext >&5
19981 ac_hi=`expr '(' $ac_mid ')' - 1`
19982 if test $ac_mid -le $ac_hi; then
19986 ac_mid=`expr 2 '*' $ac_mid`
19989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.$ac_ext >&5
19998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20002 # Binary search between lo and hi bounds.
20003 while test "x$ac_lo" != "x$ac_hi"; do
20004 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20005 cat >conftest.$ac_ext <<_ACEOF
20008 cat confdefs.h >>conftest.$ac_ext
20009 cat >>conftest.$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 $ac_includes_default
20012 typedef size_t ac__type_sizeof_;
20016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20023 rm -f conftest.$ac_objext
20024 if { (ac_try="$ac_compile"
20025 case "(($ac_try" in
20026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20027 *) ac_try_echo=$ac_try;;
20029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20030 (eval "$ac_compile") 2>conftest.er1
20032 grep -v '^ *+' conftest.er1 >conftest.err
20034 cat conftest.err >&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); } && {
20037 test -z "$ac_c_werror_flag" ||
20038 test ! -s conftest.err
20039 } && test -s conftest.$ac_objext; then
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20045 ac_lo=`expr '(' $ac_mid ')' + 1`
20048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20051 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20052 '') if test "$ac_cv_type_size_t" = yes; then
20053 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20054 See \`config.log' for more details." >&5
20055 echo "$as_me: error: cannot compute sizeof (size_t)
20056 See \`config.log' for more details." >&2;}
20057 { (exit 77); exit 77; }; }
20059 ac_cv_sizeof_size_t=0
20063 cat >conftest.$ac_ext <<_ACEOF
20066 cat confdefs.h >>conftest.$ac_ext
20067 cat >>conftest.$ac_ext <<_ACEOF
20068 /* end confdefs.h. */
20069 $ac_includes_default
20070 typedef size_t ac__type_sizeof_;
20071 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20072 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20074 #include <stdlib.h>
20079 FILE *f = fopen ("conftest.val", "w");
20082 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20084 long int i = longval ();
20085 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20087 fprintf (f, "%ld\n", i);
20091 unsigned long int i = ulongval ();
20092 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20094 fprintf (f, "%lu\n", i);
20096 return ferror (f) || fclose (f) != 0;
20102 rm -f conftest$ac_exeext
20103 if { (ac_try="$ac_link"
20104 case "(($ac_try" in
20105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20106 *) ac_try_echo=$ac_try;;
20108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20109 (eval "$ac_link") 2>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20113 { (case "(($ac_try" in
20114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20115 *) ac_try_echo=$ac_try;;
20117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20118 (eval "$ac_try") 2>&5
20120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20121 (exit $ac_status); }; }; then
20122 ac_cv_sizeof_size_t=`cat conftest.val`
20124 echo "$as_me: program exited with status $ac_status" >&5
20125 echo "$as_me: failed program was:" >&5
20126 sed 's/^/| /' conftest.$ac_ext >&5
20128 ( exit $ac_status )
20129 if test "$ac_cv_type_size_t" = yes; then
20130 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20131 See \`config.log' for more details." >&5
20132 echo "$as_me: error: cannot compute sizeof (size_t)
20133 See \`config.log' for more details." >&2;}
20134 { (exit 77); exit 77; }; }
20136 ac_cv_sizeof_size_t=0
20139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20143 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20144 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20148 cat >>confdefs.h <<_ACEOF
20149 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20156 { echo "$as_me:$LINENO: checking for long long" >&5
20157 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20158 if test "${ac_cv_type_long_long+set}" = set; then
20159 echo $ECHO_N "(cached) $ECHO_C" >&6
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 long long ac__type_new_;
20172 if ((ac__type_new_ *) 0)
20174 if (sizeof (ac__type_new_))
20180 rm -f conftest.$ac_objext
20181 if { (ac_try="$ac_compile"
20182 case "(($ac_try" in
20183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20184 *) ac_try_echo=$ac_try;;
20186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20187 (eval "$ac_compile") 2>conftest.er1
20189 grep -v '^ *+' conftest.er1 >conftest.err
20191 cat conftest.err >&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); } && {
20194 test -z "$ac_c_werror_flag" ||
20195 test ! -s conftest.err
20196 } && test -s conftest.$ac_objext; then
20197 ac_cv_type_long_long=yes
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.$ac_ext >&5
20202 ac_cv_type_long_long=no
20205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20207 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20208 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20210 # The cast to long int works around a bug in the HP C Compiler
20211 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20212 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20213 # This bug is HP SR number 8606223364.
20214 { echo "$as_me:$LINENO: checking size of long long" >&5
20215 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20216 if test "${ac_cv_sizeof_long_long+set}" = set; then
20217 echo $ECHO_N "(cached) $ECHO_C" >&6
20219 if test "$cross_compiling" = yes; then
20220 # Depending upon the size, compute the lo and hi bounds.
20221 cat >conftest.$ac_ext <<_ACEOF
20224 cat confdefs.h >>conftest.$ac_ext
20225 cat >>conftest.$ac_ext <<_ACEOF
20226 /* end confdefs.h. */
20227 $ac_includes_default
20228 typedef long long ac__type_sizeof_;
20232 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20239 rm -f conftest.$ac_objext
20240 if { (ac_try="$ac_compile"
20241 case "(($ac_try" in
20242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20243 *) ac_try_echo=$ac_try;;
20245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20246 (eval "$ac_compile") 2>conftest.er1
20248 grep -v '^ *+' conftest.er1 >conftest.err
20250 cat conftest.err >&5
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); } && {
20253 test -z "$ac_c_werror_flag" ||
20254 test ! -s conftest.err
20255 } && test -s conftest.$ac_objext; then
20258 cat >conftest.$ac_ext <<_ACEOF
20261 cat confdefs.h >>conftest.$ac_ext
20262 cat >>conftest.$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20264 $ac_includes_default
20265 typedef long long ac__type_sizeof_;
20269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20276 rm -f conftest.$ac_objext
20277 if { (ac_try="$ac_compile"
20278 case "(($ac_try" in
20279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20280 *) ac_try_echo=$ac_try;;
20282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20283 (eval "$ac_compile") 2>conftest.er1
20285 grep -v '^ *+' conftest.er1 >conftest.err
20287 cat conftest.err >&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } && {
20290 test -z "$ac_c_werror_flag" ||
20291 test ! -s conftest.err
20292 } && test -s conftest.$ac_objext; then
20293 ac_hi=$ac_mid; break
20295 echo "$as_me: failed program was:" >&5
20296 sed 's/^/| /' conftest.$ac_ext >&5
20298 ac_lo=`expr $ac_mid + 1`
20299 if test $ac_lo -le $ac_mid; then
20303 ac_mid=`expr 2 '*' $ac_mid + 1`
20306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20309 echo "$as_me: failed program was:" >&5
20310 sed 's/^/| /' conftest.$ac_ext >&5
20312 cat >conftest.$ac_ext <<_ACEOF
20315 cat confdefs.h >>conftest.$ac_ext
20316 cat >>conftest.$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20318 $ac_includes_default
20319 typedef long long ac__type_sizeof_;
20323 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20330 rm -f conftest.$ac_objext
20331 if { (ac_try="$ac_compile"
20332 case "(($ac_try" in
20333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20334 *) ac_try_echo=$ac_try;;
20336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20337 (eval "$ac_compile") 2>conftest.er1
20339 grep -v '^ *+' conftest.er1 >conftest.err
20341 cat conftest.err >&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); } && {
20344 test -z "$ac_c_werror_flag" ||
20345 test ! -s conftest.err
20346 } && test -s conftest.$ac_objext; then
20349 cat >conftest.$ac_ext <<_ACEOF
20352 cat confdefs.h >>conftest.$ac_ext
20353 cat >>conftest.$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 $ac_includes_default
20356 typedef long long ac__type_sizeof_;
20360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20367 rm -f conftest.$ac_objext
20368 if { (ac_try="$ac_compile"
20369 case "(($ac_try" in
20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_compile") 2>conftest.er1
20376 grep -v '^ *+' conftest.er1 >conftest.err
20378 cat conftest.err >&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } && {
20381 test -z "$ac_c_werror_flag" ||
20382 test ! -s conftest.err
20383 } && test -s conftest.$ac_objext; then
20384 ac_lo=$ac_mid; break
20386 echo "$as_me: failed program was:" >&5
20387 sed 's/^/| /' conftest.$ac_ext >&5
20389 ac_hi=`expr '(' $ac_mid ')' - 1`
20390 if test $ac_mid -le $ac_hi; then
20394 ac_mid=`expr 2 '*' $ac_mid`
20397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20400 echo "$as_me: failed program was:" >&5
20401 sed 's/^/| /' conftest.$ac_ext >&5
20406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20410 # Binary search between lo and hi bounds.
20411 while test "x$ac_lo" != "x$ac_hi"; do
20412 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20413 cat >conftest.$ac_ext <<_ACEOF
20416 cat confdefs.h >>conftest.$ac_ext
20417 cat >>conftest.$ac_ext <<_ACEOF
20418 /* end confdefs.h. */
20419 $ac_includes_default
20420 typedef long long ac__type_sizeof_;
20424 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20431 rm -f conftest.$ac_objext
20432 if { (ac_try="$ac_compile"
20433 case "(($ac_try" in
20434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20435 *) ac_try_echo=$ac_try;;
20437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20438 (eval "$ac_compile") 2>conftest.er1
20440 grep -v '^ *+' conftest.er1 >conftest.err
20442 cat conftest.err >&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); } && {
20445 test -z "$ac_c_werror_flag" ||
20446 test ! -s conftest.err
20447 } && test -s conftest.$ac_objext; then
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.$ac_ext >&5
20453 ac_lo=`expr '(' $ac_mid ')' + 1`
20456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20459 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20460 '') if test "$ac_cv_type_long_long" = yes; then
20461 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20462 See \`config.log' for more details." >&5
20463 echo "$as_me: error: cannot compute sizeof (long long)
20464 See \`config.log' for more details." >&2;}
20465 { (exit 77); exit 77; }; }
20467 ac_cv_sizeof_long_long=0
20471 cat >conftest.$ac_ext <<_ACEOF
20474 cat confdefs.h >>conftest.$ac_ext
20475 cat >>conftest.$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20477 $ac_includes_default
20478 typedef long long ac__type_sizeof_;
20479 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20480 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20482 #include <stdlib.h>
20487 FILE *f = fopen ("conftest.val", "w");
20490 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20492 long int i = longval ();
20493 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20495 fprintf (f, "%ld\n", i);
20499 unsigned long int i = ulongval ();
20500 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20502 fprintf (f, "%lu\n", i);
20504 return ferror (f) || fclose (f) != 0;
20510 rm -f conftest$ac_exeext
20511 if { (ac_try="$ac_link"
20512 case "(($ac_try" in
20513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20514 *) ac_try_echo=$ac_try;;
20516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20517 (eval "$ac_link") 2>&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20521 { (case "(($ac_try" in
20522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20523 *) ac_try_echo=$ac_try;;
20525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20526 (eval "$ac_try") 2>&5
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); }; }; then
20530 ac_cv_sizeof_long_long=`cat conftest.val`
20532 echo "$as_me: program exited with status $ac_status" >&5
20533 echo "$as_me: failed program was:" >&5
20534 sed 's/^/| /' conftest.$ac_ext >&5
20536 ( exit $ac_status )
20537 if test "$ac_cv_type_long_long" = yes; then
20538 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20539 See \`config.log' for more details." >&5
20540 echo "$as_me: error: cannot compute sizeof (long long)
20541 See \`config.log' for more details." >&2;}
20542 { (exit 77); exit 77; }; }
20544 ac_cv_sizeof_long_long=0
20547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20551 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20552 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20556 cat >>confdefs.h <<_ACEOF
20557 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20563 { echo "$as_me:$LINENO: checking for long long" >&5
20564 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20565 if test "${ac_cv_type_long_long+set}" = set; then
20566 echo $ECHO_N "(cached) $ECHO_C" >&6
20568 cat >conftest.$ac_ext <<_ACEOF
20571 cat confdefs.h >>conftest.$ac_ext
20572 cat >>conftest.$ac_ext <<_ACEOF
20573 /* end confdefs.h. */
20574 $ac_includes_default
20575 typedef long long ac__type_new_;
20579 if ((ac__type_new_ *) 0)
20581 if (sizeof (ac__type_new_))
20587 rm -f conftest.$ac_objext
20588 if { (ac_try="$ac_compile"
20589 case "(($ac_try" in
20590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20591 *) ac_try_echo=$ac_try;;
20593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20594 (eval "$ac_compile") 2>conftest.er1
20596 grep -v '^ *+' conftest.er1 >conftest.err
20598 cat conftest.err >&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } && {
20601 test -z "$ac_c_werror_flag" ||
20602 test ! -s conftest.err
20603 } && test -s conftest.$ac_objext; then
20604 ac_cv_type_long_long=yes
20606 echo "$as_me: failed program was:" >&5
20607 sed 's/^/| /' conftest.$ac_ext >&5
20609 ac_cv_type_long_long=no
20612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20614 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20615 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20617 # The cast to long int works around a bug in the HP C Compiler
20618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20619 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20620 # This bug is HP SR number 8606223364.
20621 { echo "$as_me:$LINENO: checking size of long long" >&5
20622 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20623 if test "${ac_cv_sizeof_long_long+set}" = set; then
20624 echo $ECHO_N "(cached) $ECHO_C" >&6
20626 if test "$cross_compiling" = yes; then
20627 # Depending upon the size, compute the lo and hi bounds.
20628 cat >conftest.$ac_ext <<_ACEOF
20631 cat confdefs.h >>conftest.$ac_ext
20632 cat >>conftest.$ac_ext <<_ACEOF
20633 /* end confdefs.h. */
20634 $ac_includes_default
20635 typedef long long ac__type_sizeof_;
20639 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20646 rm -f conftest.$ac_objext
20647 if { (ac_try="$ac_compile"
20648 case "(($ac_try" in
20649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20650 *) ac_try_echo=$ac_try;;
20652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20653 (eval "$ac_compile") 2>conftest.er1
20655 grep -v '^ *+' conftest.er1 >conftest.err
20657 cat conftest.err >&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); } && {
20660 test -z "$ac_c_werror_flag" ||
20661 test ! -s conftest.err
20662 } && test -s conftest.$ac_objext; then
20665 cat >conftest.$ac_ext <<_ACEOF
20668 cat confdefs.h >>conftest.$ac_ext
20669 cat >>conftest.$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20671 $ac_includes_default
20672 typedef long long ac__type_sizeof_;
20676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20683 rm -f conftest.$ac_objext
20684 if { (ac_try="$ac_compile"
20685 case "(($ac_try" in
20686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20687 *) ac_try_echo=$ac_try;;
20689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20690 (eval "$ac_compile") 2>conftest.er1
20692 grep -v '^ *+' conftest.er1 >conftest.err
20694 cat conftest.err >&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } && {
20697 test -z "$ac_c_werror_flag" ||
20698 test ! -s conftest.err
20699 } && test -s conftest.$ac_objext; then
20700 ac_hi=$ac_mid; break
20702 echo "$as_me: failed program was:" >&5
20703 sed 's/^/| /' conftest.$ac_ext >&5
20705 ac_lo=`expr $ac_mid + 1`
20706 if test $ac_lo -le $ac_mid; then
20710 ac_mid=`expr 2 '*' $ac_mid + 1`
20713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20716 echo "$as_me: failed program was:" >&5
20717 sed 's/^/| /' conftest.$ac_ext >&5
20719 cat >conftest.$ac_ext <<_ACEOF
20722 cat confdefs.h >>conftest.$ac_ext
20723 cat >>conftest.$ac_ext <<_ACEOF
20724 /* end confdefs.h. */
20725 $ac_includes_default
20726 typedef long long ac__type_sizeof_;
20730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20737 rm -f conftest.$ac_objext
20738 if { (ac_try="$ac_compile"
20739 case "(($ac_try" in
20740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20741 *) ac_try_echo=$ac_try;;
20743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20744 (eval "$ac_compile") 2>conftest.er1
20746 grep -v '^ *+' conftest.er1 >conftest.err
20748 cat conftest.err >&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } && {
20751 test -z "$ac_c_werror_flag" ||
20752 test ! -s conftest.err
20753 } && test -s conftest.$ac_objext; then
20756 cat >conftest.$ac_ext <<_ACEOF
20759 cat confdefs.h >>conftest.$ac_ext
20760 cat >>conftest.$ac_ext <<_ACEOF
20761 /* end confdefs.h. */
20762 $ac_includes_default
20763 typedef long long ac__type_sizeof_;
20767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20774 rm -f conftest.$ac_objext
20775 if { (ac_try="$ac_compile"
20776 case "(($ac_try" in
20777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20778 *) ac_try_echo=$ac_try;;
20780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20781 (eval "$ac_compile") 2>conftest.er1
20783 grep -v '^ *+' conftest.er1 >conftest.err
20785 cat conftest.err >&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } && {
20788 test -z "$ac_c_werror_flag" ||
20789 test ! -s conftest.err
20790 } && test -s conftest.$ac_objext; then
20791 ac_lo=$ac_mid; break
20793 echo "$as_me: failed program was:" >&5
20794 sed 's/^/| /' conftest.$ac_ext >&5
20796 ac_hi=`expr '(' $ac_mid ')' - 1`
20797 if test $ac_mid -le $ac_hi; then
20801 ac_mid=`expr 2 '*' $ac_mid`
20804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20807 echo "$as_me: failed program was:" >&5
20808 sed 's/^/| /' conftest.$ac_ext >&5
20813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20817 # Binary search between lo and hi bounds.
20818 while test "x$ac_lo" != "x$ac_hi"; do
20819 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 long long ac__type_sizeof_;
20831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20838 rm -f conftest.$ac_objext
20839 if { (ac_try="$ac_compile"
20840 case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_compile") 2>conftest.er1
20847 grep -v '^ *+' conftest.er1 >conftest.err
20849 cat conftest.err >&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest.$ac_objext; then
20857 echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.$ac_ext >&5
20860 ac_lo=`expr '(' $ac_mid ')' + 1`
20863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20866 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20867 '') if test "$ac_cv_type_long_long" = yes; then
20868 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20869 See \`config.log' for more details." >&5
20870 echo "$as_me: error: cannot compute sizeof (long long)
20871 See \`config.log' for more details." >&2;}
20872 { (exit 77); exit 77; }; }
20874 ac_cv_sizeof_long_long=0
20878 cat >conftest.$ac_ext <<_ACEOF
20881 cat confdefs.h >>conftest.$ac_ext
20882 cat >>conftest.$ac_ext <<_ACEOF
20883 /* end confdefs.h. */
20884 $ac_includes_default
20885 typedef long long ac__type_sizeof_;
20886 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20887 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20889 #include <stdlib.h>
20894 FILE *f = fopen ("conftest.val", "w");
20897 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20899 long int i = longval ();
20900 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20902 fprintf (f, "%ld\n", i);
20906 unsigned long int i = ulongval ();
20907 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20909 fprintf (f, "%lu\n", i);
20911 return ferror (f) || fclose (f) != 0;
20917 rm -f conftest$ac_exeext
20918 if { (ac_try="$ac_link"
20919 case "(($ac_try" in
20920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20921 *) ac_try_echo=$ac_try;;
20923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20924 (eval "$ac_link") 2>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20928 { (case "(($ac_try" in
20929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20930 *) ac_try_echo=$ac_try;;
20932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20933 (eval "$ac_try") 2>&5
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); }; }; then
20937 ac_cv_sizeof_long_long=`cat conftest.val`
20939 echo "$as_me: program exited with status $ac_status" >&5
20940 echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.$ac_ext >&5
20943 ( exit $ac_status )
20944 if test "$ac_cv_type_long_long" = yes; then
20945 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20946 See \`config.log' for more details." >&5
20947 echo "$as_me: error: cannot compute sizeof (long long)
20948 See \`config.log' for more details." >&2;}
20949 { (exit 77); exit 77; }; }
20951 ac_cv_sizeof_long_long=0
20954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20958 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20959 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20963 cat >>confdefs.h <<_ACEOF
20964 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20968 if test "$ac_cv_sizeof_long_long" != "0"; then
20969 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20973 { echo "$as_me:$LINENO: checking for long long" >&5
20974 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20975 if test "${ac_cv_type_long_long+set}" = set; then
20976 echo $ECHO_N "(cached) $ECHO_C" >&6
20978 cat >conftest.$ac_ext <<_ACEOF
20981 cat confdefs.h >>conftest.$ac_ext
20982 cat >>conftest.$ac_ext <<_ACEOF
20983 /* end confdefs.h. */
20984 $ac_includes_default
20985 typedef long long ac__type_new_;
20989 if ((ac__type_new_ *) 0)
20991 if (sizeof (ac__type_new_))
20997 rm -f conftest.$ac_objext
20998 if { (ac_try="$ac_compile"
20999 case "(($ac_try" in
21000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21001 *) ac_try_echo=$ac_try;;
21003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21004 (eval "$ac_compile") 2>conftest.er1
21006 grep -v '^ *+' conftest.er1 >conftest.err
21008 cat conftest.err >&5
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); } && {
21011 test -z "$ac_c_werror_flag" ||
21012 test ! -s conftest.err
21013 } && test -s conftest.$ac_objext; then
21014 ac_cv_type_long_long=yes
21016 echo "$as_me: failed program was:" >&5
21017 sed 's/^/| /' conftest.$ac_ext >&5
21019 ac_cv_type_long_long=no
21022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21024 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21025 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21027 # The cast to long int works around a bug in the HP C Compiler
21028 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21029 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21030 # This bug is HP SR number 8606223364.
21031 { echo "$as_me:$LINENO: checking size of long long" >&5
21032 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21033 if test "${ac_cv_sizeof_long_long+set}" = set; then
21034 echo $ECHO_N "(cached) $ECHO_C" >&6
21036 if test "$cross_compiling" = yes; then
21037 # Depending upon the size, compute the lo and hi bounds.
21038 cat >conftest.$ac_ext <<_ACEOF
21041 cat confdefs.h >>conftest.$ac_ext
21042 cat >>conftest.$ac_ext <<_ACEOF
21043 /* end confdefs.h. */
21044 $ac_includes_default
21045 typedef long long ac__type_sizeof_;
21049 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21056 rm -f conftest.$ac_objext
21057 if { (ac_try="$ac_compile"
21058 case "(($ac_try" in
21059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21060 *) ac_try_echo=$ac_try;;
21062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21063 (eval "$ac_compile") 2>conftest.er1
21065 grep -v '^ *+' conftest.er1 >conftest.err
21067 cat conftest.err >&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); } && {
21070 test -z "$ac_c_werror_flag" ||
21071 test ! -s conftest.err
21072 } && test -s conftest.$ac_objext; then
21075 cat >conftest.$ac_ext <<_ACEOF
21078 cat confdefs.h >>conftest.$ac_ext
21079 cat >>conftest.$ac_ext <<_ACEOF
21080 /* end confdefs.h. */
21081 $ac_includes_default
21082 typedef long long ac__type_sizeof_;
21086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21093 rm -f conftest.$ac_objext
21094 if { (ac_try="$ac_compile"
21095 case "(($ac_try" in
21096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21097 *) ac_try_echo=$ac_try;;
21099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21100 (eval "$ac_compile") 2>conftest.er1
21102 grep -v '^ *+' conftest.er1 >conftest.err
21104 cat conftest.err >&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } && {
21107 test -z "$ac_c_werror_flag" ||
21108 test ! -s conftest.err
21109 } && test -s conftest.$ac_objext; then
21110 ac_hi=$ac_mid; break
21112 echo "$as_me: failed program was:" >&5
21113 sed 's/^/| /' conftest.$ac_ext >&5
21115 ac_lo=`expr $ac_mid + 1`
21116 if test $ac_lo -le $ac_mid; then
21120 ac_mid=`expr 2 '*' $ac_mid + 1`
21123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21126 echo "$as_me: failed program was:" >&5
21127 sed 's/^/| /' conftest.$ac_ext >&5
21129 cat >conftest.$ac_ext <<_ACEOF
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135 $ac_includes_default
21136 typedef long long ac__type_sizeof_;
21140 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21147 rm -f conftest.$ac_objext
21148 if { (ac_try="$ac_compile"
21149 case "(($ac_try" in
21150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21151 *) ac_try_echo=$ac_try;;
21153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21154 (eval "$ac_compile") 2>conftest.er1
21156 grep -v '^ *+' conftest.er1 >conftest.err
21158 cat conftest.err >&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); } && {
21161 test -z "$ac_c_werror_flag" ||
21162 test ! -s conftest.err
21163 } && test -s conftest.$ac_objext; then
21166 cat >conftest.$ac_ext <<_ACEOF
21169 cat confdefs.h >>conftest.$ac_ext
21170 cat >>conftest.$ac_ext <<_ACEOF
21171 /* end confdefs.h. */
21172 $ac_includes_default
21173 typedef long long ac__type_sizeof_;
21177 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21184 rm -f conftest.$ac_objext
21185 if { (ac_try="$ac_compile"
21186 case "(($ac_try" in
21187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21188 *) ac_try_echo=$ac_try;;
21190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21191 (eval "$ac_compile") 2>conftest.er1
21193 grep -v '^ *+' conftest.er1 >conftest.err
21195 cat conftest.err >&5
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); } && {
21198 test -z "$ac_c_werror_flag" ||
21199 test ! -s conftest.err
21200 } && test -s conftest.$ac_objext; then
21201 ac_lo=$ac_mid; break
21203 echo "$as_me: failed program was:" >&5
21204 sed 's/^/| /' conftest.$ac_ext >&5
21206 ac_hi=`expr '(' $ac_mid ')' - 1`
21207 if test $ac_mid -le $ac_hi; then
21211 ac_mid=`expr 2 '*' $ac_mid`
21214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21217 echo "$as_me: failed program was:" >&5
21218 sed 's/^/| /' conftest.$ac_ext >&5
21223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21227 # Binary search between lo and hi bounds.
21228 while test "x$ac_lo" != "x$ac_hi"; do
21229 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21230 cat >conftest.$ac_ext <<_ACEOF
21233 cat confdefs.h >>conftest.$ac_ext
21234 cat >>conftest.$ac_ext <<_ACEOF
21235 /* end confdefs.h. */
21236 $ac_includes_default
21237 typedef long long ac__type_sizeof_;
21241 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21248 rm -f conftest.$ac_objext
21249 if { (ac_try="$ac_compile"
21250 case "(($ac_try" in
21251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21252 *) ac_try_echo=$ac_try;;
21254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21255 (eval "$ac_compile") 2>conftest.er1
21257 grep -v '^ *+' conftest.er1 >conftest.err
21259 cat conftest.err >&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); } && {
21262 test -z "$ac_c_werror_flag" ||
21263 test ! -s conftest.err
21264 } && test -s conftest.$ac_objext; then
21267 echo "$as_me: failed program was:" >&5
21268 sed 's/^/| /' conftest.$ac_ext >&5
21270 ac_lo=`expr '(' $ac_mid ')' + 1`
21273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21276 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21277 '') if test "$ac_cv_type_long_long" = yes; then
21278 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21279 See \`config.log' for more details." >&5
21280 echo "$as_me: error: cannot compute sizeof (long long)
21281 See \`config.log' for more details." >&2;}
21282 { (exit 77); exit 77; }; }
21284 ac_cv_sizeof_long_long=0
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_;
21296 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21297 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21299 #include <stdlib.h>
21304 FILE *f = fopen ("conftest.val", "w");
21307 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21309 long int i = longval ();
21310 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21312 fprintf (f, "%ld\n", i);
21316 unsigned long int i = ulongval ();
21317 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21319 fprintf (f, "%lu\n", i);
21321 return ferror (f) || fclose (f) != 0;
21327 rm -f conftest$ac_exeext
21328 if { (ac_try="$ac_link"
21329 case "(($ac_try" in
21330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21331 *) ac_try_echo=$ac_try;;
21333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21334 (eval "$ac_link") 2>&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21338 { (case "(($ac_try" in
21339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21340 *) ac_try_echo=$ac_try;;
21342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21343 (eval "$ac_try") 2>&5
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); }; }; then
21347 ac_cv_sizeof_long_long=`cat conftest.val`
21349 echo "$as_me: program exited with status $ac_status" >&5
21350 echo "$as_me: failed program was:" >&5
21351 sed 's/^/| /' conftest.$ac_ext >&5
21353 ( exit $ac_status )
21354 if test "$ac_cv_type_long_long" = yes; then
21355 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21356 See \`config.log' for more details." >&5
21357 echo "$as_me: error: cannot compute sizeof (long long)
21358 See \`config.log' for more details." >&2;}
21359 { (exit 77); exit 77; }; }
21361 ac_cv_sizeof_long_long=0
21364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21368 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21369 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21373 cat >>confdefs.h <<_ACEOF
21374 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21380 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21381 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21382 if test "${ac_cv_type_wchar_t+set}" = set; then
21383 echo $ECHO_N "(cached) $ECHO_C" >&6
21385 cat >conftest.$ac_ext <<_ACEOF
21388 cat confdefs.h >>conftest.$ac_ext
21389 cat >>conftest.$ac_ext <<_ACEOF
21390 /* end confdefs.h. */
21392 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21393 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21394 # error "fake wchar_t"
21396 #ifdef HAVE_WCHAR_H
21398 # include <stddef.h>
21400 # include <wchar.h>
21402 #ifdef HAVE_STDLIB_H
21403 # include <stdlib.h>
21409 typedef wchar_t ac__type_new_;
21413 if ((ac__type_new_ *) 0)
21415 if (sizeof (ac__type_new_))
21421 rm -f conftest.$ac_objext
21422 if { (ac_try="$ac_compile"
21423 case "(($ac_try" in
21424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21425 *) ac_try_echo=$ac_try;;
21427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21428 (eval "$ac_compile") 2>conftest.er1
21430 grep -v '^ *+' conftest.er1 >conftest.err
21432 cat conftest.err >&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); } && {
21435 test -z "$ac_c_werror_flag" ||
21436 test ! -s conftest.err
21437 } && test -s conftest.$ac_objext; then
21438 ac_cv_type_wchar_t=yes
21440 echo "$as_me: failed program was:" >&5
21441 sed 's/^/| /' conftest.$ac_ext >&5
21443 ac_cv_type_wchar_t=no
21446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21448 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21449 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21451 # The cast to long int works around a bug in the HP C Compiler
21452 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21453 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21454 # This bug is HP SR number 8606223364.
21455 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21456 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21457 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21458 echo $ECHO_N "(cached) $ECHO_C" >&6
21460 if test "$cross_compiling" = yes; then
21461 # Depending upon the size, compute the lo and hi bounds.
21462 cat >conftest.$ac_ext <<_ACEOF
21465 cat confdefs.h >>conftest.$ac_ext
21466 cat >>conftest.$ac_ext <<_ACEOF
21467 /* end confdefs.h. */
21469 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21470 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21471 # error "fake wchar_t"
21473 #ifdef HAVE_WCHAR_H
21475 # include <stddef.h>
21477 # include <wchar.h>
21479 #ifdef HAVE_STDLIB_H
21480 # include <stdlib.h>
21486 typedef wchar_t ac__type_sizeof_;
21490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21497 rm -f conftest.$ac_objext
21498 if { (ac_try="$ac_compile"
21499 case "(($ac_try" in
21500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_compile") 2>conftest.er1
21506 grep -v '^ *+' conftest.er1 >conftest.err
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } && {
21511 test -z "$ac_c_werror_flag" ||
21512 test ! -s conftest.err
21513 } && test -s conftest.$ac_objext; then
21516 cat >conftest.$ac_ext <<_ACEOF
21519 cat confdefs.h >>conftest.$ac_ext
21520 cat >>conftest.$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21523 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21524 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21525 # error "fake wchar_t"
21527 #ifdef HAVE_WCHAR_H
21529 # include <stddef.h>
21531 # include <wchar.h>
21533 #ifdef HAVE_STDLIB_H
21534 # include <stdlib.h>
21540 typedef wchar_t ac__type_sizeof_;
21544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21551 rm -f conftest.$ac_objext
21552 if { (ac_try="$ac_compile"
21553 case "(($ac_try" in
21554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_compile") 2>conftest.er1
21560 grep -v '^ *+' conftest.er1 >conftest.err
21562 cat conftest.err >&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); } && {
21565 test -z "$ac_c_werror_flag" ||
21566 test ! -s conftest.err
21567 } && test -s conftest.$ac_objext; then
21568 ac_hi=$ac_mid; break
21570 echo "$as_me: failed program was:" >&5
21571 sed 's/^/| /' conftest.$ac_ext >&5
21573 ac_lo=`expr $ac_mid + 1`
21574 if test $ac_lo -le $ac_mid; then
21578 ac_mid=`expr 2 '*' $ac_mid + 1`
21581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21584 echo "$as_me: failed program was:" >&5
21585 sed 's/^/| /' conftest.$ac_ext >&5
21587 cat >conftest.$ac_ext <<_ACEOF
21590 cat confdefs.h >>conftest.$ac_ext
21591 cat >>conftest.$ac_ext <<_ACEOF
21592 /* end confdefs.h. */
21594 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21595 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21596 # error "fake wchar_t"
21598 #ifdef HAVE_WCHAR_H
21600 # include <stddef.h>
21602 # include <wchar.h>
21604 #ifdef HAVE_STDLIB_H
21605 # include <stdlib.h>
21611 typedef wchar_t ac__type_sizeof_;
21615 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21622 rm -f conftest.$ac_objext
21623 if { (ac_try="$ac_compile"
21624 case "(($ac_try" in
21625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21626 *) ac_try_echo=$ac_try;;
21628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21629 (eval "$ac_compile") 2>conftest.er1
21631 grep -v '^ *+' conftest.er1 >conftest.err
21633 cat conftest.err >&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); } && {
21636 test -z "$ac_c_werror_flag" ||
21637 test ! -s conftest.err
21638 } && test -s conftest.$ac_objext; then
21641 cat >conftest.$ac_ext <<_ACEOF
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21648 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21649 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21650 # error "fake wchar_t"
21652 #ifdef HAVE_WCHAR_H
21654 # include <stddef.h>
21656 # include <wchar.h>
21658 #ifdef HAVE_STDLIB_H
21659 # include <stdlib.h>
21665 typedef wchar_t ac__type_sizeof_;
21669 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21676 rm -f conftest.$ac_objext
21677 if { (ac_try="$ac_compile"
21678 case "(($ac_try" in
21679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21680 *) ac_try_echo=$ac_try;;
21682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21683 (eval "$ac_compile") 2>conftest.er1
21685 grep -v '^ *+' conftest.er1 >conftest.err
21687 cat conftest.err >&5
21688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 (exit $ac_status); } && {
21690 test -z "$ac_c_werror_flag" ||
21691 test ! -s conftest.err
21692 } && test -s conftest.$ac_objext; then
21693 ac_lo=$ac_mid; break
21695 echo "$as_me: failed program was:" >&5
21696 sed 's/^/| /' conftest.$ac_ext >&5
21698 ac_hi=`expr '(' $ac_mid ')' - 1`
21699 if test $ac_mid -le $ac_hi; then
21703 ac_mid=`expr 2 '*' $ac_mid`
21706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21709 echo "$as_me: failed program was:" >&5
21710 sed 's/^/| /' conftest.$ac_ext >&5
21715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21719 # Binary search between lo and hi bounds.
21720 while test "x$ac_lo" != "x$ac_hi"; do
21721 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21722 cat >conftest.$ac_ext <<_ACEOF
21725 cat confdefs.h >>conftest.$ac_ext
21726 cat >>conftest.$ac_ext <<_ACEOF
21727 /* end confdefs.h. */
21729 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21730 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21731 # error "fake wchar_t"
21733 #ifdef HAVE_WCHAR_H
21735 # include <stddef.h>
21737 # include <wchar.h>
21739 #ifdef HAVE_STDLIB_H
21740 # include <stdlib.h>
21746 typedef wchar_t ac__type_sizeof_;
21750 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21757 rm -f conftest.$ac_objext
21758 if { (ac_try="$ac_compile"
21759 case "(($ac_try" in
21760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21761 *) ac_try_echo=$ac_try;;
21763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21764 (eval "$ac_compile") 2>conftest.er1
21766 grep -v '^ *+' conftest.er1 >conftest.err
21768 cat conftest.err >&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); } && {
21771 test -z "$ac_c_werror_flag" ||
21772 test ! -s conftest.err
21773 } && test -s conftest.$ac_objext; then
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.$ac_ext >&5
21779 ac_lo=`expr '(' $ac_mid ')' + 1`
21782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21785 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21786 '') if test "$ac_cv_type_wchar_t" = yes; then
21787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21788 See \`config.log' for more details." >&5
21789 echo "$as_me: error: cannot compute sizeof (wchar_t)
21790 See \`config.log' for more details." >&2;}
21791 { (exit 77); exit 77; }; }
21793 ac_cv_sizeof_wchar_t=0
21797 cat >conftest.$ac_ext <<_ACEOF
21800 cat confdefs.h >>conftest.$ac_ext
21801 cat >>conftest.$ac_ext <<_ACEOF
21802 /* end confdefs.h. */
21804 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21805 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21806 # error "fake wchar_t"
21808 #ifdef HAVE_WCHAR_H
21810 # include <stddef.h>
21812 # include <wchar.h>
21814 #ifdef HAVE_STDLIB_H
21815 # include <stdlib.h>
21821 typedef wchar_t ac__type_sizeof_;
21822 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21823 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21825 #include <stdlib.h>
21830 FILE *f = fopen ("conftest.val", "w");
21833 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21835 long int i = longval ();
21836 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21838 fprintf (f, "%ld\n", i);
21842 unsigned long int i = ulongval ();
21843 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21845 fprintf (f, "%lu\n", i);
21847 return ferror (f) || fclose (f) != 0;
21853 rm -f conftest$ac_exeext
21854 if { (ac_try="$ac_link"
21855 case "(($ac_try" in
21856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21857 *) ac_try_echo=$ac_try;;
21859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21860 (eval "$ac_link") 2>&5
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21864 { (case "(($ac_try" in
21865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21866 *) ac_try_echo=$ac_try;;
21868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21869 (eval "$ac_try") 2>&5
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); }; }; then
21873 ac_cv_sizeof_wchar_t=`cat conftest.val`
21875 echo "$as_me: program exited with status $ac_status" >&5
21876 echo "$as_me: failed program was:" >&5
21877 sed 's/^/| /' conftest.$ac_ext >&5
21879 ( exit $ac_status )
21880 if test "$ac_cv_type_wchar_t" = yes; then
21881 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21882 See \`config.log' for more details." >&5
21883 echo "$as_me: error: cannot compute sizeof (wchar_t)
21884 See \`config.log' for more details." >&2;}
21885 { (exit 77); exit 77; }; }
21887 ac_cv_sizeof_wchar_t=0
21890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21894 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21895 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
21899 cat >>confdefs.h <<_ACEOF
21900 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21904 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21910 { echo "$as_me:$LINENO: checking for va_copy" >&5
21911 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
21912 if test "${wx_cv_func_va_copy+set}" = set; then
21913 echo $ECHO_N "(cached) $ECHO_C" >&6
21916 cat >conftest.$ac_ext <<_ACEOF
21918 #include <stdarg.h>
21919 void foo(char *f, ...)
21933 rm -f conftest.$ac_objext conftest$ac_exeext
21934 if { (ac_try="$ac_link"
21935 case "(($ac_try" in
21936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21937 *) ac_try_echo=$ac_try;;
21939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21940 (eval "$ac_link") 2>conftest.er1
21942 grep -v '^ *+' conftest.er1 >conftest.err
21944 cat conftest.err >&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); } && {
21947 test -z "$ac_c_werror_flag" ||
21948 test ! -s conftest.err
21949 } && test -s conftest$ac_exeext &&
21950 $as_test_x conftest$ac_exeext; then
21951 wx_cv_func_va_copy=yes
21953 echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.$ac_ext >&5
21956 wx_cv_func_va_copy=no
21960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21961 conftest$ac_exeext conftest.$ac_ext
21965 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21966 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
21968 if test $wx_cv_func_va_copy = "yes"; then
21969 cat >>confdefs.h <<\_ACEOF
21970 #define HAVE_VA_COPY 1
21974 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21975 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
21976 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21977 echo $ECHO_N "(cached) $ECHO_C" >&6
21980 if test "$cross_compiling" = yes; then
21981 wx_cv_type_va_list_lvalue=yes
21984 cat >conftest.$ac_ext <<_ACEOF
21986 #include <stdarg.h>
21987 int foo(char *f, ...)
21992 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22000 return foo("hi", 17);
22003 rm -f conftest$ac_exeext
22004 if { (ac_try="$ac_link"
22005 case "(($ac_try" in
22006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_link") 2>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22014 { (case "(($ac_try" in
22015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22016 *) ac_try_echo=$ac_try;;
22018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22019 (eval "$ac_try") 2>&5
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); }; }; then
22023 wx_cv_type_va_list_lvalue=yes
22025 echo "$as_me: program exited with status $ac_status" >&5
22026 echo "$as_me: failed program was:" >&5
22027 sed 's/^/| /' conftest.$ac_ext >&5
22029 ( exit $ac_status )
22030 wx_cv_type_va_list_lvalue=no
22032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22039 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22040 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22042 if test $wx_cv_type_va_list_lvalue != "yes"; then
22043 cat >>confdefs.h <<\_ACEOF
22044 #define VA_LIST_IS_ARRAY 1
22050 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22052 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22053 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22054 if test "${wx_cv_have_variadic_macros+set}" = set; then
22055 echo $ECHO_N "(cached) $ECHO_C" >&6
22059 ac_cpp='$CXXCPP $CPPFLAGS'
22060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22064 cat >conftest.$ac_ext <<_ACEOF
22067 cat confdefs.h >>conftest.$ac_ext
22068 cat >>conftest.$ac_ext <<_ACEOF
22069 /* end confdefs.h. */
22072 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22078 test("%s %d %p", "test", 1, 0);
22085 rm -f conftest.$ac_objext
22086 if { (ac_try="$ac_compile"
22087 case "(($ac_try" in
22088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22089 *) ac_try_echo=$ac_try;;
22091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22092 (eval "$ac_compile") 2>conftest.er1
22094 grep -v '^ *+' conftest.er1 >conftest.err
22096 cat conftest.err >&5
22097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098 (exit $ac_status); } && {
22099 test -z "$ac_cxx_werror_flag" ||
22100 test ! -s conftest.err
22101 } && test -s conftest.$ac_objext; then
22102 wx_cv_have_variadic_macros=yes
22104 echo "$as_me: failed program was:" >&5
22105 sed 's/^/| /' conftest.$ac_ext >&5
22107 wx_cv_have_variadic_macros=no
22111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22113 ac_cpp='$CPP $CPPFLAGS'
22114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22121 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22122 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22124 if test $wx_cv_have_variadic_macros = "yes"; then
22125 cat >>confdefs.h <<\_ACEOF
22126 #define HAVE_VARIADIC_MACROS 1
22132 # Check whether --enable-largefile was given.
22133 if test "${enable_largefile+set}" = set; then
22134 enableval=$enable_largefile;
22137 if test "$enable_largefile" != no; then
22140 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22141 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22142 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22143 echo $ECHO_N "(cached) $ECHO_C" >&6
22146 cat >conftest.$ac_ext <<_ACEOF
22149 cat confdefs.h >>conftest.$ac_ext
22150 cat >>conftest.$ac_ext <<_ACEOF
22151 /* end confdefs.h. */
22152 #define _FILE_OFFSET_BITS 64
22153 #include <sys/types.h>
22158 unsigned int field: sizeof(off_t) == 8;
22165 rm -f conftest.$ac_objext
22166 if { (ac_try="$ac_compile"
22167 case "(($ac_try" in
22168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22169 *) ac_try_echo=$ac_try;;
22171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22172 (eval "$ac_compile") 2>conftest.er1
22174 grep -v '^ *+' conftest.er1 >conftest.err
22176 cat conftest.err >&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); } && {
22179 test -z "$ac_c_werror_flag" ||
22180 test ! -s conftest.err
22181 } && test -s conftest.$ac_objext; then
22182 ac_cv_sys_file_offset_bits=64
22184 echo "$as_me: failed program was:" >&5
22185 sed 's/^/| /' conftest.$ac_ext >&5
22187 ac_cv_sys_file_offset_bits=no
22190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22194 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22195 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22197 if test "$ac_cv_sys_file_offset_bits" != no; then
22199 cat >>confdefs.h <<_ACEOF
22200 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22205 if test "x$wx_largefile" != "xyes"; then
22207 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22208 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22209 if test "${ac_cv_sys_large_files+set}" = set; then
22210 echo $ECHO_N "(cached) $ECHO_C" >&6
22213 cat >conftest.$ac_ext <<_ACEOF
22216 cat confdefs.h >>conftest.$ac_ext
22217 cat >>conftest.$ac_ext <<_ACEOF
22218 /* end confdefs.h. */
22219 #define _LARGE_FILES 1
22220 #include <sys/types.h>
22225 unsigned int field: sizeof(off_t) == 8;
22232 rm -f conftest.$ac_objext
22233 if { (ac_try="$ac_compile"
22234 case "(($ac_try" in
22235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22236 *) ac_try_echo=$ac_try;;
22238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22239 (eval "$ac_compile") 2>conftest.er1
22241 grep -v '^ *+' conftest.er1 >conftest.err
22243 cat conftest.err >&5
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); } && {
22246 test -z "$ac_c_werror_flag" ||
22247 test ! -s conftest.err
22248 } && test -s conftest.$ac_objext; then
22249 ac_cv_sys_large_files=1
22251 echo "$as_me: failed program was:" >&5
22252 sed 's/^/| /' conftest.$ac_ext >&5
22254 ac_cv_sys_large_files=no
22257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22261 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22262 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22264 if test "$ac_cv_sys_large_files" != no; then
22266 cat >>confdefs.h <<_ACEOF
22267 #define _LARGE_FILES $ac_cv_sys_large_files
22274 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22275 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22276 if test "x$wx_largefile" = "xyes"; then
22277 cat >>confdefs.h <<\_ACEOF
22278 #define HAVE_LARGEFILE_SUPPORT 1
22282 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22283 echo "${ECHO_T}$wx_largefile" >&6; }
22287 if test "x$wx_largefile" = "xyes"; then
22288 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22289 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22291 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22292 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22293 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22294 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22295 echo $ECHO_N "(cached) $ECHO_C" >&6
22299 ac_cpp='$CXXCPP $CPPFLAGS'
22300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22304 cat >conftest.$ac_ext <<_ACEOF
22307 cat confdefs.h >>conftest.$ac_ext
22308 cat >>conftest.$ac_ext <<_ACEOF
22309 /* end confdefs.h. */
22315 #ifndef __STDC_EXT__
22323 rm -f conftest.$ac_objext
22324 if { (ac_try="$ac_compile"
22325 case "(($ac_try" in
22326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22327 *) ac_try_echo=$ac_try;;
22329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22330 (eval "$ac_compile") 2>conftest.er1
22332 grep -v '^ *+' conftest.er1 >conftest.err
22334 cat conftest.err >&5
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); } && {
22337 test -z "$ac_cxx_werror_flag" ||
22338 test ! -s conftest.err
22339 } && test -s conftest.$ac_objext; then
22340 wx_cv_STDC_EXT_required=no
22342 echo "$as_me: failed program was:" >&5
22343 sed 's/^/| /' conftest.$ac_ext >&5
22345 wx_cv_STDC_EXT_required=yes
22349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22351 ac_cpp='$CPP $CPPFLAGS'
22352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22359 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22360 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22361 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22362 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22366 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22368 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22369 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22370 if test "${ac_cv_sys_largefile_source+set}" = set; then
22371 echo $ECHO_N "(cached) $ECHO_C" >&6
22374 cat >conftest.$ac_ext <<_ACEOF
22377 cat confdefs.h >>conftest.$ac_ext
22378 cat >>conftest.$ac_ext <<_ACEOF
22379 /* end confdefs.h. */
22380 #include <sys/types.h> /* for off_t */
22385 int (*fp) (FILE *, off_t, int) = fseeko;
22386 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22391 rm -f conftest.$ac_objext conftest$ac_exeext
22392 if { (ac_try="$ac_link"
22393 case "(($ac_try" in
22394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22395 *) ac_try_echo=$ac_try;;
22397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22398 (eval "$ac_link") 2>conftest.er1
22400 grep -v '^ *+' conftest.er1 >conftest.err
22402 cat conftest.err >&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); } && {
22405 test -z "$ac_c_werror_flag" ||
22406 test ! -s conftest.err
22407 } && test -s conftest$ac_exeext &&
22408 $as_test_x conftest$ac_exeext; then
22409 ac_cv_sys_largefile_source=no; break
22411 echo "$as_me: failed program was:" >&5
22412 sed 's/^/| /' conftest.$ac_ext >&5
22417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22418 conftest$ac_exeext conftest.$ac_ext
22419 cat >conftest.$ac_ext <<_ACEOF
22422 cat confdefs.h >>conftest.$ac_ext
22423 cat >>conftest.$ac_ext <<_ACEOF
22424 /* end confdefs.h. */
22425 #define _LARGEFILE_SOURCE 1
22426 #include <sys/types.h> /* for off_t */
22431 int (*fp) (FILE *, off_t, int) = fseeko;
22432 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22437 rm -f conftest.$ac_objext conftest$ac_exeext
22438 if { (ac_try="$ac_link"
22439 case "(($ac_try" in
22440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22441 *) ac_try_echo=$ac_try;;
22443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22444 (eval "$ac_link") 2>conftest.er1
22446 grep -v '^ *+' conftest.er1 >conftest.err
22448 cat conftest.err >&5
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); } && {
22451 test -z "$ac_c_werror_flag" ||
22452 test ! -s conftest.err
22453 } && test -s conftest$ac_exeext &&
22454 $as_test_x conftest$ac_exeext; then
22455 ac_cv_sys_largefile_source=1; break
22457 echo "$as_me: failed program was:" >&5
22458 sed 's/^/| /' conftest.$ac_ext >&5
22463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22464 conftest$ac_exeext conftest.$ac_ext
22465 ac_cv_sys_largefile_source=unknown
22469 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22470 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22471 case $ac_cv_sys_largefile_source in #(
22474 cat >>confdefs.h <<_ACEOF
22475 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22481 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22482 # in glibc 2.1.3, but that breaks too many other things.
22483 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22484 if test $ac_cv_sys_largefile_source != unknown; then
22486 cat >>confdefs.h <<\_ACEOF
22487 #define HAVE_FSEEKO 1
22492 if test "$ac_cv_sys_largefile_source" != no; then
22493 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22497 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22498 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22499 if test "${ac_cv_c_bigendian+set}" = set; then
22500 echo $ECHO_N "(cached) $ECHO_C" >&6
22502 ac_cv_c_bigendian=unknown
22503 # See if sys/param.h defines the BYTE_ORDER macro.
22504 cat >conftest.$ac_ext <<_ACEOF
22507 cat confdefs.h >>conftest.$ac_ext
22508 cat >>conftest.$ac_ext <<_ACEOF
22509 /* end confdefs.h. */
22510 #include <sys/types.h>
22511 #include <sys/param.h>
22516 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22517 bogus endian macros
22523 rm -f conftest.$ac_objext
22524 if { (ac_try="$ac_compile"
22525 case "(($ac_try" in
22526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22527 *) ac_try_echo=$ac_try;;
22529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22530 (eval "$ac_compile") 2>conftest.er1
22532 grep -v '^ *+' conftest.er1 >conftest.err
22534 cat conftest.err >&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } && {
22537 test -z "$ac_c_werror_flag" ||
22538 test ! -s conftest.err
22539 } && test -s conftest.$ac_objext; then
22540 # It does; now see whether it defined to BIG_ENDIAN or not.
22541 cat >conftest.$ac_ext <<_ACEOF
22544 cat confdefs.h >>conftest.$ac_ext
22545 cat >>conftest.$ac_ext <<_ACEOF
22546 /* end confdefs.h. */
22547 #include <sys/types.h>
22548 #include <sys/param.h>
22553 #if BYTE_ORDER != BIG_ENDIAN
22560 rm -f conftest.$ac_objext
22561 if { (ac_try="$ac_compile"
22562 case "(($ac_try" in
22563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22564 *) ac_try_echo=$ac_try;;
22566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22567 (eval "$ac_compile") 2>conftest.er1
22569 grep -v '^ *+' conftest.er1 >conftest.err
22571 cat conftest.err >&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); } && {
22574 test -z "$ac_c_werror_flag" ||
22575 test ! -s conftest.err
22576 } && test -s conftest.$ac_objext; then
22577 ac_cv_c_bigendian=yes
22579 echo "$as_me: failed program was:" >&5
22580 sed 's/^/| /' conftest.$ac_ext >&5
22582 ac_cv_c_bigendian=no
22585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22587 echo "$as_me: failed program was:" >&5
22588 sed 's/^/| /' conftest.$ac_ext >&5
22593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22594 if test $ac_cv_c_bigendian = unknown; then
22595 if test "$cross_compiling" = yes; then
22596 ac_cv_c_bigendian=unknown
22598 cat >conftest.$ac_ext <<_ACEOF
22601 cat confdefs.h >>conftest.$ac_ext
22602 cat >>conftest.$ac_ext <<_ACEOF
22603 /* end confdefs.h. */
22605 /* Are we little or big endian? From Harbison&Steele. */
22609 char c[sizeof (long)];
22612 exit (u.c[sizeof (long) - 1] == 1);
22615 rm -f conftest$ac_exeext
22616 if { (ac_try="$ac_link"
22617 case "(($ac_try" in
22618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22619 *) ac_try_echo=$ac_try;;
22621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22622 (eval "$ac_link") 2>&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22626 { (case "(($ac_try" in
22627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22628 *) ac_try_echo=$ac_try;;
22630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22631 (eval "$ac_try") 2>&5
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); }; }; then
22635 ac_cv_c_bigendian=no
22637 echo "$as_me: program exited with status $ac_status" >&5
22638 echo "$as_me: failed program was:" >&5
22639 sed 's/^/| /' conftest.$ac_ext >&5
22641 ( exit $ac_status )
22642 ac_cv_c_bigendian=yes
22644 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22650 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22651 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22652 if test $ac_cv_c_bigendian = unknown; then
22653 { 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
22654 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;}
22656 if test $ac_cv_c_bigendian = yes; then
22657 cat >>confdefs.h <<\_ACEOF
22658 #define WORDS_BIGENDIAN 1
22667 ac_cpp='$CXXCPP $CPPFLAGS'
22668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22673 { echo "$as_me:$LINENO: checking for iostream" >&5
22674 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22675 if test "${ac_cv_header_iostream+set}" = set; then
22676 echo $ECHO_N "(cached) $ECHO_C" >&6
22678 cat >conftest.$ac_ext <<_ACEOF
22681 cat confdefs.h >>conftest.$ac_ext
22682 cat >>conftest.$ac_ext <<_ACEOF
22683 /* end confdefs.h. */
22686 #include <iostream>
22688 rm -f conftest.$ac_objext
22689 if { (ac_try="$ac_compile"
22690 case "(($ac_try" in
22691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22692 *) ac_try_echo=$ac_try;;
22694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22695 (eval "$ac_compile") 2>conftest.er1
22697 grep -v '^ *+' conftest.er1 >conftest.err
22699 cat conftest.err >&5
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); } && {
22702 test -z "$ac_cxx_werror_flag" ||
22703 test ! -s conftest.err
22704 } && test -s conftest.$ac_objext; then
22705 ac_cv_header_iostream=yes
22707 echo "$as_me: failed program was:" >&5
22708 sed 's/^/| /' conftest.$ac_ext >&5
22710 ac_cv_header_iostream=no
22713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22715 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22716 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22720 if test "$ac_cv_header_iostream" = "yes" ; then
22723 cat >>confdefs.h <<\_ACEOF
22724 #define wxUSE_IOSTREAMH 1
22730 ac_cpp='$CPP $CPPFLAGS'
22731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22738 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22739 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22740 if test "${wx_cv_cpp_bool+set}" = set; then
22741 echo $ECHO_N "(cached) $ECHO_C" >&6
22746 ac_cpp='$CXXCPP $CPPFLAGS'
22747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22752 cat >conftest.$ac_ext <<_ACEOF
22755 cat confdefs.h >>conftest.$ac_ext
22756 cat >>conftest.$ac_ext <<_ACEOF
22757 /* end confdefs.h. */
22772 rm -f conftest.$ac_objext
22773 if { (ac_try="$ac_compile"
22774 case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_compile") 2>conftest.er1
22781 grep -v '^ *+' conftest.er1 >conftest.err
22783 cat conftest.err >&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); } && {
22786 test -z "$ac_cxx_werror_flag" ||
22787 test ! -s conftest.err
22788 } && test -s conftest.$ac_objext; then
22793 echo "$as_me: failed program was:" >&5
22794 sed 's/^/| /' conftest.$ac_ext >&5
22802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22805 ac_cpp='$CPP $CPPFLAGS'
22806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22812 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22813 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22815 if test "$wx_cv_cpp_bool" = "yes"; then
22816 cat >>confdefs.h <<\_ACEOF
22817 #define HAVE_BOOL 1
22824 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22825 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22826 if test "${wx_cv_explicit+set}" = set; then
22827 echo $ECHO_N "(cached) $ECHO_C" >&6
22832 ac_cpp='$CXXCPP $CPPFLAGS'
22833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22838 cat >conftest.$ac_ext <<_ACEOF
22841 cat confdefs.h >>conftest.$ac_ext
22842 cat >>conftest.$ac_ext <<_ACEOF
22843 /* end confdefs.h. */
22845 class Foo { public: explicit Foo(int) {} };
22857 rm -f conftest.$ac_objext
22858 if { (ac_try="$ac_compile"
22859 case "(($ac_try" in
22860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22861 *) ac_try_echo=$ac_try;;
22863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22864 (eval "$ac_compile") 2>conftest.er1
22866 grep -v '^ *+' conftest.er1 >conftest.err
22868 cat conftest.err >&5
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); } && {
22871 test -z "$ac_cxx_werror_flag" ||
22872 test ! -s conftest.err
22873 } && test -s conftest.$ac_objext; then
22875 cat >conftest.$ac_ext <<_ACEOF
22878 cat confdefs.h >>conftest.$ac_ext
22879 cat >>conftest.$ac_ext <<_ACEOF
22880 /* end confdefs.h. */
22882 class Foo { public: explicit Foo(int) {} };
22883 static void TakeFoo(const Foo& foo) { }
22896 rm -f conftest.$ac_objext
22897 if { (ac_try="$ac_compile"
22898 case "(($ac_try" in
22899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22900 *) ac_try_echo=$ac_try;;
22902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22903 (eval "$ac_compile") 2>conftest.er1
22905 grep -v '^ *+' conftest.er1 >conftest.err
22907 cat conftest.err >&5
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); } && {
22910 test -z "$ac_cxx_werror_flag" ||
22911 test ! -s conftest.err
22912 } && test -s conftest.$ac_objext; then
22915 echo "$as_me: failed program was:" >&5
22916 sed 's/^/| /' conftest.$ac_ext >&5
22922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22925 echo "$as_me: failed program was:" >&5
22926 sed 's/^/| /' conftest.$ac_ext >&5
22932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22935 ac_cpp='$CPP $CPPFLAGS'
22936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22942 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22943 echo "${ECHO_T}$wx_cv_explicit" >&6; }
22945 if test "$wx_cv_explicit" = "yes"; then
22946 cat >>confdefs.h <<\_ACEOF
22947 #define HAVE_EXPLICIT 1
22953 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22954 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
22955 if test "${ac_cv_cxx_const_cast+set}" = set; then
22956 echo $ECHO_N "(cached) $ECHO_C" >&6
22960 ac_cpp='$CXXCPP $CPPFLAGS'
22961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22965 cat >conftest.$ac_ext <<_ACEOF
22968 cat confdefs.h >>conftest.$ac_ext
22969 cat >>conftest.$ac_ext <<_ACEOF
22970 /* end confdefs.h. */
22975 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22980 rm -f conftest.$ac_objext
22981 if { (ac_try="$ac_compile"
22982 case "(($ac_try" in
22983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22984 *) ac_try_echo=$ac_try;;
22986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22987 (eval "$ac_compile") 2>conftest.er1
22989 grep -v '^ *+' conftest.er1 >conftest.err
22991 cat conftest.err >&5
22992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22993 (exit $ac_status); } && {
22994 test -z "$ac_cxx_werror_flag" ||
22995 test ! -s conftest.err
22996 } && test -s conftest.$ac_objext; then
22997 ac_cv_cxx_const_cast=yes
22999 echo "$as_me: failed program was:" >&5
23000 sed 's/^/| /' conftest.$ac_ext >&5
23002 ac_cv_cxx_const_cast=no
23005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23007 ac_cpp='$CPP $CPPFLAGS'
23008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23014 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23015 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23016 if test "$ac_cv_cxx_const_cast" = yes; then
23018 cat >>confdefs.h <<\_ACEOF
23019 #define HAVE_CONST_CAST
23024 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23025 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23026 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23027 echo $ECHO_N "(cached) $ECHO_C" >&6
23031 ac_cpp='$CXXCPP $CPPFLAGS'
23032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23036 cat >conftest.$ac_ext <<_ACEOF
23039 cat confdefs.h >>conftest.$ac_ext
23040 cat >>conftest.$ac_ext <<_ACEOF
23041 /* end confdefs.h. */
23042 #include <typeinfo>
23043 class Base { public : Base () {} virtual void f () = 0;};
23044 class Derived : public Base { public : Derived () {} virtual void f () {} };
23045 class Unrelated { public : Unrelated () {} };
23046 int g (Unrelated&) { return 0; }
23051 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23056 rm -f conftest.$ac_objext
23057 if { (ac_try="$ac_compile"
23058 case "(($ac_try" in
23059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23060 *) ac_try_echo=$ac_try;;
23062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23063 (eval "$ac_compile") 2>conftest.er1
23065 grep -v '^ *+' conftest.er1 >conftest.err
23067 cat conftest.err >&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } && {
23070 test -z "$ac_cxx_werror_flag" ||
23071 test ! -s conftest.err
23072 } && test -s conftest.$ac_objext; then
23073 ac_cv_cxx_reinterpret_cast=yes
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.$ac_ext >&5
23078 ac_cv_cxx_reinterpret_cast=no
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23083 ac_cpp='$CPP $CPPFLAGS'
23084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23090 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23091 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23092 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23094 cat >>confdefs.h <<\_ACEOF
23095 #define HAVE_REINTERPRET_CAST
23100 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23101 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23102 if test "${ac_cv_cxx_static_cast+set}" = set; then
23103 echo $ECHO_N "(cached) $ECHO_C" >&6
23107 ac_cpp='$CXXCPP $CPPFLAGS'
23108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23112 cat >conftest.$ac_ext <<_ACEOF
23115 cat confdefs.h >>conftest.$ac_ext
23116 cat >>conftest.$ac_ext <<_ACEOF
23117 /* end confdefs.h. */
23118 #include <typeinfo>
23119 class Base { public : Base () {} virtual void f () = 0; };
23120 class Derived : public Base { public : Derived () {} virtual void f () {} };
23121 int g (Derived&) { return 0; }
23126 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23131 rm -f conftest.$ac_objext
23132 if { (ac_try="$ac_compile"
23133 case "(($ac_try" in
23134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23135 *) ac_try_echo=$ac_try;;
23137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23138 (eval "$ac_compile") 2>conftest.er1
23140 grep -v '^ *+' conftest.er1 >conftest.err
23142 cat conftest.err >&5
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); } && {
23145 test -z "$ac_cxx_werror_flag" ||
23146 test ! -s conftest.err
23147 } && test -s conftest.$ac_objext; then
23148 ac_cv_cxx_static_cast=yes
23150 echo "$as_me: failed program was:" >&5
23151 sed 's/^/| /' conftest.$ac_ext >&5
23153 ac_cv_cxx_static_cast=no
23156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23158 ac_cpp='$CPP $CPPFLAGS'
23159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23165 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23166 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23167 if test "$ac_cv_cxx_static_cast" = yes; then
23169 cat >>confdefs.h <<\_ACEOF
23170 #define HAVE_STATIC_CAST
23176 if test "x$SUNCXX" = xyes; then
23177 CXXFLAGS="-features=tmplife $CXXFLAGS"
23180 if test "x$SUNCC" = xyes; then
23181 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23184 if test "x$SGICC" = "xyes"; then
23185 CFLAGS="-woff 3970 $CFLAGS"
23187 if test "x$SGICXX" = "xyes"; then
23188 CXXFLAGS="-woff 3970 $CXXFLAGS"
23191 if test "x$HPCC" = "xyes"; then
23192 CFLAGS="+W 2011,2450 $CFLAGS"
23194 if test "x$HPCXX" = "xyes"; then
23195 CXXFLAGS="+W 2340 $CXXFLAGS"
23198 if test "x$COMPAQCXX" = "xyes"; then
23199 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23203 ac_cpp='$CXXCPP $CPPFLAGS'
23204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23209 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23210 if test "$wxUSE_UNICODE" = "yes"; then
23211 std_string="std::wstring"
23212 char_type="wchar_t"
23214 std_string="std::string"
23218 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23219 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23220 if test "${wx_cv_class_stdstring+set}" = set; then
23221 echo $ECHO_N "(cached) $ECHO_C" >&6
23224 cat >conftest.$ac_ext <<_ACEOF
23227 cat confdefs.h >>conftest.$ac_ext
23228 cat >>conftest.$ac_ext <<_ACEOF
23229 /* end confdefs.h. */
23239 rm -f conftest.$ac_objext
23240 if { (ac_try="$ac_compile"
23241 case "(($ac_try" in
23242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23243 *) ac_try_echo=$ac_try;;
23245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23246 (eval "$ac_compile") 2>conftest.er1
23248 grep -v '^ *+' conftest.er1 >conftest.err
23250 cat conftest.err >&5
23251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252 (exit $ac_status); } && {
23253 test -z "$ac_cxx_werror_flag" ||
23254 test ! -s conftest.err
23255 } && test -s conftest.$ac_objext; then
23256 wx_cv_class_stdstring=yes
23258 echo "$as_me: failed program was:" >&5
23259 sed 's/^/| /' conftest.$ac_ext >&5
23261 wx_cv_class_stdstring=no
23265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23269 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23270 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23272 if test "$wx_cv_class_stdstring" = yes; then
23273 if test "$wxUSE_UNICODE" = "yes"; then
23274 cat >>confdefs.h <<\_ACEOF
23275 #define HAVE_STD_WSTRING 1
23280 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23281 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23282 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23283 echo $ECHO_N "(cached) $ECHO_C" >&6
23286 cat >conftest.$ac_ext <<_ACEOF
23289 cat confdefs.h >>conftest.$ac_ext
23290 cat >>conftest.$ac_ext <<_ACEOF
23291 /* end confdefs.h. */
23293 #ifdef HAVE_WCHAR_H
23295 # include <stddef.h>
23297 # include <wchar.h>
23299 #ifdef HAVE_STDLIB_H
23300 # include <stdlib.h>
23308 std::basic_string<$char_type> foo;
23309 const $char_type* dummy = foo.c_str();
23314 rm -f conftest.$ac_objext
23315 if { (ac_try="$ac_compile"
23316 case "(($ac_try" in
23317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23318 *) ac_try_echo=$ac_try;;
23320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23321 (eval "$ac_compile") 2>conftest.er1
23323 grep -v '^ *+' conftest.er1 >conftest.err
23325 cat conftest.err >&5
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); } && {
23328 test -z "$ac_cxx_werror_flag" ||
23329 test ! -s conftest.err
23330 } && test -s conftest.$ac_objext; then
23331 wx_cv_class_stdbasicstring=yes
23333 echo "$as_me: failed program was:" >&5
23334 sed 's/^/| /' conftest.$ac_ext >&5
23336 wx_cv_class_stdbasicstring=no
23340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23344 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23345 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23347 if test "$wx_cv_class_stdbasicstring" != yes; then
23348 if test "$wxUSE_STL" = "yes"; then
23349 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23350 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23351 { (exit 1); exit 1; }; }
23352 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23353 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23354 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23355 { (exit 1); exit 1; }; }
23357 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23358 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23359 wxUSE_STD_STRING=no
23365 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23366 { echo "$as_me:$LINENO: checking for std::istream" >&5
23367 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23368 if test "${ac_cv_type_std__istream+set}" = set; then
23369 echo $ECHO_N "(cached) $ECHO_C" >&6
23371 cat >conftest.$ac_ext <<_ACEOF
23374 cat confdefs.h >>conftest.$ac_ext
23375 cat >>conftest.$ac_ext <<_ACEOF
23376 /* end confdefs.h. */
23377 #include <iostream>
23379 typedef std::istream ac__type_new_;
23383 if ((ac__type_new_ *) 0)
23385 if (sizeof (ac__type_new_))
23391 rm -f conftest.$ac_objext
23392 if { (ac_try="$ac_compile"
23393 case "(($ac_try" in
23394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23395 *) ac_try_echo=$ac_try;;
23397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23398 (eval "$ac_compile") 2>conftest.er1
23400 grep -v '^ *+' conftest.er1 >conftest.err
23402 cat conftest.err >&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } && {
23405 test -z "$ac_cxx_werror_flag" ||
23406 test ! -s conftest.err
23407 } && test -s conftest.$ac_objext; then
23408 ac_cv_type_std__istream=yes
23410 echo "$as_me: failed program was:" >&5
23411 sed 's/^/| /' conftest.$ac_ext >&5
23413 ac_cv_type_std__istream=no
23416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23418 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23419 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23420 if test $ac_cv_type_std__istream = yes; then
23422 cat >>confdefs.h <<_ACEOF
23423 #define HAVE_STD__ISTREAM 1
23428 wxUSE_STD_IOSTREAM=no
23430 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23431 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23432 if test "${ac_cv_type_std__ostream+set}" = set; then
23433 echo $ECHO_N "(cached) $ECHO_C" >&6
23435 cat >conftest.$ac_ext <<_ACEOF
23438 cat confdefs.h >>conftest.$ac_ext
23439 cat >>conftest.$ac_ext <<_ACEOF
23440 /* end confdefs.h. */
23441 #include <iostream>
23443 typedef std::ostream ac__type_new_;
23447 if ((ac__type_new_ *) 0)
23449 if (sizeof (ac__type_new_))
23455 rm -f conftest.$ac_objext
23456 if { (ac_try="$ac_compile"
23457 case "(($ac_try" in
23458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23459 *) ac_try_echo=$ac_try;;
23461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23462 (eval "$ac_compile") 2>conftest.er1
23464 grep -v '^ *+' conftest.er1 >conftest.err
23466 cat conftest.err >&5
23467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23468 (exit $ac_status); } && {
23469 test -z "$ac_cxx_werror_flag" ||
23470 test ! -s conftest.err
23471 } && test -s conftest.$ac_objext; then
23472 ac_cv_type_std__ostream=yes
23474 echo "$as_me: failed program was:" >&5
23475 sed 's/^/| /' conftest.$ac_ext >&5
23477 ac_cv_type_std__ostream=no
23480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23482 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23483 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23484 if test $ac_cv_type_std__ostream = yes; then
23486 cat >>confdefs.h <<_ACEOF
23487 #define HAVE_STD__OSTREAM 1
23492 wxUSE_STD_IOSTREAM=no
23496 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23497 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23498 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23499 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23500 { (exit 1); exit 1; }; }
23502 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23503 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23508 if test "$wxUSE_STL" = "yes"; then
23509 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23510 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23511 if test "${wx_cv_lib_stl+set}" = set; then
23512 echo $ECHO_N "(cached) $ECHO_C" >&6
23514 cat >conftest.$ac_ext <<_ACEOF
23517 cat confdefs.h >>conftest.$ac_ext
23518 cat >>conftest.$ac_ext <<_ACEOF
23519 /* end confdefs.h. */
23521 #include <functional>
23522 #include <algorithm>
23528 std::vector<int> moo;
23529 std::list<int> foo;
23530 std::vector<int>::iterator it =
23531 std::find_if(moo.begin(), moo.end(),
23532 std::bind2nd(std::less<int>(), 3));
23537 rm -f conftest.$ac_objext
23538 if { (ac_try="$ac_compile"
23539 case "(($ac_try" in
23540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23541 *) ac_try_echo=$ac_try;;
23543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23544 (eval "$ac_compile") 2>conftest.er1
23546 grep -v '^ *+' conftest.er1 >conftest.err
23548 cat conftest.err >&5
23549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23550 (exit $ac_status); } && {
23551 test -z "$ac_cxx_werror_flag" ||
23552 test ! -s conftest.err
23553 } && test -s conftest.$ac_objext; then
23556 echo "$as_me: failed program was:" >&5
23557 sed 's/^/| /' conftest.$ac_ext >&5
23563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23566 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23567 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23569 if test "$wx_cv_lib_stl" != yes; then
23570 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23571 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23572 { (exit 1); exit 1; }; }
23575 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23576 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23577 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23578 echo $ECHO_N "(cached) $ECHO_C" >&6
23580 cat >conftest.$ac_ext <<_ACEOF
23583 cat confdefs.h >>conftest.$ac_ext
23584 cat >>conftest.$ac_ext <<_ACEOF
23585 /* end confdefs.h. */
23590 std::string foo, bar;
23592 foo.compare(1, 1, bar);
23593 foo.compare(1, 1, bar, 1, 1);
23595 foo.compare(1, 1, "");
23596 foo.compare(1, 1, "", 2);
23601 rm -f conftest.$ac_objext
23602 if { (ac_try="$ac_compile"
23603 case "(($ac_try" in
23604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23605 *) ac_try_echo=$ac_try;;
23607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23608 (eval "$ac_compile") 2>conftest.er1
23610 grep -v '^ *+' conftest.er1 >conftest.err
23612 cat conftest.err >&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } && {
23615 test -z "$ac_cxx_werror_flag" ||
23616 test ! -s conftest.err
23617 } && test -s conftest.$ac_objext; then
23618 wx_cv_func_stdstring_compare=yes
23620 echo "$as_me: failed program was:" >&5
23621 sed 's/^/| /' conftest.$ac_ext >&5
23623 wx_cv_func_stdstring_compare=no
23627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23630 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23631 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23633 if test "$wx_cv_func_stdstring_compare" = yes; then
23634 cat >>confdefs.h <<\_ACEOF
23635 #define HAVE_STD_STRING_COMPARE 1
23640 { echo "$as_me:$LINENO: checking for hash_map" >&5
23641 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23642 if test "${ac_cv_header_hash_map+set}" = set; then
23643 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 cat >conftest.$ac_ext <<_ACEOF
23648 cat confdefs.h >>conftest.$ac_ext
23649 cat >>conftest.$ac_ext <<_ACEOF
23650 /* end confdefs.h. */
23654 #include <hash_map>
23656 rm -f conftest.$ac_objext
23657 if { (ac_try="$ac_compile"
23658 case "(($ac_try" in
23659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23660 *) ac_try_echo=$ac_try;;
23662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23663 (eval "$ac_compile") 2>conftest.er1
23665 grep -v '^ *+' conftest.er1 >conftest.err
23667 cat conftest.err >&5
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } && {
23670 test -z "$ac_cxx_werror_flag" ||
23671 test ! -s conftest.err
23672 } && test -s conftest.$ac_objext; then
23673 ac_cv_header_hash_map=yes
23675 echo "$as_me: failed program was:" >&5
23676 sed 's/^/| /' conftest.$ac_ext >&5
23678 ac_cv_header_hash_map=no
23681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23683 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23684 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23685 if test $ac_cv_header_hash_map = yes; then
23686 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23687 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23688 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23689 echo $ECHO_N "(cached) $ECHO_C" >&6
23691 cat >conftest.$ac_ext <<_ACEOF
23694 cat confdefs.h >>conftest.$ac_ext
23695 cat >>conftest.$ac_ext <<_ACEOF
23696 /* end confdefs.h. */
23697 #include <hash_map>
23698 #include <hash_set>
23702 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23703 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23708 rm -f conftest.$ac_objext
23709 if { (ac_try="$ac_compile"
23710 case "(($ac_try" in
23711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23712 *) ac_try_echo=$ac_try;;
23714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23715 (eval "$ac_compile") 2>conftest.er1
23717 grep -v '^ *+' conftest.er1 >conftest.err
23719 cat conftest.err >&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } && {
23722 test -z "$ac_cxx_werror_flag" ||
23723 test ! -s conftest.err
23724 } && test -s conftest.$ac_objext; then
23725 wx_cv_class_stdhashmapset=yes
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.$ac_ext >&5
23730 wx_cv_class_stdhashmapset=no
23733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23737 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23738 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23743 if test "$wx_cv_class_stdhashmapset" = yes; then
23744 cat >>confdefs.h <<\_ACEOF
23745 #define HAVE_HASH_MAP 1
23748 cat >>confdefs.h <<\_ACEOF
23749 #define HAVE_STD_HASH_MAP 1
23754 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23755 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23756 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23757 echo $ECHO_N "(cached) $ECHO_C" >&6
23759 cat >conftest.$ac_ext <<_ACEOF
23762 cat confdefs.h >>conftest.$ac_ext
23763 cat >>conftest.$ac_ext <<_ACEOF
23764 /* end confdefs.h. */
23768 #include <ext/hash_map>
23770 rm -f conftest.$ac_objext
23771 if { (ac_try="$ac_compile"
23772 case "(($ac_try" in
23773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23774 *) ac_try_echo=$ac_try;;
23776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23777 (eval "$ac_compile") 2>conftest.er1
23779 grep -v '^ *+' conftest.er1 >conftest.err
23781 cat conftest.err >&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); } && {
23784 test -z "$ac_cxx_werror_flag" ||
23785 test ! -s conftest.err
23786 } && test -s conftest.$ac_objext; then
23787 ac_cv_header_ext_hash_map=yes
23789 echo "$as_me: failed program was:" >&5
23790 sed 's/^/| /' conftest.$ac_ext >&5
23792 ac_cv_header_ext_hash_map=no
23795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23797 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23798 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23799 if test $ac_cv_header_ext_hash_map = yes; then
23800 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23801 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23802 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23803 echo $ECHO_N "(cached) $ECHO_C" >&6
23805 cat >conftest.$ac_ext <<_ACEOF
23808 cat confdefs.h >>conftest.$ac_ext
23809 cat >>conftest.$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23811 #include <ext/hash_map>
23812 #include <ext/hash_set>
23816 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23817 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23822 rm -f conftest.$ac_objext
23823 if { (ac_try="$ac_compile"
23824 case "(($ac_try" in
23825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23826 *) ac_try_echo=$ac_try;;
23828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23829 (eval "$ac_compile") 2>conftest.er1
23831 grep -v '^ *+' conftest.er1 >conftest.err
23833 cat conftest.err >&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } && {
23836 test -z "$ac_cxx_werror_flag" ||
23837 test ! -s conftest.err
23838 } && test -s conftest.$ac_objext; then
23839 wx_cv_class_gnuhashmapset=yes
23841 echo "$as_me: failed program was:" >&5
23842 sed 's/^/| /' conftest.$ac_ext >&5
23844 wx_cv_class_gnuhashmapset=no
23847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23851 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23852 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
23857 if test "$wx_cv_class_gnuhashmapset" = yes; then
23858 cat >>confdefs.h <<\_ACEOF
23859 #define HAVE_EXT_HASH_MAP 1
23862 cat >>confdefs.h <<\_ACEOF
23863 #define HAVE_GNU_CXX_HASH_MAP 1
23870 ac_cpp='$CPP $CPPFLAGS'
23871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23878 /usr/local/include \
23880 /usr/Motif-2.1/include \
23881 /usr/Motif-1.2/include \
23882 /usr/include/Motif1.2 \
23885 /usr/openwin/include \
23889 /usr/X11R6/include \
23890 /usr/X11R6.4/include \
23891 /usr/X11R5/include \
23892 /usr/X11R4/include \
23894 /usr/include/X11R6 \
23895 /usr/include/X11R5 \
23896 /usr/include/X11R4 \
23898 /usr/local/X11R6/include \
23899 /usr/local/X11R5/include \
23900 /usr/local/X11R4/include \
23902 /usr/local/include/X11R6 \
23903 /usr/local/include/X11R5 \
23904 /usr/local/include/X11R4 \
23908 /usr/local/X11/include \
23909 /usr/local/include/X11 \
23911 /usr/XFree86/include/X11 \
23914 /usr/openwin/share/include"
23916 { echo "$as_me:$LINENO: checking for libraries directory" >&5
23917 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
23921 if test "${wx_cv_std_libpath+set}" = set; then
23922 echo $ECHO_N "(cached) $ECHO_C" >&6
23925 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23926 for e in a so sl dylib dll.a; do
23928 if test -f $libc; then
23931 cat >conftest.$ac_ext <<_ACEOF
23932 int main() { return 0; }
23934 rm -f conftest.$ac_objext conftest$ac_exeext
23935 if { (ac_try="$ac_link"
23936 case "(($ac_try" in
23937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23938 *) ac_try_echo=$ac_try;;
23940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23941 (eval "$ac_link") 2>conftest.er1
23943 grep -v '^ *+' conftest.er1 >conftest.err
23945 cat conftest.err >&5
23946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23947 (exit $ac_status); } && {
23948 test -z "$ac_c_werror_flag" ||
23949 test ! -s conftest.err
23950 } && test -s conftest$ac_exeext &&
23951 $as_test_x conftest$ac_exeext; then
23952 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23954 echo "$as_me: failed program was:" >&5
23955 sed 's/^/| /' conftest.$ac_ext >&5
23960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23961 conftest$ac_exeext conftest.$ac_ext
23963 if test "x$wx_cv_std_libpath" != "x"; then
23969 if test "x$wx_cv_std_libpath" = "x"; then
23970 wx_cv_std_libpath="lib"
23979 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23980 wx_cv_std_libpath="lib/64"
23982 wx_cv_std_libpath="lib"
23987 if test "$ac_cv_sizeof_void_p" = 8 -a \
23988 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23989 wx_cv_std_libpath="lib64"
23991 wx_cv_std_libpath="lib"
23996 wx_cv_std_libpath="lib";
24000 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24001 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24003 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24005 if test "$build" != "$host" -a "$GCC" = yes; then
24006 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24007 cross_root=`dirname $cross_root`
24008 cross_root=`dirname $cross_root`
24010 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24011 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24012 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24014 if test -z "$PKG_CONFIG_PATH"; then
24015 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24016 export PKG_CONFIG_PATH
24019 if test -z "$x_includes" -o "$x_includes" = NONE; then
24022 for ac_dir in $SEARCH_INCLUDE /usr/include;
24024 if test -f "$ac_dir/X11/Intrinsic.h"; then
24025 ac_find_includes=$ac_dir
24030 x_includes=$ac_find_includes
24032 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24035 for ac_dir in $SEARCH_LIB;
24037 for ac_extension in a so sl dylib dll.a; do
24038 if test -f "$ac_dir/libXt.$ac_extension"; then
24039 ac_find_libraries=$ac_dir
24045 x_libraries=$ac_find_libraries
24051 cat >confcache <<\_ACEOF
24052 # This file is a shell script that caches the results of configure
24053 # tests run on this system so they can be shared between configure
24054 # scripts and configure runs, see configure's option --config-cache.
24055 # It is not useful on other systems. If it contains results you don't
24056 # want to keep, you may remove or edit it.
24058 # config.status only pays attention to the cache file if you give it
24059 # the --recheck option to rerun configure.
24061 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24062 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24063 # following values.
24067 # The following way of writing the cache mishandles newlines in values,
24068 # but we know of no workaround that is simple, portable, and efficient.
24069 # So, we kill variables containing newlines.
24070 # Ultrix sh set writes to stderr and can't be redirected directly,
24071 # and sets the high bit in the cache file unless we assign to the vars.
24073 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24074 eval ac_val=\$$ac_var
24078 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24079 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24082 _ | IFS | as_nl) ;; #(
24083 *) $as_unset $ac_var ;;
24089 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24090 *${as_nl}ac_space=\ *)
24091 # `set' does not quote correctly, so add quotes (double-quote
24092 # substitution turns \\\\ into \\, and sed turns \\ into \).
24095 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24098 # `set' quotes correctly as required by POSIX, so do not add quotes.
24099 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24108 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24110 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24112 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24113 if test -w "$cache_file"; then
24114 test "x$cache_file" != "x/dev/null" &&
24115 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24116 echo "$as_me: updating cache $cache_file" >&6;}
24117 cat confcache >$cache_file
24119 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24120 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24125 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24126 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24127 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24128 if test "${wx_cv_lib_glibc21+set}" = set; then
24129 echo $ECHO_N "(cached) $ECHO_C" >&6
24132 cat >conftest.$ac_ext <<_ACEOF
24135 cat confdefs.h >>conftest.$ac_ext
24136 cat >>conftest.$ac_ext <<_ACEOF
24137 /* end confdefs.h. */
24138 #include <features.h>
24143 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24151 rm -f conftest.$ac_objext
24152 if { (ac_try="$ac_compile"
24153 case "(($ac_try" in
24154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24155 *) ac_try_echo=$ac_try;;
24157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24158 (eval "$ac_compile") 2>conftest.er1
24160 grep -v '^ *+' conftest.er1 >conftest.err
24162 cat conftest.err >&5
24163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164 (exit $ac_status); } && {
24165 test -z "$ac_c_werror_flag" ||
24166 test ! -s conftest.err
24167 } && test -s conftest.$ac_objext; then
24169 wx_cv_lib_glibc21=yes
24172 echo "$as_me: failed program was:" >&5
24173 sed 's/^/| /' conftest.$ac_ext >&5
24176 wx_cv_lib_glibc21=no
24181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24184 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24185 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24186 if test "$wx_cv_lib_glibc21" = "yes"; then
24187 cat >>confdefs.h <<\_ACEOF
24188 #define wxHAVE_GLIBC2 1
24194 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24195 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24196 cat >>confdefs.h <<\_ACEOF
24197 #define _GNU_SOURCE 1
24208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24209 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24211 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24212 echo $ECHO_N "(cached) $ECHO_C" >&6
24214 cat >conftest.$ac_ext <<_ACEOF
24217 cat confdefs.h >>conftest.$ac_ext
24218 cat >>conftest.$ac_ext <<_ACEOF
24219 /* end confdefs.h. */
24220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24222 #define $ac_func innocuous_$ac_func
24224 /* System header to define __stub macros and hopefully few prototypes,
24225 which can conflict with char $ac_func (); below.
24226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24227 <limits.h> exists even on freestanding compilers. */
24230 # include <limits.h>
24232 # include <assert.h>
24237 /* Override any GCC internal prototype to avoid an error.
24238 Use char because int might match the return type of a GCC
24239 builtin and then its argument prototype would still apply. */
24244 /* The GNU C library defines this for functions which it implements
24245 to always fail with ENOSYS. Some functions are actually named
24246 something starting with __ and the normal name is an alias. */
24247 #if defined __stub_$ac_func || defined __stub___$ac_func
24254 return $ac_func ();
24259 rm -f conftest.$ac_objext conftest$ac_exeext
24260 if { (ac_try="$ac_link"
24261 case "(($ac_try" in
24262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24263 *) ac_try_echo=$ac_try;;
24265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24266 (eval "$ac_link") 2>conftest.er1
24268 grep -v '^ *+' conftest.er1 >conftest.err
24270 cat conftest.err >&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); } && {
24273 test -z "$ac_c_werror_flag" ||
24274 test ! -s conftest.err
24275 } && test -s conftest$ac_exeext &&
24276 $as_test_x conftest$ac_exeext; then
24277 eval "$as_ac_var=yes"
24279 echo "$as_me: failed program was:" >&5
24280 sed 's/^/| /' conftest.$ac_ext >&5
24282 eval "$as_ac_var=no"
24285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24286 conftest$ac_exeext conftest.$ac_ext
24288 ac_res=`eval echo '${'$as_ac_var'}'`
24289 { echo "$as_me:$LINENO: result: $ac_res" >&5
24290 echo "${ECHO_T}$ac_res" >&6; }
24291 if test `eval echo '${'$as_ac_var'}'` = yes; then
24292 cat >>confdefs.h <<_ACEOF
24293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24300 for ac_func in floor
24302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24303 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24305 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24306 echo $ECHO_N "(cached) $ECHO_C" >&6
24308 cat >conftest.$ac_ext <<_ACEOF
24311 cat confdefs.h >>conftest.$ac_ext
24312 cat >>conftest.$ac_ext <<_ACEOF
24313 /* end confdefs.h. */
24314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24316 #define $ac_func innocuous_$ac_func
24318 /* System header to define __stub macros and hopefully few prototypes,
24319 which can conflict with char $ac_func (); below.
24320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24321 <limits.h> exists even on freestanding compilers. */
24324 # include <limits.h>
24326 # include <assert.h>
24331 /* Override any GCC internal prototype to avoid an error.
24332 Use char because int might match the return type of a GCC
24333 builtin and then its argument prototype would still apply. */
24338 /* The GNU C library defines this for functions which it implements
24339 to always fail with ENOSYS. Some functions are actually named
24340 something starting with __ and the normal name is an alias. */
24341 #if defined __stub_$ac_func || defined __stub___$ac_func
24348 return $ac_func ();
24353 rm -f conftest.$ac_objext conftest$ac_exeext
24354 if { (ac_try="$ac_link"
24355 case "(($ac_try" in
24356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24357 *) ac_try_echo=$ac_try;;
24359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24360 (eval "$ac_link") 2>conftest.er1
24362 grep -v '^ *+' conftest.er1 >conftest.err
24364 cat conftest.err >&5
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); } && {
24367 test -z "$ac_c_werror_flag" ||
24368 test ! -s conftest.err
24369 } && test -s conftest$ac_exeext &&
24370 $as_test_x conftest$ac_exeext; then
24371 eval "$as_ac_var=yes"
24373 echo "$as_me: failed program was:" >&5
24374 sed 's/^/| /' conftest.$ac_ext >&5
24376 eval "$as_ac_var=no"
24379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24380 conftest$ac_exeext conftest.$ac_ext
24382 ac_res=`eval echo '${'$as_ac_var'}'`
24383 { echo "$as_me:$LINENO: result: $ac_res" >&5
24384 echo "${ECHO_T}$ac_res" >&6; }
24385 if test `eval echo '${'$as_ac_var'}'` = yes; then
24386 cat >>confdefs.h <<_ACEOF
24387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24393 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24394 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24395 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24396 { echo "$as_me:$LINENO: result: yes" >&5
24397 echo "${ECHO_T}yes" >&6; }
24399 { echo "$as_me:$LINENO: result: no" >&5
24400 echo "${ECHO_T}no" >&6; }
24402 # use different functions to avoid configure caching
24408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24409 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24411 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24412 echo $ECHO_N "(cached) $ECHO_C" >&6
24414 cat >conftest.$ac_ext <<_ACEOF
24417 cat confdefs.h >>conftest.$ac_ext
24418 cat >>conftest.$ac_ext <<_ACEOF
24419 /* end confdefs.h. */
24420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24422 #define $ac_func innocuous_$ac_func
24424 /* System header to define __stub macros and hopefully few prototypes,
24425 which can conflict with char $ac_func (); below.
24426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24427 <limits.h> exists even on freestanding compilers. */
24430 # include <limits.h>
24432 # include <assert.h>
24437 /* Override any GCC internal prototype to avoid an error.
24438 Use char because int might match the return type of a GCC
24439 builtin and then its argument prototype would still apply. */
24444 /* The GNU C library defines this for functions which it implements
24445 to always fail with ENOSYS. Some functions are actually named
24446 something starting with __ and the normal name is an alias. */
24447 #if defined __stub_$ac_func || defined __stub___$ac_func
24454 return $ac_func ();
24459 rm -f conftest.$ac_objext conftest$ac_exeext
24460 if { (ac_try="$ac_link"
24461 case "(($ac_try" in
24462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24463 *) ac_try_echo=$ac_try;;
24465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24466 (eval "$ac_link") 2>conftest.er1
24468 grep -v '^ *+' conftest.er1 >conftest.err
24470 cat conftest.err >&5
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); } && {
24473 test -z "$ac_c_werror_flag" ||
24474 test ! -s conftest.err
24475 } && test -s conftest$ac_exeext &&
24476 $as_test_x conftest$ac_exeext; then
24477 eval "$as_ac_var=yes"
24479 echo "$as_me: failed program was:" >&5
24480 sed 's/^/| /' conftest.$ac_ext >&5
24482 eval "$as_ac_var=no"
24485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24486 conftest$ac_exeext conftest.$ac_ext
24488 ac_res=`eval echo '${'$as_ac_var'}'`
24489 { echo "$as_me:$LINENO: result: $ac_res" >&5
24490 echo "${ECHO_T}$ac_res" >&6; }
24491 if test `eval echo '${'$as_ac_var'}'` = yes; then
24492 cat >>confdefs.h <<_ACEOF
24493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24500 for ac_func in ceil
24502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24503 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24505 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24506 echo $ECHO_N "(cached) $ECHO_C" >&6
24508 cat >conftest.$ac_ext <<_ACEOF
24511 cat confdefs.h >>conftest.$ac_ext
24512 cat >>conftest.$ac_ext <<_ACEOF
24513 /* end confdefs.h. */
24514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24516 #define $ac_func innocuous_$ac_func
24518 /* System header to define __stub macros and hopefully few prototypes,
24519 which can conflict with char $ac_func (); below.
24520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24521 <limits.h> exists even on freestanding compilers. */
24524 # include <limits.h>
24526 # include <assert.h>
24531 /* Override any GCC internal prototype to avoid an error.
24532 Use char because int might match the return type of a GCC
24533 builtin and then its argument prototype would still apply. */
24538 /* The GNU C library defines this for functions which it implements
24539 to always fail with ENOSYS. Some functions are actually named
24540 something starting with __ and the normal name is an alias. */
24541 #if defined __stub_$ac_func || defined __stub___$ac_func
24548 return $ac_func ();
24553 rm -f conftest.$ac_objext conftest$ac_exeext
24554 if { (ac_try="$ac_link"
24555 case "(($ac_try" in
24556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24557 *) ac_try_echo=$ac_try;;
24559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24560 (eval "$ac_link") 2>conftest.er1
24562 grep -v '^ *+' conftest.er1 >conftest.err
24564 cat conftest.err >&5
24565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566 (exit $ac_status); } && {
24567 test -z "$ac_c_werror_flag" ||
24568 test ! -s conftest.err
24569 } && test -s conftest$ac_exeext &&
24570 $as_test_x conftest$ac_exeext; then
24571 eval "$as_ac_var=yes"
24573 echo "$as_me: failed program was:" >&5
24574 sed 's/^/| /' conftest.$ac_ext >&5
24576 eval "$as_ac_var=no"
24579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24580 conftest$ac_exeext conftest.$ac_ext
24582 ac_res=`eval echo '${'$as_ac_var'}'`
24583 { echo "$as_me:$LINENO: result: $ac_res" >&5
24584 echo "${ECHO_T}$ac_res" >&6; }
24585 if test `eval echo '${'$as_ac_var'}'` = yes; then
24586 cat >>confdefs.h <<_ACEOF
24587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24593 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24594 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24595 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24596 { echo "$as_me:$LINENO: result: yes" >&5
24597 echo "${ECHO_T}yes" >&6; }
24599 { echo "$as_me:$LINENO: result: no" >&5
24600 echo "${ECHO_T}no" >&6; }
24601 # not sure we should warn the user, crash, etc.
24606 ac_cpp='$CXXCPP $CPPFLAGS'
24607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24611 if test "wxUSE_UNICODE" = "yes"; then
24613 for wx_func in wcstoull
24615 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24616 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24617 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24618 echo $ECHO_N "(cached) $ECHO_C" >&6
24621 cat >conftest.$ac_ext <<_ACEOF
24625 cat confdefs.h >>conftest.$ac_ext
24626 cat >>conftest.$ac_ext <<_ACEOF
24627 /* end confdefs.h. */
24630 $ac_includes_default
24646 rm -f conftest.$ac_objext conftest$ac_exeext
24647 if { (ac_try="$ac_link"
24648 case "(($ac_try" in
24649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24650 *) ac_try_echo=$ac_try;;
24652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24653 (eval "$ac_link") 2>conftest.er1
24655 grep -v '^ *+' conftest.er1 >conftest.err
24657 cat conftest.err >&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); } && {
24660 test -z "$ac_cxx_werror_flag" ||
24661 test ! -s conftest.err
24662 } && test -s conftest$ac_exeext &&
24663 $as_test_x conftest$ac_exeext; then
24664 eval wx_cv_func_$wx_func=yes
24666 echo "$as_me: failed program was:" >&5
24667 sed 's/^/| /' conftest.$ac_ext >&5
24669 eval wx_cv_func_$wx_func=no
24672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24673 conftest$ac_exeext conftest.$ac_ext
24676 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24677 { echo "$as_me:$LINENO: result: $ac_res" >&5
24678 echo "${ECHO_T}$ac_res" >&6; }
24680 if eval test \$wx_cv_func_$wx_func = yes
24682 cat >>confdefs.h <<_ACEOF
24683 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24695 for wx_func in strtoull
24697 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24698 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24699 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24703 cat >conftest.$ac_ext <<_ACEOF
24707 cat confdefs.h >>conftest.$ac_ext
24708 cat >>conftest.$ac_ext <<_ACEOF
24709 /* end confdefs.h. */
24712 $ac_includes_default
24728 rm -f conftest.$ac_objext conftest$ac_exeext
24729 if { (ac_try="$ac_link"
24730 case "(($ac_try" in
24731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24732 *) ac_try_echo=$ac_try;;
24734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24735 (eval "$ac_link") 2>conftest.er1
24737 grep -v '^ *+' conftest.er1 >conftest.err
24739 cat conftest.err >&5
24740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24741 (exit $ac_status); } && {
24742 test -z "$ac_cxx_werror_flag" ||
24743 test ! -s conftest.err
24744 } && test -s conftest$ac_exeext &&
24745 $as_test_x conftest$ac_exeext; then
24746 eval wx_cv_func_$wx_func=yes
24748 echo "$as_me: failed program was:" >&5
24749 sed 's/^/| /' conftest.$ac_ext >&5
24751 eval wx_cv_func_$wx_func=no
24754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24755 conftest$ac_exeext conftest.$ac_ext
24758 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24759 { echo "$as_me:$LINENO: result: $ac_res" >&5
24760 echo "${ECHO_T}$ac_res" >&6; }
24762 if eval test \$wx_cv_func_$wx_func = yes
24764 cat >>confdefs.h <<_ACEOF
24765 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24777 ac_cpp='$CPP $CPPFLAGS'
24778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24785 if test "$wxUSE_REGEX" != "no"; then
24786 cat >>confdefs.h <<\_ACEOF
24787 #define wxUSE_REGEX 1
24791 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24792 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24793 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24794 wxUSE_REGEX=builtin
24797 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24798 { echo "$as_me:$LINENO: checking for regex.h" >&5
24799 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24800 if test "${ac_cv_header_regex_h+set}" = set; then
24801 echo $ECHO_N "(cached) $ECHO_C" >&6
24803 cat >conftest.$ac_ext <<_ACEOF
24806 cat confdefs.h >>conftest.$ac_ext
24807 cat >>conftest.$ac_ext <<_ACEOF
24808 /* end confdefs.h. */
24813 rm -f conftest.$ac_objext
24814 if { (ac_try="$ac_compile"
24815 case "(($ac_try" in
24816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24817 *) ac_try_echo=$ac_try;;
24819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24820 (eval "$ac_compile") 2>conftest.er1
24822 grep -v '^ *+' conftest.er1 >conftest.err
24824 cat conftest.err >&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } && {
24827 test -z "$ac_c_werror_flag" ||
24828 test ! -s conftest.err
24829 } && test -s conftest.$ac_objext; then
24830 ac_cv_header_regex_h=yes
24832 echo "$as_me: failed program was:" >&5
24833 sed 's/^/| /' conftest.$ac_ext >&5
24835 ac_cv_header_regex_h=no
24838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24840 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24841 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
24842 if test $ac_cv_header_regex_h = yes; then
24845 for ac_func in regcomp re_search
24847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24851 echo $ECHO_N "(cached) $ECHO_C" >&6
24853 cat >conftest.$ac_ext <<_ACEOF
24856 cat confdefs.h >>conftest.$ac_ext
24857 cat >>conftest.$ac_ext <<_ACEOF
24858 /* end confdefs.h. */
24859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24861 #define $ac_func innocuous_$ac_func
24863 /* System header to define __stub macros and hopefully few prototypes,
24864 which can conflict with char $ac_func (); below.
24865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24866 <limits.h> exists even on freestanding compilers. */
24869 # include <limits.h>
24871 # include <assert.h>
24876 /* Override any GCC internal prototype to avoid an error.
24877 Use char because int might match the return type of a GCC
24878 builtin and then its argument prototype would still apply. */
24883 /* The GNU C library defines this for functions which it implements
24884 to always fail with ENOSYS. Some functions are actually named
24885 something starting with __ and the normal name is an alias. */
24886 #if defined __stub_$ac_func || defined __stub___$ac_func
24893 return $ac_func ();
24898 rm -f conftest.$ac_objext conftest$ac_exeext
24899 if { (ac_try="$ac_link"
24900 case "(($ac_try" in
24901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24902 *) ac_try_echo=$ac_try;;
24904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24905 (eval "$ac_link") 2>conftest.er1
24907 grep -v '^ *+' conftest.er1 >conftest.err
24909 cat conftest.err >&5
24910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24911 (exit $ac_status); } && {
24912 test -z "$ac_c_werror_flag" ||
24913 test ! -s conftest.err
24914 } && test -s conftest$ac_exeext &&
24915 $as_test_x conftest$ac_exeext; then
24916 eval "$as_ac_var=yes"
24918 echo "$as_me: failed program was:" >&5
24919 sed 's/^/| /' conftest.$ac_ext >&5
24921 eval "$as_ac_var=no"
24924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24925 conftest$ac_exeext conftest.$ac_ext
24927 ac_res=`eval echo '${'$as_ac_var'}'`
24928 { echo "$as_me:$LINENO: result: $ac_res" >&5
24929 echo "${ECHO_T}$ac_res" >&6; }
24930 if test `eval echo '${'$as_ac_var'}'` = yes; then
24931 cat >>confdefs.h <<_ACEOF
24932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24942 if test "x$ac_cv_func_regcomp" != "xyes"; then
24943 if test "$wxUSE_REGEX" = "sys" ; then
24944 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24945 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24946 { (exit 1); exit 1; }; }
24948 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24949 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24950 wxUSE_REGEX=builtin
24954 cat >>confdefs.h <<\_ACEOF
24955 #define WX_NO_REGEX_ADVANCED 1
24964 if test "$wxUSE_ZLIB" != "no" ; then
24965 cat >>confdefs.h <<\_ACEOF
24966 #define wxUSE_ZLIB 1
24970 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24971 if test "$USE_DARWIN" = 1; then
24972 system_zlib_h_ok="yes"
24974 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24975 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
24976 if test "${ac_cv_header_zlib_h+set}" = set; then
24977 echo $ECHO_N "(cached) $ECHO_C" >&6
24979 if test "$cross_compiling" = yes; then
24980 unset ac_cv_header_zlib_h
24983 cat >conftest.$ac_ext <<_ACEOF
24986 cat confdefs.h >>conftest.$ac_ext
24987 cat >>conftest.$ac_ext <<_ACEOF
24988 /* end confdefs.h. */
24995 FILE *f=fopen("conftestval", "w");
24998 ZLIB_VERSION[0] == '1' &&
24999 (ZLIB_VERSION[2] > '1' ||
25000 (ZLIB_VERSION[2] == '1' &&
25001 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25006 rm -f conftest$ac_exeext
25007 if { (ac_try="$ac_link"
25008 case "(($ac_try" in
25009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25010 *) ac_try_echo=$ac_try;;
25012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25013 (eval "$ac_link") 2>&5
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25017 { (case "(($ac_try" in
25018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25019 *) ac_try_echo=$ac_try;;
25021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25022 (eval "$ac_try") 2>&5
25024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25025 (exit $ac_status); }; }; then
25026 ac_cv_header_zlib_h=`cat conftestval`
25028 echo "$as_me: program exited with status $ac_status" >&5
25029 echo "$as_me: failed program was:" >&5
25030 sed 's/^/| /' conftest.$ac_ext >&5
25032 ( exit $ac_status )
25033 ac_cv_header_zlib_h=no
25035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25041 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25042 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25043 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25044 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25045 if test "${ac_cv_header_zlib_h+set}" = set; then
25046 echo $ECHO_N "(cached) $ECHO_C" >&6
25048 cat >conftest.$ac_ext <<_ACEOF
25051 cat confdefs.h >>conftest.$ac_ext
25052 cat >>conftest.$ac_ext <<_ACEOF
25053 /* end confdefs.h. */
25058 rm -f conftest.$ac_objext
25059 if { (ac_try="$ac_compile"
25060 case "(($ac_try" in
25061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25062 *) ac_try_echo=$ac_try;;
25064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25065 (eval "$ac_compile") 2>conftest.er1
25067 grep -v '^ *+' conftest.er1 >conftest.err
25069 cat conftest.err >&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); } && {
25072 test -z "$ac_c_werror_flag" ||
25073 test ! -s conftest.err
25074 } && test -s conftest.$ac_objext; then
25075 ac_cv_header_zlib_h=yes
25077 echo "$as_me: failed program was:" >&5
25078 sed 's/^/| /' conftest.$ac_ext >&5
25080 ac_cv_header_zlib_h=no
25083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25085 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25086 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25090 system_zlib_h_ok=$ac_cv_header_zlib_h
25093 if test "$system_zlib_h_ok" = "yes"; then
25094 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25095 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25096 if test "${ac_cv_lib_z_deflate+set}" = set; then
25097 echo $ECHO_N "(cached) $ECHO_C" >&6
25099 ac_check_lib_save_LIBS=$LIBS
25101 cat >conftest.$ac_ext <<_ACEOF
25104 cat confdefs.h >>conftest.$ac_ext
25105 cat >>conftest.$ac_ext <<_ACEOF
25106 /* end confdefs.h. */
25108 /* Override any GCC internal prototype to avoid an error.
25109 Use char because int might match the return type of a GCC
25110 builtin and then its argument prototype would still apply. */
25123 rm -f conftest.$ac_objext conftest$ac_exeext
25124 if { (ac_try="$ac_link"
25125 case "(($ac_try" in
25126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25127 *) ac_try_echo=$ac_try;;
25129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25130 (eval "$ac_link") 2>conftest.er1
25132 grep -v '^ *+' conftest.er1 >conftest.err
25134 cat conftest.err >&5
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); } && {
25137 test -z "$ac_c_werror_flag" ||
25138 test ! -s conftest.err
25139 } && test -s conftest$ac_exeext &&
25140 $as_test_x conftest$ac_exeext; then
25141 ac_cv_lib_z_deflate=yes
25143 echo "$as_me: failed program was:" >&5
25144 sed 's/^/| /' conftest.$ac_ext >&5
25146 ac_cv_lib_z_deflate=no
25149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25150 conftest$ac_exeext conftest.$ac_ext
25151 LIBS=$ac_check_lib_save_LIBS
25153 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25154 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25155 if test $ac_cv_lib_z_deflate = yes; then
25161 if test "x$ZLIB_LINK" = "x" ; then
25162 if test "$wxUSE_ZLIB" = "sys" ; then
25163 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25164 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25165 { (exit 1); exit 1; }; }
25167 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25168 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25179 if test "$wxUSE_LIBPNG" != "no" ; then
25180 cat >>confdefs.h <<\_ACEOF
25181 #define wxUSE_LIBPNG 1
25185 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25186 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25187 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25191 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25192 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25193 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25194 wxUSE_LIBPNG=builtin
25197 if test "$wxUSE_MGL" != 1 ; then
25198 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25199 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25200 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25201 if test "${ac_cv_header_png_h+set}" = set; then
25202 echo $ECHO_N "(cached) $ECHO_C" >&6
25204 if test "$cross_compiling" = yes; then
25205 unset ac_cv_header_png_h
25208 cat >conftest.$ac_ext <<_ACEOF
25211 cat confdefs.h >>conftest.$ac_ext
25212 cat >>conftest.$ac_ext <<_ACEOF
25213 /* end confdefs.h. */
25220 FILE *f=fopen("conftestval", "w");
25223 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25228 rm -f conftest$ac_exeext
25229 if { (ac_try="$ac_link"
25230 case "(($ac_try" in
25231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25232 *) ac_try_echo=$ac_try;;
25234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25235 (eval "$ac_link") 2>&5
25237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25238 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25239 { (case "(($ac_try" in
25240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25241 *) ac_try_echo=$ac_try;;
25243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25244 (eval "$ac_try") 2>&5
25246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25247 (exit $ac_status); }; }; then
25248 ac_cv_header_png_h=`cat conftestval`
25250 echo "$as_me: program exited with status $ac_status" >&5
25251 echo "$as_me: failed program was:" >&5
25252 sed 's/^/| /' conftest.$ac_ext >&5
25254 ( exit $ac_status )
25255 ac_cv_header_png_h=no
25257 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25263 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25264 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25265 { echo "$as_me:$LINENO: checking for png.h" >&5
25266 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25267 if test "${ac_cv_header_png_h+set}" = set; then
25268 echo $ECHO_N "(cached) $ECHO_C" >&6
25270 cat >conftest.$ac_ext <<_ACEOF
25273 cat confdefs.h >>conftest.$ac_ext
25274 cat >>conftest.$ac_ext <<_ACEOF
25275 /* end confdefs.h. */
25280 rm -f conftest.$ac_objext
25281 if { (ac_try="$ac_compile"
25282 case "(($ac_try" in
25283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25284 *) ac_try_echo=$ac_try;;
25286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25287 (eval "$ac_compile") 2>conftest.er1
25289 grep -v '^ *+' conftest.er1 >conftest.err
25291 cat conftest.err >&5
25292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293 (exit $ac_status); } && {
25294 test -z "$ac_c_werror_flag" ||
25295 test ! -s conftest.err
25296 } && test -s conftest.$ac_objext; then
25297 ac_cv_header_png_h=yes
25299 echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25302 ac_cv_header_png_h=no
25305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25307 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25308 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25312 if test "$ac_cv_header_png_h" = "yes"; then
25313 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25314 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25315 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25316 echo $ECHO_N "(cached) $ECHO_C" >&6
25318 ac_check_lib_save_LIBS=$LIBS
25319 LIBS="-lpng -lz -lm $LIBS"
25320 cat >conftest.$ac_ext <<_ACEOF
25323 cat confdefs.h >>conftest.$ac_ext
25324 cat >>conftest.$ac_ext <<_ACEOF
25325 /* end confdefs.h. */
25327 /* Override any GCC internal prototype to avoid an error.
25328 Use char because int might match the return type of a GCC
25329 builtin and then its argument prototype would still apply. */
25333 char png_check_sig ();
25337 return png_check_sig ();
25342 rm -f conftest.$ac_objext conftest$ac_exeext
25343 if { (ac_try="$ac_link"
25344 case "(($ac_try" in
25345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25346 *) ac_try_echo=$ac_try;;
25348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25349 (eval "$ac_link") 2>conftest.er1
25351 grep -v '^ *+' conftest.er1 >conftest.err
25353 cat conftest.err >&5
25354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25355 (exit $ac_status); } && {
25356 test -z "$ac_c_werror_flag" ||
25357 test ! -s conftest.err
25358 } && test -s conftest$ac_exeext &&
25359 $as_test_x conftest$ac_exeext; then
25360 ac_cv_lib_png_png_check_sig=yes
25362 echo "$as_me: failed program was:" >&5
25363 sed 's/^/| /' conftest.$ac_ext >&5
25365 ac_cv_lib_png_png_check_sig=no
25368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25369 conftest$ac_exeext conftest.$ac_ext
25370 LIBS=$ac_check_lib_save_LIBS
25372 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25373 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25374 if test $ac_cv_lib_png_png_check_sig = yes; then
25375 PNG_LINK=" -lpng -lz"
25380 if test "x$PNG_LINK" = "x" ; then
25381 if test "$wxUSE_LIBPNG" = "sys" ; then
25382 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25383 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25384 { (exit 1); exit 1; }; }
25386 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25387 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25388 wxUSE_LIBPNG=builtin
25396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25401 if test "$wxUSE_LIBJPEG" != "no" ; then
25402 cat >>confdefs.h <<\_ACEOF
25403 #define wxUSE_LIBJPEG 1
25407 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25408 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25409 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25413 if test "$wxUSE_MGL" != 1 ; then
25414 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25415 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25416 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25417 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25418 echo $ECHO_N "(cached) $ECHO_C" >&6
25420 cat >conftest.$ac_ext <<_ACEOF
25423 cat confdefs.h >>conftest.$ac_ext
25424 cat >>conftest.$ac_ext <<_ACEOF
25425 /* end confdefs.h. */
25427 #undef HAVE_STDLIB_H
25429 #include <jpeglib.h>
25440 rm -f conftest.$ac_objext
25441 if { (ac_try="$ac_compile"
25442 case "(($ac_try" in
25443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25444 *) ac_try_echo=$ac_try;;
25446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25447 (eval "$ac_compile") 2>conftest.er1
25449 grep -v '^ *+' conftest.er1 >conftest.err
25451 cat conftest.err >&5
25452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25453 (exit $ac_status); } && {
25454 test -z "$ac_c_werror_flag" ||
25455 test ! -s conftest.err
25456 } && test -s conftest.$ac_objext; then
25457 ac_cv_header_jpeglib_h=yes
25459 echo "$as_me: failed program was:" >&5
25460 sed 's/^/| /' conftest.$ac_ext >&5
25462 ac_cv_header_jpeglib_h=no
25466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25470 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25471 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25473 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25474 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25475 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25476 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25477 echo $ECHO_N "(cached) $ECHO_C" >&6
25479 ac_check_lib_save_LIBS=$LIBS
25480 LIBS="-ljpeg $LIBS"
25481 cat >conftest.$ac_ext <<_ACEOF
25484 cat confdefs.h >>conftest.$ac_ext
25485 cat >>conftest.$ac_ext <<_ACEOF
25486 /* end confdefs.h. */
25488 /* Override any GCC internal prototype to avoid an error.
25489 Use char because int might match the return type of a GCC
25490 builtin and then its argument prototype would still apply. */
25494 char jpeg_read_header ();
25498 return jpeg_read_header ();
25503 rm -f conftest.$ac_objext conftest$ac_exeext
25504 if { (ac_try="$ac_link"
25505 case "(($ac_try" in
25506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25507 *) ac_try_echo=$ac_try;;
25509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25510 (eval "$ac_link") 2>conftest.er1
25512 grep -v '^ *+' conftest.er1 >conftest.err
25514 cat conftest.err >&5
25515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25516 (exit $ac_status); } && {
25517 test -z "$ac_c_werror_flag" ||
25518 test ! -s conftest.err
25519 } && test -s conftest$ac_exeext &&
25520 $as_test_x conftest$ac_exeext; then
25521 ac_cv_lib_jpeg_jpeg_read_header=yes
25523 echo "$as_me: failed program was:" >&5
25524 sed 's/^/| /' conftest.$ac_ext >&5
25526 ac_cv_lib_jpeg_jpeg_read_header=no
25529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25530 conftest$ac_exeext conftest.$ac_ext
25531 LIBS=$ac_check_lib_save_LIBS
25533 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25534 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25535 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25536 JPEG_LINK=" -ljpeg"
25541 if test "x$JPEG_LINK" = "x" ; then
25542 if test "$wxUSE_LIBJPEG" = "sys" ; then
25543 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25544 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25545 { (exit 1); exit 1; }; }
25547 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25548 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25549 wxUSE_LIBJPEG=builtin
25554 if test "$wxUSE_MSW" = 1; then
25555 { echo "$as_me:$LINENO: checking for boolean" >&5
25556 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25557 if test "${ac_cv_type_boolean+set}" = set; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25560 cat >conftest.$ac_ext <<_ACEOF
25563 cat confdefs.h >>conftest.$ac_ext
25564 cat >>conftest.$ac_ext <<_ACEOF
25565 /* end confdefs.h. */
25566 #include <windows.h>
25568 typedef boolean ac__type_new_;
25572 if ((ac__type_new_ *) 0)
25574 if (sizeof (ac__type_new_))
25580 rm -f conftest.$ac_objext
25581 if { (ac_try="$ac_compile"
25582 case "(($ac_try" in
25583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25584 *) ac_try_echo=$ac_try;;
25586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25587 (eval "$ac_compile") 2>conftest.er1
25589 grep -v '^ *+' conftest.er1 >conftest.err
25591 cat conftest.err >&5
25592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593 (exit $ac_status); } && {
25594 test -z "$ac_c_werror_flag" ||
25595 test ! -s conftest.err
25596 } && test -s conftest.$ac_objext; then
25597 ac_cv_type_boolean=yes
25599 echo "$as_me: failed program was:" >&5
25600 sed 's/^/| /' conftest.$ac_ext >&5
25602 ac_cv_type_boolean=no
25605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25607 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25608 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25609 if test $ac_cv_type_boolean = yes; then
25611 cat >>confdefs.h <<_ACEOF
25612 #define HAVE_BOOLEAN 1
25616 { echo "$as_me:$LINENO: checking for boolean" >&5
25617 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25618 if test "${ac_cv_type_boolean+set}" = set; then
25619 echo $ECHO_N "(cached) $ECHO_C" >&6
25621 cat >conftest.$ac_ext <<_ACEOF
25624 cat confdefs.h >>conftest.$ac_ext
25625 cat >>conftest.$ac_ext <<_ACEOF
25626 /* end confdefs.h. */
25628 #undef HAVE_BOOLEAN
25630 #include <jpeglib.h>
25633 typedef boolean ac__type_new_;
25637 if ((ac__type_new_ *) 0)
25639 if (sizeof (ac__type_new_))
25645 rm -f conftest.$ac_objext
25646 if { (ac_try="$ac_compile"
25647 case "(($ac_try" in
25648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25649 *) ac_try_echo=$ac_try;;
25651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25652 (eval "$ac_compile") 2>conftest.er1
25654 grep -v '^ *+' conftest.er1 >conftest.err
25656 cat conftest.err >&5
25657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25658 (exit $ac_status); } && {
25659 test -z "$ac_c_werror_flag" ||
25660 test ! -s conftest.err
25661 } && test -s conftest.$ac_objext; then
25662 ac_cv_type_boolean=yes
25664 echo "$as_me: failed program was:" >&5
25665 sed 's/^/| /' conftest.$ac_ext >&5
25667 ac_cv_type_boolean=no
25670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25672 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25673 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25675 # The cast to long int works around a bug in the HP C Compiler
25676 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25677 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25678 # This bug is HP SR number 8606223364.
25679 { echo "$as_me:$LINENO: checking size of boolean" >&5
25680 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25681 if test "${ac_cv_sizeof_boolean+set}" = set; then
25682 echo $ECHO_N "(cached) $ECHO_C" >&6
25684 if test "$cross_compiling" = yes; then
25685 # Depending upon the size, compute the lo and hi bounds.
25686 cat >conftest.$ac_ext <<_ACEOF
25689 cat confdefs.h >>conftest.$ac_ext
25690 cat >>conftest.$ac_ext <<_ACEOF
25691 /* end confdefs.h. */
25693 #undef HAVE_BOOLEAN
25695 #include <jpeglib.h>
25698 typedef boolean ac__type_sizeof_;
25702 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25709 rm -f conftest.$ac_objext
25710 if { (ac_try="$ac_compile"
25711 case "(($ac_try" in
25712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25713 *) ac_try_echo=$ac_try;;
25715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25716 (eval "$ac_compile") 2>conftest.er1
25718 grep -v '^ *+' conftest.er1 >conftest.err
25720 cat conftest.err >&5
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); } && {
25723 test -z "$ac_c_werror_flag" ||
25724 test ! -s conftest.err
25725 } && test -s conftest.$ac_objext; then
25728 cat >conftest.$ac_ext <<_ACEOF
25731 cat confdefs.h >>conftest.$ac_ext
25732 cat >>conftest.$ac_ext <<_ACEOF
25733 /* end confdefs.h. */
25735 #undef HAVE_BOOLEAN
25737 #include <jpeglib.h>
25740 typedef boolean ac__type_sizeof_;
25744 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25751 rm -f conftest.$ac_objext
25752 if { (ac_try="$ac_compile"
25753 case "(($ac_try" in
25754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25755 *) ac_try_echo=$ac_try;;
25757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25758 (eval "$ac_compile") 2>conftest.er1
25760 grep -v '^ *+' conftest.er1 >conftest.err
25762 cat conftest.err >&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } && {
25765 test -z "$ac_c_werror_flag" ||
25766 test ! -s conftest.err
25767 } && test -s conftest.$ac_objext; then
25768 ac_hi=$ac_mid; break
25770 echo "$as_me: failed program was:" >&5
25771 sed 's/^/| /' conftest.$ac_ext >&5
25773 ac_lo=`expr $ac_mid + 1`
25774 if test $ac_lo -le $ac_mid; then
25778 ac_mid=`expr 2 '*' $ac_mid + 1`
25781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25784 echo "$as_me: failed program was:" >&5
25785 sed 's/^/| /' conftest.$ac_ext >&5
25787 cat >conftest.$ac_ext <<_ACEOF
25790 cat confdefs.h >>conftest.$ac_ext
25791 cat >>conftest.$ac_ext <<_ACEOF
25792 /* end confdefs.h. */
25794 #undef HAVE_BOOLEAN
25796 #include <jpeglib.h>
25799 typedef boolean ac__type_sizeof_;
25803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25810 rm -f conftest.$ac_objext
25811 if { (ac_try="$ac_compile"
25812 case "(($ac_try" in
25813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25814 *) ac_try_echo=$ac_try;;
25816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25817 (eval "$ac_compile") 2>conftest.er1
25819 grep -v '^ *+' conftest.er1 >conftest.err
25821 cat conftest.err >&5
25822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823 (exit $ac_status); } && {
25824 test -z "$ac_c_werror_flag" ||
25825 test ! -s conftest.err
25826 } && test -s conftest.$ac_objext; then
25829 cat >conftest.$ac_ext <<_ACEOF
25832 cat confdefs.h >>conftest.$ac_ext
25833 cat >>conftest.$ac_ext <<_ACEOF
25834 /* end confdefs.h. */
25836 #undef HAVE_BOOLEAN
25838 #include <jpeglib.h>
25841 typedef boolean ac__type_sizeof_;
25845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25852 rm -f conftest.$ac_objext
25853 if { (ac_try="$ac_compile"
25854 case "(($ac_try" in
25855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25856 *) ac_try_echo=$ac_try;;
25858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25859 (eval "$ac_compile") 2>conftest.er1
25861 grep -v '^ *+' conftest.er1 >conftest.err
25863 cat conftest.err >&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } && {
25866 test -z "$ac_c_werror_flag" ||
25867 test ! -s conftest.err
25868 } && test -s conftest.$ac_objext; then
25869 ac_lo=$ac_mid; break
25871 echo "$as_me: failed program was:" >&5
25872 sed 's/^/| /' conftest.$ac_ext >&5
25874 ac_hi=`expr '(' $ac_mid ')' - 1`
25875 if test $ac_mid -le $ac_hi; then
25879 ac_mid=`expr 2 '*' $ac_mid`
25882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25885 echo "$as_me: failed program was:" >&5
25886 sed 's/^/| /' conftest.$ac_ext >&5
25891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25895 # Binary search between lo and hi bounds.
25896 while test "x$ac_lo" != "x$ac_hi"; do
25897 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25898 cat >conftest.$ac_ext <<_ACEOF
25901 cat confdefs.h >>conftest.$ac_ext
25902 cat >>conftest.$ac_ext <<_ACEOF
25903 /* end confdefs.h. */
25905 #undef HAVE_BOOLEAN
25907 #include <jpeglib.h>
25910 typedef boolean ac__type_sizeof_;
25914 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25921 rm -f conftest.$ac_objext
25922 if { (ac_try="$ac_compile"
25923 case "(($ac_try" in
25924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25925 *) ac_try_echo=$ac_try;;
25927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25928 (eval "$ac_compile") 2>conftest.er1
25930 grep -v '^ *+' conftest.er1 >conftest.err
25932 cat conftest.err >&5
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); } && {
25935 test -z "$ac_c_werror_flag" ||
25936 test ! -s conftest.err
25937 } && test -s conftest.$ac_objext; then
25940 echo "$as_me: failed program was:" >&5
25941 sed 's/^/| /' conftest.$ac_ext >&5
25943 ac_lo=`expr '(' $ac_mid ')' + 1`
25946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25949 ?*) ac_cv_sizeof_boolean=$ac_lo;;
25950 '') if test "$ac_cv_type_boolean" = yes; then
25951 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
25952 See \`config.log' for more details." >&5
25953 echo "$as_me: error: cannot compute sizeof (boolean)
25954 See \`config.log' for more details." >&2;}
25955 { (exit 77); exit 77; }; }
25957 ac_cv_sizeof_boolean=0
25961 cat >conftest.$ac_ext <<_ACEOF
25964 cat confdefs.h >>conftest.$ac_ext
25965 cat >>conftest.$ac_ext <<_ACEOF
25966 /* end confdefs.h. */
25968 #undef HAVE_BOOLEAN
25970 #include <jpeglib.h>
25973 typedef boolean ac__type_sizeof_;
25974 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25975 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25977 #include <stdlib.h>
25982 FILE *f = fopen ("conftest.val", "w");
25985 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25987 long int i = longval ();
25988 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25990 fprintf (f, "%ld\n", i);
25994 unsigned long int i = ulongval ();
25995 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25997 fprintf (f, "%lu\n", i);
25999 return ferror (f) || fclose (f) != 0;
26005 rm -f conftest$ac_exeext
26006 if { (ac_try="$ac_link"
26007 case "(($ac_try" in
26008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26009 *) ac_try_echo=$ac_try;;
26011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26012 (eval "$ac_link") 2>&5
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26016 { (case "(($ac_try" in
26017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26018 *) ac_try_echo=$ac_try;;
26020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26021 (eval "$ac_try") 2>&5
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); }; }; then
26025 ac_cv_sizeof_boolean=`cat conftest.val`
26027 echo "$as_me: program exited with status $ac_status" >&5
26028 echo "$as_me: failed program was:" >&5
26029 sed 's/^/| /' conftest.$ac_ext >&5
26031 ( exit $ac_status )
26032 if test "$ac_cv_type_boolean" = yes; then
26033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26034 See \`config.log' for more details." >&5
26035 echo "$as_me: error: cannot compute sizeof (boolean)
26036 See \`config.log' for more details." >&2;}
26037 { (exit 77); exit 77; }; }
26039 ac_cv_sizeof_boolean=0
26042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26046 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26047 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26051 cat >>confdefs.h <<_ACEOF
26052 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26056 cat >>confdefs.h <<_ACEOF
26057 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26071 TIFF_PREREQ_LINKS=-lm
26072 if test "$wxUSE_LIBTIFF" != "no" ; then
26073 cat >>confdefs.h <<\_ACEOF
26074 #define wxUSE_LIBTIFF 1
26078 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26079 if test "$wxUSE_LIBJPEG" = "sys"; then
26080 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26082 if test "$wxUSE_ZLIB" = "sys"; then
26083 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26085 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26086 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26087 if test "${ac_cv_header_tiffio_h+set}" = set; then
26088 echo $ECHO_N "(cached) $ECHO_C" >&6
26090 cat >conftest.$ac_ext <<_ACEOF
26093 cat confdefs.h >>conftest.$ac_ext
26094 cat >>conftest.$ac_ext <<_ACEOF
26095 /* end confdefs.h. */
26099 #include <tiffio.h>
26101 rm -f conftest.$ac_objext
26102 if { (ac_try="$ac_compile"
26103 case "(($ac_try" in
26104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26105 *) ac_try_echo=$ac_try;;
26107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26108 (eval "$ac_compile") 2>conftest.er1
26110 grep -v '^ *+' conftest.er1 >conftest.err
26112 cat conftest.err >&5
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); } && {
26115 test -z "$ac_c_werror_flag" ||
26116 test ! -s conftest.err
26117 } && test -s conftest.$ac_objext; then
26118 ac_cv_header_tiffio_h=yes
26120 echo "$as_me: failed program was:" >&5
26121 sed 's/^/| /' conftest.$ac_ext >&5
26123 ac_cv_header_tiffio_h=no
26126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26128 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26129 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26130 if test $ac_cv_header_tiffio_h = yes; then
26132 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26133 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26134 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26135 echo $ECHO_N "(cached) $ECHO_C" >&6
26137 ac_check_lib_save_LIBS=$LIBS
26138 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26139 cat >conftest.$ac_ext <<_ACEOF
26142 cat confdefs.h >>conftest.$ac_ext
26143 cat >>conftest.$ac_ext <<_ACEOF
26144 /* end confdefs.h. */
26146 /* Override any GCC internal prototype to avoid an error.
26147 Use char because int might match the return type of a GCC
26148 builtin and then its argument prototype would still apply. */
26156 return TIFFError ();
26161 rm -f conftest.$ac_objext conftest$ac_exeext
26162 if { (ac_try="$ac_link"
26163 case "(($ac_try" in
26164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26165 *) ac_try_echo=$ac_try;;
26167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26168 (eval "$ac_link") 2>conftest.er1
26170 grep -v '^ *+' conftest.er1 >conftest.err
26172 cat conftest.err >&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } && {
26175 test -z "$ac_c_werror_flag" ||
26176 test ! -s conftest.err
26177 } && test -s conftest$ac_exeext &&
26178 $as_test_x conftest$ac_exeext; then
26179 ac_cv_lib_tiff_TIFFError=yes
26181 echo "$as_me: failed program was:" >&5
26182 sed 's/^/| /' conftest.$ac_ext >&5
26184 ac_cv_lib_tiff_TIFFError=no
26187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26188 conftest$ac_exeext conftest.$ac_ext
26189 LIBS=$ac_check_lib_save_LIBS
26191 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26192 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26193 if test $ac_cv_lib_tiff_TIFFError = yes; then
26194 TIFF_LINK=" -ltiff"
26202 if test "x$TIFF_LINK" = "x" ; then
26203 if test "$wxUSE_LIBTIFF" = "sys" ; then
26204 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26205 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26206 { (exit 1); exit 1; }; }
26208 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26209 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26210 wxUSE_LIBTIFF=builtin
26219 if test "$wxUSE_WCHAR_T" != "yes"; then
26220 if test "$wxUSE_EXPAT" != "no"; then
26221 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26222 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26225 if test "$wxUSE_XML" != "no"; then
26226 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26227 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26232 if test "$wxUSE_EXPAT" != "no"; then
26234 cat >>confdefs.h <<\_ACEOF
26235 #define wxUSE_EXPAT 1
26238 cat >>confdefs.h <<\_ACEOF
26239 #define wxUSE_XML 1
26243 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26244 { echo "$as_me:$LINENO: checking for expat.h" >&5
26245 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26246 if test "${ac_cv_header_expat_h+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. */
26259 rm -f conftest.$ac_objext
26260 if { (ac_try="$ac_compile"
26261 case "(($ac_try" in
26262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26263 *) ac_try_echo=$ac_try;;
26265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26266 (eval "$ac_compile") 2>conftest.er1
26268 grep -v '^ *+' conftest.er1 >conftest.err
26270 cat conftest.err >&5
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); } && {
26273 test -z "$ac_c_werror_flag" ||
26274 test ! -s conftest.err
26275 } && test -s conftest.$ac_objext; then
26276 ac_cv_header_expat_h=yes
26278 echo "$as_me: failed program was:" >&5
26279 sed 's/^/| /' conftest.$ac_ext >&5
26281 ac_cv_header_expat_h=no
26284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26286 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26287 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26288 if test $ac_cv_header_expat_h = yes; then
26293 if test "x$found_expat_h" = "x1"; then
26294 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26295 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26296 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26297 echo $ECHO_N "(cached) $ECHO_C" >&6
26301 ac_cpp='$CXXCPP $CPPFLAGS'
26302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26306 cat >conftest.$ac_ext <<_ACEOF
26309 cat confdefs.h >>conftest.$ac_ext
26310 cat >>conftest.$ac_ext <<_ACEOF
26311 /* end confdefs.h. */
26321 rm -f conftest.$ac_objext
26322 if { (ac_try="$ac_compile"
26323 case "(($ac_try" in
26324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26325 *) ac_try_echo=$ac_try;;
26327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26328 (eval "$ac_compile") 2>conftest.er1
26330 grep -v '^ *+' conftest.er1 >conftest.err
26332 cat conftest.err >&5
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); } && {
26335 test -z "$ac_cxx_werror_flag" ||
26336 test ! -s conftest.err
26337 } && test -s conftest.$ac_objext; then
26338 wx_cv_expat_is_not_broken=yes
26340 echo "$as_me: failed program was:" >&5
26341 sed 's/^/| /' conftest.$ac_ext >&5
26343 wx_cv_expat_is_not_broken=no
26347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26349 ac_cpp='$CPP $CPPFLAGS'
26350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26357 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26358 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26359 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26360 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26361 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26362 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26363 echo $ECHO_N "(cached) $ECHO_C" >&6
26365 ac_check_lib_save_LIBS=$LIBS
26366 LIBS="-lexpat $LIBS"
26367 cat >conftest.$ac_ext <<_ACEOF
26370 cat confdefs.h >>conftest.$ac_ext
26371 cat >>conftest.$ac_ext <<_ACEOF
26372 /* end confdefs.h. */
26374 /* Override any GCC internal prototype to avoid an error.
26375 Use char because int might match the return type of a GCC
26376 builtin and then its argument prototype would still apply. */
26380 char XML_ParserCreate ();
26384 return XML_ParserCreate ();
26389 rm -f conftest.$ac_objext conftest$ac_exeext
26390 if { (ac_try="$ac_link"
26391 case "(($ac_try" in
26392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26393 *) ac_try_echo=$ac_try;;
26395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26396 (eval "$ac_link") 2>conftest.er1
26398 grep -v '^ *+' conftest.er1 >conftest.err
26400 cat conftest.err >&5
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); } && {
26403 test -z "$ac_c_werror_flag" ||
26404 test ! -s conftest.err
26405 } && test -s conftest$ac_exeext &&
26406 $as_test_x conftest$ac_exeext; then
26407 ac_cv_lib_expat_XML_ParserCreate=yes
26409 echo "$as_me: failed program was:" >&5
26410 sed 's/^/| /' conftest.$ac_ext >&5
26412 ac_cv_lib_expat_XML_ParserCreate=no
26415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26416 conftest$ac_exeext conftest.$ac_ext
26417 LIBS=$ac_check_lib_save_LIBS
26419 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26420 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26421 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26422 EXPAT_LINK=" -lexpat"
26427 if test "x$EXPAT_LINK" = "x" ; then
26428 if test "$wxUSE_EXPAT" = "sys" ; then
26429 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26430 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26431 { (exit 1); exit 1; }; }
26433 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26434 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26435 wxUSE_EXPAT=builtin
26441 if test "$wxUSE_EXPAT" = "builtin" ; then
26442 subdirs="$subdirs src/expat"
26449 if test "$wxUSE_LIBMSPACK" != "no"; then
26450 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26451 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26452 if test "${ac_cv_header_mspack_h+set}" = set; then
26453 echo $ECHO_N "(cached) $ECHO_C" >&6
26455 cat >conftest.$ac_ext <<_ACEOF
26458 cat confdefs.h >>conftest.$ac_ext
26459 cat >>conftest.$ac_ext <<_ACEOF
26460 /* end confdefs.h. */
26463 #include <mspack.h>
26465 rm -f conftest.$ac_objext
26466 if { (ac_try="$ac_compile"
26467 case "(($ac_try" in
26468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26469 *) ac_try_echo=$ac_try;;
26471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26472 (eval "$ac_compile") 2>conftest.er1
26474 grep -v '^ *+' conftest.er1 >conftest.err
26476 cat conftest.err >&5
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); } && {
26479 test -z "$ac_c_werror_flag" ||
26480 test ! -s conftest.err
26481 } && test -s conftest.$ac_objext; then
26482 ac_cv_header_mspack_h=yes
26484 echo "$as_me: failed program was:" >&5
26485 sed 's/^/| /' conftest.$ac_ext >&5
26487 ac_cv_header_mspack_h=no
26490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26492 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26493 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26494 if test $ac_cv_header_mspack_h = yes; then
26499 if test "x$found_mspack_h" = "x1"; then
26500 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26501 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26502 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26503 echo $ECHO_N "(cached) $ECHO_C" >&6
26505 ac_check_lib_save_LIBS=$LIBS
26506 LIBS="-lmspack $LIBS"
26507 cat >conftest.$ac_ext <<_ACEOF
26510 cat confdefs.h >>conftest.$ac_ext
26511 cat >>conftest.$ac_ext <<_ACEOF
26512 /* end confdefs.h. */
26514 /* Override any GCC internal prototype to avoid an error.
26515 Use char because int might match the return type of a GCC
26516 builtin and then its argument prototype would still apply. */
26520 char mspack_create_chm_decompressor ();
26524 return mspack_create_chm_decompressor ();
26529 rm -f conftest.$ac_objext conftest$ac_exeext
26530 if { (ac_try="$ac_link"
26531 case "(($ac_try" in
26532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26533 *) ac_try_echo=$ac_try;;
26535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26536 (eval "$ac_link") 2>conftest.er1
26538 grep -v '^ *+' conftest.er1 >conftest.err
26540 cat conftest.err >&5
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); } && {
26543 test -z "$ac_c_werror_flag" ||
26544 test ! -s conftest.err
26545 } && test -s conftest$ac_exeext &&
26546 $as_test_x conftest$ac_exeext; then
26547 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26549 echo "$as_me: failed program was:" >&5
26550 sed 's/^/| /' conftest.$ac_ext >&5
26552 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26556 conftest$ac_exeext conftest.$ac_ext
26557 LIBS=$ac_check_lib_save_LIBS
26559 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26560 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26561 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26562 MSPACK_LINK=" -lmspack"
26566 if test "x$MSPACK_LINK" = "x" ; then
26571 if test "$wxUSE_LIBMSPACK" != "no"; then
26572 cat >>confdefs.h <<\_ACEOF
26573 #define wxUSE_LIBMSPACK 1
26587 if test "$USE_WIN32" = 1 ; then
26588 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26589 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26590 if test "${ac_cv_header_w32api_h+set}" = set; then
26591 echo $ECHO_N "(cached) $ECHO_C" >&6
26593 cat >conftest.$ac_ext <<_ACEOF
26596 cat confdefs.h >>conftest.$ac_ext
26597 cat >>conftest.$ac_ext <<_ACEOF
26598 /* end confdefs.h. */
26601 #include <w32api.h>
26603 rm -f conftest.$ac_objext
26604 if { (ac_try="$ac_compile"
26605 case "(($ac_try" in
26606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26607 *) ac_try_echo=$ac_try;;
26609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26610 (eval "$ac_compile") 2>conftest.er1
26612 grep -v '^ *+' conftest.er1 >conftest.err
26614 cat conftest.err >&5
26615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26616 (exit $ac_status); } && {
26617 test -z "$ac_c_werror_flag" ||
26618 test ! -s conftest.err
26619 } && test -s conftest.$ac_objext; then
26620 ac_cv_header_w32api_h=yes
26622 echo "$as_me: failed program was:" >&5
26623 sed 's/^/| /' conftest.$ac_ext >&5
26625 ac_cv_header_w32api_h=no
26628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26630 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26631 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26634 { echo "$as_me:$LINENO: checking for windows.h" >&5
26635 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
26636 if test "${ac_cv_header_windows_h+set}" = set; then
26637 echo $ECHO_N "(cached) $ECHO_C" >&6
26639 cat >conftest.$ac_ext <<_ACEOF
26642 cat confdefs.h >>conftest.$ac_ext
26643 cat >>conftest.$ac_ext <<_ACEOF
26644 /* end confdefs.h. */
26647 #include <windows.h>
26649 rm -f conftest.$ac_objext
26650 if { (ac_try="$ac_compile"
26651 case "(($ac_try" in
26652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26653 *) ac_try_echo=$ac_try;;
26655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26656 (eval "$ac_compile") 2>conftest.er1
26658 grep -v '^ *+' conftest.er1 >conftest.err
26660 cat conftest.err >&5
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); } && {
26663 test -z "$ac_c_werror_flag" ||
26664 test ! -s conftest.err
26665 } && test -s conftest.$ac_objext; then
26666 ac_cv_header_windows_h=yes
26668 echo "$as_me: failed program was:" >&5
26669 sed 's/^/| /' conftest.$ac_ext >&5
26671 ac_cv_header_windows_h=no
26674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26676 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26677 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26678 if test $ac_cv_header_windows_h = yes; then
26682 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26683 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26684 { (exit 1); exit 1; }; }
26690 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26692 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26693 LIBS="$LIBS -loleacc"
26698 LIBS="$LIBS -lkernel32 -luser32"
26701 if test "$wxUSE_ODBC" = "sys" ; then
26704 if test "$wxUSE_ODBC" = "yes" ; then
26705 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26706 cat >>confdefs.h <<\_ACEOF
26707 #define wxUSE_ODBC 1
26712 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26713 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26715 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26717 WIN32INSTALL=win32install
26719 { echo "$as_me:$LINENO: checking for pbt.h" >&5
26720 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
26721 if test "${ac_cv_header_pbt_h+set}" = set; then
26722 echo $ECHO_N "(cached) $ECHO_C" >&6
26724 cat >conftest.$ac_ext <<_ACEOF
26727 cat confdefs.h >>conftest.$ac_ext
26728 cat >>conftest.$ac_ext <<_ACEOF
26729 /* end confdefs.h. */
26734 rm -f conftest.$ac_objext
26735 if { (ac_try="$ac_compile"
26736 case "(($ac_try" in
26737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26738 *) ac_try_echo=$ac_try;;
26740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26741 (eval "$ac_compile") 2>conftest.er1
26743 grep -v '^ *+' conftest.er1 >conftest.err
26745 cat conftest.err >&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); } && {
26748 test -z "$ac_c_werror_flag" ||
26749 test ! -s conftest.err
26750 } && test -s conftest.$ac_objext; then
26751 ac_cv_header_pbt_h=yes
26753 echo "$as_me: failed program was:" >&5
26754 sed 's/^/| /' conftest.$ac_ext >&5
26756 ac_cv_header_pbt_h=no
26759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26761 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26762 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26763 if test $ac_cv_header_pbt_h = yes; then
26766 cat >>confdefs.h <<\_ACEOF
26767 #define NEED_PBT_H 1
26775 if test "$wxUSE_GUI" = "yes"; then
26785 if test "$wxUSE_COCOA" = 1 ; then
26786 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26787 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26788 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26789 wxUSE_PRINTING_ARCHITECTURE=no
26791 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26792 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26793 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26794 wxUSE_DRAG_AND_DROP=no
26796 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26797 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26798 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26803 if test "$wxUSE_MSW" = 1 ; then
26809 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26813 if test "$wxUSE_GTK" = 1; then
26814 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
26815 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
26817 gtk_version_cached=1
26818 if test "${wx_cv_lib_gtk+set}" = set; then
26819 echo $ECHO_N "(cached) $ECHO_C" >&6
26822 gtk_version_cached=0
26823 { echo "$as_me:$LINENO: result: " >&5
26824 echo "${ECHO_T}" >&6; }
26827 if test "$wxUSE_THREADS" = "yes"; then
26828 GTK_MODULES=gthread
26832 if test "x$wxGTK_VERSION" != "x1"
26836 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26841 # Check whether --enable-gtktest was given.
26842 if test "${enable_gtktest+set}" = set; then
26843 enableval=$enable_gtktest;
26849 pkg_config_args=gtk+-2.0
26850 for module in . $GTK_MODULES
26854 pkg_config_args="$pkg_config_args gthread-2.0"
26861 # Extract the first word of "pkg-config", so it can be a program name with args.
26862 set dummy pkg-config; ac_word=$2
26863 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26865 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26866 echo $ECHO_N "(cached) $ECHO_C" >&6
26868 case $PKG_CONFIG in
26870 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26874 for as_dir in $PATH
26877 test -z "$as_dir" && as_dir=.
26878 for ac_exec_ext in '' $ac_executable_extensions; do
26879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26880 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26888 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26892 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26893 if test -n "$PKG_CONFIG"; then
26894 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26895 echo "${ECHO_T}$PKG_CONFIG" >&6; }
26897 { echo "$as_me:$LINENO: result: no" >&5
26898 echo "${ECHO_T}no" >&6; }
26903 if test x$PKG_CONFIG != xno ; then
26904 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26907 echo "*** pkg-config too old; version 0.7 or better required."
26915 min_gtk_version=2.0.0
26916 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26917 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
26919 if test x$PKG_CONFIG != xno ; then
26920 ## don't try to run the test against uninstalled libtool libs
26921 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26922 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26926 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26933 if test x"$no_gtk" = x ; then
26934 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26935 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26936 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26938 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26940 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26942 if test "x$enable_gtktest" = "xyes" ; then
26943 ac_save_CFLAGS="$CFLAGS"
26944 ac_save_LIBS="$LIBS"
26945 CFLAGS="$CFLAGS $GTK_CFLAGS"
26946 LIBS="$GTK_LIBS $LIBS"
26948 if test "$cross_compiling" = yes; then
26949 echo $ac_n "cross compiling; assumed OK... $ac_c"
26951 cat >conftest.$ac_ext <<_ACEOF
26954 cat confdefs.h >>conftest.$ac_ext
26955 cat >>conftest.$ac_ext <<_ACEOF
26956 /* end confdefs.h. */
26958 #include <gtk/gtk.h>
26960 #include <stdlib.h>
26965 int major, minor, micro;
26968 system ("touch conf.gtktest");
26970 /* HP/UX 9 (%@#!) writes to sscanf strings */
26971 tmp_version = g_strdup("$min_gtk_version");
26972 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26973 printf("%s, bad version string\n", "$min_gtk_version");
26977 if ((gtk_major_version != $gtk_config_major_version) ||
26978 (gtk_minor_version != $gtk_config_minor_version) ||
26979 (gtk_micro_version != $gtk_config_micro_version))
26981 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26982 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26983 gtk_major_version, gtk_minor_version, gtk_micro_version);
26984 printf ("*** was found! If pkg-config was correct, then it is best\n");
26985 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26986 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26987 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26988 printf("*** required on your system.\n");
26989 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26990 printf("*** to point to the correct configuration files\n");
26992 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26993 (gtk_minor_version != GTK_MINOR_VERSION) ||
26994 (gtk_micro_version != GTK_MICRO_VERSION))
26996 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26997 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26998 printf("*** library (version %d.%d.%d)\n",
26999 gtk_major_version, gtk_minor_version, gtk_micro_version);
27003 if ((gtk_major_version > major) ||
27004 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27005 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27011 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27012 gtk_major_version, gtk_minor_version, gtk_micro_version);
27013 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27014 major, minor, micro);
27015 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27017 printf("*** If you have already installed a sufficiently new version, this error\n");
27018 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27019 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27020 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27021 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27022 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27023 printf("*** so that the correct libraries are found at run-time))\n");
27030 rm -f conftest$ac_exeext
27031 if { (ac_try="$ac_link"
27032 case "(($ac_try" in
27033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27034 *) ac_try_echo=$ac_try;;
27036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27037 (eval "$ac_link") 2>&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); }; }; then
27052 echo "$as_me: program exited with status $ac_status" >&5
27053 echo "$as_me: failed program was:" >&5
27054 sed 's/^/| /' conftest.$ac_ext >&5
27056 ( exit $ac_status )
27059 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27063 CFLAGS="$ac_save_CFLAGS"
27064 LIBS="$ac_save_LIBS"
27067 if test "x$no_gtk" = x ; then
27068 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27069 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27072 { echo "$as_me:$LINENO: result: no" >&5
27073 echo "${ECHO_T}no" >&6; }
27074 if test "$PKG_CONFIG" = "no" ; then
27075 echo "*** A new enough version of pkg-config was not found."
27076 echo "*** See http://pkgconfig.sourceforge.net"
27078 if test -f conf.gtktest ; then
27081 echo "*** Could not run GTK+ test program, checking why..."
27082 ac_save_CFLAGS="$CFLAGS"
27083 ac_save_LIBS="$LIBS"
27084 CFLAGS="$CFLAGS $GTK_CFLAGS"
27085 LIBS="$LIBS $GTK_LIBS"
27086 cat >conftest.$ac_ext <<_ACEOF
27089 cat confdefs.h >>conftest.$ac_ext
27090 cat >>conftest.$ac_ext <<_ACEOF
27091 /* end confdefs.h. */
27093 #include <gtk/gtk.h>
27099 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27104 rm -f conftest.$ac_objext conftest$ac_exeext
27105 if { (ac_try="$ac_link"
27106 case "(($ac_try" in
27107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27108 *) ac_try_echo=$ac_try;;
27110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27111 (eval "$ac_link") 2>conftest.er1
27113 grep -v '^ *+' conftest.er1 >conftest.err
27115 cat conftest.err >&5
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); } && {
27118 test -z "$ac_c_werror_flag" ||
27119 test ! -s conftest.err
27120 } && test -s conftest$ac_exeext &&
27121 $as_test_x conftest$ac_exeext; then
27122 echo "*** The test program compiled, but did not run. This usually means"
27123 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27124 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27125 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27126 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27127 echo "*** is required on your system"
27129 echo "*** If you have an old version installed, it is best to remove it, although"
27130 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27132 echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.$ac_ext >&5
27135 echo "*** The test program failed to compile or link. See the file config.log for the"
27136 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27140 conftest$ac_exeext conftest.$ac_ext
27141 CFLAGS="$ac_save_CFLAGS"
27142 LIBS="$ac_save_LIBS"
27156 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27157 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27158 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27160 if test "$wxUSE_SHARED" != "yes"; then
27161 GTK_LIBS="$GTK_LIBS -lX11"
27166 if test -z "$wx_cv_lib_gtk"; then
27167 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27169 # Check whether --with-gtk-prefix was given.
27170 if test "${with_gtk_prefix+set}" = set; then
27171 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27173 gtk_config_prefix=""
27177 # Check whether --with-gtk-exec-prefix was given.
27178 if test "${with_gtk_exec_prefix+set}" = set; then
27179 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27181 gtk_config_exec_prefix=""
27184 # Check whether --enable-gtktest was given.
27185 if test "${enable_gtktest+set}" = set; then
27186 enableval=$enable_gtktest;
27192 for module in . $GTK_MODULES
27196 gtk_config_args="$gtk_config_args gthread"
27201 if test x$gtk_config_exec_prefix != x ; then
27202 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27203 if test x${GTK_CONFIG+set} != xset ; then
27204 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27207 if test x$gtk_config_prefix != x ; then
27208 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27209 if test x${GTK_CONFIG+set} != xset ; then
27210 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27214 # Extract the first word of "gtk-config", so it can be a program name with args.
27215 set dummy gtk-config; ac_word=$2
27216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27218 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27219 echo $ECHO_N "(cached) $ECHO_C" >&6
27221 case $GTK_CONFIG in
27223 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27227 for as_dir in $PATH
27230 test -z "$as_dir" && as_dir=.
27231 for ac_exec_ext in '' $ac_executable_extensions; do
27232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27233 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27241 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27245 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27246 if test -n "$GTK_CONFIG"; then
27247 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27248 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27250 { echo "$as_me:$LINENO: result: no" >&5
27251 echo "${ECHO_T}no" >&6; }
27255 min_gtk_version=1.2.7
27256 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27257 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27259 if test "$GTK_CONFIG" = "no" ; then
27262 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27263 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27264 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27265 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27266 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27267 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27268 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27269 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27270 if test "x$enable_gtktest" = "xyes" ; then
27271 ac_save_CFLAGS="$CFLAGS"
27272 ac_save_LIBS="$LIBS"
27273 CFLAGS="$CFLAGS $GTK_CFLAGS"
27274 LIBS="$GTK_LIBS $LIBS"
27276 if test "$cross_compiling" = yes; then
27277 echo $ac_n "cross compiling; assumed OK... $ac_c"
27279 cat >conftest.$ac_ext <<_ACEOF
27282 cat confdefs.h >>conftest.$ac_ext
27283 cat >>conftest.$ac_ext <<_ACEOF
27284 /* end confdefs.h. */
27286 #include <gtk/gtk.h>
27288 #include <stdlib.h>
27293 int major, minor, micro;
27296 system ("touch conf.gtktest");
27298 /* HP/UX 9 (%@#!) writes to sscanf strings */
27299 tmp_version = g_strdup("$min_gtk_version");
27300 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27301 printf("%s, bad version string\n", "$min_gtk_version");
27305 if ((gtk_major_version != $gtk_config_major_version) ||
27306 (gtk_minor_version != $gtk_config_minor_version) ||
27307 (gtk_micro_version != $gtk_config_micro_version))
27309 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27310 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27311 gtk_major_version, gtk_minor_version, gtk_micro_version);
27312 printf ("*** was found! If gtk-config was correct, then it is best\n");
27313 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27314 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27315 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27316 printf("*** required on your system.\n");
27317 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27318 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27319 printf("*** before re-running configure\n");
27321 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27322 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27323 (gtk_minor_version != GTK_MINOR_VERSION) ||
27324 (gtk_micro_version != GTK_MICRO_VERSION))
27326 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27327 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27328 printf("*** library (version %d.%d.%d)\n",
27329 gtk_major_version, gtk_minor_version, gtk_micro_version);
27331 #endif /* defined (GTK_MAJOR_VERSION) ... */
27334 if ((gtk_major_version > major) ||
27335 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27336 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27342 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27343 gtk_major_version, gtk_minor_version, gtk_micro_version);
27344 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27345 major, minor, micro);
27346 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27348 printf("*** If you have already installed a sufficiently new version, this error\n");
27349 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27350 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27351 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27352 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27353 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27354 printf("*** so that the correct libraries are found at run-time))\n");
27361 rm -f conftest$ac_exeext
27362 if { (ac_try="$ac_link"
27363 case "(($ac_try" in
27364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27365 *) ac_try_echo=$ac_try;;
27367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27368 (eval "$ac_link") 2>&5
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27372 { (case "(($ac_try" in
27373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27374 *) ac_try_echo=$ac_try;;
27376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27377 (eval "$ac_try") 2>&5
27379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380 (exit $ac_status); }; }; then
27383 echo "$as_me: program exited with status $ac_status" >&5
27384 echo "$as_me: failed program was:" >&5
27385 sed 's/^/| /' conftest.$ac_ext >&5
27387 ( exit $ac_status )
27390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27394 CFLAGS="$ac_save_CFLAGS"
27395 LIBS="$ac_save_LIBS"
27398 if test "x$no_gtk" = x ; then
27399 { echo "$as_me:$LINENO: result: yes" >&5
27400 echo "${ECHO_T}yes" >&6; }
27401 wx_cv_lib_gtk=1.2.7
27403 { echo "$as_me:$LINENO: result: no" >&5
27404 echo "${ECHO_T}no" >&6; }
27405 if test "$GTK_CONFIG" = "no" ; then
27406 echo "*** The gtk-config script installed by GTK could not be found"
27407 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27408 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27409 echo "*** full path to gtk-config."
27411 if test -f conf.gtktest ; then
27414 echo "*** Could not run GTK test program, checking why..."
27415 CFLAGS="$CFLAGS $GTK_CFLAGS"
27416 LIBS="$LIBS $GTK_LIBS"
27417 cat >conftest.$ac_ext <<_ACEOF
27420 cat confdefs.h >>conftest.$ac_ext
27421 cat >>conftest.$ac_ext <<_ACEOF
27422 /* end confdefs.h. */
27424 #include <gtk/gtk.h>
27430 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27435 rm -f conftest.$ac_objext conftest$ac_exeext
27436 if { (ac_try="$ac_link"
27437 case "(($ac_try" in
27438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27439 *) ac_try_echo=$ac_try;;
27441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27442 (eval "$ac_link") 2>conftest.er1
27444 grep -v '^ *+' conftest.er1 >conftest.err
27446 cat conftest.err >&5
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); } && {
27449 test -z "$ac_c_werror_flag" ||
27450 test ! -s conftest.err
27451 } && test -s conftest$ac_exeext &&
27452 $as_test_x conftest$ac_exeext; then
27453 echo "*** The test program compiled, but did not run. This usually means"
27454 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27455 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27456 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27457 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27458 echo "*** is required on your system"
27460 echo "*** If you have an old version installed, it is best to remove it, although"
27461 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27463 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27464 echo "*** came with the system with the command"
27466 echo "*** rpm --erase --nodeps gtk gtk-devel"
27468 echo "$as_me: failed program was:" >&5
27469 sed 's/^/| /' conftest.$ac_ext >&5
27471 echo "*** The test program failed to compile or link. See the file config.log for the"
27472 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27473 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27474 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27478 conftest$ac_exeext conftest.$ac_ext
27479 CFLAGS="$ac_save_CFLAGS"
27480 LIBS="$ac_save_LIBS"
27492 if test -z "$wx_cv_lib_gtk"; then
27494 # Check whether --with-gtk-prefix was given.
27495 if test "${with_gtk_prefix+set}" = set; then
27496 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27498 gtk_config_prefix=""
27502 # Check whether --with-gtk-exec-prefix was given.
27503 if test "${with_gtk_exec_prefix+set}" = set; then
27504 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27506 gtk_config_exec_prefix=""
27509 # Check whether --enable-gtktest was given.
27510 if test "${enable_gtktest+set}" = set; then
27511 enableval=$enable_gtktest;
27517 for module in . $GTK_MODULES
27521 gtk_config_args="$gtk_config_args gthread"
27526 if test x$gtk_config_exec_prefix != x ; then
27527 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27528 if test x${GTK_CONFIG+set} != xset ; then
27529 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27532 if test x$gtk_config_prefix != x ; then
27533 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27534 if test x${GTK_CONFIG+set} != xset ; then
27535 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27539 # Extract the first word of "gtk-config", so it can be a program name with args.
27540 set dummy gtk-config; ac_word=$2
27541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27543 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27544 echo $ECHO_N "(cached) $ECHO_C" >&6
27546 case $GTK_CONFIG in
27548 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27552 for as_dir in $PATH
27555 test -z "$as_dir" && as_dir=.
27556 for ac_exec_ext in '' $ac_executable_extensions; do
27557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27558 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27566 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27570 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27571 if test -n "$GTK_CONFIG"; then
27572 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27573 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27575 { echo "$as_me:$LINENO: result: no" >&5
27576 echo "${ECHO_T}no" >&6; }
27580 min_gtk_version=1.2.3
27581 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27582 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27584 if test "$GTK_CONFIG" = "no" ; then
27587 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27588 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27589 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27590 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27591 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27592 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27593 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27594 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27595 if test "x$enable_gtktest" = "xyes" ; then
27596 ac_save_CFLAGS="$CFLAGS"
27597 ac_save_LIBS="$LIBS"
27598 CFLAGS="$CFLAGS $GTK_CFLAGS"
27599 LIBS="$GTK_LIBS $LIBS"
27601 if test "$cross_compiling" = yes; then
27602 echo $ac_n "cross compiling; assumed OK... $ac_c"
27604 cat >conftest.$ac_ext <<_ACEOF
27607 cat confdefs.h >>conftest.$ac_ext
27608 cat >>conftest.$ac_ext <<_ACEOF
27609 /* end confdefs.h. */
27611 #include <gtk/gtk.h>
27613 #include <stdlib.h>
27618 int major, minor, micro;
27621 system ("touch conf.gtktest");
27623 /* HP/UX 9 (%@#!) writes to sscanf strings */
27624 tmp_version = g_strdup("$min_gtk_version");
27625 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27626 printf("%s, bad version string\n", "$min_gtk_version");
27630 if ((gtk_major_version != $gtk_config_major_version) ||
27631 (gtk_minor_version != $gtk_config_minor_version) ||
27632 (gtk_micro_version != $gtk_config_micro_version))
27634 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27635 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27636 gtk_major_version, gtk_minor_version, gtk_micro_version);
27637 printf ("*** was found! If gtk-config was correct, then it is best\n");
27638 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27639 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27640 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27641 printf("*** required on your system.\n");
27642 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27643 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27644 printf("*** before re-running configure\n");
27646 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27647 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27648 (gtk_minor_version != GTK_MINOR_VERSION) ||
27649 (gtk_micro_version != GTK_MICRO_VERSION))
27651 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27652 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27653 printf("*** library (version %d.%d.%d)\n",
27654 gtk_major_version, gtk_minor_version, gtk_micro_version);
27656 #endif /* defined (GTK_MAJOR_VERSION) ... */
27659 if ((gtk_major_version > major) ||
27660 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27661 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27667 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27668 gtk_major_version, gtk_minor_version, gtk_micro_version);
27669 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27670 major, minor, micro);
27671 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27673 printf("*** If you have already installed a sufficiently new version, this error\n");
27674 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27675 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27676 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27677 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27678 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27679 printf("*** so that the correct libraries are found at run-time))\n");
27686 rm -f conftest$ac_exeext
27687 if { (ac_try="$ac_link"
27688 case "(($ac_try" in
27689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27690 *) ac_try_echo=$ac_try;;
27692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27693 (eval "$ac_link") 2>&5
27695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27696 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27697 { (case "(($ac_try" in
27698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27699 *) ac_try_echo=$ac_try;;
27701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27702 (eval "$ac_try") 2>&5
27704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27705 (exit $ac_status); }; }; then
27708 echo "$as_me: program exited with status $ac_status" >&5
27709 echo "$as_me: failed program was:" >&5
27710 sed 's/^/| /' conftest.$ac_ext >&5
27712 ( exit $ac_status )
27715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27719 CFLAGS="$ac_save_CFLAGS"
27720 LIBS="$ac_save_LIBS"
27723 if test "x$no_gtk" = x ; then
27724 { echo "$as_me:$LINENO: result: yes" >&5
27725 echo "${ECHO_T}yes" >&6; }
27726 wx_cv_lib_gtk=1.2.3
27728 { echo "$as_me:$LINENO: result: no" >&5
27729 echo "${ECHO_T}no" >&6; }
27730 if test "$GTK_CONFIG" = "no" ; then
27731 echo "*** The gtk-config script installed by GTK could not be found"
27732 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27733 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27734 echo "*** full path to gtk-config."
27736 if test -f conf.gtktest ; then
27739 echo "*** Could not run GTK test program, checking why..."
27740 CFLAGS="$CFLAGS $GTK_CFLAGS"
27741 LIBS="$LIBS $GTK_LIBS"
27742 cat >conftest.$ac_ext <<_ACEOF
27745 cat confdefs.h >>conftest.$ac_ext
27746 cat >>conftest.$ac_ext <<_ACEOF
27747 /* end confdefs.h. */
27749 #include <gtk/gtk.h>
27755 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27760 rm -f conftest.$ac_objext conftest$ac_exeext
27761 if { (ac_try="$ac_link"
27762 case "(($ac_try" in
27763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27764 *) ac_try_echo=$ac_try;;
27766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27767 (eval "$ac_link") 2>conftest.er1
27769 grep -v '^ *+' conftest.er1 >conftest.err
27771 cat conftest.err >&5
27772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773 (exit $ac_status); } && {
27774 test -z "$ac_c_werror_flag" ||
27775 test ! -s conftest.err
27776 } && test -s conftest$ac_exeext &&
27777 $as_test_x conftest$ac_exeext; then
27778 echo "*** The test program compiled, but did not run. This usually means"
27779 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27780 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27781 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27782 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27783 echo "*** is required on your system"
27785 echo "*** If you have an old version installed, it is best to remove it, although"
27786 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27788 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27789 echo "*** came with the system with the command"
27791 echo "*** rpm --erase --nodeps gtk gtk-devel"
27793 echo "$as_me: failed program was:" >&5
27794 sed 's/^/| /' conftest.$ac_ext >&5
27796 echo "*** The test program failed to compile or link. See the file config.log for the"
27797 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27798 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27799 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27803 conftest$ac_exeext conftest.$ac_ext
27804 CFLAGS="$ac_save_CFLAGS"
27805 LIBS="$ac_save_LIBS"
27820 if test -z "$wx_cv_lib_gtk"; then
27823 wx_cv_cflags_gtk=$GTK_CFLAGS
27824 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27831 if test "$gtk_version_cached" = 1; then
27832 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27833 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
27836 case "$wx_cv_lib_gtk" in
27845 *) { { echo "$as_me:$LINENO: error:
27846 The development files for GTK+ were not found. For GTK+ 2, please
27847 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27848 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27849 and that the version is 1.2.3 or above. Also check that the
27850 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27851 --libs' are in the LD_LIBRARY_PATH or equivalent.
27853 echo "$as_me: error:
27854 The development files for GTK+ were not found. For GTK+ 2, please
27855 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27856 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27857 and that the version is 1.2.3 or above. Also check that the
27858 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27859 --libs' are in the LD_LIBRARY_PATH or equivalent.
27861 { (exit 1); exit 1; }; }
27865 if test "$WXGTK20" = 1; then
27866 save_CFLAGS="$CFLAGS"
27868 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27869 LIBS="$LIBS $wx_cv_libs_gtk"
27871 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27872 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
27873 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27874 echo $ECHO_N "(cached) $ECHO_C" >&6
27876 cat >conftest.$ac_ext <<_ACEOF
27879 cat confdefs.h >>conftest.$ac_ext
27880 cat >>conftest.$ac_ext <<_ACEOF
27881 /* end confdefs.h. */
27882 #include <gtk/gtk.h>
27887 #ifndef gtk_icon_size_lookup
27888 (void) gtk_icon_size_lookup;
27895 rm -f conftest.$ac_objext
27896 if { (ac_try="$ac_compile"
27897 case "(($ac_try" in
27898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27899 *) ac_try_echo=$ac_try;;
27901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27902 (eval "$ac_compile") 2>conftest.er1
27904 grep -v '^ *+' conftest.er1 >conftest.err
27906 cat conftest.err >&5
27907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27908 (exit $ac_status); } && {
27909 test -z "$ac_c_werror_flag" ||
27910 test ! -s conftest.err
27911 } && test -s conftest.$ac_objext; then
27912 ac_cv_have_decl_gtk_icon_size_lookup=yes
27914 echo "$as_me: failed program was:" >&5
27915 sed 's/^/| /' conftest.$ac_ext >&5
27917 ac_cv_have_decl_gtk_icon_size_lookup=no
27920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27922 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27923 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
27924 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27926 cat >>confdefs.h <<_ACEOF
27927 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27932 cat >>confdefs.h <<_ACEOF
27933 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27936 cat >>confdefs.h <<\_ACEOF
27937 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27945 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27946 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
27947 cat >conftest.$ac_ext <<_ACEOF
27950 cat confdefs.h >>conftest.$ac_ext
27951 cat >>conftest.$ac_ext <<_ACEOF
27952 /* end confdefs.h. */
27954 #include <gtk/gtk.h>
27960 #if !GTK_CHECK_VERSION(2,10,0)
27968 rm -f conftest.$ac_objext
27969 if { (ac_try="$ac_compile"
27970 case "(($ac_try" in
27971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27972 *) ac_try_echo=$ac_try;;
27974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27975 (eval "$ac_compile") 2>conftest.er1
27977 grep -v '^ *+' conftest.er1 >conftest.err
27979 cat conftest.err >&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); } && {
27982 test -z "$ac_c_werror_flag" ||
27983 test ! -s conftest.err
27984 } && test -s conftest.$ac_objext; then
27986 cat >>confdefs.h <<\_ACEOF
27987 #define __WXGTK210__ 1
27990 cat >>confdefs.h <<\_ACEOF
27991 #define __WXGTK26__ 1
27994 cat >>confdefs.h <<\_ACEOF
27995 #define __WXGTK24__ 1
27998 { echo "$as_me:$LINENO: result: yes" >&5
27999 echo "${ECHO_T}yes" >&6; }
28003 echo "$as_me: failed program was:" >&5
28004 sed 's/^/| /' conftest.$ac_ext >&5
28007 { echo "$as_me:$LINENO: result: no" >&5
28008 echo "${ECHO_T}no" >&6; }
28013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28015 if test "$ac_wxgtk210" = 0; then
28016 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28017 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28018 cat >conftest.$ac_ext <<_ACEOF
28021 cat confdefs.h >>conftest.$ac_ext
28022 cat >>conftest.$ac_ext <<_ACEOF
28023 /* end confdefs.h. */
28025 #include <gtk/gtk.h>
28031 #if !GTK_CHECK_VERSION(2,6,0)
28039 rm -f conftest.$ac_objext
28040 if { (ac_try="$ac_compile"
28041 case "(($ac_try" in
28042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28043 *) ac_try_echo=$ac_try;;
28045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28046 (eval "$ac_compile") 2>conftest.er1
28048 grep -v '^ *+' conftest.er1 >conftest.err
28050 cat conftest.err >&5
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); } && {
28053 test -z "$ac_c_werror_flag" ||
28054 test ! -s conftest.err
28055 } && test -s conftest.$ac_objext; then
28057 cat >>confdefs.h <<\_ACEOF
28058 #define __WXGTK26__ 1
28061 cat >>confdefs.h <<\_ACEOF
28062 #define __WXGTK24__ 1
28065 { echo "$as_me:$LINENO: result: yes" >&5
28066 echo "${ECHO_T}yes" >&6; }
28070 echo "$as_me: failed program was:" >&5
28071 sed 's/^/| /' conftest.$ac_ext >&5
28074 { echo "$as_me:$LINENO: result: no" >&5
28075 echo "${ECHO_T}no" >&6; }
28080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28083 if test "$ac_wxgtk26" = 0; then
28084 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28085 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28086 cat >conftest.$ac_ext <<_ACEOF
28089 cat confdefs.h >>conftest.$ac_ext
28090 cat >>conftest.$ac_ext <<_ACEOF
28091 /* end confdefs.h. */
28093 #include <gtk/gtk.h>
28099 #if !GTK_CHECK_VERSION(2,4,0)
28107 rm -f conftest.$ac_objext
28108 if { (ac_try="$ac_compile"
28109 case "(($ac_try" in
28110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28111 *) ac_try_echo=$ac_try;;
28113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28114 (eval "$ac_compile") 2>conftest.er1
28116 grep -v '^ *+' conftest.er1 >conftest.err
28118 cat conftest.err >&5
28119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28120 (exit $ac_status); } && {
28121 test -z "$ac_c_werror_flag" ||
28122 test ! -s conftest.err
28123 } && test -s conftest.$ac_objext; then
28125 cat >>confdefs.h <<\_ACEOF
28126 #define __WXGTK24__ 1
28129 { echo "$as_me:$LINENO: result: yes" >&5
28130 echo "${ECHO_T}yes" >&6; }
28133 echo "$as_me: failed program was:" >&5
28134 sed 's/^/| /' conftest.$ac_ext >&5
28137 { echo "$as_me:$LINENO: result: no" >&5
28138 echo "${ECHO_T}no" >&6; }
28142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28145 CFLAGS="$save_CFLAGS"
28148 if test "$wxUSE_UNICODE" = "yes"; then
28149 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28150 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28154 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28155 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28156 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28157 echo $ECHO_N "(cached) $ECHO_C" >&6
28159 ac_check_lib_save_LIBS=$LIBS
28161 cat >conftest.$ac_ext <<_ACEOF
28164 cat confdefs.h >>conftest.$ac_ext
28165 cat >>conftest.$ac_ext <<_ACEOF
28166 /* end confdefs.h. */
28168 /* Override any GCC internal prototype to avoid an error.
28169 Use char because int might match the return type of a GCC
28170 builtin and then its argument prototype would still apply. */
28174 char gdk_im_open ();
28178 return gdk_im_open ();
28183 rm -f conftest.$ac_objext conftest$ac_exeext
28184 if { (ac_try="$ac_link"
28185 case "(($ac_try" in
28186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28187 *) ac_try_echo=$ac_try;;
28189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28190 (eval "$ac_link") 2>conftest.er1
28192 grep -v '^ *+' conftest.er1 >conftest.err
28194 cat conftest.err >&5
28195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); } && {
28197 test -z "$ac_c_werror_flag" ||
28198 test ! -s conftest.err
28199 } && test -s conftest$ac_exeext &&
28200 $as_test_x conftest$ac_exeext; then
28201 ac_cv_lib_gdk_gdk_im_open=yes
28203 echo "$as_me: failed program was:" >&5
28204 sed 's/^/| /' conftest.$ac_ext >&5
28206 ac_cv_lib_gdk_gdk_im_open=no
28209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28210 conftest$ac_exeext conftest.$ac_ext
28211 LIBS=$ac_check_lib_save_LIBS
28213 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28214 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28215 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28216 cat >>confdefs.h <<\_ACEOF
28223 if test "$USE_DARWIN" != 1; then
28225 for ac_func in poll
28227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28228 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28230 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28231 echo $ECHO_N "(cached) $ECHO_C" >&6
28233 cat >conftest.$ac_ext <<_ACEOF
28236 cat confdefs.h >>conftest.$ac_ext
28237 cat >>conftest.$ac_ext <<_ACEOF
28238 /* end confdefs.h. */
28239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28241 #define $ac_func innocuous_$ac_func
28243 /* System header to define __stub macros and hopefully few prototypes,
28244 which can conflict with char $ac_func (); below.
28245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28246 <limits.h> exists even on freestanding compilers. */
28249 # include <limits.h>
28251 # include <assert.h>
28256 /* Override any GCC internal prototype to avoid an error.
28257 Use char because int might match the return type of a GCC
28258 builtin and then its argument prototype would still apply. */
28263 /* The GNU C library defines this for functions which it implements
28264 to always fail with ENOSYS. Some functions are actually named
28265 something starting with __ and the normal name is an alias. */
28266 #if defined __stub_$ac_func || defined __stub___$ac_func
28273 return $ac_func ();
28278 rm -f conftest.$ac_objext conftest$ac_exeext
28279 if { (ac_try="$ac_link"
28280 case "(($ac_try" in
28281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28282 *) ac_try_echo=$ac_try;;
28284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28285 (eval "$ac_link") 2>conftest.er1
28287 grep -v '^ *+' conftest.er1 >conftest.err
28289 cat conftest.err >&5
28290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291 (exit $ac_status); } && {
28292 test -z "$ac_c_werror_flag" ||
28293 test ! -s conftest.err
28294 } && test -s conftest$ac_exeext &&
28295 $as_test_x conftest$ac_exeext; then
28296 eval "$as_ac_var=yes"
28298 echo "$as_me: failed program was:" >&5
28299 sed 's/^/| /' conftest.$ac_ext >&5
28301 eval "$as_ac_var=no"
28304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28305 conftest$ac_exeext conftest.$ac_ext
28307 ac_res=`eval echo '${'$as_ac_var'}'`
28308 { echo "$as_me:$LINENO: result: $ac_res" >&5
28309 echo "${ECHO_T}$ac_res" >&6; }
28310 if test `eval echo '${'$as_ac_var'}'` = yes; then
28311 cat >>confdefs.h <<_ACEOF
28312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28321 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28322 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28324 AFMINSTALL=afminstall
28328 if test "$wxUSE_GPE" = "yes"; then
28329 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28330 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28333 for ac_dir in $SEARCH_LIB;
28335 for ac_extension in a so sl dylib dll.a; do
28336 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28337 ac_find_libraries=$ac_dir
28343 if test "$ac_find_libraries" != "" ; then
28345 if test "$ac_find_libraries" = "default location"; then
28348 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28350 if test $result = 0; then
28353 ac_path_to_link=" -L$ac_find_libraries"
28357 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28359 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28360 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28362 { echo "$as_me:$LINENO: result: not found" >&5
28363 echo "${ECHO_T}not found" >&6; }
28369 if test "$wxUSE_MGL" = 1; then
28370 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28371 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28372 if test "x$MGL_ROOT" = x ; then
28373 { echo "$as_me:$LINENO: result: not found" >&5
28374 echo "${ECHO_T}not found" >&6; }
28375 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28376 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28377 { (exit 1); exit 1; }; }
28379 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28380 echo "${ECHO_T}$MGL_ROOT" >&6; }
28383 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28384 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28387 if test "x$wxUSE_SHARED" = xyes ; then
28388 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28390 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28394 mgl_os_candidates="dos32/dj2"
28397 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28398 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28399 { (exit 1); exit 1; }; }
28405 for mgl_os_i in $mgl_os_candidates ; do
28406 if test "x$mgl_os" = x ; then
28407 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28408 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28409 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28414 if test "x$mgl_lib_type" = x ; then
28415 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28416 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28417 mgl_lib_type=release
28424 if test "x$mgl_os" = x ; then
28425 { echo "$as_me:$LINENO: result: not found" >&5
28426 echo "${ECHO_T}not found" >&6; }
28427 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28428 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28429 { (exit 1); exit 1; }; }
28431 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28432 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28434 wxUSE_UNIVERSAL="yes"
28436 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28437 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28439 AFMINSTALL=afminstall
28444 if test "$wxUSE_DFB" = 1; then
28447 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28448 if test -n "$ac_tool_prefix"; then
28449 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28450 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28453 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28454 echo $ECHO_N "(cached) $ECHO_C" >&6
28456 case $PKG_CONFIG in
28458 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28462 for as_dir in $PATH
28465 test -z "$as_dir" && as_dir=.
28466 for ac_exec_ext in '' $ac_executable_extensions; do
28467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28468 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28479 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28480 if test -n "$PKG_CONFIG"; then
28481 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28482 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28484 { echo "$as_me:$LINENO: result: no" >&5
28485 echo "${ECHO_T}no" >&6; }
28490 if test -z "$ac_cv_path_PKG_CONFIG"; then
28491 ac_pt_PKG_CONFIG=$PKG_CONFIG
28492 # Extract the first word of "pkg-config", so it can be a program name with args.
28493 set dummy pkg-config; ac_word=$2
28494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28496 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28497 echo $ECHO_N "(cached) $ECHO_C" >&6
28499 case $ac_pt_PKG_CONFIG in
28501 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28505 for as_dir in $PATH
28508 test -z "$as_dir" && as_dir=.
28509 for ac_exec_ext in '' $ac_executable_extensions; do
28510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28511 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28522 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28523 if test -n "$ac_pt_PKG_CONFIG"; then
28524 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28525 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28527 { echo "$as_me:$LINENO: result: no" >&5
28528 echo "${ECHO_T}no" >&6; }
28531 if test "x$ac_pt_PKG_CONFIG" = x; then
28534 case $cross_compiling:$ac_tool_warned in
28536 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28537 whose name does not start with the host triplet. If you think this
28538 configuration is useful to you, please write to autoconf@gnu.org." >&5
28539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28540 whose name does not start with the host triplet. If you think this
28541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28542 ac_tool_warned=yes ;;
28544 PKG_CONFIG=$ac_pt_PKG_CONFIG
28547 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28551 if test -n "$PKG_CONFIG"; then
28552 _pkg_min_version=0.9.0
28553 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28554 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28555 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28556 { echo "$as_me:$LINENO: result: yes" >&5
28557 echo "${ECHO_T}yes" >&6; }
28559 { echo "$as_me:$LINENO: result: no" >&5
28560 echo "${ECHO_T}no" >&6; }
28568 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28569 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28571 if test -n "$PKG_CONFIG"; then
28572 if test -n "$DIRECTFB_CFLAGS"; then
28573 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28575 if test -n "$PKG_CONFIG" && \
28576 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28577 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28580 (exit $ac_status); }; then
28581 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28589 if test -n "$PKG_CONFIG"; then
28590 if test -n "$DIRECTFB_LIBS"; then
28591 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28593 if test -n "$PKG_CONFIG" && \
28594 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28595 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598 (exit $ac_status); }; then
28599 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28610 if test $pkg_failed = yes; then
28612 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28613 _pkg_short_errors_supported=yes
28615 _pkg_short_errors_supported=no
28617 if test $_pkg_short_errors_supported = yes; then
28618 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28620 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28622 # Put the nasty error message in config.log where it belongs
28623 echo "$DIRECTFB_PKG_ERRORS" >&5
28626 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28627 echo "$as_me: error: DirectFB not found." >&2;}
28628 { (exit 1); exit 1; }; }
28631 elif test $pkg_failed = untried; then
28633 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28634 echo "$as_me: error: DirectFB not found." >&2;}
28635 { (exit 1); exit 1; }; }
28639 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28640 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28641 { echo "$as_me:$LINENO: result: yes" >&5
28642 echo "${ECHO_T}yes" >&6; }
28644 wxUSE_UNIVERSAL="yes"
28645 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28646 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28653 if test "$wxUSE_MICROWIN" = 1; then
28654 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28655 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28656 if test "x$MICROWINDOWS" = x ; then
28657 { echo "$as_me:$LINENO: result: not found" >&5
28658 echo "${ECHO_T}not found" >&6; }
28659 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28660 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28661 { (exit 1); exit 1; }; }
28663 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28664 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28667 if test -f $MICROWINDOWS/lib/libmwin.a; then
28668 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28669 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
28671 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28672 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28673 { (exit 1); exit 1; }; }
28676 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28677 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28679 wxUSE_UNIVERSAL="yes"
28681 AFMINSTALL=afminstall
28683 GUIDIST=MICROWIN_DIST
28685 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28688 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28689 { echo "$as_me:$LINENO: checking for X" >&5
28690 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28693 # Check whether --with-x was given.
28694 if test "${with_x+set}" = set; then
28698 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28699 if test "x$with_x" = xno; then
28700 # The user explicitly disabled X.
28703 case $x_includes,$x_libraries in #(
28704 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28705 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
28706 { (exit 1); exit 1; }; };; #(
28707 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28708 echo $ECHO_N "(cached) $ECHO_C" >&6
28710 # One or both of the vars are not set, and there is no cached value.
28711 ac_x_includes=no ac_x_libraries=no
28712 rm -f -r conftest.dir
28713 if mkdir conftest.dir; then
28715 cat >Imakefile <<'_ACEOF'
28717 @echo incroot='${INCROOT}'
28719 @echo usrlibdir='${USRLIBDIR}'
28721 @echo libdir='${LIBDIR}'
28723 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28724 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28725 for ac_var in incroot usrlibdir libdir; do
28726 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28728 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28729 for ac_extension in a so sl; do
28730 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28731 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28732 ac_im_usrlibdir=$ac_im_libdir; break
28735 # Screen out bogus values from the imake configuration. They are
28736 # bogus both because they are the default anyway, and because
28737 # using them would break gcc on systems where it needs fixed includes.
28738 case $ac_im_incroot in
28739 /usr/include) ac_x_includes= ;;
28740 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28742 case $ac_im_usrlibdir in
28743 /usr/lib | /lib) ;;
28744 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28748 rm -f -r conftest.dir
28751 # Standard set of common directories for X headers.
28752 # Check X11 before X11Rn because it is often a symlink to the current release.
28764 /usr/local/X11/include
28765 /usr/local/X11R6/include
28766 /usr/local/X11R5/include
28767 /usr/local/X11R4/include
28769 /usr/local/include/X11
28770 /usr/local/include/X11R6
28771 /usr/local/include/X11R5
28772 /usr/local/include/X11R4
28776 /usr/XFree86/include/X11
28780 /usr/unsupported/include
28781 /usr/athena/include
28782 /usr/local/x11r5/include
28783 /usr/lpp/Xamples/include
28785 /usr/openwin/include
28786 /usr/openwin/share/include'
28788 if test "$ac_x_includes" = no; then
28789 # Guess where to find include files, by looking for Xlib.h.
28790 # First, try using that file with no special directory specified.
28791 cat >conftest.$ac_ext <<_ACEOF
28794 cat confdefs.h >>conftest.$ac_ext
28795 cat >>conftest.$ac_ext <<_ACEOF
28796 /* end confdefs.h. */
28797 #include <X11/Xlib.h>
28799 if { (ac_try="$ac_cpp conftest.$ac_ext"
28800 case "(($ac_try" in
28801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28802 *) ac_try_echo=$ac_try;;
28804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28805 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28807 grep -v '^ *+' conftest.er1 >conftest.err
28809 cat conftest.err >&5
28810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28811 (exit $ac_status); } >/dev/null && {
28812 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28813 test ! -s conftest.err
28815 # We can compile using X headers with no special include directory.
28818 echo "$as_me: failed program was:" >&5
28819 sed 's/^/| /' conftest.$ac_ext >&5
28821 for ac_dir in $ac_x_header_dirs; do
28822 if test -r "$ac_dir/X11/Xlib.h"; then
28823 ac_x_includes=$ac_dir
28829 rm -f conftest.err conftest.$ac_ext
28830 fi # $ac_x_includes = no
28832 if test "$ac_x_libraries" = no; then
28833 # Check for the libraries.
28834 # See if we find them without any special options.
28835 # Don't add to $LIBS permanently.
28838 cat >conftest.$ac_ext <<_ACEOF
28841 cat confdefs.h >>conftest.$ac_ext
28842 cat >>conftest.$ac_ext <<_ACEOF
28843 /* end confdefs.h. */
28844 #include <X11/Xlib.h>
28853 rm -f conftest.$ac_objext conftest$ac_exeext
28854 if { (ac_try="$ac_link"
28855 case "(($ac_try" in
28856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28857 *) ac_try_echo=$ac_try;;
28859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28860 (eval "$ac_link") 2>conftest.er1
28862 grep -v '^ *+' conftest.er1 >conftest.err
28864 cat conftest.err >&5
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); } && {
28867 test -z "$ac_c_werror_flag" ||
28868 test ! -s conftest.err
28869 } && test -s conftest$ac_exeext &&
28870 $as_test_x conftest$ac_exeext; then
28872 # We can link X programs with no special library path.
28875 echo "$as_me: failed program was:" >&5
28876 sed 's/^/| /' conftest.$ac_ext >&5
28879 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28881 # Don't even attempt the hair of trying to link an X program!
28882 for ac_extension in a so sl; do
28883 if test -r "$ac_dir/libX11.$ac_extension"; then
28884 ac_x_libraries=$ac_dir
28891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28892 conftest$ac_exeext conftest.$ac_ext
28893 fi # $ac_x_libraries = no
28895 case $ac_x_includes,$ac_x_libraries in #(
28896 no,* | *,no | *\'*)
28897 # Didn't find X, or a directory has "'" in its name.
28898 ac_cv_have_x="have_x=no";; #(
28900 # Record where we found X for the cache.
28901 ac_cv_have_x="have_x=yes\
28902 ac_x_includes='$ac_x_includes'\
28903 ac_x_libraries='$ac_x_libraries'"
28909 eval "$ac_cv_have_x"
28912 if test "$have_x" != yes; then
28913 { echo "$as_me:$LINENO: result: $have_x" >&5
28914 echo "${ECHO_T}$have_x" >&6; }
28917 # If each of the values was on the command line, it overrides each guess.
28918 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28919 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28920 # Update the cache value to reflect the command line values.
28921 ac_cv_have_x="have_x=yes\
28922 ac_x_includes='$x_includes'\
28923 ac_x_libraries='$x_libraries'"
28924 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28925 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
28928 if test "$no_x" = yes; then
28929 # Not all programs may use this symbol, but it does not hurt to define it.
28931 cat >>confdefs.h <<\_ACEOF
28932 #define X_DISPLAY_MISSING 1
28935 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28937 if test -n "$x_includes"; then
28938 X_CFLAGS="$X_CFLAGS -I$x_includes"
28941 # It would also be nice to do this for all -L options, not just this one.
28942 if test -n "$x_libraries"; then
28943 X_LIBS="$X_LIBS -L$x_libraries"
28944 # For Solaris; some versions of Sun CC require a space after -R and
28945 # others require no space. Words are not sufficient . . . .
28946 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28947 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
28948 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28949 ac_xsave_c_werror_flag=$ac_c_werror_flag
28950 ac_c_werror_flag=yes
28951 cat >conftest.$ac_ext <<_ACEOF
28954 cat confdefs.h >>conftest.$ac_ext
28955 cat >>conftest.$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28966 rm -f conftest.$ac_objext conftest$ac_exeext
28967 if { (ac_try="$ac_link"
28968 case "(($ac_try" in
28969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28970 *) ac_try_echo=$ac_try;;
28972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28973 (eval "$ac_link") 2>conftest.er1
28975 grep -v '^ *+' conftest.er1 >conftest.err
28977 cat conftest.err >&5
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); } && {
28980 test -z "$ac_c_werror_flag" ||
28981 test ! -s conftest.err
28982 } && test -s conftest$ac_exeext &&
28983 $as_test_x conftest$ac_exeext; then
28984 { echo "$as_me:$LINENO: result: no" >&5
28985 echo "${ECHO_T}no" >&6; }
28986 X_LIBS="$X_LIBS -R$x_libraries"
28988 echo "$as_me: failed program was:" >&5
28989 sed 's/^/| /' conftest.$ac_ext >&5
28991 LIBS="$ac_xsave_LIBS -R $x_libraries"
28992 cat >conftest.$ac_ext <<_ACEOF
28995 cat confdefs.h >>conftest.$ac_ext
28996 cat >>conftest.$ac_ext <<_ACEOF
28997 /* end confdefs.h. */
29007 rm -f conftest.$ac_objext conftest$ac_exeext
29008 if { (ac_try="$ac_link"
29009 case "(($ac_try" in
29010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29011 *) ac_try_echo=$ac_try;;
29013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29014 (eval "$ac_link") 2>conftest.er1
29016 grep -v '^ *+' conftest.er1 >conftest.err
29018 cat conftest.err >&5
29019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29020 (exit $ac_status); } && {
29021 test -z "$ac_c_werror_flag" ||
29022 test ! -s conftest.err
29023 } && test -s conftest$ac_exeext &&
29024 $as_test_x conftest$ac_exeext; then
29025 { echo "$as_me:$LINENO: result: yes" >&5
29026 echo "${ECHO_T}yes" >&6; }
29027 X_LIBS="$X_LIBS -R $x_libraries"
29029 echo "$as_me: failed program was:" >&5
29030 sed 's/^/| /' conftest.$ac_ext >&5
29032 { echo "$as_me:$LINENO: result: neither works" >&5
29033 echo "${ECHO_T}neither works" >&6; }
29036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29037 conftest$ac_exeext conftest.$ac_ext
29040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29041 conftest$ac_exeext conftest.$ac_ext
29042 ac_c_werror_flag=$ac_xsave_c_werror_flag
29043 LIBS=$ac_xsave_LIBS
29046 # Check for system-dependent libraries X programs must link with.
29047 # Do this before checking for the system-independent R6 libraries
29048 # (-lICE), since we may need -lsocket or whatever for X linking.
29050 if test "$ISC" = yes; then
29051 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29053 # Martyn Johnson says this is needed for Ultrix, if the X
29054 # libraries were built with DECnet support. And Karl Berry says
29055 # the Alpha needs dnet_stub (dnet does not exist).
29056 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29057 cat >conftest.$ac_ext <<_ACEOF
29060 cat confdefs.h >>conftest.$ac_ext
29061 cat >>conftest.$ac_ext <<_ACEOF
29062 /* end confdefs.h. */
29064 /* Override any GCC internal prototype to avoid an error.
29065 Use char because int might match the return type of a GCC
29066 builtin and then its argument prototype would still apply. */
29070 char XOpenDisplay ();
29074 return XOpenDisplay ();
29079 rm -f conftest.$ac_objext conftest$ac_exeext
29080 if { (ac_try="$ac_link"
29081 case "(($ac_try" in
29082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29083 *) ac_try_echo=$ac_try;;
29085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29086 (eval "$ac_link") 2>conftest.er1
29088 grep -v '^ *+' conftest.er1 >conftest.err
29090 cat conftest.err >&5
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); } && {
29093 test -z "$ac_c_werror_flag" ||
29094 test ! -s conftest.err
29095 } && test -s conftest$ac_exeext &&
29096 $as_test_x conftest$ac_exeext; then
29099 echo "$as_me: failed program was:" >&5
29100 sed 's/^/| /' conftest.$ac_ext >&5
29102 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29103 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29104 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29105 echo $ECHO_N "(cached) $ECHO_C" >&6
29107 ac_check_lib_save_LIBS=$LIBS
29108 LIBS="-ldnet $LIBS"
29109 cat >conftest.$ac_ext <<_ACEOF
29112 cat confdefs.h >>conftest.$ac_ext
29113 cat >>conftest.$ac_ext <<_ACEOF
29114 /* end confdefs.h. */
29116 /* Override any GCC internal prototype to avoid an error.
29117 Use char because int might match the return type of a GCC
29118 builtin and then its argument prototype would still apply. */
29126 return dnet_ntoa ();
29131 rm -f conftest.$ac_objext conftest$ac_exeext
29132 if { (ac_try="$ac_link"
29133 case "(($ac_try" in
29134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29135 *) ac_try_echo=$ac_try;;
29137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29138 (eval "$ac_link") 2>conftest.er1
29140 grep -v '^ *+' conftest.er1 >conftest.err
29142 cat conftest.err >&5
29143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29144 (exit $ac_status); } && {
29145 test -z "$ac_c_werror_flag" ||
29146 test ! -s conftest.err
29147 } && test -s conftest$ac_exeext &&
29148 $as_test_x conftest$ac_exeext; then
29149 ac_cv_lib_dnet_dnet_ntoa=yes
29151 echo "$as_me: failed program was:" >&5
29152 sed 's/^/| /' conftest.$ac_ext >&5
29154 ac_cv_lib_dnet_dnet_ntoa=no
29157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29158 conftest$ac_exeext conftest.$ac_ext
29159 LIBS=$ac_check_lib_save_LIBS
29161 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29162 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29163 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29164 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29167 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29168 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29169 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29170 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29171 echo $ECHO_N "(cached) $ECHO_C" >&6
29173 ac_check_lib_save_LIBS=$LIBS
29174 LIBS="-ldnet_stub $LIBS"
29175 cat >conftest.$ac_ext <<_ACEOF
29178 cat confdefs.h >>conftest.$ac_ext
29179 cat >>conftest.$ac_ext <<_ACEOF
29180 /* end confdefs.h. */
29182 /* Override any GCC internal prototype to avoid an error.
29183 Use char because int might match the return type of a GCC
29184 builtin and then its argument prototype would still apply. */
29192 return dnet_ntoa ();
29197 rm -f conftest.$ac_objext conftest$ac_exeext
29198 if { (ac_try="$ac_link"
29199 case "(($ac_try" in
29200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29201 *) ac_try_echo=$ac_try;;
29203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29204 (eval "$ac_link") 2>conftest.er1
29206 grep -v '^ *+' conftest.er1 >conftest.err
29208 cat conftest.err >&5
29209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29210 (exit $ac_status); } && {
29211 test -z "$ac_c_werror_flag" ||
29212 test ! -s conftest.err
29213 } && test -s conftest$ac_exeext &&
29214 $as_test_x conftest$ac_exeext; then
29215 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29217 echo "$as_me: failed program was:" >&5
29218 sed 's/^/| /' conftest.$ac_ext >&5
29220 ac_cv_lib_dnet_stub_dnet_ntoa=no
29223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29224 conftest$ac_exeext conftest.$ac_ext
29225 LIBS=$ac_check_lib_save_LIBS
29227 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29228 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29229 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29230 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29237 conftest$ac_exeext conftest.$ac_ext
29238 LIBS="$ac_xsave_LIBS"
29240 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29241 # to get the SysV transport functions.
29242 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29244 # The nsl library prevents programs from opening the X display
29245 # on Irix 5.2, according to T.E. Dickey.
29246 # The functions gethostbyname, getservbyname, and inet_addr are
29247 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29248 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29249 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29250 if test "${ac_cv_func_gethostbyname+set}" = set; then
29251 echo $ECHO_N "(cached) $ECHO_C" >&6
29253 cat >conftest.$ac_ext <<_ACEOF
29256 cat confdefs.h >>conftest.$ac_ext
29257 cat >>conftest.$ac_ext <<_ACEOF
29258 /* end confdefs.h. */
29259 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29261 #define gethostbyname innocuous_gethostbyname
29263 /* System header to define __stub macros and hopefully few prototypes,
29264 which can conflict with char gethostbyname (); below.
29265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29266 <limits.h> exists even on freestanding compilers. */
29269 # include <limits.h>
29271 # include <assert.h>
29274 #undef gethostbyname
29276 /* Override any GCC internal prototype to avoid an error.
29277 Use char because int might match the return type of a GCC
29278 builtin and then its argument prototype would still apply. */
29282 char gethostbyname ();
29283 /* The GNU C library defines this for functions which it implements
29284 to always fail with ENOSYS. Some functions are actually named
29285 something starting with __ and the normal name is an alias. */
29286 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29293 return gethostbyname ();
29298 rm -f conftest.$ac_objext conftest$ac_exeext
29299 if { (ac_try="$ac_link"
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_link") 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_exeext &&
29315 $as_test_x conftest$ac_exeext; then
29316 ac_cv_func_gethostbyname=yes
29318 echo "$as_me: failed program was:" >&5
29319 sed 's/^/| /' conftest.$ac_ext >&5
29321 ac_cv_func_gethostbyname=no
29324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29325 conftest$ac_exeext conftest.$ac_ext
29327 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29328 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29330 if test $ac_cv_func_gethostbyname = no; then
29331 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29332 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29333 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29334 echo $ECHO_N "(cached) $ECHO_C" >&6
29336 ac_check_lib_save_LIBS=$LIBS
29338 cat >conftest.$ac_ext <<_ACEOF
29341 cat confdefs.h >>conftest.$ac_ext
29342 cat >>conftest.$ac_ext <<_ACEOF
29343 /* end confdefs.h. */
29345 /* Override any GCC internal prototype to avoid an error.
29346 Use char because int might match the return type of a GCC
29347 builtin and then its argument prototype would still apply. */
29351 char gethostbyname ();
29355 return gethostbyname ();
29360 rm -f conftest.$ac_objext conftest$ac_exeext
29361 if { (ac_try="$ac_link"
29362 case "(($ac_try" in
29363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29364 *) ac_try_echo=$ac_try;;
29366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29367 (eval "$ac_link") 2>conftest.er1
29369 grep -v '^ *+' conftest.er1 >conftest.err
29371 cat conftest.err >&5
29372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373 (exit $ac_status); } && {
29374 test -z "$ac_c_werror_flag" ||
29375 test ! -s conftest.err
29376 } && test -s conftest$ac_exeext &&
29377 $as_test_x conftest$ac_exeext; then
29378 ac_cv_lib_nsl_gethostbyname=yes
29380 echo "$as_me: failed program was:" >&5
29381 sed 's/^/| /' conftest.$ac_ext >&5
29383 ac_cv_lib_nsl_gethostbyname=no
29386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29387 conftest$ac_exeext conftest.$ac_ext
29388 LIBS=$ac_check_lib_save_LIBS
29390 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29391 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29392 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29393 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29396 if test $ac_cv_lib_nsl_gethostbyname = no; then
29397 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29398 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29399 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29400 echo $ECHO_N "(cached) $ECHO_C" >&6
29402 ac_check_lib_save_LIBS=$LIBS
29404 cat >conftest.$ac_ext <<_ACEOF
29407 cat confdefs.h >>conftest.$ac_ext
29408 cat >>conftest.$ac_ext <<_ACEOF
29409 /* end confdefs.h. */
29411 /* Override any GCC internal prototype to avoid an error.
29412 Use char because int might match the return type of a GCC
29413 builtin and then its argument prototype would still apply. */
29417 char gethostbyname ();
29421 return gethostbyname ();
29426 rm -f conftest.$ac_objext conftest$ac_exeext
29427 if { (ac_try="$ac_link"
29428 case "(($ac_try" in
29429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29430 *) ac_try_echo=$ac_try;;
29432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29433 (eval "$ac_link") 2>conftest.er1
29435 grep -v '^ *+' conftest.er1 >conftest.err
29437 cat conftest.err >&5
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); } && {
29440 test -z "$ac_c_werror_flag" ||
29441 test ! -s conftest.err
29442 } && test -s conftest$ac_exeext &&
29443 $as_test_x conftest$ac_exeext; then
29444 ac_cv_lib_bsd_gethostbyname=yes
29446 echo "$as_me: failed program was:" >&5
29447 sed 's/^/| /' conftest.$ac_ext >&5
29449 ac_cv_lib_bsd_gethostbyname=no
29452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29453 conftest$ac_exeext conftest.$ac_ext
29454 LIBS=$ac_check_lib_save_LIBS
29456 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29457 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29458 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29459 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29465 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29466 # socket/setsockopt and other routines are undefined under SCO ODT
29467 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29468 # on later versions), says Simon Leinen: it contains gethostby*
29469 # variants that don't use the name server (or something). -lsocket
29470 # must be given before -lnsl if both are needed. We assume that
29471 # if connect needs -lnsl, so does gethostbyname.
29472 { echo "$as_me:$LINENO: checking for connect" >&5
29473 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29474 if test "${ac_cv_func_connect+set}" = set; then
29475 echo $ECHO_N "(cached) $ECHO_C" >&6
29477 cat >conftest.$ac_ext <<_ACEOF
29480 cat confdefs.h >>conftest.$ac_ext
29481 cat >>conftest.$ac_ext <<_ACEOF
29482 /* end confdefs.h. */
29483 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29485 #define connect innocuous_connect
29487 /* System header to define __stub macros and hopefully few prototypes,
29488 which can conflict with char connect (); below.
29489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29490 <limits.h> exists even on freestanding compilers. */
29493 # include <limits.h>
29495 # include <assert.h>
29500 /* Override any GCC internal prototype to avoid an error.
29501 Use char because int might match the return type of a GCC
29502 builtin and then its argument prototype would still apply. */
29507 /* The GNU C library defines this for functions which it implements
29508 to always fail with ENOSYS. Some functions are actually named
29509 something starting with __ and the normal name is an alias. */
29510 #if defined __stub_connect || defined __stub___connect
29522 rm -f conftest.$ac_objext conftest$ac_exeext
29523 if { (ac_try="$ac_link"
29524 case "(($ac_try" in
29525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29526 *) ac_try_echo=$ac_try;;
29528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29529 (eval "$ac_link") 2>conftest.er1
29531 grep -v '^ *+' conftest.er1 >conftest.err
29533 cat conftest.err >&5
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); } && {
29536 test -z "$ac_c_werror_flag" ||
29537 test ! -s conftest.err
29538 } && test -s conftest$ac_exeext &&
29539 $as_test_x conftest$ac_exeext; then
29540 ac_cv_func_connect=yes
29542 echo "$as_me: failed program was:" >&5
29543 sed 's/^/| /' conftest.$ac_ext >&5
29545 ac_cv_func_connect=no
29548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29549 conftest$ac_exeext conftest.$ac_ext
29551 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29552 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29554 if test $ac_cv_func_connect = no; then
29555 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29556 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29557 if test "${ac_cv_lib_socket_connect+set}" = set; then
29558 echo $ECHO_N "(cached) $ECHO_C" >&6
29560 ac_check_lib_save_LIBS=$LIBS
29561 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29562 cat >conftest.$ac_ext <<_ACEOF
29565 cat confdefs.h >>conftest.$ac_ext
29566 cat >>conftest.$ac_ext <<_ACEOF
29567 /* end confdefs.h. */
29569 /* Override any GCC internal prototype to avoid an error.
29570 Use char because int might match the return type of a GCC
29571 builtin and then its argument prototype would still apply. */
29584 rm -f conftest.$ac_objext conftest$ac_exeext
29585 if { (ac_try="$ac_link"
29586 case "(($ac_try" in
29587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29588 *) ac_try_echo=$ac_try;;
29590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29591 (eval "$ac_link") 2>conftest.er1
29593 grep -v '^ *+' conftest.er1 >conftest.err
29595 cat conftest.err >&5
29596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29597 (exit $ac_status); } && {
29598 test -z "$ac_c_werror_flag" ||
29599 test ! -s conftest.err
29600 } && test -s conftest$ac_exeext &&
29601 $as_test_x conftest$ac_exeext; then
29602 ac_cv_lib_socket_connect=yes
29604 echo "$as_me: failed program was:" >&5
29605 sed 's/^/| /' conftest.$ac_ext >&5
29607 ac_cv_lib_socket_connect=no
29610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29611 conftest$ac_exeext conftest.$ac_ext
29612 LIBS=$ac_check_lib_save_LIBS
29614 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29615 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29616 if test $ac_cv_lib_socket_connect = yes; then
29617 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29622 # Guillermo Gomez says -lposix is necessary on A/UX.
29623 { echo "$as_me:$LINENO: checking for remove" >&5
29624 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29625 if test "${ac_cv_func_remove+set}" = set; then
29626 echo $ECHO_N "(cached) $ECHO_C" >&6
29628 cat >conftest.$ac_ext <<_ACEOF
29631 cat confdefs.h >>conftest.$ac_ext
29632 cat >>conftest.$ac_ext <<_ACEOF
29633 /* end confdefs.h. */
29634 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29636 #define remove innocuous_remove
29638 /* System header to define __stub macros and hopefully few prototypes,
29639 which can conflict with char remove (); below.
29640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29641 <limits.h> exists even on freestanding compilers. */
29644 # include <limits.h>
29646 # include <assert.h>
29651 /* Override any GCC internal prototype to avoid an error.
29652 Use char because int might match the return type of a GCC
29653 builtin and then its argument prototype would still apply. */
29658 /* The GNU C library defines this for functions which it implements
29659 to always fail with ENOSYS. Some functions are actually named
29660 something starting with __ and the normal name is an alias. */
29661 #if defined __stub_remove || defined __stub___remove
29673 rm -f conftest.$ac_objext conftest$ac_exeext
29674 if { (ac_try="$ac_link"
29675 case "(($ac_try" in
29676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29677 *) ac_try_echo=$ac_try;;
29679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29680 (eval "$ac_link") 2>conftest.er1
29682 grep -v '^ *+' conftest.er1 >conftest.err
29684 cat conftest.err >&5
29685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29686 (exit $ac_status); } && {
29687 test -z "$ac_c_werror_flag" ||
29688 test ! -s conftest.err
29689 } && test -s conftest$ac_exeext &&
29690 $as_test_x conftest$ac_exeext; then
29691 ac_cv_func_remove=yes
29693 echo "$as_me: failed program was:" >&5
29694 sed 's/^/| /' conftest.$ac_ext >&5
29696 ac_cv_func_remove=no
29699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29700 conftest$ac_exeext conftest.$ac_ext
29702 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29703 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29705 if test $ac_cv_func_remove = no; then
29706 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29707 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29708 if test "${ac_cv_lib_posix_remove+set}" = set; then
29709 echo $ECHO_N "(cached) $ECHO_C" >&6
29711 ac_check_lib_save_LIBS=$LIBS
29712 LIBS="-lposix $LIBS"
29713 cat >conftest.$ac_ext <<_ACEOF
29716 cat confdefs.h >>conftest.$ac_ext
29717 cat >>conftest.$ac_ext <<_ACEOF
29718 /* end confdefs.h. */
29720 /* Override any GCC internal prototype to avoid an error.
29721 Use char because int might match the return type of a GCC
29722 builtin and then its argument prototype would still apply. */
29735 rm -f conftest.$ac_objext conftest$ac_exeext
29736 if { (ac_try="$ac_link"
29737 case "(($ac_try" in
29738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29739 *) ac_try_echo=$ac_try;;
29741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29742 (eval "$ac_link") 2>conftest.er1
29744 grep -v '^ *+' conftest.er1 >conftest.err
29746 cat conftest.err >&5
29747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29748 (exit $ac_status); } && {
29749 test -z "$ac_c_werror_flag" ||
29750 test ! -s conftest.err
29751 } && test -s conftest$ac_exeext &&
29752 $as_test_x conftest$ac_exeext; then
29753 ac_cv_lib_posix_remove=yes
29755 echo "$as_me: failed program was:" >&5
29756 sed 's/^/| /' conftest.$ac_ext >&5
29758 ac_cv_lib_posix_remove=no
29761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29762 conftest$ac_exeext conftest.$ac_ext
29763 LIBS=$ac_check_lib_save_LIBS
29765 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29766 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29767 if test $ac_cv_lib_posix_remove = yes; then
29768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29773 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29774 { echo "$as_me:$LINENO: checking for shmat" >&5
29775 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29776 if test "${ac_cv_func_shmat+set}" = set; then
29777 echo $ECHO_N "(cached) $ECHO_C" >&6
29779 cat >conftest.$ac_ext <<_ACEOF
29782 cat confdefs.h >>conftest.$ac_ext
29783 cat >>conftest.$ac_ext <<_ACEOF
29784 /* end confdefs.h. */
29785 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29787 #define shmat innocuous_shmat
29789 /* System header to define __stub macros and hopefully few prototypes,
29790 which can conflict with char shmat (); below.
29791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29792 <limits.h> exists even on freestanding compilers. */
29795 # include <limits.h>
29797 # include <assert.h>
29802 /* Override any GCC internal prototype to avoid an error.
29803 Use char because int might match the return type of a GCC
29804 builtin and then its argument prototype would still apply. */
29809 /* The GNU C library defines this for functions which it implements
29810 to always fail with ENOSYS. Some functions are actually named
29811 something starting with __ and the normal name is an alias. */
29812 #if defined __stub_shmat || defined __stub___shmat
29824 rm -f conftest.$ac_objext conftest$ac_exeext
29825 if { (ac_try="$ac_link"
29826 case "(($ac_try" in
29827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29828 *) ac_try_echo=$ac_try;;
29830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29831 (eval "$ac_link") 2>conftest.er1
29833 grep -v '^ *+' conftest.er1 >conftest.err
29835 cat conftest.err >&5
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); } && {
29838 test -z "$ac_c_werror_flag" ||
29839 test ! -s conftest.err
29840 } && test -s conftest$ac_exeext &&
29841 $as_test_x conftest$ac_exeext; then
29842 ac_cv_func_shmat=yes
29844 echo "$as_me: failed program was:" >&5
29845 sed 's/^/| /' conftest.$ac_ext >&5
29847 ac_cv_func_shmat=no
29850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29851 conftest$ac_exeext conftest.$ac_ext
29853 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29854 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
29856 if test $ac_cv_func_shmat = no; then
29857 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29858 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
29859 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29860 echo $ECHO_N "(cached) $ECHO_C" >&6
29862 ac_check_lib_save_LIBS=$LIBS
29864 cat >conftest.$ac_ext <<_ACEOF
29867 cat confdefs.h >>conftest.$ac_ext
29868 cat >>conftest.$ac_ext <<_ACEOF
29869 /* end confdefs.h. */
29871 /* Override any GCC internal prototype to avoid an error.
29872 Use char because int might match the return type of a GCC
29873 builtin and then its argument prototype would still apply. */
29886 rm -f conftest.$ac_objext conftest$ac_exeext
29887 if { (ac_try="$ac_link"
29888 case "(($ac_try" in
29889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29890 *) ac_try_echo=$ac_try;;
29892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29893 (eval "$ac_link") 2>conftest.er1
29895 grep -v '^ *+' conftest.er1 >conftest.err
29897 cat conftest.err >&5
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 (exit $ac_status); } && {
29900 test -z "$ac_c_werror_flag" ||
29901 test ! -s conftest.err
29902 } && test -s conftest$ac_exeext &&
29903 $as_test_x conftest$ac_exeext; then
29904 ac_cv_lib_ipc_shmat=yes
29906 echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29909 ac_cv_lib_ipc_shmat=no
29912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29913 conftest$ac_exeext conftest.$ac_ext
29914 LIBS=$ac_check_lib_save_LIBS
29916 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29917 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
29918 if test $ac_cv_lib_ipc_shmat = yes; then
29919 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29925 # Check for libraries that X11R6 Xt/Xaw programs need.
29926 ac_save_LDFLAGS=$LDFLAGS
29927 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29928 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29929 # check for ICE first), but we must link in the order -lSM -lICE or
29930 # we get undefined symbols. So assume we have SM if we have ICE.
29931 # These have to be linked with before -lX11, unlike the other
29932 # libraries we check for below, so use a different variable.
29933 # John Interrante, Karl Berry
29934 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29935 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29936 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29937 echo $ECHO_N "(cached) $ECHO_C" >&6
29939 ac_check_lib_save_LIBS=$LIBS
29940 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29941 cat >conftest.$ac_ext <<_ACEOF
29944 cat confdefs.h >>conftest.$ac_ext
29945 cat >>conftest.$ac_ext <<_ACEOF
29946 /* end confdefs.h. */
29948 /* Override any GCC internal prototype to avoid an error.
29949 Use char because int might match the return type of a GCC
29950 builtin and then its argument prototype would still apply. */
29954 char IceConnectionNumber ();
29958 return IceConnectionNumber ();
29963 rm -f conftest.$ac_objext conftest$ac_exeext
29964 if { (ac_try="$ac_link"
29965 case "(($ac_try" in
29966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29967 *) ac_try_echo=$ac_try;;
29969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29970 (eval "$ac_link") 2>conftest.er1
29972 grep -v '^ *+' conftest.er1 >conftest.err
29974 cat conftest.err >&5
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); } && {
29977 test -z "$ac_c_werror_flag" ||
29978 test ! -s conftest.err
29979 } && test -s conftest$ac_exeext &&
29980 $as_test_x conftest$ac_exeext; then
29981 ac_cv_lib_ICE_IceConnectionNumber=yes
29983 echo "$as_me: failed program was:" >&5
29984 sed 's/^/| /' conftest.$ac_ext >&5
29986 ac_cv_lib_ICE_IceConnectionNumber=no
29989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29990 conftest$ac_exeext conftest.$ac_ext
29991 LIBS=$ac_check_lib_save_LIBS
29993 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29994 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
29995 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29996 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29999 LDFLAGS=$ac_save_LDFLAGS
30004 if test "$no_x" = "yes"; then
30005 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30006 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30007 { (exit 1); exit 1; }; }
30010 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30011 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30012 AFMINSTALL=afminstall
30013 COMPILED_X_PROGRAM=0
30017 if test "$wxUSE_X11" = 1; then
30018 if test "$wxUSE_NANOX" = "yes"; then
30019 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30020 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30021 if test "x$MICROWIN" = x ; then
30022 { echo "$as_me:$LINENO: result: not found" >&5
30023 echo "${ECHO_T}not found" >&6; }
30024 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30025 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30026 { (exit 1); exit 1; }; }
30028 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30029 echo "${ECHO_T}$MICROWIN" >&6; }
30030 cat >>confdefs.h <<\_ACEOF
30031 #define wxUSE_NANOX 1
30037 if test "$wxUSE_UNICODE" = "yes"; then
30040 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30041 if test -n "$ac_tool_prefix"; then
30042 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30043 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30046 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30047 echo $ECHO_N "(cached) $ECHO_C" >&6
30049 case $PKG_CONFIG in
30051 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30055 for as_dir in $PATH
30058 test -z "$as_dir" && as_dir=.
30059 for ac_exec_ext in '' $ac_executable_extensions; do
30060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30061 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30072 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30073 if test -n "$PKG_CONFIG"; then
30074 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30075 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30077 { echo "$as_me:$LINENO: result: no" >&5
30078 echo "${ECHO_T}no" >&6; }
30083 if test -z "$ac_cv_path_PKG_CONFIG"; then
30084 ac_pt_PKG_CONFIG=$PKG_CONFIG
30085 # Extract the first word of "pkg-config", so it can be a program name with args.
30086 set dummy pkg-config; ac_word=$2
30087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30089 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30090 echo $ECHO_N "(cached) $ECHO_C" >&6
30092 case $ac_pt_PKG_CONFIG in
30094 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30098 for as_dir in $PATH
30101 test -z "$as_dir" && as_dir=.
30102 for ac_exec_ext in '' $ac_executable_extensions; do
30103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30104 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30115 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30116 if test -n "$ac_pt_PKG_CONFIG"; then
30117 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30118 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30120 { echo "$as_me:$LINENO: result: no" >&5
30121 echo "${ECHO_T}no" >&6; }
30124 if test "x$ac_pt_PKG_CONFIG" = x; then
30127 case $cross_compiling:$ac_tool_warned in
30129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30130 whose name does not start with the host triplet. If you think this
30131 configuration is useful to you, please write to autoconf@gnu.org." >&5
30132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30133 whose name does not start with the host triplet. If you think this
30134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30135 ac_tool_warned=yes ;;
30137 PKG_CONFIG=$ac_pt_PKG_CONFIG
30140 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30144 if test -n "$PKG_CONFIG"; then
30145 _pkg_min_version=0.9.0
30146 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30147 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30148 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30149 { echo "$as_me:$LINENO: result: yes" >&5
30150 echo "${ECHO_T}yes" >&6; }
30152 { echo "$as_me:$LINENO: result: no" >&5
30153 echo "${ECHO_T}no" >&6; }
30161 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30162 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30164 if test -n "$PKG_CONFIG"; then
30165 if test -n "$PANGOX_CFLAGS"; then
30166 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30168 if test -n "$PKG_CONFIG" && \
30169 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30170 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); }; then
30174 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30182 if test -n "$PKG_CONFIG"; then
30183 if test -n "$PANGOX_LIBS"; then
30184 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30186 if test -n "$PKG_CONFIG" && \
30187 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30188 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191 (exit $ac_status); }; then
30192 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30203 if test $pkg_failed = yes; then
30205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30206 _pkg_short_errors_supported=yes
30208 _pkg_short_errors_supported=no
30210 if test $_pkg_short_errors_supported = yes; then
30211 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30213 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30215 # Put the nasty error message in config.log where it belongs
30216 echo "$PANGOX_PKG_ERRORS" >&5
30219 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30220 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30221 { (exit 1); exit 1; }; }
30224 elif test $pkg_failed = untried; then
30226 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30227 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30228 { (exit 1); exit 1; }; }
30232 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30233 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30234 { echo "$as_me:$LINENO: result: yes" >&5
30235 echo "${ECHO_T}yes" >&6; }
30237 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30238 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30239 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30244 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30245 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30247 if test -n "$PKG_CONFIG"; then
30248 if test -n "$PANGOFT2_CFLAGS"; then
30249 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30251 if test -n "$PKG_CONFIG" && \
30252 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30253 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); }; then
30257 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30265 if test -n "$PKG_CONFIG"; then
30266 if test -n "$PANGOFT2_LIBS"; then
30267 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30269 if test -n "$PKG_CONFIG" && \
30270 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30271 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); }; then
30275 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30286 if test $pkg_failed = yes; then
30288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30289 _pkg_short_errors_supported=yes
30291 _pkg_short_errors_supported=no
30293 if test $_pkg_short_errors_supported = yes; then
30294 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30296 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30298 # Put the nasty error message in config.log where it belongs
30299 echo "$PANGOFT2_PKG_ERRORS" >&5
30302 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30303 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30304 wxUSE_PRINTING_ARCHITECTURE="no"
30307 elif test $pkg_failed = untried; then
30309 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30310 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30311 wxUSE_PRINTING_ARCHITECTURE="no"
30315 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30316 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30317 { echo "$as_me:$LINENO: result: yes" >&5
30318 echo "${ECHO_T}yes" >&6; }
30320 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30321 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30322 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30327 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30328 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30330 if test -n "$PKG_CONFIG"; then
30331 if test -n "$PANGOXFT_CFLAGS"; then
30332 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30334 if test -n "$PKG_CONFIG" && \
30335 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30336 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30339 (exit $ac_status); }; then
30340 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30348 if test -n "$PKG_CONFIG"; then
30349 if test -n "$PANGOXFT_LIBS"; then
30350 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30352 if test -n "$PKG_CONFIG" && \
30353 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30354 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); }; then
30358 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30369 if test $pkg_failed = yes; then
30371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30372 _pkg_short_errors_supported=yes
30374 _pkg_short_errors_supported=no
30376 if test $_pkg_short_errors_supported = yes; then
30377 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30379 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30381 # Put the nasty error message in config.log where it belongs
30382 echo "$PANGOXFT_PKG_ERRORS" >&5
30385 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30386 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30389 elif test $pkg_failed = untried; then
30391 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30392 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30396 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30397 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30398 { echo "$as_me:$LINENO: result: yes" >&5
30399 echo "${ECHO_T}yes" >&6; }
30401 cat >>confdefs.h <<\_ACEOF
30402 #define HAVE_PANGO_XFT 1
30405 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30406 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30407 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30411 LIBS="$LIBS $PANGOX_LIBS"
30413 for ac_func in pango_font_family_is_monospace
30415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30416 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30418 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30419 echo $ECHO_N "(cached) $ECHO_C" >&6
30421 cat >conftest.$ac_ext <<_ACEOF
30424 cat confdefs.h >>conftest.$ac_ext
30425 cat >>conftest.$ac_ext <<_ACEOF
30426 /* end confdefs.h. */
30427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30429 #define $ac_func innocuous_$ac_func
30431 /* System header to define __stub macros and hopefully few prototypes,
30432 which can conflict with char $ac_func (); below.
30433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30434 <limits.h> exists even on freestanding compilers. */
30437 # include <limits.h>
30439 # include <assert.h>
30444 /* Override any GCC internal prototype to avoid an error.
30445 Use char because int might match the return type of a GCC
30446 builtin and then its argument prototype would still apply. */
30451 /* The GNU C library defines this for functions which it implements
30452 to always fail with ENOSYS. Some functions are actually named
30453 something starting with __ and the normal name is an alias. */
30454 #if defined __stub_$ac_func || defined __stub___$ac_func
30461 return $ac_func ();
30466 rm -f conftest.$ac_objext conftest$ac_exeext
30467 if { (ac_try="$ac_link"
30468 case "(($ac_try" in
30469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30470 *) ac_try_echo=$ac_try;;
30472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30473 (eval "$ac_link") 2>conftest.er1
30475 grep -v '^ *+' conftest.er1 >conftest.err
30477 cat conftest.err >&5
30478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30479 (exit $ac_status); } && {
30480 test -z "$ac_c_werror_flag" ||
30481 test ! -s conftest.err
30482 } && test -s conftest$ac_exeext &&
30483 $as_test_x conftest$ac_exeext; then
30484 eval "$as_ac_var=yes"
30486 echo "$as_me: failed program was:" >&5
30487 sed 's/^/| /' conftest.$ac_ext >&5
30489 eval "$as_ac_var=no"
30492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30493 conftest$ac_exeext conftest.$ac_ext
30495 ac_res=`eval echo '${'$as_ac_var'}'`
30496 { echo "$as_me:$LINENO: result: $ac_res" >&5
30497 echo "${ECHO_T}$ac_res" >&6; }
30498 if test `eval echo '${'$as_ac_var'}'` = yes; then
30499 cat >>confdefs.h <<_ACEOF
30500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30509 wxUSE_UNIVERSAL="yes"
30511 if test "$wxUSE_NANOX" = "yes"; then
30512 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30513 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"
30514 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30516 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30523 if test "$wxUSE_MOTIF" = 1; then
30524 if test "$wxUSE_UNICODE" = "yes"; then
30525 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30526 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30527 { (exit 1); exit 1; }; }
30530 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30531 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30534 for ac_dir in $SEARCH_INCLUDE /usr/include;
30536 if test -f "$ac_dir/Xm/Xm.h"; then
30537 ac_find_includes=$ac_dir
30542 if test "$ac_find_includes" != "" ; then
30543 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30544 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30546 if test "x$ac_find_includes" = "x/usr/include"; then
30547 ac_path_to_include=""
30549 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30551 if test $result = 0; then
30552 ac_path_to_include=""
30554 ac_path_to_include=" -I$ac_find_includes"
30558 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30560 save_CFLAGS=$CFLAGS
30561 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30563 cat >conftest.$ac_ext <<_ACEOF
30566 cat confdefs.h >>conftest.$ac_ext
30567 cat >>conftest.$ac_ext <<_ACEOF
30568 /* end confdefs.h. */
30577 version = xmUseVersion;
30583 rm -f conftest.$ac_objext
30584 if { (ac_try="$ac_compile"
30585 case "(($ac_try" in
30586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30587 *) ac_try_echo=$ac_try;;
30589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30590 (eval "$ac_compile") 2>conftest.er1
30592 grep -v '^ *+' conftest.er1 >conftest.err
30594 cat conftest.err >&5
30595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596 (exit $ac_status); } && {
30597 test -z "$ac_c_werror_flag" ||
30598 test ! -s conftest.err
30599 } && test -s conftest.$ac_objext; then
30601 { echo "$as_me:$LINENO: result: found in default search path" >&5
30602 echo "${ECHO_T}found in default search path" >&6; }
30603 COMPILED_X_PROGRAM=1
30606 echo "$as_me: failed program was:" >&5
30607 sed 's/^/| /' conftest.$ac_ext >&5
30610 { echo "$as_me:$LINENO: result: no" >&5
30611 echo "${ECHO_T}no" >&6; }
30612 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30613 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30614 { (exit 1); exit 1; }; }
30619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30621 CFLAGS=$save_CFLAGS
30625 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30626 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30629 for ac_dir in $SEARCH_LIB;
30631 for ac_extension in a so sl dylib dll.a; do
30632 if test -f "$ac_dir/libXm.$ac_extension"; then
30633 ac_find_libraries=$ac_dir
30640 if test "x$ac_find_libraries" != "x" ; then
30641 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30642 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30645 if test "$ac_find_libraries" = "default location"; then
30648 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30650 if test $result = 0; then
30653 ac_path_to_link=" -L$ac_find_libraries"
30657 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30659 save_CFLAGS=$CFLAGS
30660 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30662 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30664 cat >conftest.$ac_ext <<_ACEOF
30667 cat confdefs.h >>conftest.$ac_ext
30668 cat >>conftest.$ac_ext <<_ACEOF
30669 /* end confdefs.h. */
30678 version = xmUseVersion;
30684 rm -f conftest.$ac_objext conftest$ac_exeext
30685 if { (ac_try="$ac_link"
30686 case "(($ac_try" in
30687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30688 *) ac_try_echo=$ac_try;;
30690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30691 (eval "$ac_link") 2>conftest.er1
30693 grep -v '^ *+' conftest.er1 >conftest.err
30695 cat conftest.err >&5
30696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30697 (exit $ac_status); } && {
30698 test -z "$ac_c_werror_flag" ||
30699 test ! -s conftest.err
30700 } && test -s conftest$ac_exeext &&
30701 $as_test_x conftest$ac_exeext; then
30703 { echo "$as_me:$LINENO: result: found in default search path" >&5
30704 echo "${ECHO_T}found in default search path" >&6; }
30705 COMPILED_X_PROGRAM=1
30708 echo "$as_me: failed program was:" >&5
30709 sed 's/^/| /' conftest.$ac_ext >&5
30712 { echo "$as_me:$LINENO: result: no" >&5
30713 echo "${ECHO_T}no" >&6; }
30714 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30715 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30716 { (exit 1); exit 1; }; }
30721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30722 conftest$ac_exeext conftest.$ac_ext
30724 CFLAGS=$save_CFLAGS
30728 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30729 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30733 for libp in "" " -lXp"; do
30734 if test "$libs_found" = "0"; then
30735 for libsm_ice in "" " -lSM -lICE"; do
30736 if test "$libs_found" = "0"; then
30738 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30739 save_CFLAGS=$CFLAGS
30740 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30742 cat >conftest.$ac_ext <<_ACEOF
30745 cat confdefs.h >>conftest.$ac_ext
30746 cat >>conftest.$ac_ext <<_ACEOF
30747 /* end confdefs.h. */
30750 #include <Xm/List.h>
30756 XmString string = NULL;
30759 XmListAddItem(w, string, position);
30765 rm -f conftest.$ac_objext conftest$ac_exeext
30766 if { (ac_try="$ac_link"
30767 case "(($ac_try" in
30768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30769 *) ac_try_echo=$ac_try;;
30771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30772 (eval "$ac_link") 2>conftest.er1
30774 grep -v '^ *+' conftest.er1 >conftest.err
30776 cat conftest.err >&5
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); } && {
30779 test -z "$ac_c_werror_flag" ||
30780 test ! -s conftest.err
30781 } && test -s conftest$ac_exeext &&
30782 $as_test_x conftest$ac_exeext; then
30785 libsm_ice_link="$libsm_ice"
30786 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30787 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30791 echo "$as_me: failed program was:" >&5
30792 sed 's/^/| /' conftest.$ac_ext >&5
30798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30799 conftest$ac_exeext conftest.$ac_ext
30802 CFLAGS=$save_CFLAGS
30808 if test "$libs_found" = "0"; then
30809 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30810 echo "${ECHO_T}can't find the right libraries" >&6; }
30811 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30812 echo "$as_me: error: can't link a simple motif program" >&2;}
30813 { (exit 1); exit 1; }; }
30816 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30817 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30818 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30819 echo $ECHO_N "(cached) $ECHO_C" >&6
30821 ac_check_lib_save_LIBS=$LIBS
30823 cat >conftest.$ac_ext <<_ACEOF
30826 cat confdefs.h >>conftest.$ac_ext
30827 cat >>conftest.$ac_ext <<_ACEOF
30828 /* end confdefs.h. */
30830 /* Override any GCC internal prototype to avoid an error.
30831 Use char because int might match the return type of a GCC
30832 builtin and then its argument prototype would still apply. */
30836 char SgCreateList ();
30840 return SgCreateList ();
30845 rm -f conftest.$ac_objext conftest$ac_exeext
30846 if { (ac_try="$ac_link"
30847 case "(($ac_try" in
30848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30849 *) ac_try_echo=$ac_try;;
30851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30852 (eval "$ac_link") 2>conftest.er1
30854 grep -v '^ *+' conftest.er1 >conftest.err
30856 cat conftest.err >&5
30857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30858 (exit $ac_status); } && {
30859 test -z "$ac_c_werror_flag" ||
30860 test ! -s conftest.err
30861 } && test -s conftest$ac_exeext &&
30862 $as_test_x conftest$ac_exeext; then
30863 ac_cv_lib_Sgm_SgCreateList=yes
30865 echo "$as_me: failed program was:" >&5
30866 sed 's/^/| /' conftest.$ac_ext >&5
30868 ac_cv_lib_Sgm_SgCreateList=no
30871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30872 conftest$ac_exeext conftest.$ac_ext
30873 LIBS=$ac_check_lib_save_LIBS
30875 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30876 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
30877 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30878 libsgm_link=" -lSgm"
30882 save_CFLAGS=$CFLAGS
30883 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30885 { echo "$as_me:$LINENO: checking for Motif 2" >&5
30886 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
30887 if test "${wx_cv_lib_motif2+set}" = set; then
30888 echo $ECHO_N "(cached) $ECHO_C" >&6
30890 cat >conftest.$ac_ext <<_ACEOF
30893 cat confdefs.h >>conftest.$ac_ext
30894 cat >>conftest.$ac_ext <<_ACEOF
30895 /* end confdefs.h. */
30903 #if XmVersion < 2000
30911 rm -f conftest.$ac_objext
30912 if { (ac_try="$ac_compile"
30913 case "(($ac_try" in
30914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30915 *) ac_try_echo=$ac_try;;
30917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30918 (eval "$ac_compile") 2>conftest.er1
30920 grep -v '^ *+' conftest.er1 >conftest.err
30922 cat conftest.err >&5
30923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924 (exit $ac_status); } && {
30925 test -z "$ac_c_werror_flag" ||
30926 test ! -s conftest.err
30927 } && test -s conftest.$ac_objext; then
30928 wx_cv_lib_motif2="yes"
30930 echo "$as_me: failed program was:" >&5
30931 sed 's/^/| /' conftest.$ac_ext >&5
30933 wx_cv_lib_motif2="no"
30936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30938 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30939 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
30940 if test "$wx_cv_lib_motif2" = "yes"; then
30941 cat >>confdefs.h <<\_ACEOF
30942 #define __WXMOTIF20__ 1
30946 cat >>confdefs.h <<\_ACEOF
30947 #define __WXMOTIF20__ 0
30952 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30953 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
30954 if test "${wx_cv_lib_lesstif+set}" = set; then
30955 echo $ECHO_N "(cached) $ECHO_C" >&6
30957 cat >conftest.$ac_ext <<_ACEOF
30960 cat confdefs.h >>conftest.$ac_ext
30961 cat >>conftest.$ac_ext <<_ACEOF
30962 /* end confdefs.h. */
30970 #if !defined(LesstifVersion) || LesstifVersion <= 0
30978 rm -f conftest.$ac_objext
30979 if { (ac_try="$ac_compile"
30980 case "(($ac_try" in
30981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30982 *) ac_try_echo=$ac_try;;
30984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30985 (eval "$ac_compile") 2>conftest.er1
30987 grep -v '^ *+' conftest.er1 >conftest.err
30989 cat conftest.err >&5
30990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991 (exit $ac_status); } && {
30992 test -z "$ac_c_werror_flag" ||
30993 test ! -s conftest.err
30994 } && test -s conftest.$ac_objext; then
30995 wx_cv_lib_lesstif="yes"
30997 echo "$as_me: failed program was:" >&5
30998 sed 's/^/| /' conftest.$ac_ext >&5
31000 wx_cv_lib_lesstif="no"
31003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31006 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31007 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31008 if test "$wx_cv_lib_lesstif" = "yes"; then
31009 cat >>confdefs.h <<\_ACEOF
31010 #define __WXLESSTIF__ 1
31014 cat >>confdefs.h <<\_ACEOF
31015 #define __WXLESSTIF__ 0
31020 CFLAGS=$save_CFLAGS
31022 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31027 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31028 if test "$wxUSE_LIBXPM" = "sys"; then
31029 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31030 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31033 for ac_dir in $SEARCH_LIB;
31035 for ac_extension in a so sl dylib dll.a; do
31036 if test -f "$ac_dir/libXpm.$ac_extension"; then
31037 ac_find_libraries=$ac_dir
31043 if test "$ac_find_libraries" != "" ; then
31045 if test "$ac_find_libraries" = "default location"; then
31048 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31050 if test $result = 0; then
31053 ac_path_to_link=" -L$ac_find_libraries"
31057 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31058 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31059 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31061 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31062 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31063 if test "${wx_cv_x11_xpm_h+set}" = set; then
31064 echo $ECHO_N "(cached) $ECHO_C" >&6
31067 save_CFLAGS=$CFLAGS
31068 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31070 cat >conftest.$ac_ext <<_ACEOF
31073 cat confdefs.h >>conftest.$ac_ext
31074 cat >>conftest.$ac_ext <<_ACEOF
31075 /* end confdefs.h. */
31077 #include <X11/xpm.h>
31084 version = XpmLibraryVersion();
31090 rm -f conftest.$ac_objext
31091 if { (ac_try="$ac_compile"
31092 case "(($ac_try" in
31093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31094 *) ac_try_echo=$ac_try;;
31096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31097 (eval "$ac_compile") 2>conftest.er1
31099 grep -v '^ *+' conftest.er1 >conftest.err
31101 cat conftest.err >&5
31102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31103 (exit $ac_status); } && {
31104 test -z "$ac_c_werror_flag" ||
31105 test ! -s conftest.err
31106 } && test -s conftest.$ac_objext; then
31107 wx_cv_x11_xpm_h=yes
31109 echo "$as_me: failed program was:" >&5
31110 sed 's/^/| /' conftest.$ac_ext >&5
31116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31118 CFLAGS=$save_CFLAGS
31122 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31123 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31125 if test $wx_cv_x11_xpm_h = "yes"; then
31126 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31127 cat >>confdefs.h <<\_ACEOF
31128 #define wxHAVE_LIB_XPM 1
31132 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31133 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31139 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31140 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31141 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31142 echo $ECHO_N "(cached) $ECHO_C" >&6
31144 ac_check_lib_save_LIBS=$LIBS
31145 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31146 cat >conftest.$ac_ext <<_ACEOF
31149 cat confdefs.h >>conftest.$ac_ext
31150 cat >>conftest.$ac_ext <<_ACEOF
31151 /* end confdefs.h. */
31153 /* Override any GCC internal prototype to avoid an error.
31154 Use char because int might match the return type of a GCC
31155 builtin and then its argument prototype would still apply. */
31159 char XShapeQueryExtension ();
31163 return XShapeQueryExtension ();
31168 rm -f conftest.$ac_objext conftest$ac_exeext
31169 if { (ac_try="$ac_link"
31170 case "(($ac_try" in
31171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31172 *) ac_try_echo=$ac_try;;
31174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31175 (eval "$ac_link") 2>conftest.er1
31177 grep -v '^ *+' conftest.er1 >conftest.err
31179 cat conftest.err >&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); } && {
31182 test -z "$ac_c_werror_flag" ||
31183 test ! -s conftest.err
31184 } && test -s conftest$ac_exeext &&
31185 $as_test_x conftest$ac_exeext; then
31186 ac_cv_lib_Xext_XShapeQueryExtension=yes
31188 echo "$as_me: failed program was:" >&5
31189 sed 's/^/| /' conftest.$ac_ext >&5
31191 ac_cv_lib_Xext_XShapeQueryExtension=no
31194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31195 conftest$ac_exeext conftest.$ac_ext
31196 LIBS=$ac_check_lib_save_LIBS
31198 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31199 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31200 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31202 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31208 if test "$wxHAVE_XEXT_LIB" = 1; then
31209 save_CFLAGS="$CFLAGS"
31210 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31212 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31213 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31214 cat >conftest.$ac_ext <<_ACEOF
31217 cat confdefs.h >>conftest.$ac_ext
31218 cat >>conftest.$ac_ext <<_ACEOF
31219 /* end confdefs.h. */
31221 #include <X11/Xlib.h>
31222 #include <X11/extensions/shape.h>
31228 int dummy1, dummy2;
31229 XShapeQueryExtension((Display*)NULL,
31230 (int*)NULL, (int*)NULL);
31236 rm -f conftest.$ac_objext
31237 if { (ac_try="$ac_compile"
31238 case "(($ac_try" in
31239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31240 *) ac_try_echo=$ac_try;;
31242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31243 (eval "$ac_compile") 2>conftest.er1
31245 grep -v '^ *+' conftest.er1 >conftest.err
31247 cat conftest.err >&5
31248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249 (exit $ac_status); } && {
31250 test -z "$ac_c_werror_flag" ||
31251 test ! -s conftest.err
31252 } && test -s conftest.$ac_objext; then
31254 cat >>confdefs.h <<\_ACEOF
31255 #define HAVE_XSHAPE 1
31258 { echo "$as_me:$LINENO: result: found" >&5
31259 echo "${ECHO_T}found" >&6; }
31262 echo "$as_me: failed program was:" >&5
31263 sed 's/^/| /' conftest.$ac_ext >&5
31266 { echo "$as_me:$LINENO: result: not found" >&5
31267 echo "${ECHO_T}not found" >&6; }
31271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31272 CFLAGS="$save_CFLAGS"
31277 if test "$wxUSE_MAC" = 1; then
31278 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31279 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31280 if test "$GCC" = yes; then
31281 { echo "$as_me:$LINENO: result: gcc" >&5
31282 echo "${ECHO_T}gcc" >&6; }
31283 CPPFLAGS_PASCAL="-fpascal-strings"
31284 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31285 { echo "$as_me:$LINENO: result: xlc" >&5
31286 echo "${ECHO_T}xlc" >&6; }
31287 CPPFLAGS_PASCAL="-qmacpstr"
31289 { echo "$as_me:$LINENO: result: none" >&5
31290 echo "${ECHO_T}none" >&6; }
31293 if test "x$wxUSE_UNIX" = "xyes"; then
31294 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31296 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31301 WXBASEPORT="_carbon"
31304 if test "$wxUSE_COCOA" = 1; then
31309 if test "$wxUSE_PM" = 1; then
31312 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31313 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31314 if test "${wx_cv_spbcdata+set}" = set; then
31315 echo $ECHO_N "(cached) $ECHO_C" >&6
31318 cat >conftest.$ac_ext <<_ACEOF
31321 cat confdefs.h >>conftest.$ac_ext
31322 cat >>conftest.$ac_ext <<_ACEOF
31323 /* end confdefs.h. */
31338 rm -f conftest.$ac_objext
31339 if { (ac_try="$ac_compile"
31340 case "(($ac_try" in
31341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31342 *) ac_try_echo=$ac_try;;
31344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31345 (eval "$ac_compile") 2>conftest.er1
31347 grep -v '^ *+' conftest.er1 >conftest.err
31349 cat conftest.err >&5
31350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31351 (exit $ac_status); } && {
31352 test -z "$ac_c_werror_flag" ||
31353 test ! -s conftest.err
31354 } && test -s conftest.$ac_objext; then
31357 echo "$as_me: failed program was:" >&5
31358 sed 's/^/| /' conftest.$ac_ext >&5
31364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31368 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31369 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31371 if test $wx_cv_spbcdata = "yes"; then
31372 cat >>confdefs.h <<\_ACEOF
31373 #define HAVE_SPBCDATA 1
31379 if test "$TOOLKIT" = "PM" ; then
31382 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31385 if test "$wxUSE_UNIVERSAL" = "yes"; then
31386 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31390 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31391 DISTDIR="wx\$(TOOLKIT)"
31397 if test "$USE_WIN32" = 1 ; then
31401 GUIDIST="BASE_DIST"
31406 if test "$wxUSE_GUI" = "yes"; then
31407 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31408 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31409 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31410 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31411 echo $ECHO_N "(cached) $ECHO_C" >&6
31413 cat >conftest.$ac_ext <<_ACEOF
31416 cat confdefs.h >>conftest.$ac_ext
31417 cat >>conftest.$ac_ext <<_ACEOF
31418 /* end confdefs.h. */
31421 #include <X11/Xlib.h>
31423 rm -f conftest.$ac_objext
31424 if { (ac_try="$ac_compile"
31425 case "(($ac_try" in
31426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31427 *) ac_try_echo=$ac_try;;
31429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31430 (eval "$ac_compile") 2>conftest.er1
31432 grep -v '^ *+' conftest.er1 >conftest.err
31434 cat conftest.err >&5
31435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31436 (exit $ac_status); } && {
31437 test -z "$ac_c_werror_flag" ||
31438 test ! -s conftest.err
31439 } && test -s conftest.$ac_objext; then
31440 ac_cv_header_X11_Xlib_h=yes
31442 echo "$as_me: failed program was:" >&5
31443 sed 's/^/| /' conftest.$ac_ext >&5
31445 ac_cv_header_X11_Xlib_h=no
31448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31450 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31451 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31454 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31455 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31456 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31457 echo $ECHO_N "(cached) $ECHO_C" >&6
31459 cat >conftest.$ac_ext <<_ACEOF
31462 cat confdefs.h >>conftest.$ac_ext
31463 cat >>conftest.$ac_ext <<_ACEOF
31464 /* end confdefs.h. */
31466 #if HAVE_X11_XLIB_H
31467 #include <X11/Xlib.h>
31471 #include <X11/XKBlib.h>
31473 rm -f conftest.$ac_objext
31474 if { (ac_try="$ac_compile"
31475 case "(($ac_try" in
31476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31477 *) ac_try_echo=$ac_try;;
31479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31480 (eval "$ac_compile") 2>conftest.er1
31482 grep -v '^ *+' conftest.er1 >conftest.err
31484 cat conftest.err >&5
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); } && {
31487 test -z "$ac_c_werror_flag" ||
31488 test ! -s conftest.err
31489 } && test -s conftest.$ac_objext; then
31490 ac_cv_header_X11_XKBlib_h=yes
31492 echo "$as_me: failed program was:" >&5
31493 sed 's/^/| /' conftest.$ac_ext >&5
31495 ac_cv_header_X11_XKBlib_h=no
31498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31500 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31501 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31512 if test "$TOOLKIT" != "MSW" ; then
31514 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31516 { echo "$as_me:$LINENO: checking for sql.h" >&5
31517 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31518 if test "${ac_cv_header_sql_h+set}" = set; then
31519 echo $ECHO_N "(cached) $ECHO_C" >&6
31521 cat >conftest.$ac_ext <<_ACEOF
31524 cat confdefs.h >>conftest.$ac_ext
31525 cat >>conftest.$ac_ext <<_ACEOF
31526 /* end confdefs.h. */
31531 rm -f conftest.$ac_objext
31532 if { (ac_try="$ac_compile"
31533 case "(($ac_try" in
31534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31535 *) ac_try_echo=$ac_try;;
31537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31538 (eval "$ac_compile") 2>conftest.er1
31540 grep -v '^ *+' conftest.er1 >conftest.err
31542 cat conftest.err >&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); } && {
31545 test -z "$ac_c_werror_flag" ||
31546 test ! -s conftest.err
31547 } && test -s conftest.$ac_objext; then
31548 ac_cv_header_sql_h=yes
31550 echo "$as_me: failed program was:" >&5
31551 sed 's/^/| /' conftest.$ac_ext >&5
31553 ac_cv_header_sql_h=no
31556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31558 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31559 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31560 if test $ac_cv_header_sql_h = yes; then
31565 if test "x$found_sql_h" = "x1" ; then
31566 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31567 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31568 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31569 echo $ECHO_N "(cached) $ECHO_C" >&6
31571 ac_check_lib_save_LIBS=$LIBS
31572 LIBS="-liodbc $LIBS"
31573 cat >conftest.$ac_ext <<_ACEOF
31576 cat confdefs.h >>conftest.$ac_ext
31577 cat >>conftest.$ac_ext <<_ACEOF
31578 /* end confdefs.h. */
31580 /* Override any GCC internal prototype to avoid an error.
31581 Use char because int might match the return type of a GCC
31582 builtin and then its argument prototype would still apply. */
31586 char SQLAllocEnv ();
31590 return SQLAllocEnv ();
31595 rm -f conftest.$ac_objext conftest$ac_exeext
31596 if { (ac_try="$ac_link"
31597 case "(($ac_try" in
31598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31599 *) ac_try_echo=$ac_try;;
31601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31602 (eval "$ac_link") 2>conftest.er1
31604 grep -v '^ *+' conftest.er1 >conftest.err
31606 cat conftest.err >&5
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); } && {
31609 test -z "$ac_c_werror_flag" ||
31610 test ! -s conftest.err
31611 } && test -s conftest$ac_exeext &&
31612 $as_test_x conftest$ac_exeext; then
31613 ac_cv_lib_iodbc_SQLAllocEnv=yes
31615 echo "$as_me: failed program was:" >&5
31616 sed 's/^/| /' conftest.$ac_ext >&5
31618 ac_cv_lib_iodbc_SQLAllocEnv=no
31621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31622 conftest$ac_exeext conftest.$ac_ext
31623 LIBS=$ac_check_lib_save_LIBS
31625 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31626 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31627 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31628 ODBC_LINK=" -liodbc"
31631 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31632 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31633 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31634 echo $ECHO_N "(cached) $ECHO_C" >&6
31636 ac_check_lib_save_LIBS=$LIBS
31637 LIBS="-lunixodbc $LIBS"
31638 cat >conftest.$ac_ext <<_ACEOF
31641 cat confdefs.h >>conftest.$ac_ext
31642 cat >>conftest.$ac_ext <<_ACEOF
31643 /* end confdefs.h. */
31645 /* Override any GCC internal prototype to avoid an error.
31646 Use char because int might match the return type of a GCC
31647 builtin and then its argument prototype would still apply. */
31651 char SQLAllocEnv ();
31655 return SQLAllocEnv ();
31660 rm -f conftest.$ac_objext conftest$ac_exeext
31661 if { (ac_try="$ac_link"
31662 case "(($ac_try" in
31663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31664 *) ac_try_echo=$ac_try;;
31666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31667 (eval "$ac_link") 2>conftest.er1
31669 grep -v '^ *+' conftest.er1 >conftest.err
31671 cat conftest.err >&5
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); } && {
31674 test -z "$ac_c_werror_flag" ||
31675 test ! -s conftest.err
31676 } && test -s conftest$ac_exeext &&
31677 $as_test_x conftest$ac_exeext; then
31678 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31680 echo "$as_me: failed program was:" >&5
31681 sed 's/^/| /' conftest.$ac_ext >&5
31683 ac_cv_lib_unixodbc_SQLAllocEnv=no
31686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31687 conftest$ac_exeext conftest.$ac_ext
31688 LIBS=$ac_check_lib_save_LIBS
31690 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31691 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31692 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31693 ODBC_LINK=" -lunixodbc"
31696 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31697 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31698 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31699 echo $ECHO_N "(cached) $ECHO_C" >&6
31701 ac_check_lib_save_LIBS=$LIBS
31702 LIBS="-lodbc $LIBS"
31703 cat >conftest.$ac_ext <<_ACEOF
31706 cat confdefs.h >>conftest.$ac_ext
31707 cat >>conftest.$ac_ext <<_ACEOF
31708 /* end confdefs.h. */
31710 /* Override any GCC internal prototype to avoid an error.
31711 Use char because int might match the return type of a GCC
31712 builtin and then its argument prototype would still apply. */
31716 char SQLAllocEnv ();
31720 return SQLAllocEnv ();
31725 rm -f conftest.$ac_objext conftest$ac_exeext
31726 if { (ac_try="$ac_link"
31727 case "(($ac_try" in
31728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31729 *) ac_try_echo=$ac_try;;
31731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31732 (eval "$ac_link") 2>conftest.er1
31734 grep -v '^ *+' conftest.er1 >conftest.err
31736 cat conftest.err >&5
31737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31738 (exit $ac_status); } && {
31739 test -z "$ac_c_werror_flag" ||
31740 test ! -s conftest.err
31741 } && test -s conftest$ac_exeext &&
31742 $as_test_x conftest$ac_exeext; then
31743 ac_cv_lib_odbc_SQLAllocEnv=yes
31745 echo "$as_me: failed program was:" >&5
31746 sed 's/^/| /' conftest.$ac_ext >&5
31748 ac_cv_lib_odbc_SQLAllocEnv=no
31751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31752 conftest$ac_exeext conftest.$ac_ext
31753 LIBS=$ac_check_lib_save_LIBS
31755 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31756 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31757 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31758 ODBC_LINK=" -lodbc"
31768 if test "x$ODBC_LINK" = "x" ; then
31769 if test "$wxUSE_ODBC" = "sys" ; then
31770 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31771 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31772 { (exit 1); exit 1; }; }
31774 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31775 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31783 if test "$wxUSE_ODBC" = "builtin" ; then
31784 cat >>confdefs.h <<\_ACEOF
31785 #define wxUSE_BUILTIN_IODBC 1
31791 if test "$wxUSE_ODBC" != "no" ; then
31792 cat >>confdefs.h <<\_ACEOF
31793 #define wxUSE_ODBC 1
31796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31798 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31802 if test "$wxUSE_DISPLAY" = "yes"; then
31803 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31804 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31805 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31808 for ac_dir in $SEARCH_LIB;
31810 for ac_extension in a so sl dylib dll.a; do
31811 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31812 ac_find_libraries=$ac_dir
31818 if test "$ac_find_libraries" != "" ; then
31820 if test "$ac_find_libraries" = "default location"; then
31823 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31825 if test $result = 0; then
31828 ac_path_to_link=" -L$ac_find_libraries"
31832 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31833 LDFLAGS="$LDFLAGS $ac_path_to_link"
31835 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31836 { echo "$as_me:$LINENO: result: yes" >&5
31837 echo "${ECHO_T}yes" >&6; }
31839 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31840 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
31843 for ac_dir in $SEARCH_LIB;
31845 for ac_extension in a so sl dylib dll.a; do
31846 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31847 ac_find_libraries=$ac_dir
31853 if test "$ac_find_libraries" != "" ; then
31854 { echo "$as_me:$LINENO: result: yes" >&5
31855 echo "${ECHO_T}yes" >&6; }
31856 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31857 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
31858 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31859 echo $ECHO_N "(cached) $ECHO_C" >&6
31861 cat >conftest.$ac_ext <<_ACEOF
31864 cat confdefs.h >>conftest.$ac_ext
31865 cat >>conftest.$ac_ext <<_ACEOF
31866 /* end confdefs.h. */
31868 #if HAVE_X11_XLIB_H
31869 #include <X11/Xlib.h>
31873 #include <X11/extensions/xf86vmode.h>
31875 rm -f conftest.$ac_objext
31876 if { (ac_try="$ac_compile"
31877 case "(($ac_try" in
31878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31879 *) ac_try_echo=$ac_try;;
31881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31882 (eval "$ac_compile") 2>conftest.er1
31884 grep -v '^ *+' conftest.er1 >conftest.err
31886 cat conftest.err >&5
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); } && {
31889 test -z "$ac_c_werror_flag" ||
31890 test ! -s conftest.err
31891 } && test -s conftest.$ac_objext; then
31892 ac_cv_header_X11_extensions_xf86vmode_h=yes
31894 echo "$as_me: failed program was:" >&5
31895 sed 's/^/| /' conftest.$ac_ext >&5
31897 ac_cv_header_X11_extensions_xf86vmode_h=no
31900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31902 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31903 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
31904 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31906 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31912 { echo "$as_me:$LINENO: result: no" >&5
31913 echo "${ECHO_T}no" >&6; }
31917 { echo "$as_me:$LINENO: result: no" >&5
31918 echo "${ECHO_T}no" >&6; }
31919 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31920 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31923 elif test "$wxUSE_MSW" = 1; then
31924 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
31925 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
31926 if test "${ac_cv_header_ddraw_h+set}" = set; then
31927 echo $ECHO_N "(cached) $ECHO_C" >&6
31929 cat >conftest.$ac_ext <<_ACEOF
31932 cat confdefs.h >>conftest.$ac_ext
31933 cat >>conftest.$ac_ext <<_ACEOF
31934 /* end confdefs.h. */
31935 #include <windows.h>
31939 rm -f conftest.$ac_objext
31940 if { (ac_try="$ac_compile"
31941 case "(($ac_try" in
31942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31943 *) ac_try_echo=$ac_try;;
31945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31946 (eval "$ac_compile") 2>conftest.er1
31948 grep -v '^ *+' conftest.er1 >conftest.err
31950 cat conftest.err >&5
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); } && {
31953 test -z "$ac_c_werror_flag" ||
31954 test ! -s conftest.err
31955 } && test -s conftest.$ac_objext; then
31956 ac_cv_header_ddraw_h=yes
31958 echo "$as_me: failed program was:" >&5
31959 sed 's/^/| /' conftest.$ac_ext >&5
31961 ac_cv_header_ddraw_h=no
31964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31966 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
31967 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
31973 if test "$wxUSE_DETECT_SM" = "yes"; then
31974 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31975 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
31976 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
31979 for ac_dir in $SEARCH_LIB;
31981 for ac_extension in a so sl dylib dll.a; do
31982 if test -f "$ac_dir/libSM.$ac_extension"; then
31983 ac_find_libraries=$ac_dir
31989 if test "$ac_find_libraries" != "" ; then
31991 if test "$ac_find_libraries" = "default location"; then
31994 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31996 if test $result = 0; then
31999 ac_path_to_link=" -L$ac_find_libraries"
32003 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32004 LDFLAGS="$LDFLAGS $ac_path_to_link"
32006 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32007 { echo "$as_me:$LINENO: result: yes" >&5
32008 echo "${ECHO_T}yes" >&6; }
32010 { echo "$as_me:$LINENO: result: no" >&5
32011 echo "${ECHO_T}no" >&6; }
32012 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32013 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32014 wxUSE_DETECT_SM="no"
32017 wxUSE_DETECT_SM="no"
32024 if test "$wxUSE_OPENGL" = "yes"; then
32025 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32026 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32027 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32029 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32030 OPENGL_LIBS="-framework OpenGL -framework AGL"
32031 elif test "$wxUSE_MSW" = 1; then
32032 OPENGL_LIBS="-lopengl32 -lglu32"
32034 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32035 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32038 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32040 if test -f "$ac_dir/GL/gl.h"; then
32041 ac_find_includes=$ac_dir
32046 if test "$ac_find_includes" != "" ; then
32047 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32048 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32050 if test "x$ac_find_includes" = "x/usr/include"; then
32051 ac_path_to_include=""
32053 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32055 if test $result = 0; then
32056 ac_path_to_include=""
32058 ac_path_to_include=" -I$ac_find_includes"
32062 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32064 { echo "$as_me:$LINENO: result: not found" >&5
32065 echo "${ECHO_T}not found" >&6; }
32068 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32069 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32070 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32071 echo $ECHO_N "(cached) $ECHO_C" >&6
32073 cat >conftest.$ac_ext <<_ACEOF
32076 cat confdefs.h >>conftest.$ac_ext
32077 cat >>conftest.$ac_ext <<_ACEOF
32078 /* end confdefs.h. */
32083 rm -f conftest.$ac_objext
32084 if { (ac_try="$ac_compile"
32085 case "(($ac_try" in
32086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32087 *) ac_try_echo=$ac_try;;
32089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32090 (eval "$ac_compile") 2>conftest.er1
32092 grep -v '^ *+' conftest.er1 >conftest.err
32094 cat conftest.err >&5
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 (exit $ac_status); } && {
32097 test -z "$ac_c_werror_flag" ||
32098 test ! -s conftest.err
32099 } && test -s conftest.$ac_objext; then
32100 ac_cv_header_GL_gl_h=yes
32102 echo "$as_me: failed program was:" >&5
32103 sed 's/^/| /' conftest.$ac_ext >&5
32105 ac_cv_header_GL_gl_h=no
32108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32110 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32111 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32112 if test $ac_cv_header_GL_gl_h = yes; then
32114 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32115 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32116 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32117 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32118 echo $ECHO_N "(cached) $ECHO_C" >&6
32120 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32121 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32123 # Is the header compilable?
32124 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32125 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32126 cat >conftest.$ac_ext <<_ACEOF
32129 cat confdefs.h >>conftest.$ac_ext
32130 cat >>conftest.$ac_ext <<_ACEOF
32131 /* end confdefs.h. */
32132 $ac_includes_default
32133 #include <GL/glu.h>
32135 rm -f conftest.$ac_objext
32136 if { (ac_try="$ac_compile"
32137 case "(($ac_try" in
32138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32139 *) ac_try_echo=$ac_try;;
32141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32142 (eval "$ac_compile") 2>conftest.er1
32144 grep -v '^ *+' conftest.er1 >conftest.err
32146 cat conftest.err >&5
32147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32148 (exit $ac_status); } && {
32149 test -z "$ac_c_werror_flag" ||
32150 test ! -s conftest.err
32151 } && test -s conftest.$ac_objext; then
32152 ac_header_compiler=yes
32154 echo "$as_me: failed program was:" >&5
32155 sed 's/^/| /' conftest.$ac_ext >&5
32157 ac_header_compiler=no
32160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32161 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32162 echo "${ECHO_T}$ac_header_compiler" >&6; }
32164 # Is the header present?
32165 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32166 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32167 cat >conftest.$ac_ext <<_ACEOF
32170 cat confdefs.h >>conftest.$ac_ext
32171 cat >>conftest.$ac_ext <<_ACEOF
32172 /* end confdefs.h. */
32173 #include <GL/glu.h>
32175 if { (ac_try="$ac_cpp conftest.$ac_ext"
32176 case "(($ac_try" in
32177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32178 *) ac_try_echo=$ac_try;;
32180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32181 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32183 grep -v '^ *+' conftest.er1 >conftest.err
32185 cat conftest.err >&5
32186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32187 (exit $ac_status); } >/dev/null && {
32188 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32189 test ! -s conftest.err
32191 ac_header_preproc=yes
32193 echo "$as_me: failed program was:" >&5
32194 sed 's/^/| /' conftest.$ac_ext >&5
32196 ac_header_preproc=no
32199 rm -f conftest.err conftest.$ac_ext
32200 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32201 echo "${ECHO_T}$ac_header_preproc" >&6; }
32203 # So? What about this header?
32204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32206 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32207 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32208 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32209 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32210 ac_header_preproc=yes
32213 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32214 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32215 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32216 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32217 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32218 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32219 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32220 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32221 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32222 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32223 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32224 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32226 ## ----------------------------------------- ##
32227 ## Report this to wx-dev@lists.wxwidgets.org ##
32228 ## ----------------------------------------- ##
32230 ) | sed "s/^/$as_me: WARNING: /" >&2
32233 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32234 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32235 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32236 echo $ECHO_N "(cached) $ECHO_C" >&6
32238 ac_cv_header_GL_glu_h=$ac_header_preproc
32240 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32241 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32244 if test $ac_cv_header_GL_glu_h = yes; then
32248 { echo "$as_me:$LINENO: checking for -lGL" >&5
32249 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32252 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32254 for ac_extension in a so sl dylib dll.a; do
32255 if test -f "$ac_dir/libGL.$ac_extension"; then
32256 ac_find_libraries=$ac_dir
32262 if test "$ac_find_libraries" != "" ; then
32263 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32264 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32267 if test "$ac_find_libraries" = "default location"; then
32270 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32272 if test $result = 0; then
32275 ac_path_to_link=" -L$ac_find_libraries"
32279 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32280 LDFLAGS_GL="$ac_path_to_link"
32283 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32284 echo $ECHO_N "checking for -lGLU... $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/libGLU.$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 "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32304 if test $result = 0; then
32307 ac_path_to_link=" -L$ac_find_libraries"
32311 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32312 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32313 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32317 OPENGL_LIBS="-lGL -lGLU"
32318 { echo "$as_me:$LINENO: result: yes" >&5
32319 echo "${ECHO_T}yes" >&6; }
32321 { echo "$as_me:$LINENO: result: no" >&5
32322 echo "${ECHO_T}no" >&6; }
32325 { echo "$as_me:$LINENO: result: no" >&5
32326 echo "${ECHO_T}no" >&6; }
32329 if test "$found_gl" != 1; then
32330 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32331 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32334 for ac_dir in $SEARCH_LIB;
32336 for ac_extension in a so sl dylib dll.a; do
32337 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32338 ac_find_libraries=$ac_dir
32344 if test "$ac_find_libraries" != "" ; then
32346 if test "$ac_find_libraries" = "default location"; then
32349 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32351 if test $result = 0; then
32354 ac_path_to_link=" -L$ac_find_libraries"
32358 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32359 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32360 { echo "$as_me:$LINENO: result: yes" >&5
32361 echo "${ECHO_T}yes" >&6; }
32363 { echo "$as_me:$LINENO: result: no" >&5
32364 echo "${ECHO_T}no" >&6; }
32376 if test "x$OPENGL_LIBS" = "x"; then
32377 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32378 echo "$as_me: error: OpenGL libraries not available" >&2;}
32379 { (exit 1); exit 1; }; }
32383 if test "$wxUSE_OPENGL" = "yes"; then
32385 cat >>confdefs.h <<\_ACEOF
32386 #define wxUSE_OPENGL 1
32389 cat >>confdefs.h <<\_ACEOF
32390 #define wxUSE_GLCANVAS 1
32393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32398 if test -n "$TOOLKIT" ; then
32399 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32404 if test "$wxUSE_SHARED" = "yes"; then
32408 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32409 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32414 if test "$wxUSE_SHARED" = "yes"; then
32418 *-*-cygwin* | *-*-mingw* )
32419 wx_cv_version_script=no
32423 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32424 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32425 if test "${wx_cv_version_script+set}" = set; then
32426 echo $ECHO_N "(cached) $ECHO_C" >&6
32429 echo "VER_1 { *; };" >conftest.sym
32430 echo "int main() { return 0; }" >conftest.cpp
32433 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32434 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32436 (eval $ac_try) 2>&5
32438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32439 (exit $ac_status); }; } ; then
32440 if test -s conftest.stderr ; then
32441 wx_cv_version_script=no
32443 wx_cv_version_script=yes
32446 wx_cv_version_script=no
32449 if test $wx_cv_version_script = yes
32451 echo "struct B { virtual ~B() { } }; \
32452 struct D : public B { }; \
32453 void F() { D d; }" > conftest.cpp
32456 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32457 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32459 (eval $ac_try) 2>&5
32461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32462 (exit $ac_status); }; } &&
32464 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32465 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32467 (eval $ac_try) 2>&5
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); }; }
32473 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32474 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32476 (eval $ac_try) 2>&5
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); }; }
32481 wx_cv_version_script=yes
32483 wx_cv_version_script=no
32488 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32489 rm -f conftest1.output conftest2.output conftest3.output
32492 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32493 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32495 if test $wx_cv_version_script = yes ; then
32496 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32503 *-*-linux* | *-*-gnu* )
32504 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32505 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32509 if test "$GCC" = yes ; then
32510 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32512 saveLdflags="$LDFLAGS"
32513 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32514 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32515 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32516 cat >conftest.$ac_ext <<_ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32531 rm -f conftest.$ac_objext conftest$ac_exeext
32532 if { (ac_try="$ac_link"
32533 case "(($ac_try" in
32534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32535 *) ac_try_echo=$ac_try;;
32537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32538 (eval "$ac_link") 2>conftest.er1
32540 grep -v '^ *+' conftest.er1 >conftest.err
32542 cat conftest.err >&5
32543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32544 (exit $ac_status); } && {
32545 test -z "$ac_c_werror_flag" ||
32546 test ! -s conftest.err
32547 } && test -s conftest$ac_exeext &&
32548 $as_test_x conftest$ac_exeext; then
32550 { echo "$as_me:$LINENO: result: yes" >&5
32551 echo "${ECHO_T}yes" >&6; }
32552 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32553 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32556 echo "$as_me: failed program was:" >&5
32557 sed 's/^/| /' conftest.$ac_ext >&5
32560 { echo "$as_me:$LINENO: result: no" >&5
32561 echo "${ECHO_T}no" >&6; }
32562 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32563 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32564 LDFLAGS="$saveLdflags -Wl,-R,/"
32565 cat >conftest.$ac_ext <<_ACEOF
32568 cat confdefs.h >>conftest.$ac_ext
32569 cat >>conftest.$ac_ext <<_ACEOF
32570 /* end confdefs.h. */
32580 rm -f conftest.$ac_objext conftest$ac_exeext
32581 if { (ac_try="$ac_link"
32582 case "(($ac_try" in
32583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32584 *) ac_try_echo=$ac_try;;
32586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32587 (eval "$ac_link") 2>conftest.er1
32589 grep -v '^ *+' conftest.er1 >conftest.err
32591 cat conftest.err >&5
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); } && {
32594 test -z "$ac_c_werror_flag" ||
32595 test ! -s conftest.err
32596 } && test -s conftest$ac_exeext &&
32597 $as_test_x conftest$ac_exeext; then
32599 { echo "$as_me:$LINENO: result: yes" >&5
32600 echo "${ECHO_T}yes" >&6; }
32601 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32602 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32605 echo "$as_me: failed program was:" >&5
32606 sed 's/^/| /' conftest.$ac_ext >&5
32609 { echo "$as_me:$LINENO: result: no" >&5
32610 echo "${ECHO_T}no" >&6; }
32614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32615 conftest$ac_exeext conftest.$ac_ext
32619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32620 conftest$ac_exeext conftest.$ac_ext
32621 LDFLAGS="$saveLdflags"
32623 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32624 WXCONFIG_RPATH="-R\$libdir"
32629 install_name_tool=`which install_name_tool`
32630 if test "$install_name_tool" -a -x "$install_name_tool"; then
32631 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32632 cat <<EOF >change-install-names
32634 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32635 inst_cmd="install_name_tool "
32636 for i in \${libnames} ; do
32637 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32641 chmod +x change-install-names
32645 *-*-cygwin* | *-*-mingw32* )
32646 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32650 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32651 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32656 if test $wxUSE_RPATH = "no"; then
32657 SAMPLES_RPATH_FLAG=''
32658 SAMPLES_RPATH_POSTLINK=''
32666 config_linkage_component="-static"
32673 lib_unicode_suffix=
32675 if test "$wxUSE_UNICODE" = "yes"; then
32676 lib_unicode_suffix=u
32677 WX_CHARTYPE="unicode"
32682 WX_DEBUGTYPE="release"
32684 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32686 WX_DEBUGTYPE="debug"
32690 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32691 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32694 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32698 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32700 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32702 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32704 if test "$cross_compiling" = "yes"; then
32705 HOST_SUFFIX="-$host_alias"
32706 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32707 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32710 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32711 if test "${TOOLKIT_DIR}" = "os2"; then
32712 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32714 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32719 if test "$wxUSE_COCOA" = 1; then
32722 ac_cpp='$CPP $CPPFLAGS'
32723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32729 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32730 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32731 cat >conftest.$ac_ext <<_ACEOF
32734 cat confdefs.h >>conftest.$ac_ext
32735 cat >>conftest.$ac_ext <<_ACEOF
32736 /* end confdefs.h. */
32737 #include <AppKit/NSEvent.h>
32738 #include <CoreFoundation/CoreFoundation.h>
32748 rm -f conftest.$ac_objext
32749 if { (ac_try="$ac_compile"
32750 case "(($ac_try" in
32751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32752 *) ac_try_echo=$ac_try;;
32754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32755 (eval "$ac_compile") 2>conftest.er1
32757 grep -v '^ *+' conftest.er1 >conftest.err
32759 cat conftest.err >&5
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); } && {
32762 test -z "$ac_c_werror_flag" ||
32763 test ! -s conftest.err
32764 } && test -s conftest.$ac_objext; then
32765 { echo "$as_me:$LINENO: result: no" >&5
32766 echo "${ECHO_T}no" >&6; }
32768 echo "$as_me: failed program was:" >&5
32769 sed 's/^/| /' conftest.$ac_ext >&5
32771 { echo "$as_me:$LINENO: result: yes" >&5
32772 echo "${ECHO_T}yes" >&6; }
32773 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32774 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32775 cat >conftest.$ac_ext <<_ACEOF
32778 cat confdefs.h >>conftest.$ac_ext
32779 cat >>conftest.$ac_ext <<_ACEOF
32780 /* end confdefs.h. */
32781 #define __Point__ 1
32782 #include <AppKit/NSEvent.h>
32783 #include <CoreFoundation/CoreFoundation.h>
32793 rm -f conftest.$ac_objext
32794 if { (ac_try="$ac_compile"
32795 case "(($ac_try" in
32796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32797 *) ac_try_echo=$ac_try;;
32799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32800 (eval "$ac_compile") 2>conftest.er1
32802 grep -v '^ *+' conftest.er1 >conftest.err
32804 cat conftest.err >&5
32805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806 (exit $ac_status); } && {
32807 test -z "$ac_c_werror_flag" ||
32808 test ! -s conftest.err
32809 } && test -s conftest.$ac_objext; then
32810 { echo "$as_me:$LINENO: result: yes" >&5
32811 echo "${ECHO_T}yes" >&6; }
32812 cat >>confdefs.h <<\_ACEOF
32813 #define __Point__ 1
32818 echo "$as_me: failed program was:" >&5
32819 sed 's/^/| /' conftest.$ac_ext >&5
32821 { { echo "$as_me:$LINENO: error: no
32822 See \`config.log' for more details." >&5
32823 echo "$as_me: error: no
32824 See \`config.log' for more details." >&2;}
32825 { (exit 1); exit 1; }; }
32829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32835 ac_cpp='$CPP $CPPFLAGS'
32836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32842 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32843 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32844 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32846 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32848 # Extract the first word of "Rez", so it can be a program name with args.
32849 set dummy Rez; ac_word=$2
32850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32852 if test "${ac_cv_prog_REZ+set}" = set; then
32853 echo $ECHO_N "(cached) $ECHO_C" >&6
32855 if test -n "$REZ"; then
32856 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32859 for as_dir in $PATH
32862 test -z "$as_dir" && as_dir=.
32863 for ac_exec_ext in '' $ac_executable_extensions; do
32864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32865 ac_cv_prog_REZ="Rez"
32866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32873 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32876 REZ=$ac_cv_prog_REZ
32877 if test -n "$REZ"; then
32878 { echo "$as_me:$LINENO: result: $REZ" >&5
32879 echo "${ECHO_T}$REZ" >&6; }
32881 { echo "$as_me:$LINENO: result: no" >&5
32882 echo "${ECHO_T}no" >&6; }
32886 # Extract the first word of "DeRez", so it can be a program name with args.
32887 set dummy DeRez; ac_word=$2
32888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32890 if test "${ac_cv_prog_DEREZ+set}" = set; then
32891 echo $ECHO_N "(cached) $ECHO_C" >&6
32893 if test -n "$DEREZ"; then
32894 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32897 for as_dir in $PATH
32900 test -z "$as_dir" && as_dir=.
32901 for ac_exec_ext in '' $ac_executable_extensions; do
32902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32903 ac_cv_prog_DEREZ="DeRez"
32904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32911 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32914 DEREZ=$ac_cv_prog_DEREZ
32915 if test -n "$DEREZ"; then
32916 { echo "$as_me:$LINENO: result: $DEREZ" >&5
32917 echo "${ECHO_T}$DEREZ" >&6; }
32919 { echo "$as_me:$LINENO: result: no" >&5
32920 echo "${ECHO_T}no" >&6; }
32924 # Extract the first word of "SetFile", so it can be a program name with args.
32925 set dummy SetFile; ac_word=$2
32926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32928 if test "${ac_cv_prog_SETFILE+set}" = set; then
32929 echo $ECHO_N "(cached) $ECHO_C" >&6
32931 if test -n "$SETFILE"; then
32932 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32935 for as_dir in $PATH
32938 test -z "$as_dir" && as_dir=.
32939 for ac_exec_ext in '' $ac_executable_extensions; do
32940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32941 ac_cv_prog_SETFILE="SetFile"
32942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32949 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32952 SETFILE=$ac_cv_prog_SETFILE
32953 if test -n "$SETFILE"; then
32954 { echo "$as_me:$LINENO: result: $SETFILE" >&5
32955 echo "${ECHO_T}$SETFILE" >&6; }
32957 { echo "$as_me:$LINENO: result: no" >&5
32958 echo "${ECHO_T}no" >&6; }
32963 MACSETFILE="\$(SETFILE)"
32965 if test "$wxUSE_MAC" = 1; then
32966 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32968 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
32970 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32971 RESCOMP="echo -n \| $REZ"
32972 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32978 if test "$wxUSE_PM" = 1; then
32980 WXCONFIG_RESFLAGS="-ep"
32982 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
32984 POSTLINK_COMMAND="@true"
32991 { echo "$as_me:$LINENO: checking for mode_t" >&5
32992 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
32993 if test "${ac_cv_type_mode_t+set}" = set; then
32994 echo $ECHO_N "(cached) $ECHO_C" >&6
32996 cat >conftest.$ac_ext <<_ACEOF
32999 cat confdefs.h >>conftest.$ac_ext
33000 cat >>conftest.$ac_ext <<_ACEOF
33001 /* end confdefs.h. */
33002 $ac_includes_default
33003 typedef mode_t ac__type_new_;
33007 if ((ac__type_new_ *) 0)
33009 if (sizeof (ac__type_new_))
33015 rm -f conftest.$ac_objext
33016 if { (ac_try="$ac_compile"
33017 case "(($ac_try" in
33018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33019 *) ac_try_echo=$ac_try;;
33021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33022 (eval "$ac_compile") 2>conftest.er1
33024 grep -v '^ *+' conftest.er1 >conftest.err
33026 cat conftest.err >&5
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); } && {
33029 test -z "$ac_c_werror_flag" ||
33030 test ! -s conftest.err
33031 } && test -s conftest.$ac_objext; then
33032 ac_cv_type_mode_t=yes
33034 echo "$as_me: failed program was:" >&5
33035 sed 's/^/| /' conftest.$ac_ext >&5
33037 ac_cv_type_mode_t=no
33040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33042 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33043 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33044 if test $ac_cv_type_mode_t = yes; then
33048 cat >>confdefs.h <<_ACEOF
33054 { echo "$as_me:$LINENO: checking for off_t" >&5
33055 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33056 if test "${ac_cv_type_off_t+set}" = set; then
33057 echo $ECHO_N "(cached) $ECHO_C" >&6
33059 cat >conftest.$ac_ext <<_ACEOF
33062 cat confdefs.h >>conftest.$ac_ext
33063 cat >>conftest.$ac_ext <<_ACEOF
33064 /* end confdefs.h. */
33065 $ac_includes_default
33066 typedef off_t ac__type_new_;
33070 if ((ac__type_new_ *) 0)
33072 if (sizeof (ac__type_new_))
33078 rm -f conftest.$ac_objext
33079 if { (ac_try="$ac_compile"
33080 case "(($ac_try" in
33081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33082 *) ac_try_echo=$ac_try;;
33084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33085 (eval "$ac_compile") 2>conftest.er1
33087 grep -v '^ *+' conftest.er1 >conftest.err
33089 cat conftest.err >&5
33090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33091 (exit $ac_status); } && {
33092 test -z "$ac_c_werror_flag" ||
33093 test ! -s conftest.err
33094 } && test -s conftest.$ac_objext; then
33095 ac_cv_type_off_t=yes
33097 echo "$as_me: failed program was:" >&5
33098 sed 's/^/| /' conftest.$ac_ext >&5
33100 ac_cv_type_off_t=no
33103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33105 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33106 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33107 if test $ac_cv_type_off_t = yes; then
33111 cat >>confdefs.h <<_ACEOF
33112 #define off_t long int
33117 { echo "$as_me:$LINENO: checking for pid_t" >&5
33118 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33119 if test "${ac_cv_type_pid_t+set}" = set; then
33120 echo $ECHO_N "(cached) $ECHO_C" >&6
33122 cat >conftest.$ac_ext <<_ACEOF
33125 cat confdefs.h >>conftest.$ac_ext
33126 cat >>conftest.$ac_ext <<_ACEOF
33127 /* end confdefs.h. */
33128 $ac_includes_default
33129 typedef pid_t ac__type_new_;
33133 if ((ac__type_new_ *) 0)
33135 if (sizeof (ac__type_new_))
33141 rm -f conftest.$ac_objext
33142 if { (ac_try="$ac_compile"
33143 case "(($ac_try" in
33144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33145 *) ac_try_echo=$ac_try;;
33147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33148 (eval "$ac_compile") 2>conftest.er1
33150 grep -v '^ *+' conftest.er1 >conftest.err
33152 cat conftest.err >&5
33153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154 (exit $ac_status); } && {
33155 test -z "$ac_c_werror_flag" ||
33156 test ! -s conftest.err
33157 } && test -s conftest.$ac_objext; then
33158 ac_cv_type_pid_t=yes
33160 echo "$as_me: failed program was:" >&5
33161 sed 's/^/| /' conftest.$ac_ext >&5
33163 ac_cv_type_pid_t=no
33166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33168 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33169 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33170 if test $ac_cv_type_pid_t = yes; then
33174 cat >>confdefs.h <<_ACEOF
33180 { echo "$as_me:$LINENO: checking for size_t" >&5
33181 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33182 if test "${ac_cv_type_size_t+set}" = set; then
33183 echo $ECHO_N "(cached) $ECHO_C" >&6
33185 cat >conftest.$ac_ext <<_ACEOF
33188 cat confdefs.h >>conftest.$ac_ext
33189 cat >>conftest.$ac_ext <<_ACEOF
33190 /* end confdefs.h. */
33191 $ac_includes_default
33192 typedef size_t ac__type_new_;
33196 if ((ac__type_new_ *) 0)
33198 if (sizeof (ac__type_new_))
33204 rm -f conftest.$ac_objext
33205 if { (ac_try="$ac_compile"
33206 case "(($ac_try" in
33207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33208 *) ac_try_echo=$ac_try;;
33210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33211 (eval "$ac_compile") 2>conftest.er1
33213 grep -v '^ *+' conftest.er1 >conftest.err
33215 cat conftest.err >&5
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); } && {
33218 test -z "$ac_c_werror_flag" ||
33219 test ! -s conftest.err
33220 } && test -s conftest.$ac_objext; then
33221 ac_cv_type_size_t=yes
33223 echo "$as_me: failed program was:" >&5
33224 sed 's/^/| /' conftest.$ac_ext >&5
33226 ac_cv_type_size_t=no
33229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33231 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33232 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33233 if test $ac_cv_type_size_t = yes; then
33237 cat >>confdefs.h <<_ACEOF
33238 #define size_t unsigned int
33243 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33244 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33245 if test "${ac_cv_type_uid_t+set}" = set; then
33246 echo $ECHO_N "(cached) $ECHO_C" >&6
33248 cat >conftest.$ac_ext <<_ACEOF
33251 cat confdefs.h >>conftest.$ac_ext
33252 cat >>conftest.$ac_ext <<_ACEOF
33253 /* end confdefs.h. */
33254 #include <sys/types.h>
33257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33258 $EGREP "uid_t" >/dev/null 2>&1; then
33259 ac_cv_type_uid_t=yes
33261 ac_cv_type_uid_t=no
33266 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33267 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33268 if test $ac_cv_type_uid_t = no; then
33270 cat >>confdefs.h <<\_ACEOF
33275 cat >>confdefs.h <<\_ACEOF
33282 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33283 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33284 if test "${ac_cv_type_ssize_t+set}" = set; then
33285 echo $ECHO_N "(cached) $ECHO_C" >&6
33287 cat >conftest.$ac_ext <<_ACEOF
33290 cat confdefs.h >>conftest.$ac_ext
33291 cat >>conftest.$ac_ext <<_ACEOF
33292 /* end confdefs.h. */
33293 $ac_includes_default
33294 typedef ssize_t ac__type_new_;
33298 if ((ac__type_new_ *) 0)
33300 if (sizeof (ac__type_new_))
33306 rm -f conftest.$ac_objext
33307 if { (ac_try="$ac_compile"
33308 case "(($ac_try" in
33309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33310 *) ac_try_echo=$ac_try;;
33312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33313 (eval "$ac_compile") 2>conftest.er1
33315 grep -v '^ *+' conftest.er1 >conftest.err
33317 cat conftest.err >&5
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); } && {
33320 test -z "$ac_c_werror_flag" ||
33321 test ! -s conftest.err
33322 } && test -s conftest.$ac_objext; then
33323 ac_cv_type_ssize_t=yes
33325 echo "$as_me: failed program was:" >&5
33326 sed 's/^/| /' conftest.$ac_ext >&5
33328 ac_cv_type_ssize_t=no
33331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33333 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33334 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33335 if test $ac_cv_type_ssize_t = yes; then
33337 cat >>confdefs.h <<_ACEOF
33338 #define HAVE_SSIZE_T 1
33346 ac_cpp='$CXXCPP $CPPFLAGS'
33347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33350 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33351 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33352 if test "${wx_cv_size_t_is_uint+set}" = set; then
33353 echo $ECHO_N "(cached) $ECHO_C" >&6
33356 cat >conftest.$ac_ext <<_ACEOF
33359 cat confdefs.h >>conftest.$ac_ext
33360 cat >>conftest.$ac_ext <<_ACEOF
33361 /* end confdefs.h. */
33362 #include <stddef.h>
33369 struct Foo { void foo(size_t); void foo(unsigned int); };
33377 rm -f conftest.$ac_objext
33378 if { (ac_try="$ac_compile"
33379 case "(($ac_try" in
33380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33381 *) ac_try_echo=$ac_try;;
33383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33384 (eval "$ac_compile") 2>conftest.er1
33386 grep -v '^ *+' conftest.er1 >conftest.err
33388 cat conftest.err >&5
33389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33390 (exit $ac_status); } && {
33391 test -z "$ac_cxx_werror_flag" ||
33392 test ! -s conftest.err
33393 } && test -s conftest.$ac_objext; then
33394 wx_cv_size_t_is_uint=no
33396 echo "$as_me: failed program was:" >&5
33397 sed 's/^/| /' conftest.$ac_ext >&5
33399 wx_cv_size_t_is_uint=yes
33403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33407 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33408 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33410 if test "$wx_cv_size_t_is_uint" = "yes"; then
33411 cat >>confdefs.h <<\_ACEOF
33412 #define wxSIZE_T_IS_UINT 1
33416 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33417 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33418 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33419 echo $ECHO_N "(cached) $ECHO_C" >&6
33421 cat >conftest.$ac_ext <<_ACEOF
33424 cat confdefs.h >>conftest.$ac_ext
33425 cat >>conftest.$ac_ext <<_ACEOF
33426 /* end confdefs.h. */
33427 #include <stddef.h>
33434 struct Foo { void foo(size_t); void foo(unsigned long); };
33442 rm -f conftest.$ac_objext
33443 if { (ac_try="$ac_compile"
33444 case "(($ac_try" in
33445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33446 *) ac_try_echo=$ac_try;;
33448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33449 (eval "$ac_compile") 2>conftest.er1
33451 grep -v '^ *+' conftest.er1 >conftest.err
33453 cat conftest.err >&5
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); } && {
33456 test -z "$ac_cxx_werror_flag" ||
33457 test ! -s conftest.err
33458 } && test -s conftest.$ac_objext; then
33459 wx_cv_size_t_is_ulong=no
33461 echo "$as_me: failed program was:" >&5
33462 sed 's/^/| /' conftest.$ac_ext >&5
33464 wx_cv_size_t_is_ulong=yes
33468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33471 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33472 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33474 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33475 cat >>confdefs.h <<\_ACEOF
33476 #define wxSIZE_T_IS_ULONG 1
33483 ac_cpp='$CPP $CPPFLAGS'
33484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33489 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33490 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33491 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33492 echo $ECHO_N "(cached) $ECHO_C" >&6
33495 cat >conftest.$ac_ext <<_ACEOF
33498 cat confdefs.h >>conftest.$ac_ext
33499 cat >>conftest.$ac_ext <<_ACEOF
33500 /* end confdefs.h. */
33514 rm -f conftest.$ac_objext
33515 if { (ac_try="$ac_compile"
33516 case "(($ac_try" in
33517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33518 *) ac_try_echo=$ac_try;;
33520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33521 (eval "$ac_compile") 2>conftest.er1
33523 grep -v '^ *+' conftest.er1 >conftest.err
33525 cat conftest.err >&5
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); } && {
33528 test -z "$ac_c_werror_flag" ||
33529 test ! -s conftest.err
33530 } && test -s conftest.$ac_objext; then
33532 wx_cv_struct_pw_gecos=yes
33535 echo "$as_me: failed program was:" >&5
33536 sed 's/^/| /' conftest.$ac_ext >&5
33539 wx_cv_struct_pw_gecos=no
33544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33548 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33549 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33551 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33552 cat >>confdefs.h <<\_ACEOF
33553 #define HAVE_PW_GECOS 1
33559 if test "$wxUSE_WCHAR_T" = "yes"; then
33560 cat >>confdefs.h <<\_ACEOF
33561 #define wxUSE_WCHAR_T 1
33568 for ac_func in wcslen
33570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33571 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33573 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33574 echo $ECHO_N "(cached) $ECHO_C" >&6
33576 cat >conftest.$ac_ext <<_ACEOF
33579 cat confdefs.h >>conftest.$ac_ext
33580 cat >>conftest.$ac_ext <<_ACEOF
33581 /* end confdefs.h. */
33582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33584 #define $ac_func innocuous_$ac_func
33586 /* System header to define __stub macros and hopefully few prototypes,
33587 which can conflict with char $ac_func (); below.
33588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33589 <limits.h> exists even on freestanding compilers. */
33592 # include <limits.h>
33594 # include <assert.h>
33599 /* Override any GCC internal prototype to avoid an error.
33600 Use char because int might match the return type of a GCC
33601 builtin and then its argument prototype would still apply. */
33606 /* The GNU C library defines this for functions which it implements
33607 to always fail with ENOSYS. Some functions are actually named
33608 something starting with __ and the normal name is an alias. */
33609 #if defined __stub_$ac_func || defined __stub___$ac_func
33616 return $ac_func ();
33621 rm -f conftest.$ac_objext conftest$ac_exeext
33622 if { (ac_try="$ac_link"
33623 case "(($ac_try" in
33624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33625 *) ac_try_echo=$ac_try;;
33627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33628 (eval "$ac_link") 2>conftest.er1
33630 grep -v '^ *+' conftest.er1 >conftest.err
33632 cat conftest.err >&5
33633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634 (exit $ac_status); } && {
33635 test -z "$ac_c_werror_flag" ||
33636 test ! -s conftest.err
33637 } && test -s conftest$ac_exeext &&
33638 $as_test_x conftest$ac_exeext; then
33639 eval "$as_ac_var=yes"
33641 echo "$as_me: failed program was:" >&5
33642 sed 's/^/| /' conftest.$ac_ext >&5
33644 eval "$as_ac_var=no"
33647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33648 conftest$ac_exeext conftest.$ac_ext
33650 ac_res=`eval echo '${'$as_ac_var'}'`
33651 { echo "$as_me:$LINENO: result: $ac_res" >&5
33652 echo "${ECHO_T}$ac_res" >&6; }
33653 if test `eval echo '${'$as_ac_var'}'` = yes; then
33654 cat >>confdefs.h <<_ACEOF
33655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33662 if test "$WCSLEN_FOUND" = 0; then
33663 if test "$TOOLKIT" = "MSW"; then
33664 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33665 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33666 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33667 echo $ECHO_N "(cached) $ECHO_C" >&6
33669 ac_check_lib_save_LIBS=$LIBS
33670 LIBS="-lmsvcrt $LIBS"
33671 cat >conftest.$ac_ext <<_ACEOF
33674 cat confdefs.h >>conftest.$ac_ext
33675 cat >>conftest.$ac_ext <<_ACEOF
33676 /* end confdefs.h. */
33678 /* Override any GCC internal prototype to avoid an error.
33679 Use char because int might match the return type of a GCC
33680 builtin and then its argument prototype would still apply. */
33693 rm -f conftest.$ac_objext conftest$ac_exeext
33694 if { (ac_try="$ac_link"
33695 case "(($ac_try" in
33696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33697 *) ac_try_echo=$ac_try;;
33699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33700 (eval "$ac_link") 2>conftest.er1
33702 grep -v '^ *+' conftest.er1 >conftest.err
33704 cat conftest.err >&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); } && {
33707 test -z "$ac_c_werror_flag" ||
33708 test ! -s conftest.err
33709 } && test -s conftest$ac_exeext &&
33710 $as_test_x conftest$ac_exeext; then
33711 ac_cv_lib_msvcrt_wcslen=yes
33713 echo "$as_me: failed program was:" >&5
33714 sed 's/^/| /' conftest.$ac_ext >&5
33716 ac_cv_lib_msvcrt_wcslen=no
33719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33720 conftest$ac_exeext conftest.$ac_ext
33721 LIBS=$ac_check_lib_save_LIBS
33723 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33724 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33725 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33730 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33731 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33732 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33733 echo $ECHO_N "(cached) $ECHO_C" >&6
33735 ac_check_lib_save_LIBS=$LIBS
33737 cat >conftest.$ac_ext <<_ACEOF
33740 cat confdefs.h >>conftest.$ac_ext
33741 cat >>conftest.$ac_ext <<_ACEOF
33742 /* end confdefs.h. */
33744 /* Override any GCC internal prototype to avoid an error.
33745 Use char because int might match the return type of a GCC
33746 builtin and then its argument prototype would still apply. */
33759 rm -f conftest.$ac_objext conftest$ac_exeext
33760 if { (ac_try="$ac_link"
33761 case "(($ac_try" in
33762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33763 *) ac_try_echo=$ac_try;;
33765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33766 (eval "$ac_link") 2>conftest.er1
33768 grep -v '^ *+' conftest.er1 >conftest.err
33770 cat conftest.err >&5
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); } && {
33773 test -z "$ac_c_werror_flag" ||
33774 test ! -s conftest.err
33775 } && test -s conftest$ac_exeext &&
33776 $as_test_x conftest$ac_exeext; then
33777 ac_cv_lib_w_wcslen=yes
33779 echo "$as_me: failed program was:" >&5
33780 sed 's/^/| /' conftest.$ac_ext >&5
33782 ac_cv_lib_w_wcslen=no
33785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33786 conftest$ac_exeext conftest.$ac_ext
33787 LIBS=$ac_check_lib_save_LIBS
33789 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33790 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33791 if test $ac_cv_lib_w_wcslen = yes; then
33801 if test "$WCSLEN_FOUND" = 1; then
33802 cat >>confdefs.h <<\_ACEOF
33803 #define HAVE_WCSLEN 1
33808 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33809 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33812 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33813 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33814 if test "${ac_cv_type_mbstate_t+set}" = set; then
33815 echo $ECHO_N "(cached) $ECHO_C" >&6
33817 cat >conftest.$ac_ext <<_ACEOF
33820 cat confdefs.h >>conftest.$ac_ext
33821 cat >>conftest.$ac_ext <<_ACEOF
33822 /* end confdefs.h. */
33825 typedef mbstate_t ac__type_new_;
33829 if ((ac__type_new_ *) 0)
33831 if (sizeof (ac__type_new_))
33837 rm -f conftest.$ac_objext
33838 if { (ac_try="$ac_compile"
33839 case "(($ac_try" in
33840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33841 *) ac_try_echo=$ac_try;;
33843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33844 (eval "$ac_compile") 2>conftest.er1
33846 grep -v '^ *+' conftest.er1 >conftest.err
33848 cat conftest.err >&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } && {
33851 test -z "$ac_c_werror_flag" ||
33852 test ! -s conftest.err
33853 } && test -s conftest.$ac_objext; then
33854 ac_cv_type_mbstate_t=yes
33856 echo "$as_me: failed program was:" >&5
33857 sed 's/^/| /' conftest.$ac_ext >&5
33859 ac_cv_type_mbstate_t=no
33862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33864 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33865 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
33866 if test $ac_cv_type_mbstate_t = yes; then
33868 cat >>confdefs.h <<_ACEOF
33869 #define HAVE_MBSTATE_T 1
33873 for ac_func in wcsrtombs
33875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33876 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33878 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33879 echo $ECHO_N "(cached) $ECHO_C" >&6
33881 cat >conftest.$ac_ext <<_ACEOF
33884 cat confdefs.h >>conftest.$ac_ext
33885 cat >>conftest.$ac_ext <<_ACEOF
33886 /* end confdefs.h. */
33887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33889 #define $ac_func innocuous_$ac_func
33891 /* System header to define __stub macros and hopefully few prototypes,
33892 which can conflict with char $ac_func (); below.
33893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33894 <limits.h> exists even on freestanding compilers. */
33897 # include <limits.h>
33899 # include <assert.h>
33904 /* Override any GCC internal prototype to avoid an error.
33905 Use char because int might match the return type of a GCC
33906 builtin and then its argument prototype would still apply. */
33911 /* The GNU C library defines this for functions which it implements
33912 to always fail with ENOSYS. Some functions are actually named
33913 something starting with __ and the normal name is an alias. */
33914 #if defined __stub_$ac_func || defined __stub___$ac_func
33921 return $ac_func ();
33926 rm -f conftest.$ac_objext conftest$ac_exeext
33927 if { (ac_try="$ac_link"
33928 case "(($ac_try" in
33929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33930 *) ac_try_echo=$ac_try;;
33932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33933 (eval "$ac_link") 2>conftest.er1
33935 grep -v '^ *+' conftest.er1 >conftest.err
33937 cat conftest.err >&5
33938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33939 (exit $ac_status); } && {
33940 test -z "$ac_c_werror_flag" ||
33941 test ! -s conftest.err
33942 } && test -s conftest$ac_exeext &&
33943 $as_test_x conftest$ac_exeext; then
33944 eval "$as_ac_var=yes"
33946 echo "$as_me: failed program was:" >&5
33947 sed 's/^/| /' conftest.$ac_ext >&5
33949 eval "$as_ac_var=no"
33952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33953 conftest$ac_exeext conftest.$ac_ext
33955 ac_res=`eval echo '${'$as_ac_var'}'`
33956 { echo "$as_me:$LINENO: result: $ac_res" >&5
33957 echo "${ECHO_T}$ac_res" >&6; }
33958 if test `eval echo '${'$as_ac_var'}'` = yes; then
33959 cat >>confdefs.h <<_ACEOF
33960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33969 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33970 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33975 for ac_func in snprintf vsnprintf
33977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33978 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33980 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33981 echo $ECHO_N "(cached) $ECHO_C" >&6
33983 cat >conftest.$ac_ext <<_ACEOF
33986 cat confdefs.h >>conftest.$ac_ext
33987 cat >>conftest.$ac_ext <<_ACEOF
33988 /* end confdefs.h. */
33989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33991 #define $ac_func innocuous_$ac_func
33993 /* System header to define __stub macros and hopefully few prototypes,
33994 which can conflict with char $ac_func (); below.
33995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33996 <limits.h> exists even on freestanding compilers. */
33999 # include <limits.h>
34001 # include <assert.h>
34006 /* Override any GCC internal prototype to avoid an error.
34007 Use char because int might match the return type of a GCC
34008 builtin and then its argument prototype would still apply. */
34013 /* The GNU C library defines this for functions which it implements
34014 to always fail with ENOSYS. Some functions are actually named
34015 something starting with __ and the normal name is an alias. */
34016 #if defined __stub_$ac_func || defined __stub___$ac_func
34023 return $ac_func ();
34028 rm -f conftest.$ac_objext conftest$ac_exeext
34029 if { (ac_try="$ac_link"
34030 case "(($ac_try" in
34031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34032 *) ac_try_echo=$ac_try;;
34034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34035 (eval "$ac_link") 2>conftest.er1
34037 grep -v '^ *+' conftest.er1 >conftest.err
34039 cat conftest.err >&5
34040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34041 (exit $ac_status); } && {
34042 test -z "$ac_c_werror_flag" ||
34043 test ! -s conftest.err
34044 } && test -s conftest$ac_exeext &&
34045 $as_test_x conftest$ac_exeext; then
34046 eval "$as_ac_var=yes"
34048 echo "$as_me: failed program was:" >&5
34049 sed 's/^/| /' conftest.$ac_ext >&5
34051 eval "$as_ac_var=no"
34054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34055 conftest$ac_exeext conftest.$ac_ext
34057 ac_res=`eval echo '${'$as_ac_var'}'`
34058 { echo "$as_me:$LINENO: result: $ac_res" >&5
34059 echo "${ECHO_T}$ac_res" >&6; }
34060 if test `eval echo '${'$as_ac_var'}'` = yes; then
34061 cat >>confdefs.h <<_ACEOF
34062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34069 if test "$ac_cv_func_vsnprintf" = "yes"; then
34070 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34071 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34072 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34073 echo $ECHO_N "(cached) $ECHO_C" >&6
34076 cat >conftest.$ac_ext <<_ACEOF
34079 cat confdefs.h >>conftest.$ac_ext
34080 cat >>conftest.$ac_ext <<_ACEOF
34081 /* end confdefs.h. */
34084 #include <stdarg.h>
34086 #if __MSL__ >= 0x6000
34088 using namespace std;
34098 vsnprintf(buf, 10u, "%s", ap);
34104 rm -f conftest.$ac_objext
34105 if { (ac_try="$ac_compile"
34106 case "(($ac_try" in
34107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34108 *) ac_try_echo=$ac_try;;
34110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34111 (eval "$ac_compile") 2>conftest.er1
34113 grep -v '^ *+' conftest.er1 >conftest.err
34115 cat conftest.err >&5
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); } && {
34118 test -z "$ac_c_werror_flag" ||
34119 test ! -s conftest.err
34120 } && test -s conftest.$ac_objext; then
34121 wx_cv_func_vsnprintf_decl=yes
34123 echo "$as_me: failed program was:" >&5
34124 sed 's/^/| /' conftest.$ac_ext >&5
34126 wx_cv_func_vsnprintf_decl=no
34130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34134 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34135 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34137 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34138 cat >>confdefs.h <<\_ACEOF
34139 #define HAVE_VSNPRINTF_DECL 1
34143 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34144 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34145 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34146 echo $ECHO_N "(cached) $ECHO_C" >&6
34149 cat >conftest.$ac_ext <<_ACEOF
34152 cat confdefs.h >>conftest.$ac_ext
34153 cat >>conftest.$ac_ext <<_ACEOF
34154 /* end confdefs.h. */
34157 #include <stdarg.h>
34159 #if __MSL__ >= 0x6000
34161 using namespace std;
34171 const char *fmt = "%s";
34172 vsnprintf(buf, 10u, fmt, ap);
34178 rm -f conftest.$ac_objext
34179 if { (ac_try="$ac_compile"
34180 case "(($ac_try" in
34181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34182 *) ac_try_echo=$ac_try;;
34184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34185 (eval "$ac_compile") 2>conftest.er1
34187 grep -v '^ *+' conftest.er1 >conftest.err
34189 cat conftest.err >&5
34190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34191 (exit $ac_status); } && {
34192 test -z "$ac_c_werror_flag" ||
34193 test ! -s conftest.err
34194 } && test -s conftest.$ac_objext; then
34195 wx_cv_func_broken_vsnprintf_decl=no
34197 echo "$as_me: failed program was:" >&5
34198 sed 's/^/| /' conftest.$ac_ext >&5
34200 wx_cv_func_broken_vsnprintf_decl=yes
34204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34208 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34209 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34211 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34212 cat >>confdefs.h <<\_ACEOF
34213 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34220 if test "$ac_cv_func_snprintf" = "yes"; then
34221 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34222 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34223 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34224 echo $ECHO_N "(cached) $ECHO_C" >&6
34227 cat >conftest.$ac_ext <<_ACEOF
34230 cat confdefs.h >>conftest.$ac_ext
34231 cat >>conftest.$ac_ext <<_ACEOF
34232 /* end confdefs.h. */
34235 #include <stdarg.h>
34237 #if __MSL__ >= 0x6000
34239 using namespace std;
34248 snprintf(buf, 10u, "%s", "wx");
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 wx_cv_func_snprintf_decl=yes
34273 echo "$as_me: failed program was:" >&5
34274 sed 's/^/| /' conftest.$ac_ext >&5
34276 wx_cv_func_snprintf_decl=no
34280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34284 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34285 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34287 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34288 cat >>confdefs.h <<\_ACEOF
34289 #define HAVE_SNPRINTF_DECL 1
34293 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34294 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34295 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34296 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. */
34307 #include <stdarg.h>
34309 #if __MSL__ >= 0x6000
34311 using namespace std;
34320 const char *fmt = "%s";
34321 snprintf(buf, 10u, fmt, "wx");
34327 rm -f conftest.$ac_objext
34328 if { (ac_try="$ac_compile"
34329 case "(($ac_try" in
34330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34331 *) ac_try_echo=$ac_try;;
34333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34334 (eval "$ac_compile") 2>conftest.er1
34336 grep -v '^ *+' conftest.er1 >conftest.err
34338 cat conftest.err >&5
34339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34340 (exit $ac_status); } && {
34341 test -z "$ac_c_werror_flag" ||
34342 test ! -s conftest.err
34343 } && test -s conftest.$ac_objext; then
34344 wx_cv_func_broken_snprintf_decl=no
34346 echo "$as_me: failed program was:" >&5
34347 sed 's/^/| /' conftest.$ac_ext >&5
34349 wx_cv_func_broken_snprintf_decl=yes
34353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34357 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34358 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34360 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34361 cat >>confdefs.h <<\_ACEOF
34362 #define HAVE_BROKEN_SNPRINTF_DECL 1
34368 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34370 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34371 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34372 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34373 echo $ECHO_N "(cached) $ECHO_C" >&6
34376 if test "$cross_compiling" = yes; then
34378 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34379 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34380 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34381 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34382 wx_cv_func_snprintf_pos_params=no
34386 cat >conftest.$ac_ext <<_ACEOF
34389 cat confdefs.h >>conftest.$ac_ext
34390 cat >>conftest.$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34398 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34399 if (strcmp ("2 3 1", buffer) == 0)
34405 rm -f conftest$ac_exeext
34406 if { (ac_try="$ac_link"
34407 case "(($ac_try" in
34408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34409 *) ac_try_echo=$ac_try;;
34411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34412 (eval "$ac_link") 2>&5
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34416 { (case "(($ac_try" in
34417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34418 *) ac_try_echo=$ac_try;;
34420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34421 (eval "$ac_try") 2>&5
34423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34424 (exit $ac_status); }; }; then
34425 wx_cv_func_snprintf_pos_params=no
34427 echo "$as_me: program exited with status $ac_status" >&5
34428 echo "$as_me: failed program was:" >&5
34429 sed 's/^/| /' conftest.$ac_ext >&5
34431 ( exit $ac_status )
34432 wx_cv_func_snprintf_pos_params=yes
34434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34441 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34442 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34444 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34445 cat >>confdefs.h <<\_ACEOF
34446 #define HAVE_UNIX98_PRINTF 1
34453 if test "$wxUSE_UNICODE" = yes; then
34456 for ac_func in swprintf
34458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34459 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34461 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34462 echo $ECHO_N "(cached) $ECHO_C" >&6
34464 cat >conftest.$ac_ext <<_ACEOF
34467 cat confdefs.h >>conftest.$ac_ext
34468 cat >>conftest.$ac_ext <<_ACEOF
34469 /* end confdefs.h. */
34470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34472 #define $ac_func innocuous_$ac_func
34474 /* System header to define __stub macros and hopefully few prototypes,
34475 which can conflict with char $ac_func (); below.
34476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34477 <limits.h> exists even on freestanding compilers. */
34480 # include <limits.h>
34482 # include <assert.h>
34487 /* Override any GCC internal prototype to avoid an error.
34488 Use char because int might match the return type of a GCC
34489 builtin and then its argument prototype would still apply. */
34494 /* The GNU C library defines this for functions which it implements
34495 to always fail with ENOSYS. Some functions are actually named
34496 something starting with __ and the normal name is an alias. */
34497 #if defined __stub_$ac_func || defined __stub___$ac_func
34504 return $ac_func ();
34509 rm -f conftest.$ac_objext conftest$ac_exeext
34510 if { (ac_try="$ac_link"
34511 case "(($ac_try" in
34512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34513 *) ac_try_echo=$ac_try;;
34515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34516 (eval "$ac_link") 2>conftest.er1
34518 grep -v '^ *+' conftest.er1 >conftest.err
34520 cat conftest.err >&5
34521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34522 (exit $ac_status); } && {
34523 test -z "$ac_c_werror_flag" ||
34524 test ! -s conftest.err
34525 } && test -s conftest$ac_exeext &&
34526 $as_test_x conftest$ac_exeext; then
34527 eval "$as_ac_var=yes"
34529 echo "$as_me: failed program was:" >&5
34530 sed 's/^/| /' conftest.$ac_ext >&5
34532 eval "$as_ac_var=no"
34535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34536 conftest$ac_exeext conftest.$ac_ext
34538 ac_res=`eval echo '${'$as_ac_var'}'`
34539 { echo "$as_me:$LINENO: result: $ac_res" >&5
34540 echo "${ECHO_T}$ac_res" >&6; }
34541 if test `eval echo '${'$as_ac_var'}'` = yes; then
34542 cat >>confdefs.h <<_ACEOF
34543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34550 if test "$ac_cv_func_swprintf" = "yes"; then
34551 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34552 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34553 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34554 echo $ECHO_N "(cached) $ECHO_C" >&6
34557 cat >conftest.$ac_ext <<_ACEOF
34560 cat confdefs.h >>conftest.$ac_ext
34561 cat >>conftest.$ac_ext <<_ACEOF
34562 /* end confdefs.h. */
34565 #include <stdarg.h>
34573 const wchar_t *fmt = L"test";
34574 swprintf(buf, 10u, fmt);
34580 rm -f conftest.$ac_objext
34581 if { (ac_try="$ac_compile"
34582 case "(($ac_try" in
34583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34584 *) ac_try_echo=$ac_try;;
34586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34587 (eval "$ac_compile") 2>conftest.er1
34589 grep -v '^ *+' conftest.er1 >conftest.err
34591 cat conftest.err >&5
34592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34593 (exit $ac_status); } && {
34594 test -z "$ac_c_werror_flag" ||
34595 test ! -s conftest.err
34596 } && test -s conftest.$ac_objext; then
34597 wx_cv_func_broken_swprintf_decl=no
34599 echo "$as_me: failed program was:" >&5
34600 sed 's/^/| /' conftest.$ac_ext >&5
34602 wx_cv_func_broken_swprintf_decl=yes
34606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34610 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34611 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34613 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34614 cat >>confdefs.h <<\_ACEOF
34615 #define HAVE_BROKEN_SWPRINTF_DECL 1
34621 wchar_headers="#include <stdio.h>
34622 #include <wchar.h>"
34625 { echo "$as_me:$LINENO: checking for widec.h" >&5
34626 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34627 if test "${ac_cv_header_widec_h+set}" = set; then
34628 echo $ECHO_N "(cached) $ECHO_C" >&6
34630 cat >conftest.$ac_ext <<_ACEOF
34633 cat confdefs.h >>conftest.$ac_ext
34634 cat >>conftest.$ac_ext <<_ACEOF
34635 /* end confdefs.h. */
34636 $ac_includes_default
34640 rm -f conftest.$ac_objext
34641 if { (ac_try="$ac_compile"
34642 case "(($ac_try" in
34643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34644 *) ac_try_echo=$ac_try;;
34646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34647 (eval "$ac_compile") 2>conftest.er1
34649 grep -v '^ *+' conftest.er1 >conftest.err
34651 cat conftest.err >&5
34652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34653 (exit $ac_status); } && {
34654 test -z "$ac_c_werror_flag" ||
34655 test ! -s conftest.err
34656 } && test -s conftest.$ac_objext; then
34657 ac_cv_header_widec_h=yes
34659 echo "$as_me: failed program was:" >&5
34660 sed 's/^/| /' conftest.$ac_ext >&5
34662 ac_cv_header_widec_h=no
34665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34667 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34668 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34671 if test "$ac_cv_header_widec_h" = "yes"; then
34672 wchar_headers="$wchar_headers
34673 #include <widec.h>"
34678 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34680 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34681 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34682 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34683 echo $ECHO_N "(cached) $ECHO_C" >&6
34686 cat >conftest.$ac_ext <<_ACEOF
34690 cat confdefs.h >>conftest.$ac_ext
34691 cat >>conftest.$ac_ext <<_ACEOF
34692 /* end confdefs.h. */
34695 $ac_includes_default
34711 rm -f conftest.$ac_objext conftest$ac_exeext
34712 if { (ac_try="$ac_link"
34713 case "(($ac_try" in
34714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34715 *) ac_try_echo=$ac_try;;
34717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34718 (eval "$ac_link") 2>conftest.er1
34720 grep -v '^ *+' conftest.er1 >conftest.err
34722 cat conftest.err >&5
34723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34724 (exit $ac_status); } && {
34725 test -z "$ac_c_werror_flag" ||
34726 test ! -s conftest.err
34727 } && test -s conftest$ac_exeext &&
34728 $as_test_x conftest$ac_exeext; then
34729 eval wx_cv_func_$wx_func=yes
34731 echo "$as_me: failed program was:" >&5
34732 sed 's/^/| /' conftest.$ac_ext >&5
34734 eval wx_cv_func_$wx_func=no
34737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34738 conftest$ac_exeext conftest.$ac_ext
34741 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34742 { echo "$as_me:$LINENO: result: $ac_res" >&5
34743 echo "${ECHO_T}$ac_res" >&6; }
34745 if eval test \$wx_cv_func_$wx_func = yes
34747 cat >>confdefs.h <<_ACEOF
34748 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34759 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34760 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34761 cat >conftest.$ac_ext <<_ACEOF
34764 cat confdefs.h >>conftest.$ac_ext
34765 cat >>conftest.$ac_ext <<_ACEOF
34766 /* end confdefs.h. */
34776 rm -f conftest.$ac_objext
34777 if { (ac_try="$ac_compile"
34778 case "(($ac_try" in
34779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34780 *) ac_try_echo=$ac_try;;
34782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34783 (eval "$ac_compile") 2>conftest.er1
34785 grep -v '^ *+' conftest.er1 >conftest.err
34787 cat conftest.err >&5
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); } && {
34790 test -z "$ac_c_werror_flag" ||
34791 test ! -s conftest.err
34792 } && test -s conftest.$ac_objext; then
34793 { echo "$as_me:$LINENO: result: yes" >&5
34794 echo "${ECHO_T}yes" >&6; }
34795 cat >>confdefs.h <<\_ACEOF
34796 #define HAVE__VSNWPRINTF 1
34800 echo "$as_me: failed program was:" >&5
34801 sed 's/^/| /' conftest.$ac_ext >&5
34803 { echo "$as_me:$LINENO: result: no" >&5
34804 echo "${ECHO_T}no" >&6; }
34807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34810 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34812 for wx_func in fnmatch
34814 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34815 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34816 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34817 echo $ECHO_N "(cached) $ECHO_C" >&6
34820 cat >conftest.$ac_ext <<_ACEOF
34824 cat confdefs.h >>conftest.$ac_ext
34825 cat >>conftest.$ac_ext <<_ACEOF
34826 /* end confdefs.h. */
34828 #include <fnmatch.h>
34829 $ac_includes_default
34845 rm -f conftest.$ac_objext conftest$ac_exeext
34846 if { (ac_try="$ac_link"
34847 case "(($ac_try" in
34848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34849 *) ac_try_echo=$ac_try;;
34851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34852 (eval "$ac_link") 2>conftest.er1
34854 grep -v '^ *+' conftest.er1 >conftest.err
34856 cat conftest.err >&5
34857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858 (exit $ac_status); } && {
34859 test -z "$ac_c_werror_flag" ||
34860 test ! -s conftest.err
34861 } && test -s conftest$ac_exeext &&
34862 $as_test_x conftest$ac_exeext; then
34863 eval wx_cv_func_$wx_func=yes
34865 echo "$as_me: failed program was:" >&5
34866 sed 's/^/| /' conftest.$ac_ext >&5
34868 eval wx_cv_func_$wx_func=no
34871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34872 conftest$ac_exeext conftest.$ac_ext
34875 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34876 { echo "$as_me:$LINENO: result: $ac_res" >&5
34877 echo "${ECHO_T}$ac_res" >&6; }
34879 if eval test \$wx_cv_func_$wx_func = yes
34881 cat >>confdefs.h <<_ACEOF
34882 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34894 if test "$wxUSE_FILE" = "yes"; then
34896 for wx_func in fsync
34898 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34899 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34900 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34901 echo $ECHO_N "(cached) $ECHO_C" >&6
34904 cat >conftest.$ac_ext <<_ACEOF
34908 cat confdefs.h >>conftest.$ac_ext
34909 cat >>conftest.$ac_ext <<_ACEOF
34910 /* end confdefs.h. */
34913 $ac_includes_default
34929 rm -f conftest.$ac_objext conftest$ac_exeext
34930 if { (ac_try="$ac_link"
34931 case "(($ac_try" in
34932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34933 *) ac_try_echo=$ac_try;;
34935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34936 (eval "$ac_link") 2>conftest.er1
34938 grep -v '^ *+' conftest.er1 >conftest.err
34940 cat conftest.err >&5
34941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34942 (exit $ac_status); } && {
34943 test -z "$ac_c_werror_flag" ||
34944 test ! -s conftest.err
34945 } && test -s conftest$ac_exeext &&
34946 $as_test_x conftest$ac_exeext; then
34947 eval wx_cv_func_$wx_func=yes
34949 echo "$as_me: failed program was:" >&5
34950 sed 's/^/| /' conftest.$ac_ext >&5
34952 eval wx_cv_func_$wx_func=no
34955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34956 conftest$ac_exeext conftest.$ac_ext
34959 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34960 { echo "$as_me:$LINENO: result: $ac_res" >&5
34961 echo "${ECHO_T}$ac_res" >&6; }
34963 if eval test \$wx_cv_func_$wx_func = yes
34965 cat >>confdefs.h <<_ACEOF
34966 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34979 for wx_func in round
34981 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34982 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34983 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34984 echo $ECHO_N "(cached) $ECHO_C" >&6
34987 cat >conftest.$ac_ext <<_ACEOF
34991 cat confdefs.h >>conftest.$ac_ext
34992 cat >>conftest.$ac_ext <<_ACEOF
34993 /* end confdefs.h. */
34996 $ac_includes_default
35012 rm -f conftest.$ac_objext conftest$ac_exeext
35013 if { (ac_try="$ac_link"
35014 case "(($ac_try" in
35015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35016 *) ac_try_echo=$ac_try;;
35018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35019 (eval "$ac_link") 2>conftest.er1
35021 grep -v '^ *+' conftest.er1 >conftest.err
35023 cat conftest.err >&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); } && {
35026 test -z "$ac_c_werror_flag" ||
35027 test ! -s conftest.err
35028 } && test -s conftest$ac_exeext &&
35029 $as_test_x conftest$ac_exeext; then
35030 eval wx_cv_func_$wx_func=yes
35032 echo "$as_me: failed program was:" >&5
35033 sed 's/^/| /' conftest.$ac_ext >&5
35035 eval wx_cv_func_$wx_func=no
35038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35039 conftest$ac_exeext conftest.$ac_ext
35042 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35043 { echo "$as_me:$LINENO: result: $ac_res" >&5
35044 echo "${ECHO_T}$ac_res" >&6; }
35046 if eval test \$wx_cv_func_$wx_func = yes
35048 cat >>confdefs.h <<_ACEOF
35049 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35060 if test "$TOOLKIT" != "MSW"; then
35066 # Check whether --with-libiconv-prefix was given.
35067 if test "${with_libiconv_prefix+set}" = set; then
35068 withval=$with_libiconv_prefix;
35069 for dir in `echo "$withval" | tr : ' '`; do
35070 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35071 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35077 { echo "$as_me:$LINENO: checking for iconv" >&5
35078 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35079 if test "${am_cv_func_iconv+set}" = set; then
35080 echo $ECHO_N "(cached) $ECHO_C" >&6
35083 am_cv_func_iconv="no, consider installing GNU libiconv"
35085 cat >conftest.$ac_ext <<_ACEOF
35088 cat confdefs.h >>conftest.$ac_ext
35089 cat >>conftest.$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35091 #include <stdlib.h>
35096 iconv_t cd = iconv_open("","");
35097 iconv(cd,NULL,NULL,NULL,NULL);
35103 rm -f conftest.$ac_objext conftest$ac_exeext
35104 if { (ac_try="$ac_link"
35105 case "(($ac_try" in
35106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35107 *) ac_try_echo=$ac_try;;
35109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35110 (eval "$ac_link") 2>conftest.er1
35112 grep -v '^ *+' conftest.er1 >conftest.err
35114 cat conftest.err >&5
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); } && {
35117 test -z "$ac_c_werror_flag" ||
35118 test ! -s conftest.err
35119 } && test -s conftest$ac_exeext &&
35120 $as_test_x conftest$ac_exeext; then
35121 am_cv_func_iconv=yes
35123 echo "$as_me: failed program was:" >&5
35124 sed 's/^/| /' conftest.$ac_ext >&5
35129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35130 conftest$ac_exeext conftest.$ac_ext
35131 if test "$am_cv_func_iconv" != yes; then
35132 am_save_LIBS="$LIBS"
35133 LIBS="$LIBS -liconv"
35134 cat >conftest.$ac_ext <<_ACEOF
35137 cat confdefs.h >>conftest.$ac_ext
35138 cat >>conftest.$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35140 #include <stdlib.h>
35145 iconv_t cd = iconv_open("","");
35146 iconv(cd,NULL,NULL,NULL,NULL);
35152 rm -f conftest.$ac_objext conftest$ac_exeext
35153 if { (ac_try="$ac_link"
35154 case "(($ac_try" in
35155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35156 *) ac_try_echo=$ac_try;;
35158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35159 (eval "$ac_link") 2>conftest.er1
35161 grep -v '^ *+' conftest.er1 >conftest.err
35163 cat conftest.err >&5
35164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35165 (exit $ac_status); } && {
35166 test -z "$ac_c_werror_flag" ||
35167 test ! -s conftest.err
35168 } && test -s conftest$ac_exeext &&
35169 $as_test_x conftest$ac_exeext; then
35170 am_cv_lib_iconv=yes
35171 am_cv_func_iconv=yes
35173 echo "$as_me: failed program was:" >&5
35174 sed 's/^/| /' conftest.$ac_ext >&5
35179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35180 conftest$ac_exeext conftest.$ac_ext
35181 LIBS="$am_save_LIBS"
35185 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35186 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35187 if test "$am_cv_func_iconv" = yes; then
35189 cat >>confdefs.h <<\_ACEOF
35190 #define HAVE_ICONV 1
35193 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35194 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35195 if test "${wx_cv_func_iconv_const+set}" = set; then
35196 echo $ECHO_N "(cached) $ECHO_C" >&6
35198 cat >conftest.$ac_ext <<_ACEOF
35201 cat confdefs.h >>conftest.$ac_ext
35202 cat >>conftest.$ac_ext <<_ACEOF
35203 /* end confdefs.h. */
35205 #include <stdlib.h>
35211 #if defined(__STDC__) || defined(__cplusplus)
35212 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35225 rm -f conftest.$ac_objext
35226 if { (ac_try="$ac_compile"
35227 case "(($ac_try" in
35228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35229 *) ac_try_echo=$ac_try;;
35231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35232 (eval "$ac_compile") 2>conftest.er1
35234 grep -v '^ *+' conftest.er1 >conftest.err
35236 cat conftest.err >&5
35237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35238 (exit $ac_status); } && {
35239 test -z "$ac_c_werror_flag" ||
35240 test ! -s conftest.err
35241 } && test -s conftest.$ac_objext; then
35242 wx_cv_func_iconv_const="no"
35244 echo "$as_me: failed program was:" >&5
35245 sed 's/^/| /' conftest.$ac_ext >&5
35247 wx_cv_func_iconv_const="yes"
35251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35254 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35255 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35258 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35259 iconv_const="const"
35263 cat >>confdefs.h <<_ACEOF
35264 #define ICONV_CONST $iconv_const
35269 if test "$am_cv_lib_iconv" = yes; then
35274 LIBS="$LIBICONV $LIBS"
35276 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35278 for ac_func in sigaction
35280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35281 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35283 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35284 echo $ECHO_N "(cached) $ECHO_C" >&6
35286 cat >conftest.$ac_ext <<_ACEOF
35289 cat confdefs.h >>conftest.$ac_ext
35290 cat >>conftest.$ac_ext <<_ACEOF
35291 /* end confdefs.h. */
35292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35294 #define $ac_func innocuous_$ac_func
35296 /* System header to define __stub macros and hopefully few prototypes,
35297 which can conflict with char $ac_func (); below.
35298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35299 <limits.h> exists even on freestanding compilers. */
35302 # include <limits.h>
35304 # include <assert.h>
35309 /* Override any GCC internal prototype to avoid an error.
35310 Use char because int might match the return type of a GCC
35311 builtin and then its argument prototype would still apply. */
35316 /* The GNU C library defines this for functions which it implements
35317 to always fail with ENOSYS. Some functions are actually named
35318 something starting with __ and the normal name is an alias. */
35319 #if defined __stub_$ac_func || defined __stub___$ac_func
35326 return $ac_func ();
35331 rm -f conftest.$ac_objext conftest$ac_exeext
35332 if { (ac_try="$ac_link"
35333 case "(($ac_try" in
35334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35335 *) ac_try_echo=$ac_try;;
35337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35338 (eval "$ac_link") 2>conftest.er1
35340 grep -v '^ *+' conftest.er1 >conftest.err
35342 cat conftest.err >&5
35343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35344 (exit $ac_status); } && {
35345 test -z "$ac_c_werror_flag" ||
35346 test ! -s conftest.err
35347 } && test -s conftest$ac_exeext &&
35348 $as_test_x conftest$ac_exeext; then
35349 eval "$as_ac_var=yes"
35351 echo "$as_me: failed program was:" >&5
35352 sed 's/^/| /' conftest.$ac_ext >&5
35354 eval "$as_ac_var=no"
35357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35358 conftest$ac_exeext conftest.$ac_ext
35360 ac_res=`eval echo '${'$as_ac_var'}'`
35361 { echo "$as_me:$LINENO: result: $ac_res" >&5
35362 echo "${ECHO_T}$ac_res" >&6; }
35363 if test `eval echo '${'$as_ac_var'}'` = yes; then
35364 cat >>confdefs.h <<_ACEOF
35365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35372 if test "$ac_cv_func_sigaction" = "no"; then
35373 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35374 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35375 wxUSE_ON_FATAL_EXCEPTION=no
35378 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35379 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35380 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35381 if test "${wx_cv_type_sa_handler+set}" = set; then
35382 echo $ECHO_N "(cached) $ECHO_C" >&6
35386 ac_cpp='$CXXCPP $CPPFLAGS'
35387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35391 cat >conftest.$ac_ext <<_ACEOF
35394 cat confdefs.h >>conftest.$ac_ext
35395 cat >>conftest.$ac_ext <<_ACEOF
35396 /* end confdefs.h. */
35397 #include <signal.h>
35402 extern void testSigHandler(int);
35404 struct sigaction sa;
35405 sa.sa_handler = testSigHandler;
35411 rm -f conftest.$ac_objext
35412 if { (ac_try="$ac_compile"
35413 case "(($ac_try" in
35414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35415 *) ac_try_echo=$ac_try;;
35417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35418 (eval "$ac_compile") 2>conftest.er1
35420 grep -v '^ *+' conftest.er1 >conftest.err
35422 cat conftest.err >&5
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); } && {
35425 test -z "$ac_cxx_werror_flag" ||
35426 test ! -s conftest.err
35427 } && test -s conftest.$ac_objext; then
35429 wx_cv_type_sa_handler=int
35432 echo "$as_me: failed program was:" >&5
35433 sed 's/^/| /' conftest.$ac_ext >&5
35436 wx_cv_type_sa_handler=void
35440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35442 ac_cpp='$CPP $CPPFLAGS'
35443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35449 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35450 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35452 cat >>confdefs.h <<_ACEOF
35453 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35459 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35460 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35461 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35462 if test "${wx_cv_func_backtrace+set}" = set; then
35463 echo $ECHO_N "(cached) $ECHO_C" >&6
35467 ac_cpp='$CXXCPP $CPPFLAGS'
35468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35472 cat >conftest.$ac_ext <<_ACEOF
35475 cat confdefs.h >>conftest.$ac_ext
35476 cat >>conftest.$ac_ext <<_ACEOF
35477 /* end confdefs.h. */
35478 #include <execinfo.h>
35486 backtrace(trace, 1);
35487 messages = backtrace_symbols(trace, 1);
35493 rm -f conftest.$ac_objext
35494 if { (ac_try="$ac_compile"
35495 case "(($ac_try" in
35496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35497 *) ac_try_echo=$ac_try;;
35499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35500 (eval "$ac_compile") 2>conftest.er1
35502 grep -v '^ *+' conftest.er1 >conftest.err
35504 cat conftest.err >&5
35505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506 (exit $ac_status); } && {
35507 test -z "$ac_cxx_werror_flag" ||
35508 test ! -s conftest.err
35509 } && test -s conftest.$ac_objext; then
35510 wx_cv_func_backtrace=yes
35512 echo "$as_me: failed program was:" >&5
35513 sed 's/^/| /' conftest.$ac_ext >&5
35515 wx_cv_func_backtrace=no
35519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35521 ac_cpp='$CPP $CPPFLAGS'
35522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35529 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35530 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35533 if test "$wx_cv_func_backtrace" = "no"; then
35534 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35535 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35536 wxUSE_STACKWALKER=no
35538 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35539 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35540 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35541 echo $ECHO_N "(cached) $ECHO_C" >&6
35545 ac_cpp='$CXXCPP $CPPFLAGS'
35546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35550 cat >conftest.$ac_ext <<_ACEOF
35553 cat confdefs.h >>conftest.$ac_ext
35554 cat >>conftest.$ac_ext <<_ACEOF
35555 /* end confdefs.h. */
35556 #include <cxxabi.h>
35562 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35568 rm -f conftest.$ac_objext conftest$ac_exeext
35569 if { (ac_try="$ac_link"
35570 case "(($ac_try" in
35571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35572 *) ac_try_echo=$ac_try;;
35574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35575 (eval "$ac_link") 2>conftest.er1
35577 grep -v '^ *+' conftest.er1 >conftest.err
35579 cat conftest.err >&5
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); } && {
35582 test -z "$ac_cxx_werror_flag" ||
35583 test ! -s conftest.err
35584 } && test -s conftest$ac_exeext &&
35585 $as_test_x conftest$ac_exeext; then
35586 wx_cv_func_cxa_demangle=yes
35588 echo "$as_me: failed program was:" >&5
35589 sed 's/^/| /' conftest.$ac_ext >&5
35591 wx_cv_func_cxa_demangle=no
35595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35596 conftest$ac_exeext conftest.$ac_ext
35598 ac_cpp='$CPP $CPPFLAGS'
35599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35606 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35607 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35609 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35610 cat >>confdefs.h <<\_ACEOF
35611 #define HAVE_CXA_DEMANGLE 1
35618 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35619 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35620 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35621 wxUSE_STACKWALKER=no
35627 for ac_func in mkstemp mktemp
35629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35630 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35632 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35633 echo $ECHO_N "(cached) $ECHO_C" >&6
35635 cat >conftest.$ac_ext <<_ACEOF
35638 cat confdefs.h >>conftest.$ac_ext
35639 cat >>conftest.$ac_ext <<_ACEOF
35640 /* end confdefs.h. */
35641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35643 #define $ac_func innocuous_$ac_func
35645 /* System header to define __stub macros and hopefully few prototypes,
35646 which can conflict with char $ac_func (); below.
35647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35648 <limits.h> exists even on freestanding compilers. */
35651 # include <limits.h>
35653 # include <assert.h>
35658 /* Override any GCC internal prototype to avoid an error.
35659 Use char because int might match the return type of a GCC
35660 builtin and then its argument prototype would still apply. */
35665 /* The GNU C library defines this for functions which it implements
35666 to always fail with ENOSYS. Some functions are actually named
35667 something starting with __ and the normal name is an alias. */
35668 #if defined __stub_$ac_func || defined __stub___$ac_func
35675 return $ac_func ();
35680 rm -f conftest.$ac_objext conftest$ac_exeext
35681 if { (ac_try="$ac_link"
35682 case "(($ac_try" in
35683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35684 *) ac_try_echo=$ac_try;;
35686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35687 (eval "$ac_link") 2>conftest.er1
35689 grep -v '^ *+' conftest.er1 >conftest.err
35691 cat conftest.err >&5
35692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35693 (exit $ac_status); } && {
35694 test -z "$ac_c_werror_flag" ||
35695 test ! -s conftest.err
35696 } && test -s conftest$ac_exeext &&
35697 $as_test_x conftest$ac_exeext; then
35698 eval "$as_ac_var=yes"
35700 echo "$as_me: failed program was:" >&5
35701 sed 's/^/| /' conftest.$ac_ext >&5
35703 eval "$as_ac_var=no"
35706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35707 conftest$ac_exeext conftest.$ac_ext
35709 ac_res=`eval echo '${'$as_ac_var'}'`
35710 { echo "$as_me:$LINENO: result: $ac_res" >&5
35711 echo "${ECHO_T}$ac_res" >&6; }
35712 if test `eval echo '${'$as_ac_var'}'` = yes; then
35713 cat >>confdefs.h <<_ACEOF
35714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35721 { echo "$as_me:$LINENO: checking for statfs" >&5
35722 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35723 if test "${wx_cv_func_statfs+set}" = set; then
35724 echo $ECHO_N "(cached) $ECHO_C" >&6
35726 cat >conftest.$ac_ext <<_ACEOF
35729 cat confdefs.h >>conftest.$ac_ext
35730 cat >>conftest.$ac_ext <<_ACEOF
35731 /* end confdefs.h. */
35733 #if defined(__BSD__)
35734 #include <sys/param.h>
35735 #include <sys/mount.h>
35737 #include <sys/vfs.h>
35755 rm -f conftest.$ac_objext
35756 if { (ac_try="$ac_compile"
35757 case "(($ac_try" in
35758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35759 *) ac_try_echo=$ac_try;;
35761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35762 (eval "$ac_compile") 2>conftest.er1
35764 grep -v '^ *+' conftest.er1 >conftest.err
35766 cat conftest.err >&5
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); } && {
35769 test -z "$ac_c_werror_flag" ||
35770 test ! -s conftest.err
35771 } && test -s conftest.$ac_objext; then
35772 wx_cv_func_statfs=yes
35774 echo "$as_me: failed program was:" >&5
35775 sed 's/^/| /' conftest.$ac_ext >&5
35777 wx_cv_func_statfs=no
35781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35784 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35785 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35787 if test "$wx_cv_func_statfs" = "yes"; then
35788 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35789 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35790 if test "${wx_cv_func_statfs_decl+set}" = set; then
35791 echo $ECHO_N "(cached) $ECHO_C" >&6
35794 ac_cpp='$CXXCPP $CPPFLAGS'
35795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35799 cat >conftest.$ac_ext <<_ACEOF
35802 cat confdefs.h >>conftest.$ac_ext
35803 cat >>conftest.$ac_ext <<_ACEOF
35804 /* end confdefs.h. */
35806 #if defined(__BSD__)
35807 #include <sys/param.h>
35808 #include <sys/mount.h>
35810 #include <sys/vfs.h>
35824 rm -f conftest.$ac_objext
35825 if { (ac_try="$ac_compile"
35826 case "(($ac_try" in
35827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35828 *) ac_try_echo=$ac_try;;
35830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35831 (eval "$ac_compile") 2>conftest.er1
35833 grep -v '^ *+' conftest.er1 >conftest.err
35835 cat conftest.err >&5
35836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35837 (exit $ac_status); } && {
35838 test -z "$ac_cxx_werror_flag" ||
35839 test ! -s conftest.err
35840 } && test -s conftest.$ac_objext; then
35841 wx_cv_func_statfs_decl=yes
35843 echo "$as_me: failed program was:" >&5
35844 sed 's/^/| /' conftest.$ac_ext >&5
35846 wx_cv_func_statfs_decl=no
35850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35852 ac_cpp='$CPP $CPPFLAGS'
35853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35859 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35860 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
35862 if test "$wx_cv_func_statfs_decl" = "yes"; then
35863 cat >>confdefs.h <<\_ACEOF
35864 #define HAVE_STATFS_DECL 1
35869 wx_cv_type_statvfs_t="struct statfs"
35870 cat >>confdefs.h <<\_ACEOF
35871 #define HAVE_STATFS 1
35875 { echo "$as_me:$LINENO: checking for statvfs" >&5
35876 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
35877 if test "${wx_cv_func_statvfs+set}" = set; then
35878 echo $ECHO_N "(cached) $ECHO_C" >&6
35880 cat >conftest.$ac_ext <<_ACEOF
35883 cat confdefs.h >>conftest.$ac_ext
35884 cat >>conftest.$ac_ext <<_ACEOF
35885 /* end confdefs.h. */
35887 #include <stddef.h>
35888 #include <sys/statvfs.h>
35894 statvfs("/", NULL);
35900 rm -f conftest.$ac_objext
35901 if { (ac_try="$ac_compile"
35902 case "(($ac_try" in
35903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35904 *) ac_try_echo=$ac_try;;
35906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35907 (eval "$ac_compile") 2>conftest.er1
35909 grep -v '^ *+' conftest.er1 >conftest.err
35911 cat conftest.err >&5
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); } && {
35914 test -z "$ac_c_werror_flag" ||
35915 test ! -s conftest.err
35916 } && test -s conftest.$ac_objext; then
35917 wx_cv_func_statvfs=yes
35919 echo "$as_me: failed program was:" >&5
35920 sed 's/^/| /' conftest.$ac_ext >&5
35922 wx_cv_func_statvfs=no
35926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35929 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35930 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
35932 if test "$wx_cv_func_statvfs" = "yes"; then
35933 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35934 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
35935 if test "${wx_cv_type_statvfs_t+set}" = set; then
35936 echo $ECHO_N "(cached) $ECHO_C" >&6
35939 ac_cpp='$CXXCPP $CPPFLAGS'
35940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35944 cat >conftest.$ac_ext <<_ACEOF
35947 cat confdefs.h >>conftest.$ac_ext
35948 cat >>conftest.$ac_ext <<_ACEOF
35949 /* end confdefs.h. */
35951 #include <sys/statvfs.h>
35968 rm -f conftest.$ac_objext
35969 if { (ac_try="$ac_compile"
35970 case "(($ac_try" in
35971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35972 *) ac_try_echo=$ac_try;;
35974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35975 (eval "$ac_compile") 2>conftest.er1
35977 grep -v '^ *+' conftest.er1 >conftest.err
35979 cat conftest.err >&5
35980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35981 (exit $ac_status); } && {
35982 test -z "$ac_cxx_werror_flag" ||
35983 test ! -s conftest.err
35984 } && test -s conftest.$ac_objext; then
35985 wx_cv_type_statvfs_t=statvfs_t
35987 echo "$as_me: failed program was:" >&5
35988 sed 's/^/| /' conftest.$ac_ext >&5
35991 cat >conftest.$ac_ext <<_ACEOF
35994 cat confdefs.h >>conftest.$ac_ext
35995 cat >>conftest.$ac_ext <<_ACEOF
35996 /* end confdefs.h. */
35998 #include <sys/statvfs.h>
36015 rm -f conftest.$ac_objext
36016 if { (ac_try="$ac_compile"
36017 case "(($ac_try" in
36018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36019 *) ac_try_echo=$ac_try;;
36021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36022 (eval "$ac_compile") 2>conftest.er1
36024 grep -v '^ *+' conftest.er1 >conftest.err
36026 cat conftest.err >&5
36027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028 (exit $ac_status); } && {
36029 test -z "$ac_cxx_werror_flag" ||
36030 test ! -s conftest.err
36031 } && test -s conftest.$ac_objext; then
36032 wx_cv_type_statvfs_t="struct statvfs"
36034 echo "$as_me: failed program was:" >&5
36035 sed 's/^/| /' conftest.$ac_ext >&5
36037 wx_cv_type_statvfs_t="unknown"
36041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36048 ac_cpp='$CPP $CPPFLAGS'
36049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36055 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36056 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36058 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36059 cat >>confdefs.h <<\_ACEOF
36060 #define HAVE_STATVFS 1
36065 wx_cv_type_statvfs_t="unknown"
36069 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36070 cat >>confdefs.h <<_ACEOF
36071 #define WX_STATFS_T $wx_cv_type_statvfs_t
36075 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36076 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36079 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36082 for ac_func in fcntl flock
36084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36085 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36087 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36088 echo $ECHO_N "(cached) $ECHO_C" >&6
36090 cat >conftest.$ac_ext <<_ACEOF
36093 cat confdefs.h >>conftest.$ac_ext
36094 cat >>conftest.$ac_ext <<_ACEOF
36095 /* end confdefs.h. */
36096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36098 #define $ac_func innocuous_$ac_func
36100 /* System header to define __stub macros and hopefully few prototypes,
36101 which can conflict with char $ac_func (); below.
36102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36103 <limits.h> exists even on freestanding compilers. */
36106 # include <limits.h>
36108 # include <assert.h>
36113 /* Override any GCC internal prototype to avoid an error.
36114 Use char because int might match the return type of a GCC
36115 builtin and then its argument prototype would still apply. */
36120 /* The GNU C library defines this for functions which it implements
36121 to always fail with ENOSYS. Some functions are actually named
36122 something starting with __ and the normal name is an alias. */
36123 #if defined __stub_$ac_func || defined __stub___$ac_func
36130 return $ac_func ();
36135 rm -f conftest.$ac_objext conftest$ac_exeext
36136 if { (ac_try="$ac_link"
36137 case "(($ac_try" in
36138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36139 *) ac_try_echo=$ac_try;;
36141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36142 (eval "$ac_link") 2>conftest.er1
36144 grep -v '^ *+' conftest.er1 >conftest.err
36146 cat conftest.err >&5
36147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36148 (exit $ac_status); } && {
36149 test -z "$ac_c_werror_flag" ||
36150 test ! -s conftest.err
36151 } && test -s conftest$ac_exeext &&
36152 $as_test_x conftest$ac_exeext; then
36153 eval "$as_ac_var=yes"
36155 echo "$as_me: failed program was:" >&5
36156 sed 's/^/| /' conftest.$ac_ext >&5
36158 eval "$as_ac_var=no"
36161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36162 conftest$ac_exeext conftest.$ac_ext
36164 ac_res=`eval echo '${'$as_ac_var'}'`
36165 { echo "$as_me:$LINENO: result: $ac_res" >&5
36166 echo "${ECHO_T}$ac_res" >&6; }
36167 if test `eval echo '${'$as_ac_var'}'` = yes; then
36168 cat >>confdefs.h <<_ACEOF
36169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36176 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36177 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36178 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36179 wxUSE_SNGLINST_CHECKER=no
36184 for ac_func in timegm
36186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36187 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36189 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36190 echo $ECHO_N "(cached) $ECHO_C" >&6
36192 cat >conftest.$ac_ext <<_ACEOF
36195 cat confdefs.h >>conftest.$ac_ext
36196 cat >>conftest.$ac_ext <<_ACEOF
36197 /* end confdefs.h. */
36198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36200 #define $ac_func innocuous_$ac_func
36202 /* System header to define __stub macros and hopefully few prototypes,
36203 which can conflict with char $ac_func (); below.
36204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36205 <limits.h> exists even on freestanding compilers. */
36208 # include <limits.h>
36210 # include <assert.h>
36215 /* Override any GCC internal prototype to avoid an error.
36216 Use char because int might match the return type of a GCC
36217 builtin and then its argument prototype would still apply. */
36222 /* The GNU C library defines this for functions which it implements
36223 to always fail with ENOSYS. Some functions are actually named
36224 something starting with __ and the normal name is an alias. */
36225 #if defined __stub_$ac_func || defined __stub___$ac_func
36232 return $ac_func ();
36237 rm -f conftest.$ac_objext conftest$ac_exeext
36238 if { (ac_try="$ac_link"
36239 case "(($ac_try" in
36240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36241 *) ac_try_echo=$ac_try;;
36243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36244 (eval "$ac_link") 2>conftest.er1
36246 grep -v '^ *+' conftest.er1 >conftest.err
36248 cat conftest.err >&5
36249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250 (exit $ac_status); } && {
36251 test -z "$ac_c_werror_flag" ||
36252 test ! -s conftest.err
36253 } && test -s conftest$ac_exeext &&
36254 $as_test_x conftest$ac_exeext; then
36255 eval "$as_ac_var=yes"
36257 echo "$as_me: failed program was:" >&5
36258 sed 's/^/| /' conftest.$ac_ext >&5
36260 eval "$as_ac_var=no"
36263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36264 conftest$ac_exeext conftest.$ac_ext
36266 ac_res=`eval echo '${'$as_ac_var'}'`
36267 { echo "$as_me:$LINENO: result: $ac_res" >&5
36268 echo "${ECHO_T}$ac_res" >&6; }
36269 if test `eval echo '${'$as_ac_var'}'` = yes; then
36270 cat >>confdefs.h <<_ACEOF
36271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36280 for ac_func in putenv setenv
36282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36283 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36285 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36286 echo $ECHO_N "(cached) $ECHO_C" >&6
36288 cat >conftest.$ac_ext <<_ACEOF
36291 cat confdefs.h >>conftest.$ac_ext
36292 cat >>conftest.$ac_ext <<_ACEOF
36293 /* end confdefs.h. */
36294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36296 #define $ac_func innocuous_$ac_func
36298 /* System header to define __stub macros and hopefully few prototypes,
36299 which can conflict with char $ac_func (); below.
36300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36301 <limits.h> exists even on freestanding compilers. */
36304 # include <limits.h>
36306 # include <assert.h>
36311 /* Override any GCC internal prototype to avoid an error.
36312 Use char because int might match the return type of a GCC
36313 builtin and then its argument prototype would still apply. */
36318 /* The GNU C library defines this for functions which it implements
36319 to always fail with ENOSYS. Some functions are actually named
36320 something starting with __ and the normal name is an alias. */
36321 #if defined __stub_$ac_func || defined __stub___$ac_func
36328 return $ac_func ();
36333 rm -f conftest.$ac_objext conftest$ac_exeext
36334 if { (ac_try="$ac_link"
36335 case "(($ac_try" in
36336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36337 *) ac_try_echo=$ac_try;;
36339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36340 (eval "$ac_link") 2>conftest.er1
36342 grep -v '^ *+' conftest.er1 >conftest.err
36344 cat conftest.err >&5
36345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36346 (exit $ac_status); } && {
36347 test -z "$ac_c_werror_flag" ||
36348 test ! -s conftest.err
36349 } && test -s conftest$ac_exeext &&
36350 $as_test_x conftest$ac_exeext; then
36351 eval "$as_ac_var=yes"
36353 echo "$as_me: failed program was:" >&5
36354 sed 's/^/| /' conftest.$ac_ext >&5
36356 eval "$as_ac_var=no"
36359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36360 conftest$ac_exeext conftest.$ac_ext
36362 ac_res=`eval echo '${'$as_ac_var'}'`
36363 { echo "$as_me:$LINENO: result: $ac_res" >&5
36364 echo "${ECHO_T}$ac_res" >&6; }
36365 if test `eval echo '${'$as_ac_var'}'` = yes; then
36366 cat >>confdefs.h <<_ACEOF
36367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36374 HAVE_SOME_SLEEP_FUNC=0
36375 if test "$USE_BEOS" = 1; then
36376 cat >>confdefs.h <<\_ACEOF
36377 #define HAVE_SLEEP 1
36380 HAVE_SOME_SLEEP_FUNC=1
36383 if test "$USE_DARWIN" = 1; then
36384 cat >>confdefs.h <<\_ACEOF
36385 #define HAVE_USLEEP 1
36388 HAVE_SOME_SLEEP_FUNC=1
36391 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36394 for ac_func in nanosleep
36396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36397 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36399 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36400 echo $ECHO_N "(cached) $ECHO_C" >&6
36402 cat >conftest.$ac_ext <<_ACEOF
36405 cat confdefs.h >>conftest.$ac_ext
36406 cat >>conftest.$ac_ext <<_ACEOF
36407 /* end confdefs.h. */
36408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36410 #define $ac_func innocuous_$ac_func
36412 /* System header to define __stub macros and hopefully few prototypes,
36413 which can conflict with char $ac_func (); below.
36414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36415 <limits.h> exists even on freestanding compilers. */
36418 # include <limits.h>
36420 # include <assert.h>
36425 /* Override any GCC internal prototype to avoid an error.
36426 Use char because int might match the return type of a GCC
36427 builtin and then its argument prototype would still apply. */
36432 /* The GNU C library defines this for functions which it implements
36433 to always fail with ENOSYS. Some functions are actually named
36434 something starting with __ and the normal name is an alias. */
36435 #if defined __stub_$ac_func || defined __stub___$ac_func
36442 return $ac_func ();
36447 rm -f conftest.$ac_objext conftest$ac_exeext
36448 if { (ac_try="$ac_link"
36449 case "(($ac_try" in
36450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36451 *) ac_try_echo=$ac_try;;
36453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36454 (eval "$ac_link") 2>conftest.er1
36456 grep -v '^ *+' conftest.er1 >conftest.err
36458 cat conftest.err >&5
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); } && {
36461 test -z "$ac_c_werror_flag" ||
36462 test ! -s conftest.err
36463 } && test -s conftest$ac_exeext &&
36464 $as_test_x conftest$ac_exeext; then
36465 eval "$as_ac_var=yes"
36467 echo "$as_me: failed program was:" >&5
36468 sed 's/^/| /' conftest.$ac_ext >&5
36470 eval "$as_ac_var=no"
36473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36474 conftest$ac_exeext conftest.$ac_ext
36476 ac_res=`eval echo '${'$as_ac_var'}'`
36477 { echo "$as_me:$LINENO: result: $ac_res" >&5
36478 echo "${ECHO_T}$ac_res" >&6; }
36479 if test `eval echo '${'$as_ac_var'}'` = yes; then
36480 cat >>confdefs.h <<_ACEOF
36481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36483 cat >>confdefs.h <<\_ACEOF
36484 #define HAVE_NANOSLEEP 1
36489 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36490 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36491 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36492 echo $ECHO_N "(cached) $ECHO_C" >&6
36494 ac_check_lib_save_LIBS=$LIBS
36495 LIBS="-lposix4 $LIBS"
36496 cat >conftest.$ac_ext <<_ACEOF
36499 cat confdefs.h >>conftest.$ac_ext
36500 cat >>conftest.$ac_ext <<_ACEOF
36501 /* end confdefs.h. */
36503 /* Override any GCC internal prototype to avoid an error.
36504 Use char because int might match the return type of a GCC
36505 builtin and then its argument prototype would still apply. */
36513 return nanosleep ();
36518 rm -f conftest.$ac_objext conftest$ac_exeext
36519 if { (ac_try="$ac_link"
36520 case "(($ac_try" in
36521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36522 *) ac_try_echo=$ac_try;;
36524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36525 (eval "$ac_link") 2>conftest.er1
36527 grep -v '^ *+' conftest.er1 >conftest.err
36529 cat conftest.err >&5
36530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531 (exit $ac_status); } && {
36532 test -z "$ac_c_werror_flag" ||
36533 test ! -s conftest.err
36534 } && test -s conftest$ac_exeext &&
36535 $as_test_x conftest$ac_exeext; then
36536 ac_cv_lib_posix4_nanosleep=yes
36538 echo "$as_me: failed program was:" >&5
36539 sed 's/^/| /' conftest.$ac_ext >&5
36541 ac_cv_lib_posix4_nanosleep=no
36544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36545 conftest$ac_exeext conftest.$ac_ext
36546 LIBS=$ac_check_lib_save_LIBS
36548 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36549 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36550 if test $ac_cv_lib_posix4_nanosleep = yes; then
36552 cat >>confdefs.h <<\_ACEOF
36553 #define HAVE_NANOSLEEP 1
36556 POSIX4_LINK=" -lposix4"
36561 for wx_func in usleep
36563 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36564 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36565 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36566 echo $ECHO_N "(cached) $ECHO_C" >&6
36569 cat >conftest.$ac_ext <<_ACEOF
36573 cat confdefs.h >>conftest.$ac_ext
36574 cat >>conftest.$ac_ext <<_ACEOF
36575 /* end confdefs.h. */
36578 $ac_includes_default
36594 rm -f conftest.$ac_objext conftest$ac_exeext
36595 if { (ac_try="$ac_link"
36596 case "(($ac_try" in
36597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36598 *) ac_try_echo=$ac_try;;
36600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36601 (eval "$ac_link") 2>conftest.er1
36603 grep -v '^ *+' conftest.er1 >conftest.err
36605 cat conftest.err >&5
36606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36607 (exit $ac_status); } && {
36608 test -z "$ac_c_werror_flag" ||
36609 test ! -s conftest.err
36610 } && test -s conftest$ac_exeext &&
36611 $as_test_x conftest$ac_exeext; then
36612 eval wx_cv_func_$wx_func=yes
36614 echo "$as_me: failed program was:" >&5
36615 sed 's/^/| /' conftest.$ac_ext >&5
36617 eval wx_cv_func_$wx_func=no
36620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36621 conftest$ac_exeext conftest.$ac_ext
36624 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36625 { echo "$as_me:$LINENO: result: $ac_res" >&5
36626 echo "${ECHO_T}$ac_res" >&6; }
36628 if eval test \$wx_cv_func_$wx_func = yes
36630 cat >>confdefs.h <<_ACEOF
36631 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36637 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36638 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36655 for wx_func in uname
36657 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36658 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36659 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36660 echo $ECHO_N "(cached) $ECHO_C" >&6
36663 cat >conftest.$ac_ext <<_ACEOF
36667 cat confdefs.h >>conftest.$ac_ext
36668 cat >>conftest.$ac_ext <<_ACEOF
36669 /* end confdefs.h. */
36671 #include <sys/utsname.h>
36672 $ac_includes_default
36688 rm -f conftest.$ac_objext conftest$ac_exeext
36689 if { (ac_try="$ac_link"
36690 case "(($ac_try" in
36691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36692 *) ac_try_echo=$ac_try;;
36694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36695 (eval "$ac_link") 2>conftest.er1
36697 grep -v '^ *+' conftest.er1 >conftest.err
36699 cat conftest.err >&5
36700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36701 (exit $ac_status); } && {
36702 test -z "$ac_c_werror_flag" ||
36703 test ! -s conftest.err
36704 } && test -s conftest$ac_exeext &&
36705 $as_test_x conftest$ac_exeext; then
36706 eval wx_cv_func_$wx_func=yes
36708 echo "$as_me: failed program was:" >&5
36709 sed 's/^/| /' conftest.$ac_ext >&5
36711 eval wx_cv_func_$wx_func=no
36714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36715 conftest$ac_exeext conftest.$ac_ext
36718 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36719 { echo "$as_me:$LINENO: result: $ac_res" >&5
36720 echo "${ECHO_T}$ac_res" >&6; }
36722 if eval test \$wx_cv_func_$wx_func = yes
36724 cat >>confdefs.h <<_ACEOF
36725 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36735 if test "$wx_cv_func_uname" != yes; then
36737 for wx_func in gethostname
36739 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36740 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36741 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36742 echo $ECHO_N "(cached) $ECHO_C" >&6
36745 cat >conftest.$ac_ext <<_ACEOF
36749 cat confdefs.h >>conftest.$ac_ext
36750 cat >>conftest.$ac_ext <<_ACEOF
36751 /* end confdefs.h. */
36754 $ac_includes_default
36770 rm -f conftest.$ac_objext conftest$ac_exeext
36771 if { (ac_try="$ac_link"
36772 case "(($ac_try" in
36773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36774 *) ac_try_echo=$ac_try;;
36776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36777 (eval "$ac_link") 2>conftest.er1
36779 grep -v '^ *+' conftest.er1 >conftest.err
36781 cat conftest.err >&5
36782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783 (exit $ac_status); } && {
36784 test -z "$ac_c_werror_flag" ||
36785 test ! -s conftest.err
36786 } && test -s conftest$ac_exeext &&
36787 $as_test_x conftest$ac_exeext; then
36788 eval wx_cv_func_$wx_func=yes
36790 echo "$as_me: failed program was:" >&5
36791 sed 's/^/| /' conftest.$ac_ext >&5
36793 eval wx_cv_func_$wx_func=no
36796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36797 conftest$ac_exeext conftest.$ac_ext
36800 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36801 { echo "$as_me:$LINENO: result: $ac_res" >&5
36802 echo "${ECHO_T}$ac_res" >&6; }
36804 if eval test \$wx_cv_func_$wx_func = yes
36806 cat >>confdefs.h <<_ACEOF
36807 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36820 for wx_func in strtok_r
36822 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36823 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36824 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36825 echo $ECHO_N "(cached) $ECHO_C" >&6
36828 cat >conftest.$ac_ext <<_ACEOF
36832 cat confdefs.h >>conftest.$ac_ext
36833 cat >>conftest.$ac_ext <<_ACEOF
36834 /* end confdefs.h. */
36837 $ac_includes_default
36853 rm -f conftest.$ac_objext conftest$ac_exeext
36854 if { (ac_try="$ac_link"
36855 case "(($ac_try" in
36856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36857 *) ac_try_echo=$ac_try;;
36859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36860 (eval "$ac_link") 2>conftest.er1
36862 grep -v '^ *+' conftest.er1 >conftest.err
36864 cat conftest.err >&5
36865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36866 (exit $ac_status); } && {
36867 test -z "$ac_c_werror_flag" ||
36868 test ! -s conftest.err
36869 } && test -s conftest$ac_exeext &&
36870 $as_test_x conftest$ac_exeext; then
36871 eval wx_cv_func_$wx_func=yes
36873 echo "$as_me: failed program was:" >&5
36874 sed 's/^/| /' conftest.$ac_ext >&5
36876 eval wx_cv_func_$wx_func=no
36879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36880 conftest$ac_exeext conftest.$ac_ext
36883 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36884 { echo "$as_me:$LINENO: result: $ac_res" >&5
36885 echo "${ECHO_T}$ac_res" >&6; }
36887 if eval test \$wx_cv_func_$wx_func = yes
36889 cat >>confdefs.h <<_ACEOF
36890 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36903 for ac_func in inet_addr
36905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36906 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36908 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36909 echo $ECHO_N "(cached) $ECHO_C" >&6
36911 cat >conftest.$ac_ext <<_ACEOF
36914 cat confdefs.h >>conftest.$ac_ext
36915 cat >>conftest.$ac_ext <<_ACEOF
36916 /* end confdefs.h. */
36917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36919 #define $ac_func innocuous_$ac_func
36921 /* System header to define __stub macros and hopefully few prototypes,
36922 which can conflict with char $ac_func (); below.
36923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36924 <limits.h> exists even on freestanding compilers. */
36927 # include <limits.h>
36929 # include <assert.h>
36934 /* Override any GCC internal prototype to avoid an error.
36935 Use char because int might match the return type of a GCC
36936 builtin and then its argument prototype would still apply. */
36941 /* The GNU C library defines this for functions which it implements
36942 to always fail with ENOSYS. Some functions are actually named
36943 something starting with __ and the normal name is an alias. */
36944 #if defined __stub_$ac_func || defined __stub___$ac_func
36951 return $ac_func ();
36956 rm -f conftest.$ac_objext conftest$ac_exeext
36957 if { (ac_try="$ac_link"
36958 case "(($ac_try" in
36959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36960 *) ac_try_echo=$ac_try;;
36962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36963 (eval "$ac_link") 2>conftest.er1
36965 grep -v '^ *+' conftest.er1 >conftest.err
36967 cat conftest.err >&5
36968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36969 (exit $ac_status); } && {
36970 test -z "$ac_c_werror_flag" ||
36971 test ! -s conftest.err
36972 } && test -s conftest$ac_exeext &&
36973 $as_test_x conftest$ac_exeext; then
36974 eval "$as_ac_var=yes"
36976 echo "$as_me: failed program was:" >&5
36977 sed 's/^/| /' conftest.$ac_ext >&5
36979 eval "$as_ac_var=no"
36982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36983 conftest$ac_exeext conftest.$ac_ext
36985 ac_res=`eval echo '${'$as_ac_var'}'`
36986 { echo "$as_me:$LINENO: result: $ac_res" >&5
36987 echo "${ECHO_T}$ac_res" >&6; }
36988 if test `eval echo '${'$as_ac_var'}'` = yes; then
36989 cat >>confdefs.h <<_ACEOF
36990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36992 cat >>confdefs.h <<\_ACEOF
36993 #define HAVE_INET_ADDR 1
36998 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36999 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37000 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37001 echo $ECHO_N "(cached) $ECHO_C" >&6
37003 ac_check_lib_save_LIBS=$LIBS
37005 cat >conftest.$ac_ext <<_ACEOF
37008 cat confdefs.h >>conftest.$ac_ext
37009 cat >>conftest.$ac_ext <<_ACEOF
37010 /* end confdefs.h. */
37012 /* Override any GCC internal prototype to avoid an error.
37013 Use char because int might match the return type of a GCC
37014 builtin and then its argument prototype would still apply. */
37022 return inet_addr ();
37027 rm -f conftest.$ac_objext conftest$ac_exeext
37028 if { (ac_try="$ac_link"
37029 case "(($ac_try" in
37030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37031 *) ac_try_echo=$ac_try;;
37033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37034 (eval "$ac_link") 2>conftest.er1
37036 grep -v '^ *+' conftest.er1 >conftest.err
37038 cat conftest.err >&5
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); } && {
37041 test -z "$ac_c_werror_flag" ||
37042 test ! -s conftest.err
37043 } && test -s conftest$ac_exeext &&
37044 $as_test_x conftest$ac_exeext; then
37045 ac_cv_lib_nsl_inet_addr=yes
37047 echo "$as_me: failed program was:" >&5
37048 sed 's/^/| /' conftest.$ac_ext >&5
37050 ac_cv_lib_nsl_inet_addr=no
37053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37054 conftest$ac_exeext conftest.$ac_ext
37055 LIBS=$ac_check_lib_save_LIBS
37057 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37058 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37059 if test $ac_cv_lib_nsl_inet_addr = yes; then
37063 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37064 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37065 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37066 echo $ECHO_N "(cached) $ECHO_C" >&6
37068 ac_check_lib_save_LIBS=$LIBS
37069 LIBS="-lresolv $LIBS"
37070 cat >conftest.$ac_ext <<_ACEOF
37073 cat confdefs.h >>conftest.$ac_ext
37074 cat >>conftest.$ac_ext <<_ACEOF
37075 /* end confdefs.h. */
37077 /* Override any GCC internal prototype to avoid an error.
37078 Use char because int might match the return type of a GCC
37079 builtin and then its argument prototype would still apply. */
37087 return inet_addr ();
37092 rm -f conftest.$ac_objext conftest$ac_exeext
37093 if { (ac_try="$ac_link"
37094 case "(($ac_try" in
37095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37096 *) ac_try_echo=$ac_try;;
37098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37099 (eval "$ac_link") 2>conftest.er1
37101 grep -v '^ *+' conftest.er1 >conftest.err
37103 cat conftest.err >&5
37104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37105 (exit $ac_status); } && {
37106 test -z "$ac_c_werror_flag" ||
37107 test ! -s conftest.err
37108 } && test -s conftest$ac_exeext &&
37109 $as_test_x conftest$ac_exeext; then
37110 ac_cv_lib_resolv_inet_addr=yes
37112 echo "$as_me: failed program was:" >&5
37113 sed 's/^/| /' conftest.$ac_ext >&5
37115 ac_cv_lib_resolv_inet_addr=no
37118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37119 conftest$ac_exeext conftest.$ac_ext
37120 LIBS=$ac_check_lib_save_LIBS
37122 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37123 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37124 if test $ac_cv_lib_resolv_inet_addr = yes; then
37128 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37129 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37130 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37131 echo $ECHO_N "(cached) $ECHO_C" >&6
37133 ac_check_lib_save_LIBS=$LIBS
37134 LIBS="-lsocket $LIBS"
37135 cat >conftest.$ac_ext <<_ACEOF
37138 cat confdefs.h >>conftest.$ac_ext
37139 cat >>conftest.$ac_ext <<_ACEOF
37140 /* end confdefs.h. */
37142 /* Override any GCC internal prototype to avoid an error.
37143 Use char because int might match the return type of a GCC
37144 builtin and then its argument prototype would still apply. */
37152 return inet_addr ();
37157 rm -f conftest.$ac_objext conftest$ac_exeext
37158 if { (ac_try="$ac_link"
37159 case "(($ac_try" in
37160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37161 *) ac_try_echo=$ac_try;;
37163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37164 (eval "$ac_link") 2>conftest.er1
37166 grep -v '^ *+' conftest.er1 >conftest.err
37168 cat conftest.err >&5
37169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37170 (exit $ac_status); } && {
37171 test -z "$ac_c_werror_flag" ||
37172 test ! -s conftest.err
37173 } && test -s conftest$ac_exeext &&
37174 $as_test_x conftest$ac_exeext; then
37175 ac_cv_lib_socket_inet_addr=yes
37177 echo "$as_me: failed program was:" >&5
37178 sed 's/^/| /' conftest.$ac_ext >&5
37180 ac_cv_lib_socket_inet_addr=no
37183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37184 conftest$ac_exeext conftest.$ac_ext
37185 LIBS=$ac_check_lib_save_LIBS
37187 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37188 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37189 if test $ac_cv_lib_socket_inet_addr = yes; then
37209 for ac_func in inet_aton
37211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37212 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37214 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37215 echo $ECHO_N "(cached) $ECHO_C" >&6
37217 cat >conftest.$ac_ext <<_ACEOF
37220 cat confdefs.h >>conftest.$ac_ext
37221 cat >>conftest.$ac_ext <<_ACEOF
37222 /* end confdefs.h. */
37223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37225 #define $ac_func innocuous_$ac_func
37227 /* System header to define __stub macros and hopefully few prototypes,
37228 which can conflict with char $ac_func (); below.
37229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37230 <limits.h> exists even on freestanding compilers. */
37233 # include <limits.h>
37235 # include <assert.h>
37240 /* Override any GCC internal prototype to avoid an error.
37241 Use char because int might match the return type of a GCC
37242 builtin and then its argument prototype would still apply. */
37247 /* The GNU C library defines this for functions which it implements
37248 to always fail with ENOSYS. Some functions are actually named
37249 something starting with __ and the normal name is an alias. */
37250 #if defined __stub_$ac_func || defined __stub___$ac_func
37257 return $ac_func ();
37262 rm -f conftest.$ac_objext conftest$ac_exeext
37263 if { (ac_try="$ac_link"
37264 case "(($ac_try" in
37265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37266 *) ac_try_echo=$ac_try;;
37268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37269 (eval "$ac_link") 2>conftest.er1
37271 grep -v '^ *+' conftest.er1 >conftest.err
37273 cat conftest.err >&5
37274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37275 (exit $ac_status); } && {
37276 test -z "$ac_c_werror_flag" ||
37277 test ! -s conftest.err
37278 } && test -s conftest$ac_exeext &&
37279 $as_test_x conftest$ac_exeext; then
37280 eval "$as_ac_var=yes"
37282 echo "$as_me: failed program was:" >&5
37283 sed 's/^/| /' conftest.$ac_ext >&5
37285 eval "$as_ac_var=no"
37288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37289 conftest$ac_exeext conftest.$ac_ext
37291 ac_res=`eval echo '${'$as_ac_var'}'`
37292 { echo "$as_me:$LINENO: result: $ac_res" >&5
37293 echo "${ECHO_T}$ac_res" >&6; }
37294 if test `eval echo '${'$as_ac_var'}'` = yes; then
37295 cat >>confdefs.h <<_ACEOF
37296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37298 cat >>confdefs.h <<\_ACEOF
37299 #define HAVE_INET_ATON 1
37304 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37305 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37306 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37307 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37308 echo $ECHO_N "(cached) $ECHO_C" >&6
37310 ac_check_lib_save_LIBS=$LIBS
37311 LIBS="-l$INET_LINK $LIBS"
37312 cat >conftest.$ac_ext <<_ACEOF
37315 cat confdefs.h >>conftest.$ac_ext
37316 cat >>conftest.$ac_ext <<_ACEOF
37317 /* end confdefs.h. */
37319 /* Override any GCC internal prototype to avoid an error.
37320 Use char because int might match the return type of a GCC
37321 builtin and then its argument prototype would still apply. */
37329 return inet_aton ();
37334 rm -f conftest.$ac_objext conftest$ac_exeext
37335 if { (ac_try="$ac_link"
37336 case "(($ac_try" in
37337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37338 *) ac_try_echo=$ac_try;;
37340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37341 (eval "$ac_link") 2>conftest.er1
37343 grep -v '^ *+' conftest.er1 >conftest.err
37345 cat conftest.err >&5
37346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37347 (exit $ac_status); } && {
37348 test -z "$ac_c_werror_flag" ||
37349 test ! -s conftest.err
37350 } && test -s conftest$ac_exeext &&
37351 $as_test_x conftest$ac_exeext; then
37352 eval "$as_ac_Lib=yes"
37354 echo "$as_me: failed program was:" >&5
37355 sed 's/^/| /' conftest.$ac_ext >&5
37357 eval "$as_ac_Lib=no"
37360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37361 conftest$ac_exeext conftest.$ac_ext
37362 LIBS=$ac_check_lib_save_LIBS
37364 ac_res=`eval echo '${'$as_ac_Lib'}'`
37365 { echo "$as_me:$LINENO: result: $ac_res" >&5
37366 echo "${ECHO_T}$ac_res" >&6; }
37367 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37368 cat >>confdefs.h <<\_ACEOF
37369 #define HAVE_INET_ATON 1
37379 if test "x$INET_LINK" != "x"; then
37380 cat >>confdefs.h <<\_ACEOF
37381 #define HAVE_INET_ADDR 1
37384 INET_LINK=" -l$INET_LINK"
37388 for wx_func in fdopen
37390 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37391 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37392 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37393 echo $ECHO_N "(cached) $ECHO_C" >&6
37396 cat >conftest.$ac_ext <<_ACEOF
37400 cat confdefs.h >>conftest.$ac_ext
37401 cat >>conftest.$ac_ext <<_ACEOF
37402 /* end confdefs.h. */
37405 $ac_includes_default
37421 rm -f conftest.$ac_objext conftest$ac_exeext
37422 if { (ac_try="$ac_link"
37423 case "(($ac_try" in
37424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37425 *) ac_try_echo=$ac_try;;
37427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37428 (eval "$ac_link") 2>conftest.er1
37430 grep -v '^ *+' conftest.er1 >conftest.err
37432 cat conftest.err >&5
37433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37434 (exit $ac_status); } && {
37435 test -z "$ac_c_werror_flag" ||
37436 test ! -s conftest.err
37437 } && test -s conftest$ac_exeext &&
37438 $as_test_x conftest$ac_exeext; then
37439 eval wx_cv_func_$wx_func=yes
37441 echo "$as_me: failed program was:" >&5
37442 sed 's/^/| /' conftest.$ac_ext >&5
37444 eval wx_cv_func_$wx_func=no
37447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37448 conftest$ac_exeext conftest.$ac_ext
37451 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37452 { echo "$as_me:$LINENO: result: $ac_res" >&5
37453 echo "${ECHO_T}$ac_res" >&6; }
37455 if eval test \$wx_cv_func_$wx_func = yes
37457 cat >>confdefs.h <<_ACEOF
37458 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37473 cat >confcache <<\_ACEOF
37474 # This file is a shell script that caches the results of configure
37475 # tests run on this system so they can be shared between configure
37476 # scripts and configure runs, see configure's option --config-cache.
37477 # It is not useful on other systems. If it contains results you don't
37478 # want to keep, you may remove or edit it.
37480 # config.status only pays attention to the cache file if you give it
37481 # the --recheck option to rerun configure.
37483 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37484 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37485 # following values.
37489 # The following way of writing the cache mishandles newlines in values,
37490 # but we know of no workaround that is simple, portable, and efficient.
37491 # So, we kill variables containing newlines.
37492 # Ultrix sh set writes to stderr and can't be redirected directly,
37493 # and sets the high bit in the cache file unless we assign to the vars.
37495 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37496 eval ac_val=\$$ac_var
37500 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37501 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37504 _ | IFS | as_nl) ;; #(
37505 *) $as_unset $ac_var ;;
37511 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37512 *${as_nl}ac_space=\ *)
37513 # `set' does not quote correctly, so add quotes (double-quote
37514 # substitution turns \\\\ into \\, and sed turns \\ into \).
37517 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37520 # `set' quotes correctly as required by POSIX, so do not add quotes.
37521 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37530 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37532 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37534 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37535 if test -w "$cache_file"; then
37536 test "x$cache_file" != "x/dev/null" &&
37537 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37538 echo "$as_me: updating cache $cache_file" >&6;}
37539 cat confcache >$cache_file
37541 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37542 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37548 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37554 if test "$wxUSE_THREADS" = "yes" ; then
37555 if test "$USE_BEOS" = 1; then
37556 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37557 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37562 if test "$wxUSE_THREADS" = "yes" ; then
37565 THREAD_OPTS="-pthread"
37567 *-*-solaris2* | *-*-sunos4* )
37568 if test "x$GCC" = "xyes"; then
37569 THREAD_OPTS="-pthreads $THREAD_OPTS"
37571 THREAD_OPTS="-mt $THREAD_OPTS"
37575 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37577 *-*-darwin* | *-*-cygwin* )
37581 THREAD_OPTS="pthreads"
37584 if test "x$GCC" = "xyes"; then
37585 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37593 if test "x$GCC" = "xyes"; then
37599 if test "x$GCC" != "xyes"; then
37600 THREAD_OPTS="-Ethread"
37605 THREAD_OPTS="$THREAD_OPTS pthread none"
37608 for flag in $THREAD_OPTS; do
37611 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37612 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37616 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37617 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37618 THREADS_CFLAGS="$flag"
37622 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37623 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37624 THREADS_LINK="-l$flag"
37629 save_CFLAGS="$CFLAGS"
37630 LIBS="$THREADS_LINK $LIBS"
37631 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37633 cat >conftest.$ac_ext <<_ACEOF
37636 cat confdefs.h >>conftest.$ac_ext
37637 cat >>conftest.$ac_ext <<_ACEOF
37638 /* end confdefs.h. */
37639 #include <pthread.h>
37643 pthread_create(0,0,0,0);
37648 rm -f conftest.$ac_objext conftest$ac_exeext
37649 if { (ac_try="$ac_link"
37650 case "(($ac_try" in
37651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37652 *) ac_try_echo=$ac_try;;
37654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37655 (eval "$ac_link") 2>conftest.er1
37657 grep -v '^ *+' conftest.er1 >conftest.err
37659 cat conftest.err >&5
37660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661 (exit $ac_status); } && {
37662 test -z "$ac_c_werror_flag" ||
37663 test ! -s conftest.err
37664 } && test -s conftest$ac_exeext &&
37665 $as_test_x conftest$ac_exeext; then
37668 echo "$as_me: failed program was:" >&5
37669 sed 's/^/| /' conftest.$ac_ext >&5
37674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37675 conftest$ac_exeext conftest.$ac_ext
37678 CFLAGS="$save_CFLAGS"
37680 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37681 echo "${ECHO_T}$THREADS_OK" >&6; }
37682 if test "x$THREADS_OK" = "xyes"; then
37690 if test "x$THREADS_OK" != "xyes"; then
37692 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37693 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37695 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37696 LIBS="$THREADS_LINK $LIBS"
37698 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37699 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37703 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37704 flag="-D_THREAD_SAFE"
37707 flag="-D_THREAD_SAFE"
37710 flag="-D_REENTRANT"
37711 if test "x$GCC" != "xyes"; then
37712 flag="$flag -D_RWSTD_MULTI_THREAD"
37715 *solaris* | alpha*-osf*)
37716 flag="-D_REENTRANT"
37719 { echo "$as_me:$LINENO: result: ${flag}" >&5
37720 echo "${ECHO_T}${flag}" >&6; }
37721 if test "x$flag" != xno; then
37722 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37725 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37729 if test "$wxUSE_THREADS" = "yes" ; then
37731 for ac_func in thr_setconcurrency
37733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37734 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37737 echo $ECHO_N "(cached) $ECHO_C" >&6
37739 cat >conftest.$ac_ext <<_ACEOF
37742 cat confdefs.h >>conftest.$ac_ext
37743 cat >>conftest.$ac_ext <<_ACEOF
37744 /* end confdefs.h. */
37745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37747 #define $ac_func innocuous_$ac_func
37749 /* System header to define __stub macros and hopefully few prototypes,
37750 which can conflict with char $ac_func (); below.
37751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37752 <limits.h> exists even on freestanding compilers. */
37755 # include <limits.h>
37757 # include <assert.h>
37762 /* Override any GCC internal prototype to avoid an error.
37763 Use char because int might match the return type of a GCC
37764 builtin and then its argument prototype would still apply. */
37769 /* The GNU C library defines this for functions which it implements
37770 to always fail with ENOSYS. Some functions are actually named
37771 something starting with __ and the normal name is an alias. */
37772 #if defined __stub_$ac_func || defined __stub___$ac_func
37779 return $ac_func ();
37784 rm -f conftest.$ac_objext conftest$ac_exeext
37785 if { (ac_try="$ac_link"
37786 case "(($ac_try" in
37787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37788 *) ac_try_echo=$ac_try;;
37790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37791 (eval "$ac_link") 2>conftest.er1
37793 grep -v '^ *+' conftest.er1 >conftest.err
37795 cat conftest.err >&5
37796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37797 (exit $ac_status); } && {
37798 test -z "$ac_c_werror_flag" ||
37799 test ! -s conftest.err
37800 } && test -s conftest$ac_exeext &&
37801 $as_test_x conftest$ac_exeext; then
37802 eval "$as_ac_var=yes"
37804 echo "$as_me: failed program was:" >&5
37805 sed 's/^/| /' conftest.$ac_ext >&5
37807 eval "$as_ac_var=no"
37810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37811 conftest$ac_exeext conftest.$ac_ext
37813 ac_res=`eval echo '${'$as_ac_var'}'`
37814 { echo "$as_me:$LINENO: result: $ac_res" >&5
37815 echo "${ECHO_T}$ac_res" >&6; }
37816 if test `eval echo '${'$as_ac_var'}'` = yes; then
37817 cat >>confdefs.h <<_ACEOF
37818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37825 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37826 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
37827 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37828 echo $ECHO_N "(cached) $ECHO_C" >&6
37831 cat >conftest.$ac_ext <<_ACEOF
37834 cat confdefs.h >>conftest.$ac_ext
37835 cat >>conftest.$ac_ext <<_ACEOF
37836 /* end confdefs.h. */
37837 #include <pthread.h>
37838 void ThreadCleanupFunc(void *p);
37845 pthread_cleanup_push(ThreadCleanupFunc, p);
37846 pthread_cleanup_pop(0);
37852 rm -f conftest.$ac_objext
37853 if { (ac_try="$ac_compile"
37854 case "(($ac_try" in
37855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37856 *) ac_try_echo=$ac_try;;
37858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37859 (eval "$ac_compile") 2>conftest.er1
37861 grep -v '^ *+' conftest.er1 >conftest.err
37863 cat conftest.err >&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); } && {
37866 test -z "$ac_c_werror_flag" ||
37867 test ! -s conftest.err
37868 } && test -s conftest.$ac_objext; then
37870 wx_cv_func_pthread_cleanup=yes
37873 echo "$as_me: failed program was:" >&5
37874 sed 's/^/| /' conftest.$ac_ext >&5
37877 wx_cv_func_pthread_cleanup=no
37882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37885 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37886 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
37887 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37888 cat >>confdefs.h <<\_ACEOF
37889 #define wxHAVE_PTHREAD_CLEANUP 1
37894 { echo "$as_me:$LINENO: checking for sched.h" >&5
37895 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
37896 if test "${ac_cv_header_sched_h+set}" = set; then
37897 echo $ECHO_N "(cached) $ECHO_C" >&6
37899 cat >conftest.$ac_ext <<_ACEOF
37902 cat confdefs.h >>conftest.$ac_ext
37903 cat >>conftest.$ac_ext <<_ACEOF
37904 /* end confdefs.h. */
37905 $ac_includes_default
37909 rm -f conftest.$ac_objext
37910 if { (ac_try="$ac_compile"
37911 case "(($ac_try" in
37912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37913 *) ac_try_echo=$ac_try;;
37915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37916 (eval "$ac_compile") 2>conftest.er1
37918 grep -v '^ *+' conftest.er1 >conftest.err
37920 cat conftest.err >&5
37921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922 (exit $ac_status); } && {
37923 test -z "$ac_c_werror_flag" ||
37924 test ! -s conftest.err
37925 } && test -s conftest.$ac_objext; then
37926 ac_cv_header_sched_h=yes
37928 echo "$as_me: failed program was:" >&5
37929 sed 's/^/| /' conftest.$ac_ext >&5
37931 ac_cv_header_sched_h=no
37934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37936 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
37937 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
37940 if test "$ac_cv_header_sched_h" = "yes"; then
37941 { echo "$as_me:$LINENO: checking for sched_yield" >&5
37942 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
37943 if test "${ac_cv_func_sched_yield+set}" = set; then
37944 echo $ECHO_N "(cached) $ECHO_C" >&6
37946 cat >conftest.$ac_ext <<_ACEOF
37949 cat confdefs.h >>conftest.$ac_ext
37950 cat >>conftest.$ac_ext <<_ACEOF
37951 /* end confdefs.h. */
37952 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37954 #define sched_yield innocuous_sched_yield
37956 /* System header to define __stub macros and hopefully few prototypes,
37957 which can conflict with char sched_yield (); below.
37958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37959 <limits.h> exists even on freestanding compilers. */
37962 # include <limits.h>
37964 # include <assert.h>
37969 /* Override any GCC internal prototype to avoid an error.
37970 Use char because int might match the return type of a GCC
37971 builtin and then its argument prototype would still apply. */
37975 char sched_yield ();
37976 /* The GNU C library defines this for functions which it implements
37977 to always fail with ENOSYS. Some functions are actually named
37978 something starting with __ and the normal name is an alias. */
37979 #if defined __stub_sched_yield || defined __stub___sched_yield
37986 return sched_yield ();
37991 rm -f conftest.$ac_objext conftest$ac_exeext
37992 if { (ac_try="$ac_link"
37993 case "(($ac_try" in
37994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37995 *) ac_try_echo=$ac_try;;
37997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37998 (eval "$ac_link") 2>conftest.er1
38000 grep -v '^ *+' conftest.er1 >conftest.err
38002 cat conftest.err >&5
38003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38004 (exit $ac_status); } && {
38005 test -z "$ac_c_werror_flag" ||
38006 test ! -s conftest.err
38007 } && test -s conftest$ac_exeext &&
38008 $as_test_x conftest$ac_exeext; then
38009 ac_cv_func_sched_yield=yes
38011 echo "$as_me: failed program was:" >&5
38012 sed 's/^/| /' conftest.$ac_ext >&5
38014 ac_cv_func_sched_yield=no
38017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38018 conftest$ac_exeext conftest.$ac_ext
38020 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38021 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38022 if test $ac_cv_func_sched_yield = yes; then
38023 cat >>confdefs.h <<\_ACEOF
38024 #define HAVE_SCHED_YIELD 1
38029 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38030 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38031 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38032 echo $ECHO_N "(cached) $ECHO_C" >&6
38034 ac_check_lib_save_LIBS=$LIBS
38035 LIBS="-lposix4 $LIBS"
38036 cat >conftest.$ac_ext <<_ACEOF
38039 cat confdefs.h >>conftest.$ac_ext
38040 cat >>conftest.$ac_ext <<_ACEOF
38041 /* end confdefs.h. */
38043 /* Override any GCC internal prototype to avoid an error.
38044 Use char because int might match the return type of a GCC
38045 builtin and then its argument prototype would still apply. */
38049 char sched_yield ();
38053 return sched_yield ();
38058 rm -f conftest.$ac_objext conftest$ac_exeext
38059 if { (ac_try="$ac_link"
38060 case "(($ac_try" in
38061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38062 *) ac_try_echo=$ac_try;;
38064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38065 (eval "$ac_link") 2>conftest.er1
38067 grep -v '^ *+' conftest.er1 >conftest.err
38069 cat conftest.err >&5
38070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38071 (exit $ac_status); } && {
38072 test -z "$ac_c_werror_flag" ||
38073 test ! -s conftest.err
38074 } && test -s conftest$ac_exeext &&
38075 $as_test_x conftest$ac_exeext; then
38076 ac_cv_lib_posix4_sched_yield=yes
38078 echo "$as_me: failed program was:" >&5
38079 sed 's/^/| /' conftest.$ac_ext >&5
38081 ac_cv_lib_posix4_sched_yield=no
38084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38085 conftest$ac_exeext conftest.$ac_ext
38086 LIBS=$ac_check_lib_save_LIBS
38088 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38089 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38090 if test $ac_cv_lib_posix4_sched_yield = yes; then
38091 cat >>confdefs.h <<\_ACEOF
38092 #define HAVE_SCHED_YIELD 1
38094 POSIX4_LINK=" -lposix4"
38096 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38097 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38108 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38109 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38110 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38111 echo $ECHO_N "(cached) $ECHO_C" >&6
38113 cat >conftest.$ac_ext <<_ACEOF
38116 cat confdefs.h >>conftest.$ac_ext
38117 cat >>conftest.$ac_ext <<_ACEOF
38118 /* end confdefs.h. */
38119 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38121 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38123 /* System header to define __stub macros and hopefully few prototypes,
38124 which can conflict with char pthread_attr_getschedpolicy (); below.
38125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38126 <limits.h> exists even on freestanding compilers. */
38129 # include <limits.h>
38131 # include <assert.h>
38134 #undef pthread_attr_getschedpolicy
38136 /* Override any GCC internal prototype to avoid an error.
38137 Use char because int might match the return type of a GCC
38138 builtin and then its argument prototype would still apply. */
38142 char pthread_attr_getschedpolicy ();
38143 /* The GNU C library defines this for functions which it implements
38144 to always fail with ENOSYS. Some functions are actually named
38145 something starting with __ and the normal name is an alias. */
38146 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38153 return pthread_attr_getschedpolicy ();
38158 rm -f conftest.$ac_objext conftest$ac_exeext
38159 if { (ac_try="$ac_link"
38160 case "(($ac_try" in
38161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38162 *) ac_try_echo=$ac_try;;
38164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38165 (eval "$ac_link") 2>conftest.er1
38167 grep -v '^ *+' conftest.er1 >conftest.err
38169 cat conftest.err >&5
38170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38171 (exit $ac_status); } && {
38172 test -z "$ac_c_werror_flag" ||
38173 test ! -s conftest.err
38174 } && test -s conftest$ac_exeext &&
38175 $as_test_x conftest$ac_exeext; then
38176 ac_cv_func_pthread_attr_getschedpolicy=yes
38178 echo "$as_me: failed program was:" >&5
38179 sed 's/^/| /' conftest.$ac_ext >&5
38181 ac_cv_func_pthread_attr_getschedpolicy=no
38184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38185 conftest$ac_exeext conftest.$ac_ext
38187 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38188 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38189 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38190 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38191 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38192 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38193 echo $ECHO_N "(cached) $ECHO_C" >&6
38195 cat >conftest.$ac_ext <<_ACEOF
38198 cat confdefs.h >>conftest.$ac_ext
38199 cat >>conftest.$ac_ext <<_ACEOF
38200 /* end confdefs.h. */
38201 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38203 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38205 /* System header to define __stub macros and hopefully few prototypes,
38206 which can conflict with char pthread_attr_setschedparam (); below.
38207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38208 <limits.h> exists even on freestanding compilers. */
38211 # include <limits.h>
38213 # include <assert.h>
38216 #undef pthread_attr_setschedparam
38218 /* Override any GCC internal prototype to avoid an error.
38219 Use char because int might match the return type of a GCC
38220 builtin and then its argument prototype would still apply. */
38224 char pthread_attr_setschedparam ();
38225 /* The GNU C library defines this for functions which it implements
38226 to always fail with ENOSYS. Some functions are actually named
38227 something starting with __ and the normal name is an alias. */
38228 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38235 return pthread_attr_setschedparam ();
38240 rm -f conftest.$ac_objext conftest$ac_exeext
38241 if { (ac_try="$ac_link"
38242 case "(($ac_try" in
38243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38244 *) ac_try_echo=$ac_try;;
38246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38247 (eval "$ac_link") 2>conftest.er1
38249 grep -v '^ *+' conftest.er1 >conftest.err
38251 cat conftest.err >&5
38252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38253 (exit $ac_status); } && {
38254 test -z "$ac_c_werror_flag" ||
38255 test ! -s conftest.err
38256 } && test -s conftest$ac_exeext &&
38257 $as_test_x conftest$ac_exeext; then
38258 ac_cv_func_pthread_attr_setschedparam=yes
38260 echo "$as_me: failed program was:" >&5
38261 sed 's/^/| /' conftest.$ac_ext >&5
38263 ac_cv_func_pthread_attr_setschedparam=no
38266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38267 conftest$ac_exeext conftest.$ac_ext
38269 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38270 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38271 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38272 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38273 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38274 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38275 echo $ECHO_N "(cached) $ECHO_C" >&6
38277 cat >conftest.$ac_ext <<_ACEOF
38280 cat confdefs.h >>conftest.$ac_ext
38281 cat >>conftest.$ac_ext <<_ACEOF
38282 /* end confdefs.h. */
38283 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38285 #define sched_get_priority_max innocuous_sched_get_priority_max
38287 /* System header to define __stub macros and hopefully few prototypes,
38288 which can conflict with char sched_get_priority_max (); below.
38289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38290 <limits.h> exists even on freestanding compilers. */
38293 # include <limits.h>
38295 # include <assert.h>
38298 #undef sched_get_priority_max
38300 /* Override any GCC internal prototype to avoid an error.
38301 Use char because int might match the return type of a GCC
38302 builtin and then its argument prototype would still apply. */
38306 char sched_get_priority_max ();
38307 /* The GNU C library defines this for functions which it implements
38308 to always fail with ENOSYS. Some functions are actually named
38309 something starting with __ and the normal name is an alias. */
38310 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38317 return sched_get_priority_max ();
38322 rm -f conftest.$ac_objext conftest$ac_exeext
38323 if { (ac_try="$ac_link"
38324 case "(($ac_try" in
38325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38326 *) ac_try_echo=$ac_try;;
38328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38329 (eval "$ac_link") 2>conftest.er1
38331 grep -v '^ *+' conftest.er1 >conftest.err
38333 cat conftest.err >&5
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); } && {
38336 test -z "$ac_c_werror_flag" ||
38337 test ! -s conftest.err
38338 } && test -s conftest$ac_exeext &&
38339 $as_test_x conftest$ac_exeext; then
38340 ac_cv_func_sched_get_priority_max=yes
38342 echo "$as_me: failed program was:" >&5
38343 sed 's/^/| /' conftest.$ac_ext >&5
38345 ac_cv_func_sched_get_priority_max=no
38348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38349 conftest$ac_exeext conftest.$ac_ext
38351 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38352 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38353 if test $ac_cv_func_sched_get_priority_max = yes; then
38356 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38357 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38358 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38359 echo $ECHO_N "(cached) $ECHO_C" >&6
38361 ac_check_lib_save_LIBS=$LIBS
38362 LIBS="-lposix4 $LIBS"
38363 cat >conftest.$ac_ext <<_ACEOF
38366 cat confdefs.h >>conftest.$ac_ext
38367 cat >>conftest.$ac_ext <<_ACEOF
38368 /* end confdefs.h. */
38370 /* Override any GCC internal prototype to avoid an error.
38371 Use char because int might match the return type of a GCC
38372 builtin and then its argument prototype would still apply. */
38376 char sched_get_priority_max ();
38380 return sched_get_priority_max ();
38385 rm -f conftest.$ac_objext conftest$ac_exeext
38386 if { (ac_try="$ac_link"
38387 case "(($ac_try" in
38388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38389 *) ac_try_echo=$ac_try;;
38391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38392 (eval "$ac_link") 2>conftest.er1
38394 grep -v '^ *+' conftest.er1 >conftest.err
38396 cat conftest.err >&5
38397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38398 (exit $ac_status); } && {
38399 test -z "$ac_c_werror_flag" ||
38400 test ! -s conftest.err
38401 } && test -s conftest$ac_exeext &&
38402 $as_test_x conftest$ac_exeext; then
38403 ac_cv_lib_posix4_sched_get_priority_max=yes
38405 echo "$as_me: failed program was:" >&5
38406 sed 's/^/| /' conftest.$ac_ext >&5
38408 ac_cv_lib_posix4_sched_get_priority_max=no
38411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38412 conftest$ac_exeext conftest.$ac_ext
38413 LIBS=$ac_check_lib_save_LIBS
38415 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38416 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38417 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38420 POSIX4_LINK=" -lposix4"
38434 if test "$HAVE_PRIOR_FUNCS" = 1; then
38435 cat >>confdefs.h <<\_ACEOF
38436 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38440 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38441 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38444 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38445 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38446 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38447 echo $ECHO_N "(cached) $ECHO_C" >&6
38449 cat >conftest.$ac_ext <<_ACEOF
38452 cat confdefs.h >>conftest.$ac_ext
38453 cat >>conftest.$ac_ext <<_ACEOF
38454 /* end confdefs.h. */
38455 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38457 #define pthread_cancel innocuous_pthread_cancel
38459 /* System header to define __stub macros and hopefully few prototypes,
38460 which can conflict with char pthread_cancel (); below.
38461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38462 <limits.h> exists even on freestanding compilers. */
38465 # include <limits.h>
38467 # include <assert.h>
38470 #undef pthread_cancel
38472 /* Override any GCC internal prototype to avoid an error.
38473 Use char because int might match the return type of a GCC
38474 builtin and then its argument prototype would still apply. */
38478 char pthread_cancel ();
38479 /* The GNU C library defines this for functions which it implements
38480 to always fail with ENOSYS. Some functions are actually named
38481 something starting with __ and the normal name is an alias. */
38482 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38489 return pthread_cancel ();
38494 rm -f conftest.$ac_objext conftest$ac_exeext
38495 if { (ac_try="$ac_link"
38496 case "(($ac_try" in
38497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38498 *) ac_try_echo=$ac_try;;
38500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38501 (eval "$ac_link") 2>conftest.er1
38503 grep -v '^ *+' conftest.er1 >conftest.err
38505 cat conftest.err >&5
38506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38507 (exit $ac_status); } && {
38508 test -z "$ac_c_werror_flag" ||
38509 test ! -s conftest.err
38510 } && test -s conftest$ac_exeext &&
38511 $as_test_x conftest$ac_exeext; then
38512 ac_cv_func_pthread_cancel=yes
38514 echo "$as_me: failed program was:" >&5
38515 sed 's/^/| /' conftest.$ac_ext >&5
38517 ac_cv_func_pthread_cancel=no
38520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38521 conftest$ac_exeext conftest.$ac_ext
38523 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38524 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38525 if test $ac_cv_func_pthread_cancel = yes; then
38526 cat >>confdefs.h <<\_ACEOF
38527 #define HAVE_PTHREAD_CANCEL 1
38531 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38532 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38536 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38537 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38538 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38539 echo $ECHO_N "(cached) $ECHO_C" >&6
38541 cat >conftest.$ac_ext <<_ACEOF
38544 cat confdefs.h >>conftest.$ac_ext
38545 cat >>conftest.$ac_ext <<_ACEOF
38546 /* end confdefs.h. */
38547 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38549 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38551 /* System header to define __stub macros and hopefully few prototypes,
38552 which can conflict with char pthread_mutex_timedlock (); below.
38553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38554 <limits.h> exists even on freestanding compilers. */
38557 # include <limits.h>
38559 # include <assert.h>
38562 #undef pthread_mutex_timedlock
38564 /* Override any GCC internal prototype to avoid an error.
38565 Use char because int might match the return type of a GCC
38566 builtin and then its argument prototype would still apply. */
38570 char pthread_mutex_timedlock ();
38571 /* The GNU C library defines this for functions which it implements
38572 to always fail with ENOSYS. Some functions are actually named
38573 something starting with __ and the normal name is an alias. */
38574 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38581 return pthread_mutex_timedlock ();
38586 rm -f conftest.$ac_objext conftest$ac_exeext
38587 if { (ac_try="$ac_link"
38588 case "(($ac_try" in
38589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38590 *) ac_try_echo=$ac_try;;
38592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38593 (eval "$ac_link") 2>conftest.er1
38595 grep -v '^ *+' conftest.er1 >conftest.err
38597 cat conftest.err >&5
38598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38599 (exit $ac_status); } && {
38600 test -z "$ac_c_werror_flag" ||
38601 test ! -s conftest.err
38602 } && test -s conftest$ac_exeext &&
38603 $as_test_x conftest$ac_exeext; then
38604 ac_cv_func_pthread_mutex_timedlock=yes
38606 echo "$as_me: failed program was:" >&5
38607 sed 's/^/| /' conftest.$ac_ext >&5
38609 ac_cv_func_pthread_mutex_timedlock=no
38612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38613 conftest$ac_exeext conftest.$ac_ext
38615 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38616 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38617 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38618 cat >>confdefs.h <<\_ACEOF
38619 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38623 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38624 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38628 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38629 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38630 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38631 echo $ECHO_N "(cached) $ECHO_C" >&6
38633 cat >conftest.$ac_ext <<_ACEOF
38636 cat confdefs.h >>conftest.$ac_ext
38637 cat >>conftest.$ac_ext <<_ACEOF
38638 /* end confdefs.h. */
38639 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38641 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38643 /* System header to define __stub macros and hopefully few prototypes,
38644 which can conflict with char pthread_attr_setstacksize (); below.
38645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38646 <limits.h> exists even on freestanding compilers. */
38649 # include <limits.h>
38651 # include <assert.h>
38654 #undef pthread_attr_setstacksize
38656 /* Override any GCC internal prototype to avoid an error.
38657 Use char because int might match the return type of a GCC
38658 builtin and then its argument prototype would still apply. */
38662 char pthread_attr_setstacksize ();
38663 /* The GNU C library defines this for functions which it implements
38664 to always fail with ENOSYS. Some functions are actually named
38665 something starting with __ and the normal name is an alias. */
38666 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38673 return pthread_attr_setstacksize ();
38678 rm -f conftest.$ac_objext conftest$ac_exeext
38679 if { (ac_try="$ac_link"
38680 case "(($ac_try" in
38681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38682 *) ac_try_echo=$ac_try;;
38684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38685 (eval "$ac_link") 2>conftest.er1
38687 grep -v '^ *+' conftest.er1 >conftest.err
38689 cat conftest.err >&5
38690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38691 (exit $ac_status); } && {
38692 test -z "$ac_c_werror_flag" ||
38693 test ! -s conftest.err
38694 } && test -s conftest$ac_exeext &&
38695 $as_test_x conftest$ac_exeext; then
38696 ac_cv_func_pthread_attr_setstacksize=yes
38698 echo "$as_me: failed program was:" >&5
38699 sed 's/^/| /' conftest.$ac_ext >&5
38701 ac_cv_func_pthread_attr_setstacksize=no
38704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38705 conftest$ac_exeext conftest.$ac_ext
38707 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38708 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38709 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38710 cat >>confdefs.h <<\_ACEOF
38711 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38718 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38719 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38720 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38721 echo $ECHO_N "(cached) $ECHO_C" >&6
38724 cat >conftest.$ac_ext <<_ACEOF
38727 cat confdefs.h >>conftest.$ac_ext
38728 cat >>conftest.$ac_ext <<_ACEOF
38729 /* end confdefs.h. */
38730 #include <pthread.h>
38735 pthread_mutexattr_t attr;
38736 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38742 rm -f conftest.$ac_objext
38743 if { (ac_try="$ac_compile"
38744 case "(($ac_try" in
38745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38746 *) ac_try_echo=$ac_try;;
38748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38749 (eval "$ac_compile") 2>conftest.er1
38751 grep -v '^ *+' conftest.er1 >conftest.err
38753 cat conftest.err >&5
38754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38755 (exit $ac_status); } && {
38756 test -z "$ac_c_werror_flag" ||
38757 test ! -s conftest.err
38758 } && test -s conftest.$ac_objext; then
38759 wx_cv_type_pthread_mutexattr_t=yes
38761 echo "$as_me: failed program was:" >&5
38762 sed 's/^/| /' conftest.$ac_ext >&5
38764 wx_cv_type_pthread_mutexattr_t=no
38768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38771 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38772 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38774 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38775 cat >>confdefs.h <<\_ACEOF
38776 #define HAVE_PTHREAD_MUTEXATTR_T 1
38780 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38781 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38782 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38783 echo $ECHO_N "(cached) $ECHO_C" >&6
38786 cat >conftest.$ac_ext <<_ACEOF
38789 cat confdefs.h >>conftest.$ac_ext
38790 cat >>conftest.$ac_ext <<_ACEOF
38791 /* end confdefs.h. */
38792 #include <pthread.h>
38797 pthread_mutexattr_t attr;
38798 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38804 rm -f conftest.$ac_objext
38805 if { (ac_try="$ac_compile"
38806 case "(($ac_try" in
38807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38808 *) ac_try_echo=$ac_try;;
38810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38811 (eval "$ac_compile") 2>conftest.er1
38813 grep -v '^ *+' conftest.er1 >conftest.err
38815 cat conftest.err >&5
38816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38817 (exit $ac_status); } && {
38818 test -z "$ac_c_werror_flag" ||
38819 test ! -s conftest.err
38820 } && test -s conftest.$ac_objext; then
38821 wx_cv_func_pthread_mutexattr_settype_decl=yes
38823 echo "$as_me: failed program was:" >&5
38824 sed 's/^/| /' conftest.$ac_ext >&5
38826 wx_cv_func_pthread_mutexattr_settype_decl=no
38830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38833 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38834 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
38835 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38836 cat >>confdefs.h <<\_ACEOF
38837 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38842 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38843 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
38844 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38845 echo $ECHO_N "(cached) $ECHO_C" >&6
38848 cat >conftest.$ac_ext <<_ACEOF
38851 cat confdefs.h >>conftest.$ac_ext
38852 cat >>conftest.$ac_ext <<_ACEOF
38853 /* end confdefs.h. */
38854 #include <pthread.h>
38859 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38865 rm -f conftest.$ac_objext
38866 if { (ac_try="$ac_compile"
38867 case "(($ac_try" in
38868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38869 *) ac_try_echo=$ac_try;;
38871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38872 (eval "$ac_compile") 2>conftest.er1
38874 grep -v '^ *+' conftest.er1 >conftest.err
38876 cat conftest.err >&5
38877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38878 (exit $ac_status); } && {
38879 test -z "$ac_c_werror_flag" ||
38880 test ! -s conftest.err
38881 } && test -s conftest.$ac_objext; then
38883 wx_cv_type_pthread_rec_mutex_init=yes
38886 echo "$as_me: failed program was:" >&5
38887 sed 's/^/| /' conftest.$ac_ext >&5
38890 wx_cv_type_pthread_rec_mutex_init=no
38895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38898 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38899 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
38900 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38901 cat >>confdefs.h <<\_ACEOF
38902 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38906 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38907 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38913 if test "$wxUSE_THREADS" = "yes" ; then
38916 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38917 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
38918 if test "${wx_cv_cflags_mthread+set}" = set; then
38919 echo $ECHO_N "(cached) $ECHO_C" >&6
38922 CFLAGS_OLD="$CFLAGS"
38923 CFLAGS="-mthreads $CFLAGS"
38924 cat >conftest.$ac_ext <<_ACEOF
38927 cat confdefs.h >>conftest.$ac_ext
38928 cat >>conftest.$ac_ext <<_ACEOF
38929 /* end confdefs.h. */
38939 rm -f conftest.$ac_objext
38940 if { (ac_try="$ac_compile"
38941 case "(($ac_try" in
38942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38943 *) ac_try_echo=$ac_try;;
38945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38946 (eval "$ac_compile") 2>conftest.er1
38948 grep -v '^ *+' conftest.er1 >conftest.err
38950 cat conftest.err >&5
38951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38952 (exit $ac_status); } && {
38953 test -z "$ac_c_werror_flag" ||
38954 test ! -s conftest.err
38955 } && test -s conftest.$ac_objext; then
38956 wx_cv_cflags_mthread=yes
38958 echo "$as_me: failed program was:" >&5
38959 sed 's/^/| /' conftest.$ac_ext >&5
38961 wx_cv_cflags_mthread=no
38965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38969 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38970 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
38972 if test "$wx_cv_cflags_mthread" = "yes"; then
38973 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
38974 LDFLAGS="$LDFLAGS -mthreads"
38976 CFLAGS="$CFLAGS_OLD"
38980 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38981 LDFLAGS="$LDFLAGS -Zmt"
38987 { echo "$as_me:$LINENO: checking for localtime_r" >&5
38988 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
38989 if test "${ac_cv_func_localtime_r+set}" = set; then
38990 echo $ECHO_N "(cached) $ECHO_C" >&6
38992 cat >conftest.$ac_ext <<_ACEOF
38995 cat confdefs.h >>conftest.$ac_ext
38996 cat >>conftest.$ac_ext <<_ACEOF
38997 /* end confdefs.h. */
38998 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39000 #define localtime_r innocuous_localtime_r
39002 /* System header to define __stub macros and hopefully few prototypes,
39003 which can conflict with char localtime_r (); below.
39004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39005 <limits.h> exists even on freestanding compilers. */
39008 # include <limits.h>
39010 # include <assert.h>
39015 /* Override any GCC internal prototype to avoid an error.
39016 Use char because int might match the return type of a GCC
39017 builtin and then its argument prototype would still apply. */
39021 char localtime_r ();
39022 /* The GNU C library defines this for functions which it implements
39023 to always fail with ENOSYS. Some functions are actually named
39024 something starting with __ and the normal name is an alias. */
39025 #if defined __stub_localtime_r || defined __stub___localtime_r
39032 return localtime_r ();
39037 rm -f conftest.$ac_objext conftest$ac_exeext
39038 if { (ac_try="$ac_link"
39039 case "(($ac_try" in
39040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39041 *) ac_try_echo=$ac_try;;
39043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39044 (eval "$ac_link") 2>conftest.er1
39046 grep -v '^ *+' conftest.er1 >conftest.err
39048 cat conftest.err >&5
39049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050 (exit $ac_status); } && {
39051 test -z "$ac_c_werror_flag" ||
39052 test ! -s conftest.err
39053 } && test -s conftest$ac_exeext &&
39054 $as_test_x conftest$ac_exeext; then
39055 ac_cv_func_localtime_r=yes
39057 echo "$as_me: failed program was:" >&5
39058 sed 's/^/| /' conftest.$ac_ext >&5
39060 ac_cv_func_localtime_r=no
39063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39064 conftest$ac_exeext conftest.$ac_ext
39066 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39067 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39068 if test $ac_cv_func_localtime_r = yes; then
39069 cat >>confdefs.h <<\_ACEOF
39070 #define HAVE_LOCALTIME_R 1
39075 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39076 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39077 if test "${ac_cv_func_gmtime_r+set}" = set; then
39078 echo $ECHO_N "(cached) $ECHO_C" >&6
39080 cat >conftest.$ac_ext <<_ACEOF
39083 cat confdefs.h >>conftest.$ac_ext
39084 cat >>conftest.$ac_ext <<_ACEOF
39085 /* end confdefs.h. */
39086 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39088 #define gmtime_r innocuous_gmtime_r
39090 /* System header to define __stub macros and hopefully few prototypes,
39091 which can conflict with char gmtime_r (); below.
39092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39093 <limits.h> exists even on freestanding compilers. */
39096 # include <limits.h>
39098 # include <assert.h>
39103 /* Override any GCC internal prototype to avoid an error.
39104 Use char because int might match the return type of a GCC
39105 builtin and then its argument prototype would still apply. */
39110 /* The GNU C library defines this for functions which it implements
39111 to always fail with ENOSYS. Some functions are actually named
39112 something starting with __ and the normal name is an alias. */
39113 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39120 return gmtime_r ();
39125 rm -f conftest.$ac_objext conftest$ac_exeext
39126 if { (ac_try="$ac_link"
39127 case "(($ac_try" in
39128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39129 *) ac_try_echo=$ac_try;;
39131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39132 (eval "$ac_link") 2>conftest.er1
39134 grep -v '^ *+' conftest.er1 >conftest.err
39136 cat conftest.err >&5
39137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39138 (exit $ac_status); } && {
39139 test -z "$ac_c_werror_flag" ||
39140 test ! -s conftest.err
39141 } && test -s conftest$ac_exeext &&
39142 $as_test_x conftest$ac_exeext; then
39143 ac_cv_func_gmtime_r=yes
39145 echo "$as_me: failed program was:" >&5
39146 sed 's/^/| /' conftest.$ac_ext >&5
39148 ac_cv_func_gmtime_r=no
39151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39152 conftest$ac_exeext conftest.$ac_ext
39154 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39155 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39156 if test $ac_cv_func_gmtime_r = yes; then
39157 cat >>confdefs.h <<\_ACEOF
39158 #define HAVE_GMTIME_R 1
39163 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39164 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39165 if test "${ac_cv_func_readdir_r+set}" = set; then
39166 echo $ECHO_N "(cached) $ECHO_C" >&6
39168 cat >conftest.$ac_ext <<_ACEOF
39171 cat confdefs.h >>conftest.$ac_ext
39172 cat >>conftest.$ac_ext <<_ACEOF
39173 /* end confdefs.h. */
39174 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39176 #define readdir_r innocuous_readdir_r
39178 /* System header to define __stub macros and hopefully few prototypes,
39179 which can conflict with char readdir_r (); below.
39180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39181 <limits.h> exists even on freestanding compilers. */
39184 # include <limits.h>
39186 # include <assert.h>
39191 /* Override any GCC internal prototype to avoid an error.
39192 Use char because int might match the return type of a GCC
39193 builtin and then its argument prototype would still apply. */
39198 /* The GNU C library defines this for functions which it implements
39199 to always fail with ENOSYS. Some functions are actually named
39200 something starting with __ and the normal name is an alias. */
39201 #if defined __stub_readdir_r || defined __stub___readdir_r
39208 return readdir_r ();
39213 rm -f conftest.$ac_objext conftest$ac_exeext
39214 if { (ac_try="$ac_link"
39215 case "(($ac_try" in
39216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39217 *) ac_try_echo=$ac_try;;
39219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39220 (eval "$ac_link") 2>conftest.er1
39222 grep -v '^ *+' conftest.er1 >conftest.err
39224 cat conftest.err >&5
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); } && {
39227 test -z "$ac_c_werror_flag" ||
39228 test ! -s conftest.err
39229 } && test -s conftest$ac_exeext &&
39230 $as_test_x conftest$ac_exeext; then
39231 ac_cv_func_readdir_r=yes
39233 echo "$as_me: failed program was:" >&5
39234 sed 's/^/| /' conftest.$ac_ext >&5
39236 ac_cv_func_readdir_r=no
39239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39240 conftest$ac_exeext conftest.$ac_ext
39242 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39243 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39244 if test $ac_cv_func_readdir_r = yes; then
39245 cat >>confdefs.h <<\_ACEOF
39246 #define HAVE_READDIR_R 1
39255 ac_cpp='$CPP $CPPFLAGS'
39256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39260 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39261 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39263 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39264 echo $ECHO_N "(cached) $ECHO_C" >&6
39268 ################################################################
39270 ac_cv_func_which_gethostbyname_r=unknown
39273 # ONE ARGUMENT (sanity check)
39276 # This should fail, as there is no variant of gethostbyname_r() that takes
39277 # a single argument. If it actually compiles, then we can assume that
39278 # netdb.h is not declaring the function, and the compiler is thereby
39279 # assuming an implicit prototype. In which case, we're out of luck.
39281 cat >conftest.$ac_ext <<_ACEOF
39284 cat confdefs.h >>conftest.$ac_ext
39285 cat >>conftest.$ac_ext <<_ACEOF
39286 /* end confdefs.h. */
39292 char *name = "www.gnu.org";
39293 (void)gethostbyname_r(name) /* ; */
39299 rm -f conftest.$ac_objext
39300 if { (ac_try="$ac_compile"
39301 case "(($ac_try" in
39302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39303 *) ac_try_echo=$ac_try;;
39305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39306 (eval "$ac_compile") 2>conftest.er1
39308 grep -v '^ *+' conftest.er1 >conftest.err
39310 cat conftest.err >&5
39311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39312 (exit $ac_status); } && {
39313 test -z "$ac_c_werror_flag" ||
39314 test ! -s conftest.err
39315 } && test -s conftest.$ac_objext; then
39316 ac_cv_func_which_gethostbyname_r=no
39318 echo "$as_me: failed program was:" >&5
39319 sed 's/^/| /' conftest.$ac_ext >&5
39324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39331 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39333 cat >conftest.$ac_ext <<_ACEOF
39336 cat confdefs.h >>conftest.$ac_ext
39337 cat >>conftest.$ac_ext <<_ACEOF
39338 /* end confdefs.h. */
39344 char *name = "www.gnu.org";
39345 struct hostent ret, *retp;
39349 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39355 rm -f conftest.$ac_objext
39356 if { (ac_try="$ac_compile"
39357 case "(($ac_try" in
39358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39359 *) ac_try_echo=$ac_try;;
39361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39362 (eval "$ac_compile") 2>conftest.er1
39364 grep -v '^ *+' conftest.er1 >conftest.err
39366 cat conftest.err >&5
39367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39368 (exit $ac_status); } && {
39369 test -z "$ac_c_werror_flag" ||
39370 test ! -s conftest.err
39371 } && test -s conftest.$ac_objext; then
39372 ac_cv_func_which_gethostbyname_r=six
39374 echo "$as_me: failed program was:" >&5
39375 sed 's/^/| /' conftest.$ac_ext >&5
39380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39389 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39391 cat >conftest.$ac_ext <<_ACEOF
39394 cat confdefs.h >>conftest.$ac_ext
39395 cat >>conftest.$ac_ext <<_ACEOF
39396 /* end confdefs.h. */
39402 char *name = "www.gnu.org";
39403 struct hostent ret;
39407 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39413 rm -f conftest.$ac_objext
39414 if { (ac_try="$ac_compile"
39415 case "(($ac_try" in
39416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39417 *) ac_try_echo=$ac_try;;
39419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39420 (eval "$ac_compile") 2>conftest.er1
39422 grep -v '^ *+' conftest.er1 >conftest.err
39424 cat conftest.err >&5
39425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39426 (exit $ac_status); } && {
39427 test -z "$ac_c_werror_flag" ||
39428 test ! -s conftest.err
39429 } && test -s conftest.$ac_objext; then
39430 ac_cv_func_which_gethostbyname_r=five
39432 echo "$as_me: failed program was:" >&5
39433 sed 's/^/| /' conftest.$ac_ext >&5
39438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39444 # (e.g. AIX, HP-UX, Tru64)
39447 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39449 cat >conftest.$ac_ext <<_ACEOF
39452 cat confdefs.h >>conftest.$ac_ext
39453 cat >>conftest.$ac_ext <<_ACEOF
39454 /* end confdefs.h. */
39460 char *name = "www.gnu.org";
39461 struct hostent ret;
39462 struct hostent_data data;
39463 (void)gethostbyname_r(name, &ret, &data) /* ; */
39469 rm -f conftest.$ac_objext
39470 if { (ac_try="$ac_compile"
39471 case "(($ac_try" in
39472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39473 *) ac_try_echo=$ac_try;;
39475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39476 (eval "$ac_compile") 2>conftest.er1
39478 grep -v '^ *+' conftest.er1 >conftest.err
39480 cat conftest.err >&5
39481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39482 (exit $ac_status); } && {
39483 test -z "$ac_c_werror_flag" ||
39484 test ! -s conftest.err
39485 } && test -s conftest.$ac_objext; then
39486 ac_cv_func_which_gethostbyname_r=three
39488 echo "$as_me: failed program was:" >&5
39489 sed 's/^/| /' conftest.$ac_ext >&5
39494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39498 ################################################################
39503 case "$ac_cv_func_which_gethostbyname_r" in
39505 { echo "$as_me:$LINENO: result: three" >&5
39506 echo "${ECHO_T}three" >&6; }
39507 cat >>confdefs.h <<\_ACEOF
39508 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39514 { echo "$as_me:$LINENO: result: five" >&5
39515 echo "${ECHO_T}five" >&6; }
39516 cat >>confdefs.h <<\_ACEOF
39517 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39523 { echo "$as_me:$LINENO: result: six" >&5
39524 echo "${ECHO_T}six" >&6; }
39525 cat >>confdefs.h <<\_ACEOF
39526 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39532 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39533 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39537 { echo "$as_me:$LINENO: result: can't tell" >&5
39538 echo "${ECHO_T}can't tell" >&6; }
39542 { { echo "$as_me:$LINENO: error: internal error" >&5
39543 echo "$as_me: error: internal error" >&2;}
39544 { (exit 1); exit 1; }; }
39549 ac_cpp='$CPP $CPPFLAGS'
39550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39556 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39557 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39558 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39559 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39560 if test "${ac_cv_func_gethostbyname+set}" = set; then
39561 echo $ECHO_N "(cached) $ECHO_C" >&6
39563 cat >conftest.$ac_ext <<_ACEOF
39566 cat confdefs.h >>conftest.$ac_ext
39567 cat >>conftest.$ac_ext <<_ACEOF
39568 /* end confdefs.h. */
39569 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39571 #define gethostbyname innocuous_gethostbyname
39573 /* System header to define __stub macros and hopefully few prototypes,
39574 which can conflict with char gethostbyname (); below.
39575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39576 <limits.h> exists even on freestanding compilers. */
39579 # include <limits.h>
39581 # include <assert.h>
39584 #undef gethostbyname
39586 /* Override any GCC internal prototype to avoid an error.
39587 Use char because int might match the return type of a GCC
39588 builtin and then its argument prototype would still apply. */
39592 char gethostbyname ();
39593 /* The GNU C library defines this for functions which it implements
39594 to always fail with ENOSYS. Some functions are actually named
39595 something starting with __ and the normal name is an alias. */
39596 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39603 return gethostbyname ();
39608 rm -f conftest.$ac_objext conftest$ac_exeext
39609 if { (ac_try="$ac_link"
39610 case "(($ac_try" in
39611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39612 *) ac_try_echo=$ac_try;;
39614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39615 (eval "$ac_link") 2>conftest.er1
39617 grep -v '^ *+' conftest.er1 >conftest.err
39619 cat conftest.err >&5
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); } && {
39622 test -z "$ac_c_werror_flag" ||
39623 test ! -s conftest.err
39624 } && test -s conftest$ac_exeext &&
39625 $as_test_x conftest$ac_exeext; then
39626 ac_cv_func_gethostbyname=yes
39628 echo "$as_me: failed program was:" >&5
39629 sed 's/^/| /' conftest.$ac_ext >&5
39631 ac_cv_func_gethostbyname=no
39634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39635 conftest$ac_exeext conftest.$ac_ext
39637 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39638 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39639 if test $ac_cv_func_gethostbyname = yes; then
39640 cat >>confdefs.h <<\_ACEOF
39641 #define HAVE_GETHOSTBYNAME 1
39648 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
39649 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
39650 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39651 echo $ECHO_N "(cached) $ECHO_C" >&6
39655 ac_cpp='$CXXCPP $CPPFLAGS'
39656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39661 cat >conftest.$ac_ext <<_ACEOF
39664 cat confdefs.h >>conftest.$ac_ext
39665 cat >>conftest.$ac_ext <<_ACEOF
39666 /* end confdefs.h. */
39674 struct servent *se, *res;
39677 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39683 rm -f conftest.$ac_objext
39684 if { (ac_try="$ac_compile"
39685 case "(($ac_try" in
39686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39687 *) ac_try_echo=$ac_try;;
39689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39690 (eval "$ac_compile") 2>conftest.er1
39692 grep -v '^ *+' conftest.er1 >conftest.err
39694 cat conftest.err >&5
39695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696 (exit $ac_status); } && {
39697 test -z "$ac_cxx_werror_flag" ||
39698 test ! -s conftest.err
39699 } && test -s conftest.$ac_objext; then
39700 ac_cv_func_which_getservbyname_r=six
39702 echo "$as_me: failed program was:" >&5
39703 sed 's/^/| /' conftest.$ac_ext >&5
39706 cat >conftest.$ac_ext <<_ACEOF
39709 cat confdefs.h >>conftest.$ac_ext
39710 cat >>conftest.$ac_ext <<_ACEOF
39711 /* end confdefs.h. */
39719 struct servent *se;
39722 (void) getservbyname_r(name, proto, se, buffer, buflen)
39728 rm -f conftest.$ac_objext
39729 if { (ac_try="$ac_compile"
39730 case "(($ac_try" in
39731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39732 *) ac_try_echo=$ac_try;;
39734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39735 (eval "$ac_compile") 2>conftest.er1
39737 grep -v '^ *+' conftest.er1 >conftest.err
39739 cat conftest.err >&5
39740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39741 (exit $ac_status); } && {
39742 test -z "$ac_cxx_werror_flag" ||
39743 test ! -s conftest.err
39744 } && test -s conftest.$ac_objext; then
39745 ac_cv_func_which_getservbyname_r=five
39747 echo "$as_me: failed program was:" >&5
39748 sed 's/^/| /' conftest.$ac_ext >&5
39751 cat >conftest.$ac_ext <<_ACEOF
39754 cat confdefs.h >>conftest.$ac_ext
39755 cat >>conftest.$ac_ext <<_ACEOF
39756 /* end confdefs.h. */
39764 struct servent *se;
39765 struct servent_data data;
39766 (void) getservbyname_r(name, proto, se, &data);
39772 rm -f conftest.$ac_objext
39773 if { (ac_try="$ac_compile"
39774 case "(($ac_try" in
39775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39776 *) ac_try_echo=$ac_try;;
39778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39779 (eval "$ac_compile") 2>conftest.er1
39781 grep -v '^ *+' conftest.er1 >conftest.err
39783 cat conftest.err >&5
39784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39785 (exit $ac_status); } && {
39786 test -z "$ac_cxx_werror_flag" ||
39787 test ! -s conftest.err
39788 } && test -s conftest.$ac_objext; then
39789 ac_cv_func_which_getservbyname_r=four
39791 echo "$as_me: failed program was:" >&5
39792 sed 's/^/| /' conftest.$ac_ext >&5
39794 ac_cv_func_which_getservbyname_r=no
39798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39810 ac_cpp='$CPP $CPPFLAGS'
39811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39818 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39819 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
39821 if test $ac_cv_func_which_getservbyname_r = six; then
39822 cat >>confdefs.h <<\_ACEOF
39823 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39826 elif test $ac_cv_func_which_getservbyname_r = five; then
39827 cat >>confdefs.h <<\_ACEOF
39828 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39831 elif test $ac_cv_func_which_getservbyname_r = four; then
39832 cat >>confdefs.h <<\_ACEOF
39833 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39839 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39840 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39842 for ac_func in getservbyname
39844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39845 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39847 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39848 echo $ECHO_N "(cached) $ECHO_C" >&6
39850 cat >conftest.$ac_ext <<_ACEOF
39853 cat confdefs.h >>conftest.$ac_ext
39854 cat >>conftest.$ac_ext <<_ACEOF
39855 /* end confdefs.h. */
39856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39858 #define $ac_func innocuous_$ac_func
39860 /* System header to define __stub macros and hopefully few prototypes,
39861 which can conflict with char $ac_func (); below.
39862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39863 <limits.h> exists even on freestanding compilers. */
39866 # include <limits.h>
39868 # include <assert.h>
39873 /* Override any GCC internal prototype to avoid an error.
39874 Use char because int might match the return type of a GCC
39875 builtin and then its argument prototype would still apply. */
39880 /* The GNU C library defines this for functions which it implements
39881 to always fail with ENOSYS. Some functions are actually named
39882 something starting with __ and the normal name is an alias. */
39883 #if defined __stub_$ac_func || defined __stub___$ac_func
39890 return $ac_func ();
39895 rm -f conftest.$ac_objext conftest$ac_exeext
39896 if { (ac_try="$ac_link"
39897 case "(($ac_try" in
39898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39899 *) ac_try_echo=$ac_try;;
39901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39902 (eval "$ac_link") 2>conftest.er1
39904 grep -v '^ *+' conftest.er1 >conftest.err
39906 cat conftest.err >&5
39907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39908 (exit $ac_status); } && {
39909 test -z "$ac_c_werror_flag" ||
39910 test ! -s conftest.err
39911 } && test -s conftest$ac_exeext &&
39912 $as_test_x conftest$ac_exeext; then
39913 eval "$as_ac_var=yes"
39915 echo "$as_me: failed program was:" >&5
39916 sed 's/^/| /' conftest.$ac_ext >&5
39918 eval "$as_ac_var=no"
39921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39922 conftest$ac_exeext conftest.$ac_ext
39924 ac_res=`eval echo '${'$as_ac_var'}'`
39925 { echo "$as_me:$LINENO: result: $ac_res" >&5
39926 echo "${ECHO_T}$ac_res" >&6; }
39927 if test `eval echo '${'$as_ac_var'}'` = yes; then
39928 cat >>confdefs.h <<_ACEOF
39929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39931 cat >>confdefs.h <<\_ACEOF
39932 #define HAVE_GETSERVBYNAME 1
39940 if test "$wxUSE_THREADS" = "yes"; then
39941 cat >>confdefs.h <<\_ACEOF
39942 #define wxUSE_THREADS 1
39946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
39948 if test "$wx_cv_func_strtok_r" = "yes"; then
39949 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39950 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
39951 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39952 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39953 { echo "$as_me:$LINENO: result: yes" >&5
39954 echo "${ECHO_T}yes" >&6; }
39956 { echo "$as_me:$LINENO: result: no" >&5
39957 echo "${ECHO_T}no" >&6; }
39962 if test "$WXGTK20" = 1 ; then
39963 cat >>confdefs.h <<_ACEOF
39964 #define __WXGTK20__ $WXGTK20
39970 if test "$WXGTK12" = 1 ; then
39971 cat >>confdefs.h <<_ACEOF
39972 #define __WXGTK12__ $WXGTK12
39977 if test "$WXGTK127" = 1 ; then
39978 cat >>confdefs.h <<_ACEOF
39979 #define __WXGTK127__ $WXGTK127
39984 if test "$WXGPE" = 1 ; then
39985 cat >>confdefs.h <<_ACEOF
39986 #define __WXGPE__ $WXGPE
39992 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39997 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39998 wxUSE_DEBUG_INFO=yes
39999 if test "$GCC" = yes; then
40000 DEBUG_CFLAGS="-ggdb"
40004 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40005 cat >>confdefs.h <<\_ACEOF
40009 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40011 if test "$wxUSE_GTK" = 1 ; then
40012 if test "x$wxGTK_VERSION" = "x1" ; then
40013 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40018 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40019 cat >>confdefs.h <<\_ACEOF
40020 #define wxUSE_MEMORY_TRACING 1
40023 cat >>confdefs.h <<\_ACEOF
40024 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40027 cat >>confdefs.h <<\_ACEOF
40028 #define wxUSE_DEBUG_NEW_ALWAYS 1
40031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40034 if test "$wxUSE_DMALLOC" = "yes" ; then
40035 DMALLOC_LIBS="-ldmallocthcxx"
40039 if test "$wxUSE_PROFILE" = "yes" ; then
40040 PROFILE_FLAGS=" -pg"
40043 if test "$GCC" = "yes" ; then
40044 if test "$wxUSE_NO_RTTI" = "yes" ; then
40045 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40047 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40048 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40050 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40051 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40056 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40059 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40065 if test "$wxUSE_OPTIMISE" = "no" ; then
40066 if test "$GCC" = yes ; then
40067 OPTIMISE_CFLAGS="-O0"
40070 if test "$GCC" = yes ; then
40072 *-pc-os2_emx | *-pc-os2-emx )
40073 OPTIMISE_CFLAGS="-O2"
40076 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40080 OPTIMISE_CFLAGS="-O"
40085 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40086 cat >>confdefs.h <<\_ACEOF
40087 #define WXWIN_COMPATIBILITY_2_6 1
40091 WXWIN_COMPATIBILITY_2_8="yes"
40094 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40095 cat >>confdefs.h <<\_ACEOF
40096 #define WXWIN_COMPATIBILITY_2_8 1
40102 if test "$wxUSE_GUI" = "yes"; then
40103 cat >>confdefs.h <<\_ACEOF
40104 #define wxUSE_GUI 1
40111 if test "$wxUSE_UNIX" = "yes"; then
40112 cat >>confdefs.h <<\_ACEOF
40113 #define wxUSE_UNIX 1
40119 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40123 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40124 if test "$USE_DARWIN" = 1; then
40126 elif test "$USE_DOS" = 1; then
40130 for ac_func in dlopen
40132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40136 echo $ECHO_N "(cached) $ECHO_C" >&6
40138 cat >conftest.$ac_ext <<_ACEOF
40141 cat confdefs.h >>conftest.$ac_ext
40142 cat >>conftest.$ac_ext <<_ACEOF
40143 /* end confdefs.h. */
40144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40146 #define $ac_func innocuous_$ac_func
40148 /* System header to define __stub macros and hopefully few prototypes,
40149 which can conflict with char $ac_func (); below.
40150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40151 <limits.h> exists even on freestanding compilers. */
40154 # include <limits.h>
40156 # include <assert.h>
40161 /* Override any GCC internal prototype to avoid an error.
40162 Use char because int might match the return type of a GCC
40163 builtin and then its argument prototype would still apply. */
40168 /* The GNU C library defines this for functions which it implements
40169 to always fail with ENOSYS. Some functions are actually named
40170 something starting with __ and the normal name is an alias. */
40171 #if defined __stub_$ac_func || defined __stub___$ac_func
40178 return $ac_func ();
40183 rm -f conftest.$ac_objext conftest$ac_exeext
40184 if { (ac_try="$ac_link"
40185 case "(($ac_try" in
40186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40187 *) ac_try_echo=$ac_try;;
40189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40190 (eval "$ac_link") 2>conftest.er1
40192 grep -v '^ *+' conftest.er1 >conftest.err
40194 cat conftest.err >&5
40195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40196 (exit $ac_status); } && {
40197 test -z "$ac_c_werror_flag" ||
40198 test ! -s conftest.err
40199 } && test -s conftest$ac_exeext &&
40200 $as_test_x conftest$ac_exeext; then
40201 eval "$as_ac_var=yes"
40203 echo "$as_me: failed program was:" >&5
40204 sed 's/^/| /' conftest.$ac_ext >&5
40206 eval "$as_ac_var=no"
40209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40210 conftest$ac_exeext conftest.$ac_ext
40212 ac_res=`eval echo '${'$as_ac_var'}'`
40213 { echo "$as_me:$LINENO: result: $ac_res" >&5
40214 echo "${ECHO_T}$ac_res" >&6; }
40215 if test `eval echo '${'$as_ac_var'}'` = yes; then
40216 cat >>confdefs.h <<_ACEOF
40217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40220 cat >>confdefs.h <<\_ACEOF
40221 #define HAVE_DLOPEN 1
40228 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40229 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40230 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40231 echo $ECHO_N "(cached) $ECHO_C" >&6
40233 ac_check_lib_save_LIBS=$LIBS
40235 cat >conftest.$ac_ext <<_ACEOF
40238 cat confdefs.h >>conftest.$ac_ext
40239 cat >>conftest.$ac_ext <<_ACEOF
40240 /* end confdefs.h. */
40242 /* Override any GCC internal prototype to avoid an error.
40243 Use char because int might match the return type of a GCC
40244 builtin and then its argument prototype would still apply. */
40257 rm -f conftest.$ac_objext conftest$ac_exeext
40258 if { (ac_try="$ac_link"
40259 case "(($ac_try" in
40260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40261 *) ac_try_echo=$ac_try;;
40263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40264 (eval "$ac_link") 2>conftest.er1
40266 grep -v '^ *+' conftest.er1 >conftest.err
40268 cat conftest.err >&5
40269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40270 (exit $ac_status); } && {
40271 test -z "$ac_c_werror_flag" ||
40272 test ! -s conftest.err
40273 } && test -s conftest$ac_exeext &&
40274 $as_test_x conftest$ac_exeext; then
40275 ac_cv_lib_dl_dlopen=yes
40277 echo "$as_me: failed program was:" >&5
40278 sed 's/^/| /' conftest.$ac_ext >&5
40280 ac_cv_lib_dl_dlopen=no
40283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40284 conftest$ac_exeext conftest.$ac_ext
40285 LIBS=$ac_check_lib_save_LIBS
40287 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40288 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40289 if test $ac_cv_lib_dl_dlopen = yes; then
40291 cat >>confdefs.h <<\_ACEOF
40292 #define HAVE_DLOPEN 1
40296 DL_LINK=" -ldl$DL_LINK"
40301 for ac_func in shl_load
40303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40304 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40306 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40307 echo $ECHO_N "(cached) $ECHO_C" >&6
40309 cat >conftest.$ac_ext <<_ACEOF
40312 cat confdefs.h >>conftest.$ac_ext
40313 cat >>conftest.$ac_ext <<_ACEOF
40314 /* end confdefs.h. */
40315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40317 #define $ac_func innocuous_$ac_func
40319 /* System header to define __stub macros and hopefully few prototypes,
40320 which can conflict with char $ac_func (); below.
40321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40322 <limits.h> exists even on freestanding compilers. */
40325 # include <limits.h>
40327 # include <assert.h>
40332 /* Override any GCC internal prototype to avoid an error.
40333 Use char because int might match the return type of a GCC
40334 builtin and then its argument prototype would still apply. */
40339 /* The GNU C library defines this for functions which it implements
40340 to always fail with ENOSYS. Some functions are actually named
40341 something starting with __ and the normal name is an alias. */
40342 #if defined __stub_$ac_func || defined __stub___$ac_func
40349 return $ac_func ();
40354 rm -f conftest.$ac_objext conftest$ac_exeext
40355 if { (ac_try="$ac_link"
40356 case "(($ac_try" in
40357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40358 *) ac_try_echo=$ac_try;;
40360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40361 (eval "$ac_link") 2>conftest.er1
40363 grep -v '^ *+' conftest.er1 >conftest.err
40365 cat conftest.err >&5
40366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40367 (exit $ac_status); } && {
40368 test -z "$ac_c_werror_flag" ||
40369 test ! -s conftest.err
40370 } && test -s conftest$ac_exeext &&
40371 $as_test_x conftest$ac_exeext; then
40372 eval "$as_ac_var=yes"
40374 echo "$as_me: failed program was:" >&5
40375 sed 's/^/| /' conftest.$ac_ext >&5
40377 eval "$as_ac_var=no"
40380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40381 conftest$ac_exeext conftest.$ac_ext
40383 ac_res=`eval echo '${'$as_ac_var'}'`
40384 { echo "$as_me:$LINENO: result: $ac_res" >&5
40385 echo "${ECHO_T}$ac_res" >&6; }
40386 if test `eval echo '${'$as_ac_var'}'` = yes; then
40387 cat >>confdefs.h <<_ACEOF
40388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40391 cat >>confdefs.h <<\_ACEOF
40392 #define HAVE_SHL_LOAD 1
40399 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40400 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40401 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40402 echo $ECHO_N "(cached) $ECHO_C" >&6
40404 ac_check_lib_save_LIBS=$LIBS
40405 LIBS="-lshl_load $LIBS"
40406 cat >conftest.$ac_ext <<_ACEOF
40409 cat confdefs.h >>conftest.$ac_ext
40410 cat >>conftest.$ac_ext <<_ACEOF
40411 /* end confdefs.h. */
40413 /* Override any GCC internal prototype to avoid an error.
40414 Use char because int might match the return type of a GCC
40415 builtin and then its argument prototype would still apply. */
40428 rm -f conftest.$ac_objext conftest$ac_exeext
40429 if { (ac_try="$ac_link"
40430 case "(($ac_try" in
40431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40432 *) ac_try_echo=$ac_try;;
40434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40435 (eval "$ac_link") 2>conftest.er1
40437 grep -v '^ *+' conftest.er1 >conftest.err
40439 cat conftest.err >&5
40440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40441 (exit $ac_status); } && {
40442 test -z "$ac_c_werror_flag" ||
40443 test ! -s conftest.err
40444 } && test -s conftest$ac_exeext &&
40445 $as_test_x conftest$ac_exeext; then
40446 ac_cv_lib_shl_load_dld=yes
40448 echo "$as_me: failed program was:" >&5
40449 sed 's/^/| /' conftest.$ac_ext >&5
40451 ac_cv_lib_shl_load_dld=no
40454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40455 conftest$ac_exeext conftest.$ac_ext
40456 LIBS=$ac_check_lib_save_LIBS
40458 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40459 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40460 if test $ac_cv_lib_shl_load_dld = yes; then
40463 DL_LINK=" -ldld$DL_LINK"
40479 if test "$HAVE_DL_FUNCS" = 1; then
40481 for ac_func in dlerror
40483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40484 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40486 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40487 echo $ECHO_N "(cached) $ECHO_C" >&6
40489 cat >conftest.$ac_ext <<_ACEOF
40492 cat confdefs.h >>conftest.$ac_ext
40493 cat >>conftest.$ac_ext <<_ACEOF
40494 /* end confdefs.h. */
40495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40497 #define $ac_func innocuous_$ac_func
40499 /* System header to define __stub macros and hopefully few prototypes,
40500 which can conflict with char $ac_func (); below.
40501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40502 <limits.h> exists even on freestanding compilers. */
40505 # include <limits.h>
40507 # include <assert.h>
40512 /* Override any GCC internal prototype to avoid an error.
40513 Use char because int might match the return type of a GCC
40514 builtin and then its argument prototype would still apply. */
40519 /* The GNU C library defines this for functions which it implements
40520 to always fail with ENOSYS. Some functions are actually named
40521 something starting with __ and the normal name is an alias. */
40522 #if defined __stub_$ac_func || defined __stub___$ac_func
40529 return $ac_func ();
40534 rm -f conftest.$ac_objext conftest$ac_exeext
40535 if { (ac_try="$ac_link"
40536 case "(($ac_try" in
40537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40538 *) ac_try_echo=$ac_try;;
40540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40541 (eval "$ac_link") 2>conftest.er1
40543 grep -v '^ *+' conftest.er1 >conftest.err
40545 cat conftest.err >&5
40546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40547 (exit $ac_status); } && {
40548 test -z "$ac_c_werror_flag" ||
40549 test ! -s conftest.err
40550 } && test -s conftest$ac_exeext &&
40551 $as_test_x conftest$ac_exeext; then
40552 eval "$as_ac_var=yes"
40554 echo "$as_me: failed program was:" >&5
40555 sed 's/^/| /' conftest.$ac_ext >&5
40557 eval "$as_ac_var=no"
40560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40561 conftest$ac_exeext conftest.$ac_ext
40563 ac_res=`eval echo '${'$as_ac_var'}'`
40564 { echo "$as_me:$LINENO: result: $ac_res" >&5
40565 echo "${ECHO_T}$ac_res" >&6; }
40566 if test `eval echo '${'$as_ac_var'}'` = yes; then
40567 cat >>confdefs.h <<_ACEOF
40568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40570 cat >>confdefs.h <<\_ACEOF
40571 #define HAVE_DLERROR 1
40576 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40577 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40578 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40579 echo $ECHO_N "(cached) $ECHO_C" >&6
40581 ac_check_lib_save_LIBS=$LIBS
40583 cat >conftest.$ac_ext <<_ACEOF
40586 cat confdefs.h >>conftest.$ac_ext
40587 cat >>conftest.$ac_ext <<_ACEOF
40588 /* end confdefs.h. */
40590 /* Override any GCC internal prototype to avoid an error.
40591 Use char because int might match the return type of a GCC
40592 builtin and then its argument prototype would still apply. */
40605 rm -f conftest.$ac_objext conftest$ac_exeext
40606 if { (ac_try="$ac_link"
40607 case "(($ac_try" in
40608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40609 *) ac_try_echo=$ac_try;;
40611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40612 (eval "$ac_link") 2>conftest.er1
40614 grep -v '^ *+' conftest.er1 >conftest.err
40616 cat conftest.err >&5
40617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40618 (exit $ac_status); } && {
40619 test -z "$ac_c_werror_flag" ||
40620 test ! -s conftest.err
40621 } && test -s conftest$ac_exeext &&
40622 $as_test_x conftest$ac_exeext; then
40623 ac_cv_lib_dl_dlerror=yes
40625 echo "$as_me: failed program was:" >&5
40626 sed 's/^/| /' conftest.$ac_ext >&5
40628 ac_cv_lib_dl_dlerror=no
40631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40632 conftest$ac_exeext conftest.$ac_ext
40633 LIBS=$ac_check_lib_save_LIBS
40635 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40636 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40637 if test $ac_cv_lib_dl_dlerror = yes; then
40638 cat >>confdefs.h <<\_ACEOF
40639 #define HAVE_DLERROR 1
40652 if test "$HAVE_DL_FUNCS" = 0; then
40653 if test "$HAVE_SHL_FUNCS" = 0; then
40654 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40655 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40656 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40657 wxUSE_DYNAMIC_LOADER=no
40658 wxUSE_DYNLIB_CLASS=no
40660 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40661 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40668 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40669 cat >>confdefs.h <<\_ACEOF
40670 #define wxUSE_DYNAMIC_LOADER 1
40674 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40675 cat >>confdefs.h <<\_ACEOF
40676 #define wxUSE_DYNLIB_CLASS 1
40683 if test "$wxUSE_PLUGINS" = "yes" ; then
40684 if test "$wxUSE_SHARED" = "no" ; then
40685 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40686 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40689 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40690 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40691 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40694 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40695 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40696 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40699 if test "$wxUSE_PLUGINS" = "yes" ; then
40700 cat >>confdefs.h <<\_ACEOF
40701 #define wxUSE_PLUGINS 1
40708 if test "$wxUSE_STL" = "yes"; then
40709 cat >>confdefs.h <<\_ACEOF
40710 #define wxUSE_STL 1
40715 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40716 cat >>confdefs.h <<\_ACEOF
40717 #define wxUSE_APPLE_IEEE 1
40722 if test "$wxUSE_TIMER" = "yes"; then
40723 cat >>confdefs.h <<\_ACEOF
40724 #define wxUSE_TIMER 1
40729 if test "$USE_UNIX" = "1" ; then
40730 if test "$wxUSE_MGL" != 1; then
40731 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40732 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40733 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40734 echo $ECHO_N "(cached) $ECHO_C" >&6
40737 cat >conftest.$ac_ext <<_ACEOF
40740 cat confdefs.h >>conftest.$ac_ext
40741 cat >>conftest.$ac_ext <<_ACEOF
40742 /* end confdefs.h. */
40744 #include <sys/ioctl.h>
40745 #include <sys/soundcard.h>
40751 ioctl(0, SNDCTL_DSP_SPEED, 0);
40757 rm -f conftest.$ac_objext conftest$ac_exeext
40758 if { (ac_try="$ac_link"
40759 case "(($ac_try" in
40760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40761 *) ac_try_echo=$ac_try;;
40763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40764 (eval "$ac_link") 2>conftest.er1
40766 grep -v '^ *+' conftest.er1 >conftest.err
40768 cat conftest.err >&5
40769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40770 (exit $ac_status); } && {
40771 test -z "$ac_c_werror_flag" ||
40772 test ! -s conftest.err
40773 } && test -s conftest$ac_exeext &&
40774 $as_test_x conftest$ac_exeext; then
40775 ac_cv_header_sys_soundcard=yes
40777 echo "$as_me: failed program was:" >&5
40778 sed 's/^/| /' conftest.$ac_ext >&5
40782 LIBS="$saveLibs -lossaudio"
40783 cat >conftest.$ac_ext <<_ACEOF
40786 cat confdefs.h >>conftest.$ac_ext
40787 cat >>conftest.$ac_ext <<_ACEOF
40788 /* end confdefs.h. */
40790 #include <sys/ioctl.h>
40791 #include <sys/soundcard.h>
40797 ioctl(0, SNDCTL_DSP_SPEED, 0);
40803 rm -f conftest.$ac_objext conftest$ac_exeext
40804 if { (ac_try="$ac_link"
40805 case "(($ac_try" in
40806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40807 *) ac_try_echo=$ac_try;;
40809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40810 (eval "$ac_link") 2>conftest.er1
40812 grep -v '^ *+' conftest.er1 >conftest.err
40814 cat conftest.err >&5
40815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40816 (exit $ac_status); } && {
40817 test -z "$ac_c_werror_flag" ||
40818 test ! -s conftest.err
40819 } && test -s conftest$ac_exeext &&
40820 $as_test_x conftest$ac_exeext; then
40821 ac_cv_header_sys_soundcard=yes
40823 echo "$as_me: failed program was:" >&5
40824 sed 's/^/| /' conftest.$ac_ext >&5
40828 ac_cv_header_sys_soundcard=no
40833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40834 conftest$ac_exeext conftest.$ac_ext
40839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40840 conftest$ac_exeext conftest.$ac_ext
40843 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40844 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
40847 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40848 cat >>confdefs.h <<\_ACEOF
40849 #define HAVE_SYS_SOUNDCARD_H 1
40856 if test "$wxUSE_SOUND" = "yes"; then
40857 if test "$USE_UNIX" = "1" ; then
40858 if test "$wxUSE_LIBSDL" != "no"; then
40860 # Check whether --with-sdl-prefix was given.
40861 if test "${with_sdl_prefix+set}" = set; then
40862 withval=$with_sdl_prefix; sdl_prefix="$withval"
40868 # Check whether --with-sdl-exec-prefix was given.
40869 if test "${with_sdl_exec_prefix+set}" = set; then
40870 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
40875 # Check whether --enable-sdltest was given.
40876 if test "${enable_sdltest+set}" = set; then
40877 enableval=$enable_sdltest;
40883 if test x$sdl_exec_prefix != x ; then
40884 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
40885 if test x${SDL_CONFIG+set} != xset ; then
40886 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
40889 if test x$sdl_prefix != x ; then
40890 sdl_args="$sdl_args --prefix=$sdl_prefix"
40891 if test x${SDL_CONFIG+set} != xset ; then
40892 SDL_CONFIG=$sdl_prefix/bin/sdl-config
40896 if test "x$prefix" != xNONE; then
40897 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
40899 # Extract the first word of "sdl-config", so it can be a program name with args.
40900 set dummy sdl-config; ac_word=$2
40901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
40902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
40903 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40904 echo $ECHO_N "(cached) $ECHO_C" >&6
40906 case $SDL_CONFIG in
40908 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
40911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40912 for as_dir in $PATH
40915 test -z "$as_dir" && as_dir=.
40916 for ac_exec_ext in '' $ac_executable_extensions; do
40917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40918 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40926 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
40930 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
40931 if test -n "$SDL_CONFIG"; then
40932 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40933 echo "${ECHO_T}$SDL_CONFIG" >&6; }
40935 { echo "$as_me:$LINENO: result: no" >&5
40936 echo "${ECHO_T}no" >&6; }
40940 min_sdl_version=1.2.0
40941 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40942 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
40944 if test "$SDL_CONFIG" = "no" ; then
40947 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
40948 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
40950 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
40951 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40952 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
40953 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40954 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
40955 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40956 if test "x$enable_sdltest" = "xyes" ; then
40957 ac_save_CFLAGS="$CFLAGS"
40958 ac_save_CXXFLAGS="$CXXFLAGS"
40959 ac_save_LIBS="$LIBS"
40960 CFLAGS="$CFLAGS $SDL_CFLAGS"
40961 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
40962 LIBS="$LIBS $SDL_LIBS"
40964 if test "$cross_compiling" = yes; then
40965 echo $ac_n "cross compiling; assumed OK... $ac_c"
40967 cat >conftest.$ac_ext <<_ACEOF
40970 cat confdefs.h >>conftest.$ac_ext
40971 cat >>conftest.$ac_ext <<_ACEOF
40972 /* end confdefs.h. */
40975 #include <stdlib.h>
40976 #include <string.h>
40980 my_strdup (char *str)
40986 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40987 strcpy (new_str, str);
40995 int main (int argc, char *argv[])
40997 int major, minor, micro;
41000 /* This hangs on some systems (?)
41001 system ("touch conf.sdltest");
41003 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41005 /* HP/UX 9 (%@#!) writes to sscanf strings */
41006 tmp_version = my_strdup("$min_sdl_version");
41007 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41008 printf("%s, bad version string\n", "$min_sdl_version");
41012 if (($sdl_major_version > major) ||
41013 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41014 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41020 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41021 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41022 printf("*** best to upgrade to the required version.\n");
41023 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41024 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41025 printf("*** config.cache before re-running configure\n");
41032 rm -f conftest$ac_exeext
41033 if { (ac_try="$ac_link"
41034 case "(($ac_try" in
41035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41036 *) ac_try_echo=$ac_try;;
41038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41039 (eval "$ac_link") 2>&5
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41043 { (case "(($ac_try" in
41044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41045 *) ac_try_echo=$ac_try;;
41047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41048 (eval "$ac_try") 2>&5
41050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41051 (exit $ac_status); }; }; then
41054 echo "$as_me: program exited with status $ac_status" >&5
41055 echo "$as_me: failed program was:" >&5
41056 sed 's/^/| /' conftest.$ac_ext >&5
41058 ( exit $ac_status )
41061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41065 CFLAGS="$ac_save_CFLAGS"
41066 CXXFLAGS="$ac_save_CXXFLAGS"
41067 LIBS="$ac_save_LIBS"
41070 if test "x$no_sdl" = x ; then
41071 { echo "$as_me:$LINENO: result: yes" >&5
41072 echo "${ECHO_T}yes" >&6; }
41074 EXTRALIBS_SDL="$SDL_LIBS"
41075 CFLAGS="$SDL_CFLAGS $CFLAGS"
41076 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41077 cat >>confdefs.h <<\_ACEOF
41078 #define wxUSE_LIBSDL 1
41083 { echo "$as_me:$LINENO: result: no" >&5
41084 echo "${ECHO_T}no" >&6; }
41085 if test "$SDL_CONFIG" = "no" ; then
41086 echo "*** The sdl-config script installed by SDL could not be found"
41087 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41088 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41089 echo "*** full path to sdl-config."
41091 if test -f conf.sdltest ; then
41094 echo "*** Could not run SDL test program, checking why..."
41095 CFLAGS="$CFLAGS $SDL_CFLAGS"
41096 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41097 LIBS="$LIBS $SDL_LIBS"
41098 cat >conftest.$ac_ext <<_ACEOF
41101 cat confdefs.h >>conftest.$ac_ext
41102 cat >>conftest.$ac_ext <<_ACEOF
41103 /* end confdefs.h. */
41108 int main(int argc, char *argv[])
41111 #define main K_and_R_C_main
41121 rm -f conftest.$ac_objext conftest$ac_exeext
41122 if { (ac_try="$ac_link"
41123 case "(($ac_try" in
41124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41125 *) ac_try_echo=$ac_try;;
41127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41128 (eval "$ac_link") 2>conftest.er1
41130 grep -v '^ *+' conftest.er1 >conftest.err
41132 cat conftest.err >&5
41133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41134 (exit $ac_status); } && {
41135 test -z "$ac_c_werror_flag" ||
41136 test ! -s conftest.err
41137 } && test -s conftest$ac_exeext &&
41138 $as_test_x conftest$ac_exeext; then
41139 echo "*** The test program compiled, but did not run. This usually means"
41140 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41141 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41142 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41143 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41144 echo "*** is required on your system"
41146 echo "*** If you have an old version installed, it is best to remove it, although"
41147 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41149 echo "$as_me: failed program was:" >&5
41150 sed 's/^/| /' conftest.$ac_ext >&5
41152 echo "*** The test program failed to compile or link. See the file config.log for the"
41153 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41154 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41155 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41159 conftest$ac_exeext conftest.$ac_ext
41160 CFLAGS="$ac_save_CFLAGS"
41161 CXXFLAGS="$ac_save_CXXFLAGS"
41162 LIBS="$ac_save_LIBS"
41173 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41178 if test "$wxUSE_MGL" = 1; then
41179 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41180 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41186 if test "$wxUSE_SOUND" = "yes"; then
41187 cat >>confdefs.h <<\_ACEOF
41188 #define wxUSE_SOUND 1
41191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41194 if test "$WXGTK20" = 1; then
41197 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41198 if test -n "$ac_tool_prefix"; then
41199 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41200 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41203 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41204 echo $ECHO_N "(cached) $ECHO_C" >&6
41206 case $PKG_CONFIG in
41208 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41212 for as_dir in $PATH
41215 test -z "$as_dir" && as_dir=.
41216 for ac_exec_ext in '' $ac_executable_extensions; do
41217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41218 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41229 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41230 if test -n "$PKG_CONFIG"; then
41231 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41232 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41234 { echo "$as_me:$LINENO: result: no" >&5
41235 echo "${ECHO_T}no" >&6; }
41240 if test -z "$ac_cv_path_PKG_CONFIG"; then
41241 ac_pt_PKG_CONFIG=$PKG_CONFIG
41242 # Extract the first word of "pkg-config", so it can be a program name with args.
41243 set dummy pkg-config; ac_word=$2
41244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41246 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41247 echo $ECHO_N "(cached) $ECHO_C" >&6
41249 case $ac_pt_PKG_CONFIG in
41251 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41255 for as_dir in $PATH
41258 test -z "$as_dir" && as_dir=.
41259 for ac_exec_ext in '' $ac_executable_extensions; do
41260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41261 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41272 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41273 if test -n "$ac_pt_PKG_CONFIG"; then
41274 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41275 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41277 { echo "$as_me:$LINENO: result: no" >&5
41278 echo "${ECHO_T}no" >&6; }
41281 if test "x$ac_pt_PKG_CONFIG" = x; then
41284 case $cross_compiling:$ac_tool_warned in
41286 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41287 whose name does not start with the host triplet. If you think this
41288 configuration is useful to you, please write to autoconf@gnu.org." >&5
41289 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41290 whose name does not start with the host triplet. If you think this
41291 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41292 ac_tool_warned=yes ;;
41294 PKG_CONFIG=$ac_pt_PKG_CONFIG
41297 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41301 if test -n "$PKG_CONFIG"; then
41302 _pkg_min_version=0.9.0
41303 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41304 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41305 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41306 { echo "$as_me:$LINENO: result: yes" >&5
41307 echo "${ECHO_T}yes" >&6; }
41309 { echo "$as_me:$LINENO: result: no" >&5
41310 echo "${ECHO_T}no" >&6; }
41316 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41317 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41321 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41322 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41324 if test -n "$PKG_CONFIG"; then
41325 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41326 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41328 if test -n "$PKG_CONFIG" && \
41329 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41330 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41333 (exit $ac_status); }; then
41334 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41342 if test -n "$PKG_CONFIG"; then
41343 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41344 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41346 if test -n "$PKG_CONFIG" && \
41347 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41348 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41351 (exit $ac_status); }; then
41352 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41363 if test $pkg_failed = yes; then
41365 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41366 _pkg_short_errors_supported=yes
41368 _pkg_short_errors_supported=no
41370 if test $_pkg_short_errors_supported = yes; then
41371 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41373 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41375 # Put the nasty error message in config.log where it belongs
41376 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41379 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41380 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41381 wxUSE_LIBGNOMEPRINT="no"
41384 elif test $pkg_failed = untried; then
41386 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41387 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41388 wxUSE_LIBGNOMEPRINT="no"
41392 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41393 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41394 { echo "$as_me:$LINENO: result: yes" >&5
41395 echo "${ECHO_T}yes" >&6; }
41397 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41398 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41399 cat >>confdefs.h <<\_ACEOF
41400 #define wxUSE_LIBGNOMEPRINT 1
41408 if test "$wxUSE_MIMETYPE" = "yes" ; then
41409 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41413 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41414 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41416 if test -n "$PKG_CONFIG"; then
41417 if test -n "$GNOMEVFS_CFLAGS"; then
41418 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41420 if test -n "$PKG_CONFIG" && \
41421 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41422 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41425 (exit $ac_status); }; then
41426 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41434 if test -n "$PKG_CONFIG"; then
41435 if test -n "$GNOMEVFS_LIBS"; then
41436 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41438 if test -n "$PKG_CONFIG" && \
41439 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41440 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41443 (exit $ac_status); }; then
41444 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41455 if test $pkg_failed = yes; then
41457 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41458 _pkg_short_errors_supported=yes
41460 _pkg_short_errors_supported=no
41462 if test $_pkg_short_errors_supported = yes; then
41463 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41465 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41467 # Put the nasty error message in config.log where it belongs
41468 echo "$GNOMEVFS_PKG_ERRORS" >&5
41471 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41472 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41473 wxUSE_LIBGNOMEVFS="no"
41476 elif test $pkg_failed = untried; then
41478 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41479 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41480 wxUSE_LIBGNOMEVFS="no"
41484 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41485 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41486 { echo "$as_me:$LINENO: result: yes" >&5
41487 echo "${ECHO_T}yes" >&6; }
41489 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41490 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41491 cat >>confdefs.h <<\_ACEOF
41492 #define wxUSE_LIBGNOMEVFS 1
41500 if test "$wxUSE_LIBHILDON" = "yes" ; then
41503 { echo "$as_me:$LINENO: checking for HILDON" >&5
41504 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41506 if test -n "$PKG_CONFIG"; then
41507 if test -n "$HILDON_CFLAGS"; then
41508 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41510 if test -n "$PKG_CONFIG" && \
41511 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41512 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41515 (exit $ac_status); }; then
41516 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41524 if test -n "$PKG_CONFIG"; then
41525 if test -n "$HILDON_LIBS"; then
41526 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41528 if test -n "$PKG_CONFIG" && \
41529 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41530 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41533 (exit $ac_status); }; then
41534 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41545 if test $pkg_failed = yes; then
41547 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41548 _pkg_short_errors_supported=yes
41550 _pkg_short_errors_supported=no
41552 if test $_pkg_short_errors_supported = yes; then
41553 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41555 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41557 # Put the nasty error message in config.log where it belongs
41558 echo "$HILDON_PKG_ERRORS" >&5
41561 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41562 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41563 wxUSE_LIBHILDON="no"
41566 elif test $pkg_failed = untried; then
41568 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41569 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41570 wxUSE_LIBHILDON="no"
41574 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41575 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41576 { echo "$as_me:$LINENO: result: yes" >&5
41577 echo "${ECHO_T}yes" >&6; }
41579 EXTRALIBS_HILDON="$HILDON_LIBS"
41580 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41581 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41582 cat >>confdefs.h <<\_ACEOF
41583 #define wxUSE_LIBHILDON 1
41591 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41592 cat >>confdefs.h <<\_ACEOF
41593 #define wxUSE_CMDLINE_PARSER 1
41598 if test "$wxUSE_STOPWATCH" = "yes"; then
41599 cat >>confdefs.h <<\_ACEOF
41600 #define wxUSE_STOPWATCH 1
41605 if test "$wxUSE_DATETIME" = "yes"; then
41606 cat >>confdefs.h <<\_ACEOF
41607 #define wxUSE_DATETIME 1
41612 if test "$wxUSE_FILE" = "yes"; then
41613 cat >>confdefs.h <<\_ACEOF
41614 #define wxUSE_FILE 1
41619 if test "$wxUSE_FFILE" = "yes"; then
41620 cat >>confdefs.h <<\_ACEOF
41621 #define wxUSE_FFILE 1
41626 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41627 if test "$wxUSE_STREAMS" != yes; then
41628 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41629 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41630 wxUSE_ARCHIVE_STREAMS=no
41632 cat >>confdefs.h <<\_ACEOF
41633 #define wxUSE_ARCHIVE_STREAMS 1
41639 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41640 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41641 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41642 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41643 elif test "$wxUSE_ZLIB" = "no"; then
41644 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41645 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41647 cat >>confdefs.h <<\_ACEOF
41648 #define wxUSE_ZIPSTREAM 1
41654 if test "$wxUSE_TARSTREAM" = "yes"; then
41655 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41656 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41657 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41659 cat >>confdefs.h <<\_ACEOF
41660 #define wxUSE_TARSTREAM 1
41666 if test "$wxUSE_FILESYSTEM" = "yes"; then
41667 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41668 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41669 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41670 wxUSE_FILESYSTEM=no
41672 cat >>confdefs.h <<\_ACEOF
41673 #define wxUSE_FILESYSTEM 1
41679 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41680 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41681 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41682 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41684 cat >>confdefs.h <<\_ACEOF
41685 #define wxUSE_FS_ARCHIVE 1
41691 if test "$wxUSE_FS_ZIP" = "yes"; then
41692 if test "$wxUSE_FS_ARCHIVE" != yes; then
41693 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41694 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41696 cat >>confdefs.h <<\_ACEOF
41697 #define wxUSE_FS_ZIP 1
41703 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41704 if test "$USE_UNIX" != 1; then
41705 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41706 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41707 wxUSE_ON_FATAL_EXCEPTION=no
41709 cat >>confdefs.h <<\_ACEOF
41710 #define wxUSE_ON_FATAL_EXCEPTION 1
41716 if test "$wxUSE_STACKWALKER" = "yes"; then
41717 cat >>confdefs.h <<\_ACEOF
41718 #define wxUSE_STACKWALKER 1
41723 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41724 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41725 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41726 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41727 wxUSE_DEBUGREPORT=no
41729 cat >>confdefs.h <<\_ACEOF
41730 #define wxUSE_DEBUGREPORT 1
41733 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41739 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41740 cat >>confdefs.h <<\_ACEOF
41741 #define wxUSE_SNGLINST_CHECKER 1
41746 if test "$wxUSE_BUSYINFO" = "yes"; then
41747 cat >>confdefs.h <<\_ACEOF
41748 #define wxUSE_BUSYINFO 1
41753 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41754 cat >>confdefs.h <<\_ACEOF
41755 #define wxUSE_STD_IOSTREAM 1
41760 if test "$wxUSE_STD_STRING" = "yes"; then
41761 cat >>confdefs.h <<\_ACEOF
41762 #define wxUSE_STD_STRING 1
41767 if test "$wxUSE_STDPATHS" = "yes"; then
41768 cat >>confdefs.h <<\_ACEOF
41769 #define wxUSE_STDPATHS 1
41774 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41775 cat >>confdefs.h <<\_ACEOF
41776 #define wxUSE_TEXTBUFFER 1
41781 if test "$wxUSE_TEXTFILE" = "yes"; then
41782 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41783 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41784 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41786 cat >>confdefs.h <<\_ACEOF
41787 #define wxUSE_TEXTFILE 1
41793 if test "$wxUSE_CONFIG" = "yes" ; then
41794 if test "$wxUSE_TEXTFILE" != "yes"; then
41795 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41796 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41798 cat >>confdefs.h <<\_ACEOF
41799 #define wxUSE_CONFIG 1
41802 cat >>confdefs.h <<\_ACEOF
41803 #define wxUSE_CONFIG_NATIVE 1
41806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41810 if test "$wxUSE_INTL" = "yes" ; then
41811 if test "$wxUSE_FILE" != "yes"; then
41812 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41813 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41815 cat >>confdefs.h <<\_ACEOF
41816 #define wxUSE_INTL 1
41819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41820 GUIDIST="$GUIDIST INTL_DIST"
41824 if test "$wxUSE_LOG" = "yes"; then
41825 cat >>confdefs.h <<\_ACEOF
41826 #define wxUSE_LOG 1
41830 if test "$wxUSE_LOGGUI" = "yes"; then
41831 cat >>confdefs.h <<\_ACEOF
41832 #define wxUSE_LOGGUI 1
41837 if test "$wxUSE_LOGWINDOW" = "yes"; then
41838 cat >>confdefs.h <<\_ACEOF
41839 #define wxUSE_LOGWINDOW 1
41844 if test "$wxUSE_LOGDIALOG" = "yes"; then
41845 cat >>confdefs.h <<\_ACEOF
41846 #define wxUSE_LOG_DIALOG 1
41851 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
41854 if test "$wxUSE_LONGLONG" = "yes"; then
41855 cat >>confdefs.h <<\_ACEOF
41856 #define wxUSE_LONGLONG 1
41861 if test "$wxUSE_GEOMETRY" = "yes"; then
41862 cat >>confdefs.h <<\_ACEOF
41863 #define wxUSE_GEOMETRY 1
41868 if test "$wxUSE_STREAMS" = "yes" ; then
41869 cat >>confdefs.h <<\_ACEOF
41870 #define wxUSE_STREAMS 1
41875 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
41876 cat >>confdefs.h <<\_ACEOF
41877 #define wxUSE_PRINTF_POS_PARAMS 1
41884 if test "$wxUSE_DATETIME" = "yes"; then
41886 for ac_func in strptime
41888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41889 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41891 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41892 echo $ECHO_N "(cached) $ECHO_C" >&6
41894 cat >conftest.$ac_ext <<_ACEOF
41897 cat confdefs.h >>conftest.$ac_ext
41898 cat >>conftest.$ac_ext <<_ACEOF
41899 /* end confdefs.h. */
41900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41902 #define $ac_func innocuous_$ac_func
41904 /* System header to define __stub macros and hopefully few prototypes,
41905 which can conflict with char $ac_func (); below.
41906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41907 <limits.h> exists even on freestanding compilers. */
41910 # include <limits.h>
41912 # include <assert.h>
41917 /* Override any GCC internal prototype to avoid an error.
41918 Use char because int might match the return type of a GCC
41919 builtin and then its argument prototype would still apply. */
41924 /* The GNU C library defines this for functions which it implements
41925 to always fail with ENOSYS. Some functions are actually named
41926 something starting with __ and the normal name is an alias. */
41927 #if defined __stub_$ac_func || defined __stub___$ac_func
41934 return $ac_func ();
41939 rm -f conftest.$ac_objext conftest$ac_exeext
41940 if { (ac_try="$ac_link"
41941 case "(($ac_try" in
41942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41943 *) ac_try_echo=$ac_try;;
41945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41946 (eval "$ac_link") 2>conftest.er1
41948 grep -v '^ *+' conftest.er1 >conftest.err
41950 cat conftest.err >&5
41951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41952 (exit $ac_status); } && {
41953 test -z "$ac_c_werror_flag" ||
41954 test ! -s conftest.err
41955 } && test -s conftest$ac_exeext &&
41956 $as_test_x conftest$ac_exeext; then
41957 eval "$as_ac_var=yes"
41959 echo "$as_me: failed program was:" >&5
41960 sed 's/^/| /' conftest.$ac_ext >&5
41962 eval "$as_ac_var=no"
41965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41966 conftest$ac_exeext conftest.$ac_ext
41968 ac_res=`eval echo '${'$as_ac_var'}'`
41969 { echo "$as_me:$LINENO: result: $ac_res" >&5
41970 echo "${ECHO_T}$ac_res" >&6; }
41971 if test `eval echo '${'$as_ac_var'}'` = yes; then
41972 cat >>confdefs.h <<_ACEOF
41973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41979 if test "$ac_cv_func_strptime" = "yes"; then
41980 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
41981 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
41982 if test "${wx_cv_func_strptime_decl+set}" = set; then
41983 echo $ECHO_N "(cached) $ECHO_C" >&6
41987 ac_cpp='$CXXCPP $CPPFLAGS'
41988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41992 cat >conftest.$ac_ext <<_ACEOF
41995 cat confdefs.h >>conftest.$ac_ext
41996 cat >>conftest.$ac_ext <<_ACEOF
41997 /* end confdefs.h. */
42006 strptime("foo", "bar", &t);
42012 rm -f conftest.$ac_objext
42013 if { (ac_try="$ac_compile"
42014 case "(($ac_try" in
42015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42016 *) ac_try_echo=$ac_try;;
42018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42019 (eval "$ac_compile") 2>conftest.er1
42021 grep -v '^ *+' conftest.er1 >conftest.err
42023 cat conftest.err >&5
42024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42025 (exit $ac_status); } && {
42026 test -z "$ac_cxx_werror_flag" ||
42027 test ! -s conftest.err
42028 } && test -s conftest.$ac_objext; then
42029 wx_cv_func_strptime_decl=yes
42031 echo "$as_me: failed program was:" >&5
42032 sed 's/^/| /' conftest.$ac_ext >&5
42034 wx_cv_func_strptime_decl=no
42038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42040 ac_cpp='$CPP $CPPFLAGS'
42041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42048 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42049 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42051 if test "$wx_cv_func_strptime_decl" = "yes"; then
42052 cat >>confdefs.h <<\_ACEOF
42053 #define HAVE_STRPTIME_DECL 1
42058 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42059 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42060 if test "${wx_cv_var_timezone+set}" = set; then
42061 echo $ECHO_N "(cached) $ECHO_C" >&6
42065 ac_cpp='$CXXCPP $CPPFLAGS'
42066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42070 cat >conftest.$ac_ext <<_ACEOF
42073 cat confdefs.h >>conftest.$ac_ext
42074 cat >>conftest.$ac_ext <<_ACEOF
42075 /* end confdefs.h. */
42090 rm -f conftest.$ac_objext
42091 if { (ac_try="$ac_compile"
42092 case "(($ac_try" in
42093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42094 *) ac_try_echo=$ac_try;;
42096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42097 (eval "$ac_compile") 2>conftest.er1
42099 grep -v '^ *+' conftest.er1 >conftest.err
42101 cat conftest.err >&5
42102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42103 (exit $ac_status); } && {
42104 test -z "$ac_cxx_werror_flag" ||
42105 test ! -s conftest.err
42106 } && test -s conftest.$ac_objext; then
42108 wx_cv_var_timezone=timezone
42111 echo "$as_me: failed program was:" >&5
42112 sed 's/^/| /' conftest.$ac_ext >&5
42115 cat >conftest.$ac_ext <<_ACEOF
42118 cat confdefs.h >>conftest.$ac_ext
42119 cat >>conftest.$ac_ext <<_ACEOF
42120 /* end confdefs.h. */
42135 rm -f conftest.$ac_objext
42136 if { (ac_try="$ac_compile"
42137 case "(($ac_try" in
42138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42139 *) ac_try_echo=$ac_try;;
42141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42142 (eval "$ac_compile") 2>conftest.er1
42144 grep -v '^ *+' conftest.er1 >conftest.err
42146 cat conftest.err >&5
42147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42148 (exit $ac_status); } && {
42149 test -z "$ac_cxx_werror_flag" ||
42150 test ! -s conftest.err
42151 } && test -s conftest.$ac_objext; then
42153 wx_cv_var_timezone=_timezone
42156 echo "$as_me: failed program was:" >&5
42157 sed 's/^/| /' conftest.$ac_ext >&5
42160 cat >conftest.$ac_ext <<_ACEOF
42163 cat confdefs.h >>conftest.$ac_ext
42164 cat >>conftest.$ac_ext <<_ACEOF
42165 /* end confdefs.h. */
42180 rm -f conftest.$ac_objext
42181 if { (ac_try="$ac_compile"
42182 case "(($ac_try" in
42183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42184 *) ac_try_echo=$ac_try;;
42186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42187 (eval "$ac_compile") 2>conftest.er1
42189 grep -v '^ *+' conftest.er1 >conftest.err
42191 cat conftest.err >&5
42192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42193 (exit $ac_status); } && {
42194 test -z "$ac_cxx_werror_flag" ||
42195 test ! -s conftest.err
42196 } && test -s conftest.$ac_objext; then
42198 wx_cv_var_timezone=__timezone
42201 echo "$as_me: failed program was:" >&5
42202 sed 's/^/| /' conftest.$ac_ext >&5
42205 if test "$USE_DOS" = 0 ; then
42206 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42207 echo "$as_me: WARNING: no timezone variable" >&2;}
42213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42225 ac_cpp='$CPP $CPPFLAGS'
42226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42233 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42234 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42236 if test "x$wx_cv_var_timezone" != x ; then
42237 cat >>confdefs.h <<_ACEOF
42238 #define WX_TIMEZONE $wx_cv_var_timezone
42244 for ac_func in localtime
42246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42247 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42249 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42250 echo $ECHO_N "(cached) $ECHO_C" >&6
42252 cat >conftest.$ac_ext <<_ACEOF
42255 cat confdefs.h >>conftest.$ac_ext
42256 cat >>conftest.$ac_ext <<_ACEOF
42257 /* end confdefs.h. */
42258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42260 #define $ac_func innocuous_$ac_func
42262 /* System header to define __stub macros and hopefully few prototypes,
42263 which can conflict with char $ac_func (); below.
42264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42265 <limits.h> exists even on freestanding compilers. */
42268 # include <limits.h>
42270 # include <assert.h>
42275 /* Override any GCC internal prototype to avoid an error.
42276 Use char because int might match the return type of a GCC
42277 builtin and then its argument prototype would still apply. */
42282 /* The GNU C library defines this for functions which it implements
42283 to always fail with ENOSYS. Some functions are actually named
42284 something starting with __ and the normal name is an alias. */
42285 #if defined __stub_$ac_func || defined __stub___$ac_func
42292 return $ac_func ();
42297 rm -f conftest.$ac_objext conftest$ac_exeext
42298 if { (ac_try="$ac_link"
42299 case "(($ac_try" in
42300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42301 *) ac_try_echo=$ac_try;;
42303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42304 (eval "$ac_link") 2>conftest.er1
42306 grep -v '^ *+' conftest.er1 >conftest.err
42308 cat conftest.err >&5
42309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310 (exit $ac_status); } && {
42311 test -z "$ac_c_werror_flag" ||
42312 test ! -s conftest.err
42313 } && test -s conftest$ac_exeext &&
42314 $as_test_x conftest$ac_exeext; then
42315 eval "$as_ac_var=yes"
42317 echo "$as_me: failed program was:" >&5
42318 sed 's/^/| /' conftest.$ac_ext >&5
42320 eval "$as_ac_var=no"
42323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42324 conftest$ac_exeext conftest.$ac_ext
42326 ac_res=`eval echo '${'$as_ac_var'}'`
42327 { echo "$as_me:$LINENO: result: $ac_res" >&5
42328 echo "${ECHO_T}$ac_res" >&6; }
42329 if test `eval echo '${'$as_ac_var'}'` = yes; then
42330 cat >>confdefs.h <<_ACEOF
42331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42338 if test "$ac_cv_func_localtime" = "yes"; then
42339 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42340 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42341 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42342 echo $ECHO_N "(cached) $ECHO_C" >&6
42345 cat >conftest.$ac_ext <<_ACEOF
42348 cat confdefs.h >>conftest.$ac_ext
42349 cat >>conftest.$ac_ext <<_ACEOF
42350 /* end confdefs.h. */
42365 rm -f conftest.$ac_objext
42366 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
42383 wx_cv_struct_tm_has_gmtoff=yes
42386 echo "$as_me: failed program was:" >&5
42387 sed 's/^/| /' conftest.$ac_ext >&5
42389 wx_cv_struct_tm_has_gmtoff=no
42393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42396 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42397 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42400 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42401 cat >>confdefs.h <<\_ACEOF
42402 #define WX_GMTOFF_IN_TM 1
42409 for ac_func in gettimeofday ftime
42411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42412 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42414 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42415 echo $ECHO_N "(cached) $ECHO_C" >&6
42417 cat >conftest.$ac_ext <<_ACEOF
42420 cat confdefs.h >>conftest.$ac_ext
42421 cat >>conftest.$ac_ext <<_ACEOF
42422 /* end confdefs.h. */
42423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42425 #define $ac_func innocuous_$ac_func
42427 /* System header to define __stub macros and hopefully few prototypes,
42428 which can conflict with char $ac_func (); below.
42429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42430 <limits.h> exists even on freestanding compilers. */
42433 # include <limits.h>
42435 # include <assert.h>
42440 /* Override any GCC internal prototype to avoid an error.
42441 Use char because int might match the return type of a GCC
42442 builtin and then its argument prototype would still apply. */
42447 /* The GNU C library defines this for functions which it implements
42448 to always fail with ENOSYS. Some functions are actually named
42449 something starting with __ and the normal name is an alias. */
42450 #if defined __stub_$ac_func || defined __stub___$ac_func
42457 return $ac_func ();
42462 rm -f conftest.$ac_objext conftest$ac_exeext
42463 if { (ac_try="$ac_link"
42464 case "(($ac_try" in
42465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42466 *) ac_try_echo=$ac_try;;
42468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42469 (eval "$ac_link") 2>conftest.er1
42471 grep -v '^ *+' conftest.er1 >conftest.err
42473 cat conftest.err >&5
42474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42475 (exit $ac_status); } && {
42476 test -z "$ac_c_werror_flag" ||
42477 test ! -s conftest.err
42478 } && test -s conftest$ac_exeext &&
42479 $as_test_x conftest$ac_exeext; then
42480 eval "$as_ac_var=yes"
42482 echo "$as_me: failed program was:" >&5
42483 sed 's/^/| /' conftest.$ac_ext >&5
42485 eval "$as_ac_var=no"
42488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42489 conftest$ac_exeext conftest.$ac_ext
42491 ac_res=`eval echo '${'$as_ac_var'}'`
42492 { echo "$as_me:$LINENO: result: $ac_res" >&5
42493 echo "${ECHO_T}$ac_res" >&6; }
42494 if test `eval echo '${'$as_ac_var'}'` = yes; then
42495 cat >>confdefs.h <<_ACEOF
42496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42503 if test "$ac_cv_func_gettimeofday" = "yes"; then
42504 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42505 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42506 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42507 echo $ECHO_N "(cached) $ECHO_C" >&6
42510 cat >conftest.$ac_ext <<_ACEOF
42513 cat confdefs.h >>conftest.$ac_ext
42514 cat >>conftest.$ac_ext <<_ACEOF
42515 /* end confdefs.h. */
42517 #include <sys/time.h>
42518 #include <unistd.h>
42525 gettimeofday(&tv, NULL);
42531 rm -f conftest.$ac_objext
42532 if { (ac_try="$ac_compile"
42533 case "(($ac_try" in
42534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42535 *) ac_try_echo=$ac_try;;
42537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42538 (eval "$ac_compile") 2>conftest.er1
42540 grep -v '^ *+' conftest.er1 >conftest.err
42542 cat conftest.err >&5
42543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42544 (exit $ac_status); } && {
42545 test -z "$ac_c_werror_flag" ||
42546 test ! -s conftest.err
42547 } && test -s conftest.$ac_objext; then
42548 wx_cv_func_gettimeofday_has_2_args=yes
42550 echo "$as_me: failed program was:" >&5
42551 sed 's/^/| /' conftest.$ac_ext >&5
42553 cat >conftest.$ac_ext <<_ACEOF
42556 cat confdefs.h >>conftest.$ac_ext
42557 cat >>conftest.$ac_ext <<_ACEOF
42558 /* end confdefs.h. */
42560 #include <sys/time.h>
42561 #include <unistd.h>
42574 rm -f conftest.$ac_objext
42575 if { (ac_try="$ac_compile"
42576 case "(($ac_try" in
42577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42578 *) ac_try_echo=$ac_try;;
42580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42581 (eval "$ac_compile") 2>conftest.er1
42583 grep -v '^ *+' conftest.er1 >conftest.err
42585 cat conftest.err >&5
42586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42587 (exit $ac_status); } && {
42588 test -z "$ac_c_werror_flag" ||
42589 test ! -s conftest.err
42590 } && test -s conftest.$ac_objext; then
42591 wx_cv_func_gettimeofday_has_2_args=no
42593 echo "$as_me: failed program was:" >&5
42594 sed 's/^/| /' conftest.$ac_ext >&5
42597 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42598 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42599 wx_cv_func_gettimeofday_has_2_args=unknown
42604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42611 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42612 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42614 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42615 cat >>confdefs.h <<\_ACEOF
42616 #define WX_GETTIMEOFDAY_NO_TZ 1
42622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42626 if test "$wxUSE_SOCKETS" = "yes"; then
42627 if test "$wxUSE_MGL" = "1"; then
42628 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42629 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42634 if test "$wxUSE_SOCKETS" = "yes"; then
42635 if test "$TOOLKIT" != "MSW"; then
42636 { echo "$as_me:$LINENO: checking for socket" >&5
42637 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42638 if test "${ac_cv_func_socket+set}" = set; then
42639 echo $ECHO_N "(cached) $ECHO_C" >&6
42641 cat >conftest.$ac_ext <<_ACEOF
42644 cat confdefs.h >>conftest.$ac_ext
42645 cat >>conftest.$ac_ext <<_ACEOF
42646 /* end confdefs.h. */
42647 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42649 #define socket innocuous_socket
42651 /* System header to define __stub macros and hopefully few prototypes,
42652 which can conflict with char socket (); below.
42653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42654 <limits.h> exists even on freestanding compilers. */
42657 # include <limits.h>
42659 # include <assert.h>
42664 /* Override any GCC internal prototype to avoid an error.
42665 Use char because int might match the return type of a GCC
42666 builtin and then its argument prototype would still apply. */
42671 /* The GNU C library defines this for functions which it implements
42672 to always fail with ENOSYS. Some functions are actually named
42673 something starting with __ and the normal name is an alias. */
42674 #if defined __stub_socket || defined __stub___socket
42686 rm -f conftest.$ac_objext conftest$ac_exeext
42687 if { (ac_try="$ac_link"
42688 case "(($ac_try" in
42689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42690 *) ac_try_echo=$ac_try;;
42692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42693 (eval "$ac_link") 2>conftest.er1
42695 grep -v '^ *+' conftest.er1 >conftest.err
42697 cat conftest.err >&5
42698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42699 (exit $ac_status); } && {
42700 test -z "$ac_c_werror_flag" ||
42701 test ! -s conftest.err
42702 } && test -s conftest$ac_exeext &&
42703 $as_test_x conftest$ac_exeext; then
42704 ac_cv_func_socket=yes
42706 echo "$as_me: failed program was:" >&5
42707 sed 's/^/| /' conftest.$ac_ext >&5
42709 ac_cv_func_socket=no
42712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42713 conftest$ac_exeext conftest.$ac_ext
42715 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42716 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42717 if test $ac_cv_func_socket = yes; then
42721 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42722 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42723 if test "${ac_cv_lib_socket_socket+set}" = set; then
42724 echo $ECHO_N "(cached) $ECHO_C" >&6
42726 ac_check_lib_save_LIBS=$LIBS
42727 LIBS="-lsocket $LIBS"
42728 cat >conftest.$ac_ext <<_ACEOF
42731 cat confdefs.h >>conftest.$ac_ext
42732 cat >>conftest.$ac_ext <<_ACEOF
42733 /* end confdefs.h. */
42735 /* Override any GCC internal prototype to avoid an error.
42736 Use char because int might match the return type of a GCC
42737 builtin and then its argument prototype would still apply. */
42750 rm -f conftest.$ac_objext conftest$ac_exeext
42751 if { (ac_try="$ac_link"
42752 case "(($ac_try" in
42753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42754 *) ac_try_echo=$ac_try;;
42756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42757 (eval "$ac_link") 2>conftest.er1
42759 grep -v '^ *+' conftest.er1 >conftest.err
42761 cat conftest.err >&5
42762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42763 (exit $ac_status); } && {
42764 test -z "$ac_c_werror_flag" ||
42765 test ! -s conftest.err
42766 } && test -s conftest$ac_exeext &&
42767 $as_test_x conftest$ac_exeext; then
42768 ac_cv_lib_socket_socket=yes
42770 echo "$as_me: failed program was:" >&5
42771 sed 's/^/| /' conftest.$ac_ext >&5
42773 ac_cv_lib_socket_socket=no
42776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42777 conftest$ac_exeext conftest.$ac_ext
42778 LIBS=$ac_check_lib_save_LIBS
42780 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42781 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42782 if test $ac_cv_lib_socket_socket = yes; then
42783 if test "$INET_LINK" != " -lsocket"; then
42784 INET_LINK="$INET_LINK -lsocket"
42788 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42789 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42802 if test "$wxUSE_SOCKETS" = "yes" ; then
42803 if test "$TOOLKIT" != "MSW"; then
42804 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42805 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
42806 if test "${wx_cv_type_getsockname3+set}" = set; then
42807 echo $ECHO_N "(cached) $ECHO_C" >&6
42811 ac_cpp='$CXXCPP $CPPFLAGS'
42812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42816 cat >conftest.$ac_ext <<_ACEOF
42819 cat confdefs.h >>conftest.$ac_ext
42820 cat >>conftest.$ac_ext <<_ACEOF
42821 /* end confdefs.h. */
42823 #include <sys/types.h>
42824 #include <sys/socket.h>
42831 getsockname(0, 0, &len);
42837 rm -f conftest.$ac_objext
42838 if { (ac_try="$ac_compile"
42839 case "(($ac_try" in
42840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42841 *) ac_try_echo=$ac_try;;
42843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42844 (eval "$ac_compile") 2>conftest.er1
42846 grep -v '^ *+' conftest.er1 >conftest.err
42848 cat conftest.err >&5
42849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42850 (exit $ac_status); } && {
42851 test -z "$ac_cxx_werror_flag" ||
42852 test ! -s conftest.err
42853 } && test -s conftest.$ac_objext; then
42854 wx_cv_type_getsockname3=socklen_t
42856 echo "$as_me: failed program was:" >&5
42857 sed 's/^/| /' conftest.$ac_ext >&5
42860 CFLAGS_OLD="$CFLAGS"
42861 if test "$GCC" = yes ; then
42862 CFLAGS="-Werror $CFLAGS"
42865 cat >conftest.$ac_ext <<_ACEOF
42868 cat confdefs.h >>conftest.$ac_ext
42869 cat >>conftest.$ac_ext <<_ACEOF
42870 /* end confdefs.h. */
42872 #include <sys/types.h>
42873 #include <sys/socket.h>
42880 getsockname(0, 0, &len);
42886 rm -f conftest.$ac_objext
42887 if { (ac_try="$ac_compile"
42888 case "(($ac_try" in
42889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42890 *) ac_try_echo=$ac_try;;
42892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42893 (eval "$ac_compile") 2>conftest.er1
42895 grep -v '^ *+' conftest.er1 >conftest.err
42897 cat conftest.err >&5
42898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42899 (exit $ac_status); } && {
42900 test -z "$ac_cxx_werror_flag" ||
42901 test ! -s conftest.err
42902 } && test -s conftest.$ac_objext; then
42903 wx_cv_type_getsockname3=size_t
42905 echo "$as_me: failed program was:" >&5
42906 sed 's/^/| /' conftest.$ac_ext >&5
42908 cat >conftest.$ac_ext <<_ACEOF
42911 cat confdefs.h >>conftest.$ac_ext
42912 cat >>conftest.$ac_ext <<_ACEOF
42913 /* end confdefs.h. */
42915 #include <sys/types.h>
42916 #include <sys/socket.h>
42923 getsockname(0, 0, &len);
42929 rm -f conftest.$ac_objext
42930 if { (ac_try="$ac_compile"
42931 case "(($ac_try" in
42932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42933 *) ac_try_echo=$ac_try;;
42935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42936 (eval "$ac_compile") 2>conftest.er1
42938 grep -v '^ *+' conftest.er1 >conftest.err
42940 cat conftest.err >&5
42941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42942 (exit $ac_status); } && {
42943 test -z "$ac_cxx_werror_flag" ||
42944 test ! -s conftest.err
42945 } && test -s conftest.$ac_objext; then
42946 wx_cv_type_getsockname3=int
42948 echo "$as_me: failed program was:" >&5
42949 sed 's/^/| /' conftest.$ac_ext >&5
42951 wx_cv_type_getsockname3=unknown
42955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42961 CFLAGS="$CFLAGS_OLD"
42966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42968 ac_cpp='$CPP $CPPFLAGS'
42969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42975 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42976 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
42978 if test "$wx_cv_type_getsockname3" = "unknown"; then
42980 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42981 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42983 cat >>confdefs.h <<_ACEOF
42984 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42988 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42989 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
42990 if test "${wx_cv_type_getsockopt5+set}" = set; then
42991 echo $ECHO_N "(cached) $ECHO_C" >&6
42995 ac_cpp='$CXXCPP $CPPFLAGS'
42996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43000 cat >conftest.$ac_ext <<_ACEOF
43003 cat confdefs.h >>conftest.$ac_ext
43004 cat >>conftest.$ac_ext <<_ACEOF
43005 /* end confdefs.h. */
43007 #include <sys/types.h>
43008 #include <sys/socket.h>
43015 getsockopt(0, 0, 0, 0, &len);
43021 rm -f conftest.$ac_objext
43022 if { (ac_try="$ac_compile"
43023 case "(($ac_try" in
43024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43025 *) ac_try_echo=$ac_try;;
43027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43028 (eval "$ac_compile") 2>conftest.er1
43030 grep -v '^ *+' conftest.er1 >conftest.err
43032 cat conftest.err >&5
43033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43034 (exit $ac_status); } && {
43035 test -z "$ac_cxx_werror_flag" ||
43036 test ! -s conftest.err
43037 } && test -s conftest.$ac_objext; then
43038 wx_cv_type_getsockopt5=socklen_t
43040 echo "$as_me: failed program was:" >&5
43041 sed 's/^/| /' conftest.$ac_ext >&5
43044 cat >conftest.$ac_ext <<_ACEOF
43047 cat confdefs.h >>conftest.$ac_ext
43048 cat >>conftest.$ac_ext <<_ACEOF
43049 /* end confdefs.h. */
43051 #include <sys/types.h>
43052 #include <sys/socket.h>
43059 getsockopt(0, 0, 0, 0, &len);
43065 rm -f conftest.$ac_objext
43066 if { (ac_try="$ac_compile"
43067 case "(($ac_try" in
43068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43069 *) ac_try_echo=$ac_try;;
43071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43072 (eval "$ac_compile") 2>conftest.er1
43074 grep -v '^ *+' conftest.er1 >conftest.err
43076 cat conftest.err >&5
43077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43078 (exit $ac_status); } && {
43079 test -z "$ac_cxx_werror_flag" ||
43080 test ! -s conftest.err
43081 } && test -s conftest.$ac_objext; then
43082 wx_cv_type_getsockopt5=size_t
43084 echo "$as_me: failed program was:" >&5
43085 sed 's/^/| /' conftest.$ac_ext >&5
43087 cat >conftest.$ac_ext <<_ACEOF
43090 cat confdefs.h >>conftest.$ac_ext
43091 cat >>conftest.$ac_ext <<_ACEOF
43092 /* end confdefs.h. */
43094 #include <sys/types.h>
43095 #include <sys/socket.h>
43102 getsockopt(0, 0, 0, 0, &len);
43108 rm -f conftest.$ac_objext
43109 if { (ac_try="$ac_compile"
43110 case "(($ac_try" in
43111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43112 *) ac_try_echo=$ac_try;;
43114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43115 (eval "$ac_compile") 2>conftest.er1
43117 grep -v '^ *+' conftest.er1 >conftest.err
43119 cat conftest.err >&5
43120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43121 (exit $ac_status); } && {
43122 test -z "$ac_cxx_werror_flag" ||
43123 test ! -s conftest.err
43124 } && test -s conftest.$ac_objext; then
43125 wx_cv_type_getsockopt5=int
43127 echo "$as_me: failed program was:" >&5
43128 sed 's/^/| /' conftest.$ac_ext >&5
43130 wx_cv_type_getsockopt5=unknown
43134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43145 ac_cpp='$CPP $CPPFLAGS'
43146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43152 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43153 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43155 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43157 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43158 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43160 cat >>confdefs.h <<_ACEOF
43161 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43168 if test "$wxUSE_SOCKETS" = "yes" ; then
43169 cat >>confdefs.h <<\_ACEOF
43170 #define wxUSE_SOCKETS 1
43173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43176 if test "$wxUSE_PROTOCOL" = "yes"; then
43177 if test "$wxUSE_SOCKETS" != "yes"; then
43178 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43179 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43184 if test "$wxUSE_PROTOCOL" = "yes"; then
43185 cat >>confdefs.h <<\_ACEOF
43186 #define wxUSE_PROTOCOL 1
43190 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43191 cat >>confdefs.h <<\_ACEOF
43192 #define wxUSE_PROTOCOL_HTTP 1
43196 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43197 cat >>confdefs.h <<\_ACEOF
43198 #define wxUSE_PROTOCOL_FTP 1
43202 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43203 cat >>confdefs.h <<\_ACEOF
43204 #define wxUSE_PROTOCOL_FILE 1
43209 if test "$wxUSE_FS_INET" = "yes"; then
43210 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43211 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43216 if test "$wxUSE_URL" = "yes"; then
43217 if test "$wxUSE_PROTOCOL" != "yes"; then
43218 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43219 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43222 if test "$wxUSE_URL" = "yes"; then
43223 cat >>confdefs.h <<\_ACEOF
43224 #define wxUSE_URL 1
43230 if test "$wxUSE_VARIANT" = "yes"; then
43231 cat >>confdefs.h <<\_ACEOF
43232 #define wxUSE_VARIANT 1
43237 if test "$wxUSE_FS_INET" = "yes"; then
43238 cat >>confdefs.h <<\_ACEOF
43239 #define wxUSE_FS_INET 1
43245 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43248 if test "$TOOLKIT" = "MSW"; then
43251 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43252 if test "$USE_DARWIN" = 1; then
43253 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43254 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43256 ac_cpp='$CXXCPP $CPPFLAGS'
43257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43261 cat >conftest.$ac_ext <<_ACEOF
43264 cat confdefs.h >>conftest.$ac_ext
43265 cat >>conftest.$ac_ext <<_ACEOF
43266 /* end confdefs.h. */
43267 #include <IOKit/hid/IOHIDLib.h>
43271 IOHIDQueueInterface *qi = NULL;
43272 IOHIDCallbackFunction cb = NULL;
43273 qi->setEventCallout(NULL, cb, NULL, NULL);
43278 rm -f conftest.$ac_objext
43279 if { (ac_try="$ac_compile"
43280 case "(($ac_try" in
43281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43282 *) ac_try_echo=$ac_try;;
43284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43285 (eval "$ac_compile") 2>conftest.er1
43287 grep -v '^ *+' conftest.er1 >conftest.err
43289 cat conftest.err >&5
43290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43291 (exit $ac_status); } && {
43292 test -z "$ac_cxx_werror_flag" ||
43293 test ! -s conftest.err
43294 } && test -s conftest.$ac_objext; then
43298 echo "$as_me: failed program was:" >&5
43299 sed 's/^/| /' conftest.$ac_ext >&5
43304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43306 ac_cpp='$CPP $CPPFLAGS'
43307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43311 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43312 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43316 if test "$wxUSE_MGL" != "1"; then
43317 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43318 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43319 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43320 echo $ECHO_N "(cached) $ECHO_C" >&6
43322 cat >conftest.$ac_ext <<_ACEOF
43325 cat confdefs.h >>conftest.$ac_ext
43326 cat >>conftest.$ac_ext <<_ACEOF
43327 /* end confdefs.h. */
43328 $ac_includes_default
43330 #include <linux/joystick.h>
43332 rm -f conftest.$ac_objext
43333 if { (ac_try="$ac_compile"
43334 case "(($ac_try" in
43335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43336 *) ac_try_echo=$ac_try;;
43338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43339 (eval "$ac_compile") 2>conftest.er1
43341 grep -v '^ *+' conftest.er1 >conftest.err
43343 cat conftest.err >&5
43344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43345 (exit $ac_status); } && {
43346 test -z "$ac_c_werror_flag" ||
43347 test ! -s conftest.err
43348 } && test -s conftest.$ac_objext; then
43349 ac_cv_header_linux_joystick_h=yes
43351 echo "$as_me: failed program was:" >&5
43352 sed 's/^/| /' conftest.$ac_ext >&5
43354 ac_cv_header_linux_joystick_h=no
43357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43359 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43360 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43361 if test $ac_cv_header_linux_joystick_h = yes; then
43369 if test "$wxUSE_JOYSTICK" = "yes"; then
43370 cat >>confdefs.h <<\_ACEOF
43371 #define wxUSE_JOYSTICK 1
43374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43376 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43377 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43383 if test "$wxUSE_FONTMAP" = "yes" ; then
43384 cat >>confdefs.h <<\_ACEOF
43385 #define wxUSE_FONTMAP 1
43390 if test "$wxUSE_UNICODE" = "yes" ; then
43391 cat >>confdefs.h <<\_ACEOF
43392 #define wxUSE_UNICODE 1
43396 if test "$USE_WIN32" != 1; then
43397 wxUSE_UNICODE_MSLU=no
43400 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43401 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43402 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43403 if test "${ac_cv_lib_unicows_main+set}" = set; then
43404 echo $ECHO_N "(cached) $ECHO_C" >&6
43406 ac_check_lib_save_LIBS=$LIBS
43407 LIBS="-lunicows $LIBS"
43408 cat >conftest.$ac_ext <<_ACEOF
43411 cat confdefs.h >>conftest.$ac_ext
43412 cat >>conftest.$ac_ext <<_ACEOF
43413 /* end confdefs.h. */
43424 rm -f conftest.$ac_objext conftest$ac_exeext
43425 if { (ac_try="$ac_link"
43426 case "(($ac_try" in
43427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43428 *) ac_try_echo=$ac_try;;
43430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43431 (eval "$ac_link") 2>conftest.er1
43433 grep -v '^ *+' conftest.er1 >conftest.err
43435 cat conftest.err >&5
43436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437 (exit $ac_status); } && {
43438 test -z "$ac_c_werror_flag" ||
43439 test ! -s conftest.err
43440 } && test -s conftest$ac_exeext &&
43441 $as_test_x conftest$ac_exeext; then
43442 ac_cv_lib_unicows_main=yes
43444 echo "$as_me: failed program was:" >&5
43445 sed 's/^/| /' conftest.$ac_ext >&5
43447 ac_cv_lib_unicows_main=no
43450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43451 conftest$ac_exeext conftest.$ac_ext
43452 LIBS=$ac_check_lib_save_LIBS
43454 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43455 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43456 if test $ac_cv_lib_unicows_main = yes; then
43458 cat >>confdefs.h <<\_ACEOF
43459 #define wxUSE_UNICODE_MSLU 1
43465 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43466 Applications will only run on Windows NT/2000/XP!" >&5
43467 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43468 Applications will only run on Windows NT/2000/XP!" >&2;}
43469 wxUSE_UNICODE_MSLU=no
43476 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43477 cat >>confdefs.h <<\_ACEOF
43478 #define wxUSE_EXPERIMENTAL_PRINTF 1
43484 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43485 cat >>confdefs.h <<\_ACEOF
43486 #define wxUSE_POSTSCRIPT 1
43491 cat >>confdefs.h <<\_ACEOF
43492 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43496 cat >>confdefs.h <<\_ACEOF
43497 #define wxUSE_NORMALIZED_PS_FONTS 1
43502 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43503 cat >>confdefs.h <<\_ACEOF
43504 #define wxUSE_CONSTRAINTS 1
43507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43510 if test "$wxUSE_MDI" = "yes"; then
43511 cat >>confdefs.h <<\_ACEOF
43512 #define wxUSE_MDI 1
43516 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43517 cat >>confdefs.h <<\_ACEOF
43518 #define wxUSE_MDI_ARCHITECTURE 1
43521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43525 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43526 cat >>confdefs.h <<\_ACEOF
43527 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43531 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43536 if test "$wxUSE_HELP" = "yes"; then
43537 cat >>confdefs.h <<\_ACEOF
43538 #define wxUSE_HELP 1
43541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43543 if test "$wxUSE_MSW" = 1; then
43544 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43545 cat >>confdefs.h <<\_ACEOF
43546 #define wxUSE_MS_HTML_HELP 1
43552 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43553 if test "$wxUSE_HTML" = "yes"; then
43554 cat >>confdefs.h <<\_ACEOF
43555 #define wxUSE_WXHTML_HELP 1
43559 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43560 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43561 wxUSE_WXHTML_HELP=no
43566 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43567 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43568 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43569 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43571 cat >>confdefs.h <<\_ACEOF
43572 #define wxUSE_PRINTING_ARCHITECTURE 1
43576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43581 if test "$wxUSE_METAFILE" = "yes"; then
43582 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43583 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43584 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43590 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43591 -o "$wxUSE_CLIPBOARD" = "yes" \
43592 -o "$wxUSE_OLE" = "yes" \
43593 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43594 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43595 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43596 if test "${ac_cv_header_ole2_h+set}" = set; then
43597 echo $ECHO_N "(cached) $ECHO_C" >&6
43599 cat >conftest.$ac_ext <<_ACEOF
43602 cat confdefs.h >>conftest.$ac_ext
43603 cat >>conftest.$ac_ext <<_ACEOF
43604 /* end confdefs.h. */
43609 rm -f conftest.$ac_objext
43610 if { (ac_try="$ac_compile"
43611 case "(($ac_try" in
43612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43613 *) ac_try_echo=$ac_try;;
43615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43616 (eval "$ac_compile") 2>conftest.er1
43618 grep -v '^ *+' conftest.er1 >conftest.err
43620 cat conftest.err >&5
43621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43622 (exit $ac_status); } && {
43623 test -z "$ac_c_werror_flag" ||
43624 test ! -s conftest.err
43625 } && test -s conftest.$ac_objext; then
43626 ac_cv_header_ole2_h=yes
43628 echo "$as_me: failed program was:" >&5
43629 sed 's/^/| /' conftest.$ac_ext >&5
43631 ac_cv_header_ole2_h=no
43634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43636 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43637 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43641 if test "$ac_cv_header_ole2_h" = "yes" ; then
43642 if test "$GCC" = yes ; then
43643 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43644 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43645 cat >conftest.$ac_ext <<_ACEOF
43648 cat confdefs.h >>conftest.$ac_ext
43649 cat >>conftest.$ac_ext <<_ACEOF
43650 /* end confdefs.h. */
43651 #include <windows.h>
43661 rm -f conftest.$ac_objext
43662 if { (ac_try="$ac_compile"
43663 case "(($ac_try" in
43664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43665 *) ac_try_echo=$ac_try;;
43667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43668 (eval "$ac_compile") 2>conftest.er1
43670 grep -v '^ *+' conftest.er1 >conftest.err
43672 cat conftest.err >&5
43673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43674 (exit $ac_status); } && {
43675 test -z "$ac_c_werror_flag" ||
43676 test ! -s conftest.err
43677 } && test -s conftest.$ac_objext; then
43678 { echo "$as_me:$LINENO: result: no" >&5
43679 echo "${ECHO_T}no" >&6; }
43681 echo "$as_me: failed program was:" >&5
43682 sed 's/^/| /' conftest.$ac_ext >&5
43684 { echo "$as_me:$LINENO: result: yes" >&5
43685 echo "${ECHO_T}yes" >&6; }
43686 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43690 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43691 if test "$wxUSE_OLE" = "yes" ; then
43692 cat >>confdefs.h <<\_ACEOF
43693 #define wxUSE_OLE 1
43696 cat >>confdefs.h <<\_ACEOF
43697 #define wxUSE_OLE_AUTOMATION 1
43700 cat >>confdefs.h <<\_ACEOF
43701 #define wxUSE_ACTIVEX 1
43704 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43708 if test "$wxUSE_DATAOBJ" = "yes" ; then
43709 cat >>confdefs.h <<\_ACEOF
43710 #define wxUSE_DATAOBJ 1
43715 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43716 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43719 wxUSE_DRAG_AND_DROP=no
43724 if test "$wxUSE_METAFILE" = "yes"; then
43725 cat >>confdefs.h <<\_ACEOF
43726 #define wxUSE_METAFILE 1
43730 cat >>confdefs.h <<\_ACEOF
43731 #define wxUSE_ENH_METAFILE 1
43737 if test "$wxUSE_IPC" = "yes"; then
43738 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43739 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43740 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43744 if test "$wxUSE_IPC" = "yes"; then
43745 cat >>confdefs.h <<\_ACEOF
43746 #define wxUSE_IPC 1
43749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43753 if test "$wxUSE_DATAOBJ" = "yes"; then
43754 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43755 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43756 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43759 cat >>confdefs.h <<\_ACEOF
43760 #define wxUSE_DATAOBJ 1
43765 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43766 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43768 wxUSE_DRAG_AND_DROP=no
43771 if test "$wxUSE_CLIPBOARD" = "yes"; then
43772 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43773 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43774 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43778 if test "$wxUSE_CLIPBOARD" = "yes"; then
43779 cat >>confdefs.h <<\_ACEOF
43780 #define wxUSE_CLIPBOARD 1
43786 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43787 if test "$wxUSE_GTK" = 1; then
43788 if test "$WXGTK12" != 1; then
43789 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43790 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43791 wxUSE_DRAG_AND_DROP=no
43795 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43796 "$wxUSE_DFB" = 1; then
43797 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43798 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43799 wxUSE_DRAG_AND_DROP=no
43802 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43803 cat >>confdefs.h <<\_ACEOF
43804 #define wxUSE_DRAG_AND_DROP 1
43811 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43815 if test "$wxUSE_SPLINES" = "yes" ; then
43816 cat >>confdefs.h <<\_ACEOF
43817 #define wxUSE_SPLINES 1
43822 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43823 cat >>confdefs.h <<\_ACEOF
43824 #define wxUSE_MOUSEWHEEL 1
43831 if test "$wxUSE_CONTROLS" = "yes"; then
43835 if test "$wxUSE_ACCEL" = "yes"; then
43836 cat >>confdefs.h <<\_ACEOF
43837 #define wxUSE_ACCEL 1
43843 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
43844 cat >>confdefs.h <<\_ACEOF
43845 #define wxUSE_ANIMATIONCTRL 1
43849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
43852 if test "$wxUSE_BUTTON" = "yes"; then
43853 cat >>confdefs.h <<\_ACEOF
43854 #define wxUSE_BUTTON 1
43860 if test "$wxUSE_BMPBUTTON" = "yes"; then
43861 cat >>confdefs.h <<\_ACEOF
43862 #define wxUSE_BMPBUTTON 1
43868 if test "$wxUSE_CALCTRL" = "yes"; then
43869 cat >>confdefs.h <<\_ACEOF
43870 #define wxUSE_CALENDARCTRL 1
43874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
43877 if test "$wxUSE_CARET" = "yes"; then
43878 cat >>confdefs.h <<\_ACEOF
43879 #define wxUSE_CARET 1
43883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
43886 if test "$wxUSE_COLLPANE" = "yes"; then
43887 cat >>confdefs.h <<\_ACEOF
43888 #define wxUSE_COLLPANE 1
43892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
43895 if test "$wxUSE_COMBOBOX" = "yes"; then
43896 cat >>confdefs.h <<\_ACEOF
43897 #define wxUSE_COMBOBOX 1
43903 if test "$wxUSE_COMBOCTRL" = "yes"; then
43904 cat >>confdefs.h <<\_ACEOF
43905 #define wxUSE_COMBOCTRL 1
43911 if test "$wxUSE_CHOICE" = "yes"; then
43912 cat >>confdefs.h <<\_ACEOF
43913 #define wxUSE_CHOICE 1
43919 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43920 cat >>confdefs.h <<\_ACEOF
43921 #define wxUSE_CHOICEBOOK 1
43927 if test "$wxUSE_CHECKBOX" = "yes"; then
43928 cat >>confdefs.h <<\_ACEOF
43929 #define wxUSE_CHECKBOX 1
43935 if test "$wxUSE_CHECKLST" = "yes"; then
43936 cat >>confdefs.h <<\_ACEOF
43937 #define wxUSE_CHECKLISTBOX 1
43941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
43944 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
43945 cat >>confdefs.h <<\_ACEOF
43946 #define wxUSE_COLOURPICKERCTRL 1
43952 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43953 cat >>confdefs.h <<\_ACEOF
43954 #define wxUSE_DATEPICKCTRL 1
43960 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
43961 cat >>confdefs.h <<\_ACEOF
43962 #define wxUSE_DIRPICKERCTRL 1
43968 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
43969 cat >>confdefs.h <<\_ACEOF
43970 #define wxUSE_FILEPICKERCTRL 1
43976 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
43977 cat >>confdefs.h <<\_ACEOF
43978 #define wxUSE_FONTPICKERCTRL 1
43984 if test "$wxUSE_DISPLAY" = "yes"; then
43985 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
43986 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
43987 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
43990 cat >>confdefs.h <<\_ACEOF
43991 #define wxUSE_DISPLAY 1
43994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
43998 if test "$wxUSE_DETECT_SM" = "yes"; then
43999 cat >>confdefs.h <<\_ACEOF
44000 #define wxUSE_DETECT_SM 1
44005 if test "$wxUSE_GAUGE" = "yes"; then
44006 cat >>confdefs.h <<\_ACEOF
44007 #define wxUSE_GAUGE 1
44013 if test "$wxUSE_GRID" = "yes"; then
44014 cat >>confdefs.h <<\_ACEOF
44015 #define wxUSE_GRID 1
44019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44022 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44023 cat >>confdefs.h <<\_ACEOF
44024 #define wxUSE_HYPERLINKCTRL 1
44030 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44031 cat >>confdefs.h <<\_ACEOF
44032 #define wxUSE_BITMAPCOMBOBOX 1
44038 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44039 cat >>confdefs.h <<\_ACEOF
44040 #define wxUSE_DATAVIEWCTRL 1
44044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44047 if test "$wxUSE_IMAGLIST" = "yes"; then
44048 cat >>confdefs.h <<\_ACEOF
44049 #define wxUSE_IMAGLIST 1
44054 if test "$wxUSE_LISTBOOK" = "yes"; then
44055 cat >>confdefs.h <<\_ACEOF
44056 #define wxUSE_LISTBOOK 1
44062 if test "$wxUSE_LISTBOX" = "yes"; then
44063 cat >>confdefs.h <<\_ACEOF
44064 #define wxUSE_LISTBOX 1
44068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44071 if test "$wxUSE_LISTCTRL" = "yes"; then
44072 if test "$wxUSE_IMAGLIST" = "yes"; then
44073 cat >>confdefs.h <<\_ACEOF
44074 #define wxUSE_LISTCTRL 1
44078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44080 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44081 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44085 if test "$wxUSE_NOTEBOOK" = "yes"; then
44086 cat >>confdefs.h <<\_ACEOF
44087 #define wxUSE_NOTEBOOK 1
44091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44094 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44095 cat >>confdefs.h <<\_ACEOF
44096 #define wxUSE_ODCOMBOBOX 1
44100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44104 if test "$wxUSE_RADIOBOX" = "yes"; then
44105 cat >>confdefs.h <<\_ACEOF
44106 #define wxUSE_RADIOBOX 1
44112 if test "$wxUSE_RADIOBTN" = "yes"; then
44113 cat >>confdefs.h <<\_ACEOF
44114 #define wxUSE_RADIOBTN 1
44120 if test "$wxUSE_SASH" = "yes"; then
44121 cat >>confdefs.h <<\_ACEOF
44122 #define wxUSE_SASH 1
44125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44128 if test "$wxUSE_SCROLLBAR" = "yes"; then
44129 cat >>confdefs.h <<\_ACEOF
44130 #define wxUSE_SCROLLBAR 1
44134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44137 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44138 cat >>confdefs.h <<\_ACEOF
44139 #define wxUSE_SEARCHCTRL 1
44145 if test "$wxUSE_SLIDER" = "yes"; then
44146 cat >>confdefs.h <<\_ACEOF
44147 #define wxUSE_SLIDER 1
44153 if test "$wxUSE_SPINBTN" = "yes"; then
44154 cat >>confdefs.h <<\_ACEOF
44155 #define wxUSE_SPINBTN 1
44161 if test "$wxUSE_SPINCTRL" = "yes"; then
44162 cat >>confdefs.h <<\_ACEOF
44163 #define wxUSE_SPINCTRL 1
44169 if test "$wxUSE_SPLITTER" = "yes"; then
44170 cat >>confdefs.h <<\_ACEOF
44171 #define wxUSE_SPLITTER 1
44174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44177 if test "$wxUSE_STATBMP" = "yes"; then
44178 cat >>confdefs.h <<\_ACEOF
44179 #define wxUSE_STATBMP 1
44185 if test "$wxUSE_STATBOX" = "yes"; then
44186 cat >>confdefs.h <<\_ACEOF
44187 #define wxUSE_STATBOX 1
44193 if test "$wxUSE_STATTEXT" = "yes"; then
44194 cat >>confdefs.h <<\_ACEOF
44195 #define wxUSE_STATTEXT 1
44201 if test "$wxUSE_STATLINE" = "yes"; then
44202 cat >>confdefs.h <<\_ACEOF
44203 #define wxUSE_STATLINE 1
44209 if test "$wxUSE_STATUSBAR" = "yes"; then
44210 cat >>confdefs.h <<\_ACEOF
44211 #define wxUSE_NATIVE_STATUSBAR 1
44214 cat >>confdefs.h <<\_ACEOF
44215 #define wxUSE_STATUSBAR 1
44220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44223 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44224 cat >>confdefs.h <<\_ACEOF
44225 #define wxUSE_TAB_DIALOG 1
44230 if test "$wxUSE_TEXTCTRL" = "yes"; then
44231 cat >>confdefs.h <<\_ACEOF
44232 #define wxUSE_TEXTCTRL 1
44236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44239 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44240 if test "$wxUSE_COCOA" = 1 ; then
44241 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44242 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44246 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44247 cat >>confdefs.h <<\_ACEOF
44248 #define wxUSE_TOGGLEBTN 1
44255 if test "$wxUSE_TOOLBAR" = "yes"; then
44256 cat >>confdefs.h <<\_ACEOF
44257 #define wxUSE_TOOLBAR 1
44262 if test "$wxUSE_UNIVERSAL" = "yes"; then
44263 wxUSE_TOOLBAR_NATIVE="no"
44265 wxUSE_TOOLBAR_NATIVE="yes"
44266 cat >>confdefs.h <<\_ACEOF
44267 #define wxUSE_TOOLBAR_NATIVE 1
44272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44275 if test "$wxUSE_TOOLTIPS" = "yes"; then
44276 if test "$wxUSE_MOTIF" = 1; then
44277 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44278 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44280 if test "$wxUSE_UNIVERSAL" = "yes"; then
44281 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44282 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44284 cat >>confdefs.h <<\_ACEOF
44285 #define wxUSE_TOOLTIPS 1
44292 if test "$wxUSE_TREEBOOK" = "yes"; then
44293 cat >>confdefs.h <<\_ACEOF
44294 #define wxUSE_TREEBOOK 1
44300 if test "$wxUSE_TOOLBOOK" = "yes"; then
44301 cat >>confdefs.h <<\_ACEOF
44302 #define wxUSE_TOOLBOOK 1
44308 if test "$wxUSE_TREECTRL" = "yes"; then
44309 if test "$wxUSE_IMAGLIST" = "yes"; then
44310 cat >>confdefs.h <<\_ACEOF
44311 #define wxUSE_TREECTRL 1
44315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44317 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44318 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44322 if test "$wxUSE_POPUPWIN" = "yes"; then
44323 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44324 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44325 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44327 if test "$wxUSE_PM" = 1; then
44328 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44329 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44331 cat >>confdefs.h <<\_ACEOF
44332 #define wxUSE_POPUPWIN 1
44335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44342 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44343 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44344 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44345 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44347 cat >>confdefs.h <<\_ACEOF
44348 #define wxUSE_DIALUP_MANAGER 1
44351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44355 if test "$wxUSE_TIPWINDOW" = "yes"; then
44356 if test "$wxUSE_PM" = 1; then
44357 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44358 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44360 cat >>confdefs.h <<\_ACEOF
44361 #define wxUSE_TIPWINDOW 1
44367 if test "$USES_CONTROLS" = 1; then
44368 cat >>confdefs.h <<\_ACEOF
44369 #define wxUSE_CONTROLS 1
44375 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44376 cat >>confdefs.h <<\_ACEOF
44377 #define wxUSE_ACCESSIBILITY 1
44380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44383 if test "$wxUSE_DC_CACHEING" = "yes"; then
44384 cat >>confdefs.h <<\_ACEOF
44385 #define wxUSE_DC_CACHEING 1
44390 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44391 cat >>confdefs.h <<\_ACEOF
44392 #define wxUSE_DRAGIMAGE 1
44395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44398 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44399 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44400 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44401 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44403 cat >>confdefs.h <<\_ACEOF
44404 #define wxUSE_EXCEPTIONS 1
44407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44412 if test "$wxUSE_HTML" = "yes"; then
44413 cat >>confdefs.h <<\_ACEOF
44414 #define wxUSE_HTML 1
44418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44419 if test "$wxUSE_MAC" = 1; then
44420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44423 if test "$wxUSE_WEBKIT" = "yes"; then
44424 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44425 old_CPPFLAGS="$CPPFLAGS"
44426 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44427 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44428 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44429 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44430 echo $ECHO_N "(cached) $ECHO_C" >&6
44432 cat >conftest.$ac_ext <<_ACEOF
44435 cat confdefs.h >>conftest.$ac_ext
44436 cat >>conftest.$ac_ext <<_ACEOF
44437 /* end confdefs.h. */
44439 #include <Carbon/Carbon.h>
44440 #include <WebKit/WebKit.h>
44443 #include <WebKit/HIWebView.h>
44445 rm -f conftest.$ac_objext
44446 if { (ac_try="$ac_compile"
44447 case "(($ac_try" in
44448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44449 *) ac_try_echo=$ac_try;;
44451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44452 (eval "$ac_compile") 2>conftest.er1
44454 grep -v '^ *+' conftest.er1 >conftest.err
44456 cat conftest.err >&5
44457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44458 (exit $ac_status); } && {
44459 test -z "$ac_c_werror_flag" ||
44460 test ! -s conftest.err
44461 } && test -s conftest.$ac_objext; then
44462 ac_cv_header_WebKit_HIWebView_h=yes
44464 echo "$as_me: failed program was:" >&5
44465 sed 's/^/| /' conftest.$ac_ext >&5
44467 ac_cv_header_WebKit_HIWebView_h=no
44470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44472 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44473 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44474 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44476 cat >>confdefs.h <<\_ACEOF
44477 #define wxUSE_WEBKIT 1
44480 WEBKIT_LINK="-framework WebKit"
44484 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44485 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44491 CPPFLAGS="$old_CPPFLAGS"
44492 elif test "$wxUSE_COCOA" = 1; then
44493 cat >>confdefs.h <<\_ACEOF
44494 #define wxUSE_WEBKIT 1
44503 if test "$wxUSE_XRC" = "yes"; then
44504 if test "$wxUSE_XML" != "yes"; then
44505 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44506 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44509 cat >>confdefs.h <<\_ACEOF
44510 #define wxUSE_XRC 1
44514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44519 if test "$wxUSE_AUI" = "yes"; then
44520 cat >>confdefs.h <<\_ACEOF
44521 #define wxUSE_AUI 1
44525 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44529 if test "$wxUSE_STC" = "yes"; then
44530 cat >>confdefs.h <<\_ACEOF
44531 #define wxUSE_STC 1
44535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44538 if test "$wxUSE_MENUS" = "yes"; then
44539 cat >>confdefs.h <<\_ACEOF
44540 #define wxUSE_MENUS 1
44543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44546 if test "$wxUSE_METAFILE" = "yes"; then
44547 cat >>confdefs.h <<\_ACEOF
44548 #define wxUSE_METAFILE 1
44553 if test "$wxUSE_MIMETYPE" = "yes"; then
44554 cat >>confdefs.h <<\_ACEOF
44555 #define wxUSE_MIMETYPE 1
44560 if test "$wxUSE_MINIFRAME" = "yes"; then
44561 cat >>confdefs.h <<\_ACEOF
44562 #define wxUSE_MINIFRAME 1
44565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44568 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44569 cat >>confdefs.h <<\_ACEOF
44570 #define wxUSE_SYSTEM_OPTIONS 1
44573 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44574 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44580 if test "$wxUSE_VALIDATORS" = "yes"; then
44581 cat >>confdefs.h <<\_ACEOF
44582 #define wxUSE_VALIDATORS 1
44585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44588 if test "$wxUSE_PALETTE" = "yes" ; then
44589 if test "$wxUSE_DFB" = 1; then
44590 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44591 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44594 cat >>confdefs.h <<\_ACEOF
44595 #define wxUSE_PALETTE 1
44601 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44602 LIBS=" -lunicows $LIBS"
44606 if test "$wxUSE_RICHTEXT" = "yes"; then
44607 cat >>confdefs.h <<\_ACEOF
44608 #define wxUSE_RICHTEXT 1
44612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44616 if test "$wxUSE_IMAGE" = "yes" ; then
44617 cat >>confdefs.h <<\_ACEOF
44618 #define wxUSE_IMAGE 1
44622 if test "$wxUSE_GIF" = "yes" ; then
44623 cat >>confdefs.h <<\_ACEOF
44624 #define wxUSE_GIF 1
44629 if test "$wxUSE_PCX" = "yes" ; then
44630 cat >>confdefs.h <<\_ACEOF
44631 #define wxUSE_PCX 1
44636 if test "$wxUSE_TGA" = "yes" ; then
44637 cat >>confdefs.h <<\_ACEOF
44638 #define wxUSE_TGA 1
44643 if test "$wxUSE_IFF" = "yes" ; then
44644 cat >>confdefs.h <<\_ACEOF
44645 #define wxUSE_IFF 1
44650 if test "$wxUSE_PNM" = "yes" ; then
44651 cat >>confdefs.h <<\_ACEOF
44652 #define wxUSE_PNM 1
44657 if test "$wxUSE_XPM" = "yes" ; then
44658 cat >>confdefs.h <<\_ACEOF
44659 #define wxUSE_XPM 1
44664 if test "$wxUSE_ICO_CUR" = "yes" ; then
44665 cat >>confdefs.h <<\_ACEOF
44666 #define wxUSE_ICO_CUR 1
44673 if test "$wxUSE_ABOUTDLG" = "yes"; then
44674 cat >>confdefs.h <<\_ACEOF
44675 #define wxUSE_ABOUTDLG 1
44680 if test "$wxUSE_CHOICEDLG" = "yes"; then
44681 cat >>confdefs.h <<\_ACEOF
44682 #define wxUSE_CHOICEDLG 1
44687 if test "$wxUSE_COLOURDLG" = "yes"; then
44688 cat >>confdefs.h <<\_ACEOF
44689 #define wxUSE_COLOURDLG 1
44694 if test "$wxUSE_FILEDLG" = "yes"; then
44695 cat >>confdefs.h <<\_ACEOF
44696 #define wxUSE_FILEDLG 1
44701 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44702 cat >>confdefs.h <<\_ACEOF
44703 #define wxUSE_FINDREPLDLG 1
44708 if test "$wxUSE_FONTDLG" = "yes"; then
44709 cat >>confdefs.h <<\_ACEOF
44710 #define wxUSE_FONTDLG 1
44715 if test "$wxUSE_DIRDLG" = "yes"; then
44716 if test "$wxUSE_TREECTRL" != "yes"; then
44717 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44718 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44720 cat >>confdefs.h <<\_ACEOF
44721 #define wxUSE_DIRDLG 1
44727 if test "$wxUSE_MSGDLG" = "yes"; then
44728 cat >>confdefs.h <<\_ACEOF
44729 #define wxUSE_MSGDLG 1
44734 if test "$wxUSE_NUMBERDLG" = "yes"; then
44735 cat >>confdefs.h <<\_ACEOF
44736 #define wxUSE_NUMBERDLG 1
44741 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44742 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44743 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44744 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44746 cat >>confdefs.h <<\_ACEOF
44747 #define wxUSE_PROGRESSDLG 1
44753 if test "$wxUSE_SPLASH" = "yes"; then
44754 cat >>confdefs.h <<\_ACEOF
44755 #define wxUSE_SPLASH 1
44758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44761 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44762 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44763 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44764 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44766 cat >>confdefs.h <<\_ACEOF
44767 #define wxUSE_STARTUP_TIPS 1
44773 if test "$wxUSE_TEXTDLG" = "yes"; then
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_TEXTDLG 1
44780 if test "$wxUSE_WIZARDDLG" = "yes"; then
44781 cat >>confdefs.h <<\_ACEOF
44782 #define wxUSE_WIZARDDLG 1
44785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44789 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44790 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44791 cat >>confdefs.h <<\_ACEOF
44792 #define wxUSE_GRAPHICS_CONTEXT 1
44795 elif test "$wxUSE_GTK" != 1; then
44796 cat >>confdefs.h <<\_ACEOF
44797 #define wxUSE_GRAPHICS_CONTEXT 1
44803 { echo "$as_me:$LINENO: checking for CAIRO" >&5
44804 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
44806 if test -n "$PKG_CONFIG"; then
44807 if test -n "$CAIRO_CFLAGS"; then
44808 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
44810 if test -n "$PKG_CONFIG" && \
44811 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44812 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44815 (exit $ac_status); }; then
44816 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
44824 if test -n "$PKG_CONFIG"; then
44825 if test -n "$CAIRO_LIBS"; then
44826 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
44828 if test -n "$PKG_CONFIG" && \
44829 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44830 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44833 (exit $ac_status); }; then
44834 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
44845 if test $pkg_failed = yes; then
44847 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44848 _pkg_short_errors_supported=yes
44850 _pkg_short_errors_supported=no
44852 if test $_pkg_short_errors_supported = yes; then
44853 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
44855 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
44857 # Put the nasty error message in config.log where it belongs
44858 echo "$CAIRO_PKG_ERRORS" >&5
44860 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44861 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44863 elif test $pkg_failed = untried; then
44864 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44865 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44868 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
44869 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
44870 { echo "$as_me:$LINENO: result: yes" >&5
44871 echo "${ECHO_T}yes" >&6; }
44872 cat >>confdefs.h <<\_ACEOF
44873 #define wxUSE_GRAPHICS_CONTEXT 1
44883 if test "$wxUSE_MEDIACTRL" = "yes"; then
44886 if test "$wxUSE_GTK" = 1; then
44887 wxUSE_GSTREAMER="no"
44889 GST_VERSION_MAJOR=0
44890 GST_VERSION_MINOR=10
44891 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
44893 if test "$wxUSE_GSTREAMER8" = "no"; then
44896 { echo "$as_me:$LINENO: checking for GST" >&5
44897 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
44899 if test -n "$PKG_CONFIG"; then
44900 if test -n "$GST_CFLAGS"; then
44901 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
44903 if test -n "$PKG_CONFIG" && \
44904 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44905 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44908 (exit $ac_status); }; then
44909 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
44917 if test -n "$PKG_CONFIG"; then
44918 if test -n "$GST_LIBS"; then
44919 pkg_cv_GST_LIBS="$GST_LIBS"
44921 if test -n "$PKG_CONFIG" && \
44922 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44923 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44926 (exit $ac_status); }; then
44927 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
44938 if test $pkg_failed = yes; then
44940 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44941 _pkg_short_errors_supported=yes
44943 _pkg_short_errors_supported=no
44945 if test $_pkg_short_errors_supported = yes; then
44946 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
44948 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
44950 # Put the nasty error message in config.log where it belongs
44951 echo "$GST_PKG_ERRORS" >&5
44954 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
44955 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
44956 GST_VERSION_MINOR=8
44959 elif test $pkg_failed = untried; then
44961 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
44962 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
44963 GST_VERSION_MINOR=8
44967 GST_CFLAGS=$pkg_cv_GST_CFLAGS
44968 GST_LIBS=$pkg_cv_GST_LIBS
44969 { echo "$as_me:$LINENO: result: yes" >&5
44970 echo "${ECHO_T}yes" >&6; }
44972 wxUSE_GSTREAMER="yes"
44973 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
44977 GST_VERSION_MINOR=8
44980 if test $GST_VERSION_MINOR = "8"; then
44981 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
44984 { echo "$as_me:$LINENO: checking for GST" >&5
44985 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
44987 if test -n "$PKG_CONFIG"; then
44988 if test -n "$GST_CFLAGS"; then
44989 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
44991 if test -n "$PKG_CONFIG" && \
44992 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
44993 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
44995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44996 (exit $ac_status); }; then
44997 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45005 if test -n "$PKG_CONFIG"; then
45006 if test -n "$GST_LIBS"; then
45007 pkg_cv_GST_LIBS="$GST_LIBS"
45009 if test -n "$PKG_CONFIG" && \
45010 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45011 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45014 (exit $ac_status); }; then
45015 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45026 if test $pkg_failed = yes; then
45028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45029 _pkg_short_errors_supported=yes
45031 _pkg_short_errors_supported=no
45033 if test $_pkg_short_errors_supported = yes; then
45034 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45036 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45038 # Put the nasty error message in config.log where it belongs
45039 echo "$GST_PKG_ERRORS" >&5
45042 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45043 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45045 elif test $pkg_failed = untried; then
45047 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45048 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45051 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45052 GST_LIBS=$pkg_cv_GST_LIBS
45053 { echo "$as_me:$LINENO: result: yes" >&5
45054 echo "${ECHO_T}yes" >&6; }
45055 wxUSE_GSTREAMER="yes"
45060 if test "$wxUSE_GSTREAMER" = "yes"; then
45063 if "$GCC" = yes; then
45064 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45065 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45069 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45070 LIBS="$GST_LIBS $LIBS"
45072 cat >>confdefs.h <<\_ACEOF
45073 #define wxUSE_GSTREAMER 1
45081 if test $USE_MEDIA = 1; then
45082 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45083 cat >>confdefs.h <<\_ACEOF
45084 #define wxUSE_MEDIACTRL 1
45091 if test "$cross_compiling" = "yes"; then
45094 OSINFO=`uname -s -r -m`
45095 OSINFO="\"$OSINFO\""
45098 cat >>confdefs.h <<_ACEOF
45099 #define WXWIN_OS_DESCRIPTION $OSINFO
45104 if test "x$prefix" != "xNONE"; then
45107 wxPREFIX=$ac_default_prefix
45110 cat >>confdefs.h <<_ACEOF
45111 #define wxINSTALL_PREFIX "$wxPREFIX"
45117 CORE_BASE_LIBS="net base"
45118 CORE_GUI_LIBS="adv core"
45120 if test "$wxUSE_XML" = "yes" ; then
45121 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45123 if test "$wxUSE_ODBC" != "no" ; then
45124 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45125 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45127 if test "$wxUSE_HTML" = "yes" ; then
45128 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45130 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45131 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45133 if test "$wxUSE_XRC" = "yes" ; then
45134 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45136 if test "$wxUSE_AUI" = "yes" ; then
45137 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45139 if test "$wxUSE_STC" = "yes" ; then
45140 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45143 if test "$wxUSE_GUI" != "yes"; then
45152 if test "$wxUSE_MAC" = 1 ; then
45153 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45154 if test "$USE_DARWIN" = 1; then
45155 LDFLAGS="$LDFLAGS -framework QuickTime"
45157 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45160 if test "$USE_DARWIN" = 1; then
45161 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45163 LDFLAGS="$LDFLAGS -lCarbonLib"
45166 if test "$wxUSE_COCOA" = 1 ; then
45167 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45168 if test "$wxUSE_MEDIACTRL" = "yes"; then
45169 LDFLAGS="$LDFLAGS -framework QuickTime"
45172 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45173 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45176 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45178 if test "$wxUSE_GUI" = "yes"; then
45181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45182 dynamic erase event exec font image minimal mobile \
45183 mobile/wxedit mobile/styles propsize render \
45184 rotate shaped svg taborder vscroll widgets"
45186 if test "$wxUSE_MONOLITHIC" != "yes"; then
45187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45189 if test "$TOOLKIT" = "MSW"; then
45190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45191 if test "$wxUSE_UNIVERSAL" != "yes"; then
45192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45195 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45196 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45199 SAMPLES_SUBDIRS="console"
45203 if test "x$INTELCC" = "xyes" ; then
45204 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45205 elif test "$GCC" = yes ; then
45206 CWARNINGS="-Wall -Wundef"
45209 if test "x$INTELCXX" = "xyes" ; then
45210 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45211 elif test "$GXX" = yes ; then
45212 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45216 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45217 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45220 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45221 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45222 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45225 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45226 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45227 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45229 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45232 if test "x$MWCC" = "xyes"; then
45234 CC="$CC -cwd source -I-"
45235 CXX="$CXX -cwd source -I-"
45240 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45241 EXTRALIBS_XML="$EXPAT_LINK"
45242 EXTRALIBS_HTML="$MSPACK_LINK"
45243 EXTRALIBS_ODBC="$ODBC_LINK"
45244 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45245 if test "$wxUSE_GUI" = "yes"; then
45246 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45248 if test "$wxUSE_OPENGL" = "yes"; then
45249 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45252 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45254 WXCONFIG_LIBS="$LIBS"
45256 if test "$wxUSE_REGEX" = "builtin" ; then
45257 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45259 if test "$wxUSE_EXPAT" = "builtin" ; then
45260 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45262 if test "$wxUSE_ODBC" = "builtin" ; then
45263 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45265 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45266 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45268 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45269 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45271 if test "$wxUSE_LIBPNG" = "builtin" ; then
45272 wxconfig_3rdparty="png $wxconfig_3rdparty"
45274 if test "$wxUSE_ZLIB" = "builtin" ; then
45275 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45278 for i in $wxconfig_3rdparty ; do
45279 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45283 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45286 case "$wxUNIV_THEMES" in
45288 cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_ALL_THEMES 1
45295 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45296 cat >>confdefs.h <<_ACEOF
45297 #define wxUSE_THEME_$t 1
45314 if test $wxUSE_MONOLITHIC = "yes" ; then
45320 if test $wxUSE_PLUGINS = "yes" ; then
45326 if test $wxUSE_ODBC != "no" ; then
45332 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45338 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45368 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45379 TOOLKIT_DESC="GTK+"
45380 if test "$WXGTK20" = 1; then
45381 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45382 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45383 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45385 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45386 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45388 if test "$wxUSE_LIBHILDON" = "yes"; then
45389 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45392 if test "$TOOLKIT_EXTRA" != ""; then
45393 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45399 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45403 TOOLKIT_DESC="base only"
45407 if test "$wxUSE_WINE" = "yes"; then
45408 BAKEFILE_FORCE_PLATFORM=win32
45411 if test "$wxUSE_MAC" = 1 ; then
45412 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45413 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45414 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45416 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45418 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45419 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45420 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45421 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45424 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45425 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45428 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45430 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45431 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45432 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45433 echo $ECHO_N "(cached) $ECHO_C" >&6
45436 echo '#include <stdio.h>
45437 const wchar_t test_var[] = L"awidetest";' > conftest.h
45439 echo '#include "conftest.h"
45442 printf("%ls", test_var);
45446 wx_cv_gcc_pch_bug="pch not supported"
45448 if $CXX conftest.h >/dev/null 2>&1
45452 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45454 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45455 grep awidetest >/dev/null
45457 wx_cv_gcc_pch_bug=no
45459 wx_cv_gcc_pch_bug=yes
45464 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45467 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45468 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45470 if test "$wx_cv_gcc_pch_bug" = yes; then
45478 if test "x$BAKEFILE_HOST" = "x"; then
45479 if test "x${host}" = "x" ; then
45480 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45481 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45482 { (exit 1); exit 1; }; }
45485 BAKEFILE_HOST="${host}"
45488 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45490 if test -n "$ac_tool_prefix"; then
45491 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45492 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45495 if test "${ac_cv_prog_RANLIB+set}" = set; then
45496 echo $ECHO_N "(cached) $ECHO_C" >&6
45498 if test -n "$RANLIB"; then
45499 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45502 for as_dir in $PATH
45505 test -z "$as_dir" && as_dir=.
45506 for ac_exec_ext in '' $ac_executable_extensions; do
45507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45508 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45518 RANLIB=$ac_cv_prog_RANLIB
45519 if test -n "$RANLIB"; then
45520 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45521 echo "${ECHO_T}$RANLIB" >&6; }
45523 { echo "$as_me:$LINENO: result: no" >&5
45524 echo "${ECHO_T}no" >&6; }
45529 if test -z "$ac_cv_prog_RANLIB"; then
45530 ac_ct_RANLIB=$RANLIB
45531 # Extract the first word of "ranlib", so it can be a program name with args.
45532 set dummy ranlib; ac_word=$2
45533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45535 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45536 echo $ECHO_N "(cached) $ECHO_C" >&6
45538 if test -n "$ac_ct_RANLIB"; then
45539 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45542 for as_dir in $PATH
45545 test -z "$as_dir" && as_dir=.
45546 for ac_exec_ext in '' $ac_executable_extensions; do
45547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45548 ac_cv_prog_ac_ct_RANLIB="ranlib"
45549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45558 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45559 if test -n "$ac_ct_RANLIB"; then
45560 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45561 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45563 { echo "$as_me:$LINENO: result: no" >&5
45564 echo "${ECHO_T}no" >&6; }
45567 if test "x$ac_ct_RANLIB" = x; then
45570 case $cross_compiling:$ac_tool_warned in
45572 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45573 whose name does not start with the host triplet. If you think this
45574 configuration is useful to you, please write to autoconf@gnu.org." >&5
45575 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45576 whose name does not start with the host triplet. If you think this
45577 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45578 ac_tool_warned=yes ;;
45580 RANLIB=$ac_ct_RANLIB
45583 RANLIB="$ac_cv_prog_RANLIB"
45586 # Find a good install program. We prefer a C program (faster),
45587 # so one script is as good as another. But avoid the broken or
45588 # incompatible versions:
45589 # SysV /etc/install, /usr/sbin/install
45590 # SunOS /usr/etc/install
45591 # IRIX /sbin/install
45593 # AmigaOS /C/install, which installs bootblocks on floppy discs
45594 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45595 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45596 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45597 # OS/2's system install, which has a completely different semantic
45598 # ./install, which can be erroneously created by make from ./install.sh.
45599 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45600 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45601 if test -z "$INSTALL"; then
45602 if test "${ac_cv_path_install+set}" = set; then
45603 echo $ECHO_N "(cached) $ECHO_C" >&6
45605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45606 for as_dir in $PATH
45609 test -z "$as_dir" && as_dir=.
45610 # Account for people who put trailing slashes in PATH elements.
45612 ./ | .// | /cC/* | \
45613 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45614 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45617 # OSF1 and SCO ODT 3.0 have their own names for install.
45618 # Don't use installbsd from OSF since it installs stuff as root
45620 for ac_prog in ginstall scoinst install; do
45621 for ac_exec_ext in '' $ac_executable_extensions; do
45622 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45623 if test $ac_prog = install &&
45624 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45625 # AIX install. It has an incompatible calling convention.
45627 elif test $ac_prog = install &&
45628 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45629 # program-specific install script used by HP pwplus--don't use.
45632 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45645 if test "${ac_cv_path_install+set}" = set; then
45646 INSTALL=$ac_cv_path_install
45648 # As a last resort, use the slow shell script. Don't cache a
45649 # value for INSTALL within a source directory, because that will
45650 # break other packages using the cache if that directory is
45651 # removed, or if the value is a relative name.
45652 INSTALL=$ac_install_sh
45655 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45656 echo "${ECHO_T}$INSTALL" >&6; }
45658 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45659 # It thinks the first close brace ends the variable substitution.
45660 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45662 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45664 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45666 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45667 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45669 if test "$LN_S" = "ln -s"; then
45670 { echo "$as_me:$LINENO: result: yes" >&5
45671 echo "${ECHO_T}yes" >&6; }
45673 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45674 echo "${ECHO_T}no, using $LN_S" >&6; }
45678 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45679 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45680 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45681 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45682 echo $ECHO_N "(cached) $ECHO_C" >&6
45684 cat >conftest.make <<\_ACEOF
45687 @echo '@@@%%%=$(MAKE)=@@@%%%'
45689 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45690 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45691 *@@@%%%=?*=@@@%%%*)
45692 eval ac_cv_prog_make_${ac_make}_set=yes;;
45694 eval ac_cv_prog_make_${ac_make}_set=no;;
45696 rm -f conftest.make
45698 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45699 { echo "$as_me:$LINENO: result: yes" >&5
45700 echo "${ECHO_T}yes" >&6; }
45703 { echo "$as_me:$LINENO: result: no" >&5
45704 echo "${ECHO_T}no" >&6; }
45705 SET_MAKE="MAKE=${MAKE-make}"
45710 if test "x$SUNCXX" = "xyes"; then
45712 AROPTIONS="-xar -o"
45714 elif test "x$SGICC" = "xyes"; then
45719 if test -n "$ac_tool_prefix"; then
45720 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45721 set dummy ${ac_tool_prefix}ar; ac_word=$2
45722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45724 if test "${ac_cv_prog_AR+set}" = set; then
45725 echo $ECHO_N "(cached) $ECHO_C" >&6
45727 if test -n "$AR"; then
45728 ac_cv_prog_AR="$AR" # Let the user override the test.
45730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45731 for as_dir in $PATH
45734 test -z "$as_dir" && as_dir=.
45735 for ac_exec_ext in '' $ac_executable_extensions; do
45736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45737 ac_cv_prog_AR="${ac_tool_prefix}ar"
45738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45748 if test -n "$AR"; then
45749 { echo "$as_me:$LINENO: result: $AR" >&5
45750 echo "${ECHO_T}$AR" >&6; }
45752 { echo "$as_me:$LINENO: result: no" >&5
45753 echo "${ECHO_T}no" >&6; }
45758 if test -z "$ac_cv_prog_AR"; then
45760 # Extract the first word of "ar", so it can be a program name with args.
45761 set dummy ar; ac_word=$2
45762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45764 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45765 echo $ECHO_N "(cached) $ECHO_C" >&6
45767 if test -n "$ac_ct_AR"; then
45768 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45771 for as_dir in $PATH
45774 test -z "$as_dir" && as_dir=.
45775 for ac_exec_ext in '' $ac_executable_extensions; do
45776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45777 ac_cv_prog_ac_ct_AR="ar"
45778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45787 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45788 if test -n "$ac_ct_AR"; then
45789 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45790 echo "${ECHO_T}$ac_ct_AR" >&6; }
45792 { echo "$as_me:$LINENO: result: no" >&5
45793 echo "${ECHO_T}no" >&6; }
45796 if test "x$ac_ct_AR" = x; then
45799 case $cross_compiling:$ac_tool_warned in
45801 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45802 whose name does not start with the host triplet. If you think this
45803 configuration is useful to you, please write to autoconf@gnu.org." >&5
45804 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45805 whose name does not start with the host triplet. If you think this
45806 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45807 ac_tool_warned=yes ;;
45812 AR="$ac_cv_prog_AR"
45819 if test -n "$ac_tool_prefix"; then
45820 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45821 set dummy ${ac_tool_prefix}strip; ac_word=$2
45822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45824 if test "${ac_cv_prog_STRIP+set}" = set; then
45825 echo $ECHO_N "(cached) $ECHO_C" >&6
45827 if test -n "$STRIP"; then
45828 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
45830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45831 for as_dir in $PATH
45834 test -z "$as_dir" && as_dir=.
45835 for ac_exec_ext in '' $ac_executable_extensions; do
45836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45837 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45847 STRIP=$ac_cv_prog_STRIP
45848 if test -n "$STRIP"; then
45849 { echo "$as_me:$LINENO: result: $STRIP" >&5
45850 echo "${ECHO_T}$STRIP" >&6; }
45852 { echo "$as_me:$LINENO: result: no" >&5
45853 echo "${ECHO_T}no" >&6; }
45858 if test -z "$ac_cv_prog_STRIP"; then
45860 # Extract the first word of "strip", so it can be a program name with args.
45861 set dummy strip; ac_word=$2
45862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45864 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45865 echo $ECHO_N "(cached) $ECHO_C" >&6
45867 if test -n "$ac_ct_STRIP"; then
45868 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
45870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45871 for as_dir in $PATH
45874 test -z "$as_dir" && as_dir=.
45875 for ac_exec_ext in '' $ac_executable_extensions; do
45876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45877 ac_cv_prog_ac_ct_STRIP="strip"
45878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45887 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
45888 if test -n "$ac_ct_STRIP"; then
45889 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45890 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
45892 { echo "$as_me:$LINENO: result: no" >&5
45893 echo "${ECHO_T}no" >&6; }
45896 if test "x$ac_ct_STRIP" = x; then
45899 case $cross_compiling:$ac_tool_warned in
45901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45902 whose name does not start with the host triplet. If you think this
45903 configuration is useful to you, please write to autoconf@gnu.org." >&5
45904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45905 whose name does not start with the host triplet. If you think this
45906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45907 ac_tool_warned=yes ;;
45912 STRIP="$ac_cv_prog_STRIP"
45915 if test -n "$ac_tool_prefix"; then
45916 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45917 set dummy ${ac_tool_prefix}nm; ac_word=$2
45918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45920 if test "${ac_cv_prog_NM+set}" = set; then
45921 echo $ECHO_N "(cached) $ECHO_C" >&6
45923 if test -n "$NM"; then
45924 ac_cv_prog_NM="$NM" # Let the user override the test.
45926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45927 for as_dir in $PATH
45930 test -z "$as_dir" && as_dir=.
45931 for ac_exec_ext in '' $ac_executable_extensions; do
45932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45933 ac_cv_prog_NM="${ac_tool_prefix}nm"
45934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45944 if test -n "$NM"; then
45945 { echo "$as_me:$LINENO: result: $NM" >&5
45946 echo "${ECHO_T}$NM" >&6; }
45948 { echo "$as_me:$LINENO: result: no" >&5
45949 echo "${ECHO_T}no" >&6; }
45954 if test -z "$ac_cv_prog_NM"; then
45956 # Extract the first word of "nm", so it can be a program name with args.
45957 set dummy nm; ac_word=$2
45958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45960 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45961 echo $ECHO_N "(cached) $ECHO_C" >&6
45963 if test -n "$ac_ct_NM"; then
45964 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
45966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45967 for as_dir in $PATH
45970 test -z "$as_dir" && as_dir=.
45971 for ac_exec_ext in '' $ac_executable_extensions; do
45972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45973 ac_cv_prog_ac_ct_NM="nm"
45974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45983 ac_ct_NM=$ac_cv_prog_ac_ct_NM
45984 if test -n "$ac_ct_NM"; then
45985 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45986 echo "${ECHO_T}$ac_ct_NM" >&6; }
45988 { echo "$as_me:$LINENO: result: no" >&5
45989 echo "${ECHO_T}no" >&6; }
45992 if test "x$ac_ct_NM" = x; then
45995 case $cross_compiling:$ac_tool_warned in
45997 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45998 whose name does not start with the host triplet. If you think this
45999 configuration is useful to you, please write to autoconf@gnu.org." >&5
46000 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46001 whose name does not start with the host triplet. If you think this
46002 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46003 ac_tool_warned=yes ;;
46008 NM="$ac_cv_prog_NM"
46012 case ${BAKEFILE_HOST} in
46014 INSTALL_DIR="mkdir -p"
46017 INSTALL_DIR='$(INSTALL) -d'
46023 case ${BAKEFILE_HOST} in
46024 *-*-cygwin* | *-*-mingw32* )
46025 LDFLAGS_GUI="-mwindows"
46031 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46032 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46033 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46034 echo $ECHO_N "(cached) $ECHO_C" >&6
46037 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46038 egrep -s GNU > /dev/null); then
46039 bakefile_cv_prog_makeisgnu="yes"
46041 bakefile_cv_prog_makeisgnu="no"
46045 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46046 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46048 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46065 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46066 case "${BAKEFILE_HOST}" in
46073 *-pc-os2_emx | *-pc-os2-emx )
46083 powerpc-apple-macos* )
46092 case "$BAKEFILE_FORCE_PLATFORM" in
46127 # Check whether --enable-omf was given.
46128 if test "${enable_omf+set}" = set; then
46129 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46133 case "${BAKEFILE_HOST}" in
46135 if test "x$GCC" = "xyes"; then
46136 CFLAGS="$CFLAGS -fno-common"
46137 CXXFLAGS="$CXXFLAGS -fno-common"
46139 if test "x$XLCC" = "xyes"; then
46140 CFLAGS="$CFLAGS -qnocommon"
46141 CXXFLAGS="$CXXFLAGS -qnocommon"
46145 *-pc-os2_emx | *-pc-os2-emx )
46146 if test "x$bk_os2_use_omf" = "xyes" ; then
46149 LDFLAGS="-Zomf $LDFLAGS"
46150 CFLAGS="-Zomf $CFLAGS"
46151 CXXFLAGS="-Zomf $CXXFLAGS"
46159 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46165 SO_SUFFIX_MODULE="so"
46170 DLLPREFIX_MODULE=""
46174 case "${BAKEFILE_HOST}" in
46177 SO_SUFFIX_MODULE="sl"
46181 SO_SUFFIX_MODULE="a"
46185 SO_SUFFIX_MODULE="dll"
46186 DLLIMP_SUFFIX="dll.a"
46193 SO_SUFFIX_MODULE="dll"
46194 DLLIMP_SUFFIX="dll.a"
46204 *-pc-os2_emx | *-pc-os2-emx )
46206 SO_SUFFIX_MODULE="dll"
46207 DLLIMP_SUFFIX=$OS2_LIBEXT
46211 LIBEXT=".$OS2_LIBEXT"
46216 SO_SUFFIX_MODULE="bundle"
46220 if test "x$DLLIMP_SUFFIX" = "x" ; then
46221 DLLIMP_SUFFIX="$SO_SUFFIX"
46236 if test "x$GCC" = "xyes"; then
46240 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46241 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46244 case "${BAKEFILE_HOST}" in
46246 if test "x$GCC" != "xyes"; then
46247 LDFLAGS="$LDFLAGS -L/usr/lib"
46249 SHARED_LD_CC="${CC} -b -o"
46250 SHARED_LD_CXX="${CXX} -b -o"
46256 if test "x$GCC" != "xyes"; then
46257 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46258 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46259 if test "${bakefile_cv_prog_icc+set}" = set; then
46260 echo $ECHO_N "(cached) $ECHO_C" >&6
46263 cat >conftest.$ac_ext <<_ACEOF
46266 cat confdefs.h >>conftest.$ac_ext
46267 cat >>conftest.$ac_ext <<_ACEOF
46268 /* end confdefs.h. */
46274 #ifndef __INTEL_COMPILER
46282 rm -f conftest.$ac_objext
46283 if { (ac_try="$ac_compile"
46284 case "(($ac_try" in
46285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46286 *) ac_try_echo=$ac_try;;
46288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46289 (eval "$ac_compile") 2>conftest.er1
46291 grep -v '^ *+' conftest.er1 >conftest.err
46293 cat conftest.err >&5
46294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46295 (exit $ac_status); } && {
46296 test -z "$ac_c_werror_flag" ||
46297 test ! -s conftest.err
46298 } && test -s conftest.$ac_objext; then
46299 bakefile_cv_prog_icc=yes
46301 echo "$as_me: failed program was:" >&5
46302 sed 's/^/| /' conftest.$ac_ext >&5
46304 bakefile_cv_prog_icc=no
46308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46311 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46312 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46313 if test "$bakefile_cv_prog_icc" = "yes"; then
46320 if test "x$GCC" != xyes ; then
46321 SHARED_LD_CC="${CC} -G -o"
46322 SHARED_LD_CXX="${CXX} -G -o"
46330 cat <<EOF >shared-ld-sh
46332 #-----------------------------------------------------------------------------
46333 #-- Name: distrib/mac/shared-ld-sh
46334 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46335 #-- Author: Gilles Depeyrot
46336 #-- Copyright: (c) 2002 Gilles Depeyrot
46337 #-- Licence: any use permitted
46338 #-----------------------------------------------------------------------------
46343 linking_flag="-dynamiclib"
46344 ldargs="-r -keep_private_externs -nostdlib"
46346 while test ${D}# -gt 0; do
46353 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46354 # collect these options and values
46355 args="${D}{args} ${D}1 ${D}2"
46360 # collect these load args
46361 ldargs="${D}{ldargs} ${D}1"
46364 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46365 # collect these options
46366 args="${D}{args} ${D}1"
46369 -dynamiclib|-bundle)
46370 linking_flag="${D}1"
46374 echo "shared-ld: unhandled option '${D}1'"
46378 *.o | *.a | *.dylib)
46379 # collect object files
46380 objects="${D}{objects} ${D}1"
46384 echo "shared-ld: unhandled argument '${D}1'"
46395 # Link one module containing all the others
46397 if test ${D}{verbose} = 1; then
46398 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46400 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46404 # Link the shared library from the single module created, but only if the
46405 # previous command didn't fail:
46407 if test ${D}{status} = 0; then
46408 if test ${D}{verbose} = 1; then
46409 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46411 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46416 # Remove intermediate module
46418 rm -f master.${D}${D}.o
46423 chmod +x shared-ld-sh
46425 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46426 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46429 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46430 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46431 if test "${bakefile_cv_gcc31+set}" = set; then
46432 echo $ECHO_N "(cached) $ECHO_C" >&6
46435 cat >conftest.$ac_ext <<_ACEOF
46438 cat confdefs.h >>conftest.$ac_ext
46439 cat >>conftest.$ac_ext <<_ACEOF
46440 /* end confdefs.h. */
46446 #if (__GNUC__ < 3) || \
46447 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46455 rm -f conftest.$ac_objext
46456 if { (ac_try="$ac_compile"
46457 case "(($ac_try" in
46458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46459 *) ac_try_echo=$ac_try;;
46461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46462 (eval "$ac_compile") 2>conftest.er1
46464 grep -v '^ *+' conftest.er1 >conftest.err
46466 cat conftest.err >&5
46467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46468 (exit $ac_status); } && {
46469 test -z "$ac_c_werror_flag" ||
46470 test ! -s conftest.err
46471 } && test -s conftest.$ac_objext; then
46473 bakefile_cv_gcc31=yes
46476 echo "$as_me: failed program was:" >&5
46477 sed 's/^/| /' conftest.$ac_ext >&5
46480 bakefile_cv_gcc31=no
46485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46488 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46489 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46490 if test "$bakefile_cv_gcc31" = "no"; then
46491 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46492 SHARED_LD_CXX="$SHARED_LD_CC"
46494 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46495 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46498 if test "x$GCC" == "xyes"; then
46499 PIC_FLAG="-dynamic -fPIC"
46501 if test "x$XLCC" = "xyes"; then
46502 PIC_FLAG="-dynamic -DPIC"
46507 if test "x$GCC" = "xyes"; then
46510 case "${BAKEFILE_HOST}" in
46512 LD_EXPFULL="-Wl,-bexpfull"
46516 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46517 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46519 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46520 set dummy makeC++SharedLib; ac_word=$2
46521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46523 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46524 echo $ECHO_N "(cached) $ECHO_C" >&6
46526 if test -n "$AIX_CXX_LD"; then
46527 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46530 for as_dir in $PATH
46533 test -z "$as_dir" && as_dir=.
46534 for ac_exec_ext in '' $ac_executable_extensions; do
46535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46536 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46544 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46547 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46548 if test -n "$AIX_CXX_LD"; then
46549 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46550 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46552 { echo "$as_me:$LINENO: result: no" >&5
46553 echo "${ECHO_T}no" >&6; }
46557 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46558 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46563 SHARED_LD_CC="${LD} -nostart -o"
46564 SHARED_LD_CXX="${LD} -nostart -o"
46568 if test "x$GCC" != "xyes"; then
46573 *-*-cygwin* | *-*-mingw32* )
46575 SHARED_LD_CC="\$(CC) -shared -o"
46576 SHARED_LD_CXX="\$(CXX) -shared -o"
46580 *-pc-os2_emx | *-pc-os2-emx )
46581 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46582 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46586 cat <<EOF >dllar.sh
46589 # dllar - a tool to build both a .dll and an .a file
46590 # from a set of object (.o) files for EMX/OS2.
46592 # Written by Andrew Zabolotny, bit@freya.etu.ru
46593 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46595 # This script will accept a set of files on the command line.
46596 # All the public symbols from the .o files will be exported into
46597 # a .DEF file, then linker will be run (through gcc) against them to
46598 # build a shared library consisting of all given .o files. All libraries
46599 # (.a) will be first decompressed into component .o files then act as
46600 # described above. You can optionally give a description (-d "description")
46601 # which will be put into .DLL. To see the list of accepted options (as well
46602 # as command-line format) simply run this program without options. The .DLL
46603 # is built to be imported by name (there is no guarantee that new versions
46604 # of the library you build will have same ordinals for same symbols).
46606 # dllar is free software; you can redistribute it and/or modify
46607 # it under the terms of the GNU General Public License as published by
46608 # the Free Software Foundation; either version 2, or (at your option)
46609 # any later version.
46611 # dllar is distributed in the hope that it will be useful,
46612 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46613 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46614 # GNU General Public License for more details.
46616 # You should have received a copy of the GNU General Public License
46617 # along with dllar; see the file COPYING. If not, write to the Free
46618 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46621 # To successfuly run this program you will need:
46622 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46623 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46625 # (used to build the .dll)
46627 # (used to create .def file from .o files)
46629 # (used to create .a file from .def file)
46630 # - GNU text utilites (cat, sort, uniq)
46631 # used to process emxexp output
46632 # - GNU file utilities (mv, rm)
46634 # - lxlite (optional, see flag below)
46635 # (used for general .dll cleanup)
46642 # basnam, variant of basename, which does _not_ remove the path, _iff_
46643 # second argument (suffix to remove) is given
46647 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46650 echo ${D}1 | sed 's/'${D}2'${D}//'
46653 echo "error in basnam ${D}*"
46659 # Cleanup temporary files and output
46662 for i in ${D}inputFiles ; do
46665 rm -rf \`basnam ${D}i !\`
46672 # Kill result in case of failure as there is just to many stupid make/nmake
46673 # things out there which doesn't do this.
46674 if [ ${D}# -eq 0 ]; then
46675 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46679 # Print usage and exit script with rc=1.
46681 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46682 echo ' [-name-mangler-script script.sh]'
46683 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46684 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46685 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46686 echo ' [*.o] [*.a]'
46687 echo '*> "output_file" should have no extension.'
46688 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46689 echo ' The import library name is derived from this and is set to "name".a,'
46690 echo ' unless overridden by -import'
46691 echo '*> "importlib_name" should have no extension.'
46692 echo ' If it has the .o, or .a extension, it is automatically removed.'
46693 echo ' This name is used as the import library name and may be longer and'
46694 echo ' more descriptive than the DLL name which has to follow the old '
46695 echo ' 8.3 convention of FAT.'
46696 echo '*> "script.sh may be given to override the output_file name by a'
46697 echo ' different name. It is mainly useful if the regular make process'
46698 echo ' of some package does not take into account OS/2 restriction of'
46699 echo ' DLL name lengths. It takes the importlib name as input and is'
46700 echo ' supposed to procude a shorter name as output. The script should'
46701 echo ' expect to get importlib_name without extension and should produce'
46702 echo ' a (max.) 8 letter name without extension.'
46703 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46704 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46705 echo ' These flags will be put at the start of GCC command line.'
46706 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46707 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46708 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46709 echo ' If the last character of a symbol is "*", all symbols beginning'
46710 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46711 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46712 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46713 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46714 echo ' C runtime DLLs.'
46715 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46716 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46717 echo ' unchanged to GCC at the end of command line.'
46718 echo '*> If you create a DLL from a library and you do not specify -o,'
46719 echo ' the basename for DLL and import library will be set to library name,'
46720 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46721 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46722 echo ' library will be renamed into gcc_s.a.'
46725 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46726 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46731 # Execute a command.
46732 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46733 # @Uses Whatever CleanUp() uses.
46739 if [ ${D}rcCmd -ne 0 ]; then
46740 echo "command failed, exit code="${D}rcCmd
46755 CFLAGS="-s -Zcrtdll"
46757 EXPORT_BY_ORDINALS=0
46762 case ${D}curDirS in
46766 curDirS=${D}{curDirS}"/"
46769 # Parse commandline
46772 while [ ${D}1 ]; do
46775 EXPORT_BY_ORDINALS=1;
46785 -name-mangler-script)
46806 exclude_symbols=${D}{exclude_symbols}${D}1" "
46810 library_flags=${D}{library_flags}${D}1" "
46829 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46832 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46833 if [ ${D}omfLinking -eq 1 ]; then
46834 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46836 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46841 if [ ${D}libsToLink -ne 0 ]; then
46842 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46844 for file in ${D}1 ; do
46845 if [ -f ${D}file ]; then
46846 inputFiles="${D}{inputFiles} ${D}file"
46850 if [ ${D}found -eq 0 ]; then
46851 echo "ERROR: No file(s) found: "${D}1
46858 done # iterate cmdline words
46861 if [ -z "${D}inputFiles" ]; then
46862 echo "dllar: no input files"
46866 # Now extract all .o files from .a files
46868 for file in ${D}inputFiles ; do
46879 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46884 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46886 if [ ${D}? -ne 0 ]; then
46887 echo "Failed to create subdirectory ./${D}dirname"
46891 # Append '!' to indicate archive
46892 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46893 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46896 for subfile in ${D}dirname/*.o* ; do
46897 if [ -f ${D}subfile ]; then
46899 if [ -s ${D}subfile ]; then
46900 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46901 newInputFiles="${D}newInputFiles ${D}subfile"
46905 if [ ${D}found -eq 0 ]; then
46906 echo "WARNING: there are no files in archive \\'${D}file\\'"
46910 newInputFiles="${D}{newInputFiles} ${D}file"
46914 inputFiles="${D}newInputFiles"
46916 # Output filename(s).
46918 if [ -z ${D}outFile ]; then
46920 set outFile ${D}inputFiles; outFile=${D}2
46923 # If it is an archive, remove the '!' and the '_%' suffixes
46924 case ${D}outFile in
46926 outFile=\`basnam ${D}outFile _%!\`
46931 case ${D}outFile in
46933 outFile=\`basnam ${D}outFile .dll\`
46936 outFile=\`basnam ${D}outFile .DLL\`
46939 outFile=\`basnam ${D}outFile .o\`
46942 outFile=\`basnam ${D}outFile .obj\`
46945 outFile=\`basnam ${D}outFile .a\`
46948 outFile=\`basnam ${D}outFile .lib\`
46953 case ${D}outimpFile in
46955 outimpFile=\`basnam ${D}outimpFile .a\`
46958 outimpFile=\`basnam ${D}outimpFile .lib\`
46963 if [ -z ${D}outimpFile ]; then
46964 outimpFile=${D}outFile
46966 defFile="${D}{outFile}.def"
46967 arcFile="${D}{outimpFile}.a"
46968 arcFile2="${D}{outimpFile}.lib"
46970 #create ${D}dllFile as something matching 8.3 restrictions,
46971 if [ -z ${D}renameScript ] ; then
46972 dllFile="${D}outFile"
46974 dllFile=\`${D}renameScript ${D}outimpFile\`
46977 if [ ${D}do_backup -ne 0 ] ; then
46978 if [ -f ${D}arcFile ] ; then
46979 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46981 if [ -f ${D}arcFile2 ] ; then
46982 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46986 # Extract public symbols from all the object files.
46987 tmpdefFile=${D}{defFile}_%
46988 rm -f ${D}tmpdefFile
46989 for file in ${D}inputFiles ; do
46994 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46999 # Create the def file.
47001 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47002 dllFile="${D}{dllFile}.dll"
47003 if [ ! -z ${D}description ]; then
47004 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47006 echo "EXPORTS" >> ${D}defFile
47008 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47009 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47011 # Checks if the export is ok or not.
47012 for word in ${D}exclude_symbols; do
47013 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47014 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47018 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47019 sed "=" < ${D}tmpdefFile | \\
47023 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47025 ' > ${D}{tmpdefFile}%
47026 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47028 rm -f ${D}{tmpdefFile}%
47030 cat ${D}tmpdefFile >> ${D}defFile
47031 rm -f ${D}tmpdefFile
47033 # Do linking, create implib, and apply lxlite.
47035 for file in ${D}inputFiles ; do
47040 gccCmdl="${D}gccCmdl ${D}file"
47044 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47045 touch "${D}{outFile}.dll"
47047 doCommand "emximp -o ${D}arcFile ${D}defFile"
47048 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47050 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47053 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47055 doCommand "emxomf -s -l ${D}arcFile"
47065 powerpc-apple-macos* | \
47066 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47076 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47077 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47078 { (exit 1); exit 1; }; }
47081 if test "x$PIC_FLAG" != "x" ; then
47082 PIC_FLAG="$PIC_FLAG -DPIC"
47085 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47086 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47088 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47089 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47108 case "${BAKEFILE_HOST}" in
47109 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47110 SONAME_FLAG="-Wl,-soname,"
47144 # Check whether --enable-dependency-tracking was given.
47145 if test "${enable_dependency_tracking+set}" = set; then
47146 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47150 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47151 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47154 if test "x$bk_use_trackdeps" = "xno" ; then
47156 { echo "$as_me:$LINENO: result: disabled" >&5
47157 echo "${ECHO_T}disabled" >&6; }
47161 if test "x$GCC" = "xyes"; then
47163 case "${BAKEFILE_HOST}" in
47165 DEPSFLAG="-no-cpp-precomp -MMD"
47171 { echo "$as_me:$LINENO: result: gcc" >&5
47172 echo "${ECHO_T}gcc" >&6; }
47173 elif test "x$MWCC" = "xyes"; then
47176 { echo "$as_me:$LINENO: result: mwcc" >&5
47177 echo "${ECHO_T}mwcc" >&6; }
47178 elif test "x$SUNCC" = "xyes"; then
47181 { echo "$as_me:$LINENO: result: Sun cc" >&5
47182 echo "${ECHO_T}Sun cc" >&6; }
47183 elif test "x$SGICC" = "xyes"; then
47186 { echo "$as_me:$LINENO: result: SGI cc" >&5
47187 echo "${ECHO_T}SGI cc" >&6; }
47188 elif test "x$HPCC" = "xyes"; then
47191 { echo "$as_me:$LINENO: result: HP cc" >&5
47192 echo "${ECHO_T}HP cc" >&6; }
47193 elif test "x$COMPAQCC" = "xyes"; then
47196 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47197 echo "${ECHO_T}Compaq cc" >&6; }
47200 { echo "$as_me:$LINENO: result: none" >&5
47201 echo "${ECHO_T}none" >&6; }
47204 if test $DEPS_TRACKING = 1 ; then
47210 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47211 # script. It is used to track C/C++ files dependencies in portable way.
47213 # Permission is given to use this file in any way.
47215 DEPSMODE=${DEPSMODE}
47217 DEPSFLAG="${DEPSFLAG}"
47219 mkdir -p ${D}DEPSDIR
47221 if test ${D}DEPSMODE = gcc ; then
47222 ${D}* ${D}{DEPSFLAG}
47224 if test ${D}{status} != 0 ; then
47227 # move created file to the location we want it in:
47228 while test ${D}# -gt 0; do
47242 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47243 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47244 if test -f ${D}depfile ; then
47245 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47248 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47249 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47250 if test ! -f ${D}depfile ; then
47251 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47252 depfile="${D}objfile.d"
47254 if test -f ${D}depfile ; then
47255 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47260 elif test ${D}DEPSMODE = mwcc ; then
47261 ${D}* || exit ${D}?
47262 # Run mwcc again with -MM and redirect into the dep file we want
47263 # NOTE: We can't use shift here because we need ${D}* to be valid
47265 for arg in ${D}* ; do
47266 if test "${D}prevarg" = "-o"; then
47279 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47281 elif test ${D}DEPSMODE = unixcc; then
47282 ${D}* || exit ${D}?
47283 # Run compiler again with deps flag and redirect into the dep file.
47284 # It doesn't work if the '-o FILE' option is used, but without it the
47285 # dependency file will contain the wrong name for the object. So it is
47286 # removed from the command line, and the dep file is fixed with sed.
47288 while test ${D}# -gt 0; do
47295 eval arg${D}#=\\${D}1
47296 cmd="${D}cmd \\${D}arg${D}#"
47301 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47310 BK_DEPS="`pwd`/bk-deps"
47318 case ${BAKEFILE_HOST} in
47319 *-*-cygwin* | *-*-mingw32* )
47320 if test -n "$ac_tool_prefix"; then
47321 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47322 set dummy ${ac_tool_prefix}windres; ac_word=$2
47323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47325 if test "${ac_cv_prog_WINDRES+set}" = set; then
47326 echo $ECHO_N "(cached) $ECHO_C" >&6
47328 if test -n "$WINDRES"; then
47329 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47332 for as_dir in $PATH
47335 test -z "$as_dir" && as_dir=.
47336 for ac_exec_ext in '' $ac_executable_extensions; do
47337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47338 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47348 WINDRES=$ac_cv_prog_WINDRES
47349 if test -n "$WINDRES"; then
47350 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47351 echo "${ECHO_T}$WINDRES" >&6; }
47353 { echo "$as_me:$LINENO: result: no" >&5
47354 echo "${ECHO_T}no" >&6; }
47359 if test -z "$ac_cv_prog_WINDRES"; then
47360 ac_ct_WINDRES=$WINDRES
47361 # Extract the first word of "windres", so it can be a program name with args.
47362 set dummy windres; ac_word=$2
47363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47365 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47366 echo $ECHO_N "(cached) $ECHO_C" >&6
47368 if test -n "$ac_ct_WINDRES"; then
47369 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47372 for as_dir in $PATH
47375 test -z "$as_dir" && as_dir=.
47376 for ac_exec_ext in '' $ac_executable_extensions; do
47377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47378 ac_cv_prog_ac_ct_WINDRES="windres"
47379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47388 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47389 if test -n "$ac_ct_WINDRES"; then
47390 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47391 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47393 { echo "$as_me:$LINENO: result: no" >&5
47394 echo "${ECHO_T}no" >&6; }
47397 if test "x$ac_ct_WINDRES" = x; then
47400 case $cross_compiling:$ac_tool_warned in
47402 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47403 whose name does not start with the host triplet. If you think this
47404 configuration is useful to you, please write to autoconf@gnu.org." >&5
47405 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47406 whose name does not start with the host triplet. If you think this
47407 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47408 ac_tool_warned=yes ;;
47410 WINDRES=$ac_ct_WINDRES
47413 WINDRES="$ac_cv_prog_WINDRES"
47418 *-*-darwin* | powerpc-apple-macos* )
47419 # Extract the first word of "Rez", so it can be a program name with args.
47420 set dummy Rez; ac_word=$2
47421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47423 if test "${ac_cv_prog_REZ+set}" = set; then
47424 echo $ECHO_N "(cached) $ECHO_C" >&6
47426 if test -n "$REZ"; then
47427 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47430 for as_dir in $PATH
47433 test -z "$as_dir" && as_dir=.
47434 for ac_exec_ext in '' $ac_executable_extensions; do
47435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47436 ac_cv_prog_REZ="Rez"
47437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47444 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47447 REZ=$ac_cv_prog_REZ
47448 if test -n "$REZ"; then
47449 { echo "$as_me:$LINENO: result: $REZ" >&5
47450 echo "${ECHO_T}$REZ" >&6; }
47452 { echo "$as_me:$LINENO: result: no" >&5
47453 echo "${ECHO_T}no" >&6; }
47457 # Extract the first word of "SetFile", so it can be a program name with args.
47458 set dummy SetFile; ac_word=$2
47459 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47461 if test "${ac_cv_prog_SETFILE+set}" = set; then
47462 echo $ECHO_N "(cached) $ECHO_C" >&6
47464 if test -n "$SETFILE"; then
47465 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47468 for as_dir in $PATH
47471 test -z "$as_dir" && as_dir=.
47472 for ac_exec_ext in '' $ac_executable_extensions; do
47473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47474 ac_cv_prog_SETFILE="SetFile"
47475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47482 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47485 SETFILE=$ac_cv_prog_SETFILE
47486 if test -n "$SETFILE"; then
47487 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47488 echo "${ECHO_T}$SETFILE" >&6; }
47490 { echo "$as_me:$LINENO: result: no" >&5
47491 echo "${ECHO_T}no" >&6; }
47503 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47506 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47510 # Check whether --enable-precomp-headers was given.
47511 if test "${enable_precomp_headers+set}" = set; then
47512 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47521 case ${BAKEFILE_HOST} in
47527 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47528 if test "x$GCC" = "xyes"; then
47529 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47530 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47531 cat >conftest.$ac_ext <<_ACEOF
47534 cat confdefs.h >>conftest.$ac_ext
47535 cat >>conftest.$ac_ext <<_ACEOF
47536 /* end confdefs.h. */
47542 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47543 There is no PCH support
47546 There is no PCH support
47548 #if (__GNUC__ == 3) && \
47549 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47550 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47551 ( defined(__INTEL_COMPILER) )
47552 There is no PCH support
47559 rm -f conftest.$ac_objext
47560 if { (ac_try="$ac_compile"
47561 case "(($ac_try" in
47562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47563 *) ac_try_echo=$ac_try;;
47565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47566 (eval "$ac_compile") 2>conftest.er1
47568 grep -v '^ *+' conftest.er1 >conftest.err
47570 cat conftest.err >&5
47571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47572 (exit $ac_status); } && {
47573 test -z "$ac_c_werror_flag" ||
47574 test ! -s conftest.err
47575 } && test -s conftest.$ac_objext; then
47577 { echo "$as_me:$LINENO: result: yes" >&5
47578 echo "${ECHO_T}yes" >&6; }
47582 echo "$as_me: failed program was:" >&5
47583 sed 's/^/| /' conftest.$ac_ext >&5
47586 cat >conftest.$ac_ext <<_ACEOF
47589 cat confdefs.h >>conftest.$ac_ext
47590 cat >>conftest.$ac_ext <<_ACEOF
47591 /* end confdefs.h. */
47597 #if !defined(__INTEL_COMPILER) || \
47598 (__INTEL_COMPILER < 800)
47599 There is no PCH support
47606 rm -f conftest.$ac_objext
47607 if { (ac_try="$ac_compile"
47608 case "(($ac_try" in
47609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47610 *) ac_try_echo=$ac_try;;
47612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47613 (eval "$ac_compile") 2>conftest.er1
47615 grep -v '^ *+' conftest.er1 >conftest.err
47617 cat conftest.err >&5
47618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47619 (exit $ac_status); } && {
47620 test -z "$ac_c_werror_flag" ||
47621 test ! -s conftest.err
47622 } && test -s conftest.$ac_objext; then
47624 { echo "$as_me:$LINENO: result: yes" >&5
47625 echo "${ECHO_T}yes" >&6; }
47629 echo "$as_me: failed program was:" >&5
47630 sed 's/^/| /' conftest.$ac_ext >&5
47633 { echo "$as_me:$LINENO: result: no" >&5
47634 echo "${ECHO_T}no" >&6; }
47638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47643 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47647 cat <<EOF >bk-make-pch
47650 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47651 # script. It is used to generated precompiled headers.
47653 # Permission is given to use this file in any way.
47663 while test ${D}{#} -gt 0; do
47667 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47668 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47669 headerfile="${D}{incdir}/${D}{header}"
47672 -use-pch|-use_pch )
47677 if test ${D}add_to_cmdline = 1 ; then
47678 compiler="${D}{compiler} ${D}{1}"
47683 if test "x${D}{headerfile}" = "x" ; then
47684 echo "error: can't find header ${D}{header} in include paths" >&2
47686 if test -f ${D}{outfile} ; then
47687 rm -f ${D}{outfile}
47689 mkdir -p \`dirname ${D}{outfile}\`
47691 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47693 if test "x${GCC_PCH}" = "x1" ; then
47694 # can do this because gcc is >= 3.4:
47695 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47696 elif test "x${ICC_PCH}" = "x1" ; then
47697 filename=pch_gen-${D}${D}
47698 file=${D}{filename}.c
47699 dfile=${D}{filename}.d
47700 cat > ${D}file <<EOT
47701 #include "${D}header"
47703 # using -MF icc complains about differing command lines in creation/use
47704 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47705 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47706 rm -f ${D}file ${D}dfile ${D}{filename}.o
47712 chmod +x bk-make-pch
47713 BK_MAKE_PCH="`pwd`/bk-make-pch"
47722 COND_BUILD_DEBUG="#"
47723 if test "x$BUILD" = "xdebug" ; then
47724 COND_BUILD_DEBUG=""
47727 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47728 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47729 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47732 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47733 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47734 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47737 COND_BUILD_DEBUG_UNICODE_0="#"
47738 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47739 COND_BUILD_DEBUG_UNICODE_0=""
47742 COND_BUILD_DEBUG_UNICODE_1="#"
47743 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47744 COND_BUILD_DEBUG_UNICODE_1=""
47747 COND_BUILD_RELEASE="#"
47748 if test "x$BUILD" = "xrelease" ; then
47749 COND_BUILD_RELEASE=""
47752 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47753 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47754 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47757 COND_BUILD_RELEASE_UNICODE_0="#"
47758 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47759 COND_BUILD_RELEASE_UNICODE_0=""
47762 COND_BUILD_RELEASE_UNICODE_1="#"
47763 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47764 COND_BUILD_RELEASE_UNICODE_1=""
47767 COND_DEBUG_FLAG_1="#"
47768 if test "x$DEBUG_FLAG" = "x1" ; then
47769 COND_DEBUG_FLAG_1=""
47772 COND_DEBUG_INFO_0="#"
47773 if test "x$DEBUG_INFO" = "x0" ; then
47774 COND_DEBUG_INFO_0=""
47777 COND_DEBUG_INFO_1="#"
47778 if test "x$DEBUG_INFO" = "x1" ; then
47779 COND_DEBUG_INFO_1=""
47782 COND_DEPS_TRACKING_0="#"
47783 if test "x$DEPS_TRACKING" = "x0" ; then
47784 COND_DEPS_TRACKING_0=""
47787 COND_DEPS_TRACKING_1="#"
47788 if test "x$DEPS_TRACKING" = "x1" ; then
47789 COND_DEPS_TRACKING_1=""
47793 if test "x$GCC_PCH" = "x1" ; then
47798 if test "x$ICC_PCH" = "x1" ; then
47802 COND_MONOLITHIC_0="#"
47803 if test "x$MONOLITHIC" = "x0" ; then
47804 COND_MONOLITHIC_0=""
47807 COND_MONOLITHIC_0_SHARED_0="#"
47808 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47809 COND_MONOLITHIC_0_SHARED_0=""
47812 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47813 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47814 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
47817 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47818 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47819 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47822 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47823 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47824 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
47828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
47832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47842 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47844 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47847 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
47848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47849 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
47852 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
47853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
47854 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
47857 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47859 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47862 COND_MONOLITHIC_0_SHARED_1="#"
47863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47864 COND_MONOLITHIC_0_SHARED_1=""
47867 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
47868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47869 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
47872 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47874 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
47877 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
47878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47879 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
47882 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
47883 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47884 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
47887 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
47888 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47889 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
47892 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
47893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47894 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
47897 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
47898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47899 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
47902 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
47903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
47904 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
47907 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
47908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
47909 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
47912 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
47913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47914 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
47917 COND_MONOLITHIC_0_USE_AUI_1="#"
47918 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
47919 COND_MONOLITHIC_0_USE_AUI_1=""
47922 COND_MONOLITHIC_0_USE_GUI_1="#"
47923 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
47924 COND_MONOLITHIC_0_USE_GUI_1=""
47927 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
47928 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47929 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
47932 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
47933 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47934 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
47937 COND_MONOLITHIC_0_USE_HTML_1="#"
47938 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
47939 COND_MONOLITHIC_0_USE_HTML_1=""
47942 COND_MONOLITHIC_0_USE_MEDIA_1="#"
47943 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47944 COND_MONOLITHIC_0_USE_MEDIA_1=""
47947 COND_MONOLITHIC_0_USE_ODBC_1="#"
47948 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47949 COND_MONOLITHIC_0_USE_ODBC_1=""
47952 COND_MONOLITHIC_0_USE_QA_1="#"
47953 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
47954 COND_MONOLITHIC_0_USE_QA_1=""
47957 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
47958 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47959 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
47962 COND_MONOLITHIC_0_USE_STC_1="#"
47963 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
47964 COND_MONOLITHIC_0_USE_STC_1=""
47967 COND_MONOLITHIC_0_USE_XRC_1="#"
47968 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
47969 COND_MONOLITHIC_0_USE_XRC_1=""
47972 COND_MONOLITHIC_1="#"
47973 if test "x$MONOLITHIC" = "x1" ; then
47974 COND_MONOLITHIC_1=""
47977 COND_MONOLITHIC_1_SHARED_0="#"
47978 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47979 COND_MONOLITHIC_1_SHARED_0=""
47982 COND_MONOLITHIC_1_SHARED_1="#"
47983 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47984 COND_MONOLITHIC_1_SHARED_1=""
47987 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
47988 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47989 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
47992 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
47993 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47994 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
47997 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
47998 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47999 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48002 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48003 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48004 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48007 COND_PLATFORM_MACOSX_1="#"
48008 if test "x$PLATFORM_MACOSX" = "x1" ; then
48009 COND_PLATFORM_MACOSX_1=""
48012 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48013 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48014 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48017 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48018 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48019 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48022 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48023 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48024 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48027 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48028 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48029 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48032 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48033 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48034 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48037 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48038 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48039 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48042 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48043 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48044 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48047 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48048 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48049 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48052 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48053 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48054 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48057 COND_PLATFORM_MACOS_1="#"
48058 if test "x$PLATFORM_MACOS" = "x1" ; then
48059 COND_PLATFORM_MACOS_1=""
48062 COND_PLATFORM_MAC_1="#"
48063 if test "x$PLATFORM_MAC" = "x1" ; then
48064 COND_PLATFORM_MAC_1=""
48067 COND_PLATFORM_MSDOS_0="#"
48068 if test "x$PLATFORM_MSDOS" = "x0" ; then
48069 COND_PLATFORM_MSDOS_0=""
48072 COND_PLATFORM_MSDOS_1="#"
48073 if test "x$PLATFORM_MSDOS" = "x1" ; then
48074 COND_PLATFORM_MSDOS_1=""
48077 COND_PLATFORM_OS2_1="#"
48078 if test "x$PLATFORM_OS2" = "x1" ; then
48079 COND_PLATFORM_OS2_1=""
48082 COND_PLATFORM_UNIX_0="#"
48083 if test "x$PLATFORM_UNIX" = "x0" ; then
48084 COND_PLATFORM_UNIX_0=""
48087 COND_PLATFORM_UNIX_1="#"
48088 if test "x$PLATFORM_UNIX" = "x1" ; then
48089 COND_PLATFORM_UNIX_1=""
48092 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48093 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48094 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48097 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48098 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48099 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48102 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48103 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48104 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48107 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48108 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48109 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48112 COND_PLATFORM_WIN32_0="#"
48113 if test "x$PLATFORM_WIN32" = "x0" ; then
48114 COND_PLATFORM_WIN32_0=""
48117 COND_PLATFORM_WIN32_1="#"
48118 if test "x$PLATFORM_WIN32" = "x1" ; then
48119 COND_PLATFORM_WIN32_1=""
48123 if test "x$SHARED" = "x0" ; then
48127 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48128 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48129 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48132 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48133 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48134 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48137 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48138 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48139 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48142 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48143 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48144 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48147 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48148 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48149 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48152 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48153 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48154 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48157 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48158 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48159 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48162 COND_SHARED_0_USE_XRC_1="#"
48163 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48164 COND_SHARED_0_USE_XRC_1=""
48167 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48168 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48169 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48172 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48173 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48174 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48177 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48178 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48179 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48182 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48183 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48184 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48188 if test "x$SHARED" = "x1" ; then
48192 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48193 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48194 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48197 COND_SHARED_1_USE_XRC_1="#"
48198 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48199 COND_SHARED_1_USE_XRC_1=""
48203 if test "x$TOOLKIT" = "x" ; then
48207 COND_TOOLKIT_COCOA="#"
48208 if test "x$TOOLKIT" = "xCOCOA" ; then
48209 COND_TOOLKIT_COCOA=""
48212 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48213 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48214 COND_TOOLKIT_COCOA_USE_GUI_1=""
48217 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48218 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48219 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48222 COND_TOOLKIT_DFB="#"
48223 if test "x$TOOLKIT" = "xDFB" ; then
48224 COND_TOOLKIT_DFB=""
48227 COND_TOOLKIT_DFB_USE_GUI_1="#"
48228 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48229 COND_TOOLKIT_DFB_USE_GUI_1=""
48232 COND_TOOLKIT_GTK="#"
48233 if test "x$TOOLKIT" = "xGTK" ; then
48234 COND_TOOLKIT_GTK=""
48237 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48238 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48239 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48242 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48243 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48244 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48247 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48248 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48249 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48252 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48253 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48254 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48257 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48258 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48259 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48262 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48263 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48264 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48267 COND_TOOLKIT_GTK_USE_GUI_1="#"
48268 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48269 COND_TOOLKIT_GTK_USE_GUI_1=""
48272 COND_TOOLKIT_MAC="#"
48273 if test "x$TOOLKIT" = "xMAC" ; then
48274 COND_TOOLKIT_MAC=""
48277 COND_TOOLKIT_MAC_USE_GUI_1="#"
48278 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48279 COND_TOOLKIT_MAC_USE_GUI_1=""
48282 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48283 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48284 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48287 COND_TOOLKIT_MGL="#"
48288 if test "x$TOOLKIT" = "xMGL" ; then
48289 COND_TOOLKIT_MGL=""
48292 COND_TOOLKIT_MGL_USE_GUI_1="#"
48293 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48294 COND_TOOLKIT_MGL_USE_GUI_1=""
48297 COND_TOOLKIT_MOTIF="#"
48298 if test "x$TOOLKIT" = "xMOTIF" ; then
48299 COND_TOOLKIT_MOTIF=""
48302 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48303 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48304 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48307 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48308 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48309 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48312 COND_TOOLKIT_MSW="#"
48313 if test "x$TOOLKIT" = "xMSW" ; then
48314 COND_TOOLKIT_MSW=""
48317 COND_TOOLKIT_MSW_USE_GUI_1="#"
48318 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48319 COND_TOOLKIT_MSW_USE_GUI_1=""
48322 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48323 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48324 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48327 COND_TOOLKIT_MSW_WXUNIV_0="#"
48328 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48329 COND_TOOLKIT_MSW_WXUNIV_0=""
48332 COND_TOOLKIT_PM="#"
48333 if test "x$TOOLKIT" = "xPM" ; then
48337 COND_TOOLKIT_PM_USE_GUI_1="#"
48338 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48339 COND_TOOLKIT_PM_USE_GUI_1=""
48342 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48343 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48344 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48347 COND_TOOLKIT_WINCE="#"
48348 if test "x$TOOLKIT" = "xWINCE" ; then
48349 COND_TOOLKIT_WINCE=""
48352 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48353 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48354 COND_TOOLKIT_WINCE_USE_GUI_1=""
48357 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48358 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48359 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48362 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48363 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48364 COND_TOOLKIT_WINCE_WXUNIV_0=""
48367 COND_TOOLKIT_X11="#"
48368 if test "x$TOOLKIT" = "xX11" ; then
48369 COND_TOOLKIT_X11=""
48372 COND_TOOLKIT_X11_USE_GUI_1="#"
48373 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48374 COND_TOOLKIT_X11_USE_GUI_1=""
48378 if test "x$UNICODE" = "x1" ; then
48382 COND_USE_EXCEPTIONS_0="#"
48383 if test "x$USE_EXCEPTIONS" = "x0" ; then
48384 COND_USE_EXCEPTIONS_0=""
48387 COND_USE_EXCEPTIONS_1="#"
48388 if test "x$USE_EXCEPTIONS" = "x1" ; then
48389 COND_USE_EXCEPTIONS_1=""
48393 if test "x$USE_GUI" = "x0" ; then
48398 if test "x$USE_GUI" = "x1" ; then
48402 COND_USE_GUI_1_WXUNIV_0="#"
48403 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48404 COND_USE_GUI_1_WXUNIV_0=""
48407 COND_USE_GUI_1_WXUNIV_1="#"
48408 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48409 COND_USE_GUI_1_WXUNIV_1=""
48412 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48413 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48414 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48417 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48418 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48419 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48422 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48423 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48424 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48427 COND_USE_ODBC_1="#"
48428 if test "x$USE_ODBC" = "x1" ; then
48432 COND_USE_OPENGL_1="#"
48433 if test "x$USE_OPENGL" = "x1" ; then
48434 COND_USE_OPENGL_1=""
48438 if test "x$USE_PCH" = "x1" ; then
48442 COND_USE_PLUGINS_0="#"
48443 if test "x$USE_PLUGINS" = "x0" ; then
48444 COND_USE_PLUGINS_0=""
48447 COND_USE_RTTI_0="#"
48448 if test "x$USE_RTTI" = "x0" ; then
48452 COND_USE_RTTI_1="#"
48453 if test "x$USE_RTTI" = "x1" ; then
48457 COND_USE_SOSYMLINKS_1="#"
48458 if test "x$USE_SOSYMLINKS" = "x1" ; then
48459 COND_USE_SOSYMLINKS_1=""
48462 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48463 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48464 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48467 COND_USE_SOVERLINUX_1="#"
48468 if test "x$USE_SOVERLINUX" = "x1" ; then
48469 COND_USE_SOVERLINUX_1=""
48472 COND_USE_SOVERSION_0="#"
48473 if test "x$USE_SOVERSION" = "x0" ; then
48474 COND_USE_SOVERSION_0=""
48477 COND_USE_SOVERSOLARIS_1="#"
48478 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48479 COND_USE_SOVERSOLARIS_1=""
48482 COND_USE_THREADS_0="#"
48483 if test "x$USE_THREADS" = "x0" ; then
48484 COND_USE_THREADS_0=""
48487 COND_USE_THREADS_1="#"
48488 if test "x$USE_THREADS" = "x1" ; then
48489 COND_USE_THREADS_1=""
48493 if test "x$USE_XRC" = "x1" ; then
48497 COND_WINDOWS_IMPLIB_1="#"
48498 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48499 COND_WINDOWS_IMPLIB_1=""
48502 COND_WITH_PLUGIN_SDL_1="#"
48503 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48504 COND_WITH_PLUGIN_SDL_1=""
48508 if test "x$WXUNIV" = "x0" ; then
48513 if test "x$WXUNIV" = "x1" ; then
48517 COND_WXUSE_EXPAT_BUILTIN="#"
48518 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48519 COND_WXUSE_EXPAT_BUILTIN=""
48522 COND_WXUSE_LIBJPEG_BUILTIN="#"
48523 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48524 COND_WXUSE_LIBJPEG_BUILTIN=""
48527 COND_WXUSE_LIBPNG_BUILTIN="#"
48528 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48529 COND_WXUSE_LIBPNG_BUILTIN=""
48532 COND_WXUSE_LIBTIFF_BUILTIN="#"
48533 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48534 COND_WXUSE_LIBTIFF_BUILTIN=""
48537 COND_WXUSE_ODBC_BUILTIN="#"
48538 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48539 COND_WXUSE_ODBC_BUILTIN=""
48542 COND_WXUSE_REGEX_BUILTIN="#"
48543 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48544 COND_WXUSE_REGEX_BUILTIN=""
48547 COND_WXUSE_ZLIB_BUILTIN="#"
48548 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48549 COND_WXUSE_ZLIB_BUILTIN=""
48554 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48555 { { 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
48556 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;}
48557 { (exit 1); exit 1; }; }
48560 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48561 { { 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
48562 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;}
48563 { (exit 1); exit 1; }; }
48567 if test $GCC_PCH = 1
48569 if test "$wx_cv_gcc_pch_bug" = yes; then
48570 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48571 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48572 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48573 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48574 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48575 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48578 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48582 if test "$wxUSE_MAC" = 1 ; then
48583 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48584 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48590 if test "$wxUSE_SHARED" = "yes"; then
48592 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48593 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48596 *-pc-os2_emx | *-pc-os2-emx )
48597 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48598 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48599 cp -p ${srcdir}/src/os2/dllnames.sh .
48600 cp -p ${srcdir}/src/os2/dllar.sh .
48605 EXE_LINKER="$CXX -o"
48608 if test "$wxUSE_OMF" = "yes"; then
48610 *-pc-os2_emx | *-pc-os2-emx )
48611 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48612 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48613 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48618 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48620 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48682 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48683 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48684 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48685 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48686 echo $ECHO_N "(cached) $ECHO_C" >&6
48688 cat >conftest.make <<\_ACEOF
48691 @echo '@@@%%%=$(MAKE)=@@@%%%'
48693 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48694 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48695 *@@@%%%=?*=@@@%%%*)
48696 eval ac_cv_prog_make_${ac_make}_set=yes;;
48698 eval ac_cv_prog_make_${ac_make}_set=no;;
48700 rm -f conftest.make
48702 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48703 { echo "$as_me:$LINENO: result: yes" >&5
48704 echo "${ECHO_T}yes" >&6; }
48707 { echo "$as_me:$LINENO: result: no" >&5
48708 echo "${ECHO_T}no" >&6; }
48709 SET_MAKE="MAKE=${MAKE-make}"
48714 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48717 if test "$USE_WIN32" = 1; then
48718 ac_config_commands="$ac_config_commands
48724 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48727 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48730 if test "$wx_cv_version_script" = "yes"; then
48731 ac_config_files="$ac_config_files version-script"
48734 ac_config_files="$ac_config_files Makefile"
48737 ac_config_commands="$ac_config_commands wx-config"
48741 if test "$wxWITH_SUBDIRS" != "no"; then
48742 if test "$wxUSE_GUI" = "yes"; then
48743 SUBDIRS="samples demos utils"
48744 else SUBDIRS="samples utils"
48749 # Check whether --with-cppunit-prefix was given.
48750 if test "${with_cppunit_prefix+set}" = set; then
48751 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48753 cppunit_config_prefix=""
48757 # Check whether --with-cppunit-exec-prefix was given.
48758 if test "${with_cppunit_exec_prefix+set}" = set; then
48759 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
48761 cppunit_config_exec_prefix=""
48765 if test x$cppunit_config_exec_prefix != x ; then
48766 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48767 if test x${CPPUNIT_CONFIG+set} != xset ; then
48768 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48771 if test x$cppunit_config_prefix != x ; then
48772 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48773 if test x${CPPUNIT_CONFIG+set} != xset ; then
48774 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48778 # Extract the first word of "cppunit-config", so it can be a program name with args.
48779 set dummy cppunit-config; ac_word=$2
48780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48782 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48783 echo $ECHO_N "(cached) $ECHO_C" >&6
48785 case $CPPUNIT_CONFIG in
48787 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48791 for as_dir in $PATH
48794 test -z "$as_dir" && as_dir=.
48795 for ac_exec_ext in '' $ac_executable_extensions; do
48796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48797 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48805 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48809 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48810 if test -n "$CPPUNIT_CONFIG"; then
48811 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48812 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
48814 { echo "$as_me:$LINENO: result: no" >&5
48815 echo "${ECHO_T}no" >&6; }
48819 cppunit_version_min=1.8.0
48821 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48822 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
48824 if test "$CPPUNIT_CONFIG" = "no" ; then
48825 { echo "$as_me:$LINENO: result: no" >&5
48826 echo "${ECHO_T}no" >&6; }
48829 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48830 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48831 cppunit_version=`$CPPUNIT_CONFIG --version`
48833 cppunit_major_version=`echo $cppunit_version | \
48834 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48835 cppunit_minor_version=`echo $cppunit_version | \
48836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48837 cppunit_micro_version=`echo $cppunit_version | \
48838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48840 cppunit_major_min=`echo $cppunit_version_min | \
48841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48842 cppunit_minor_min=`echo $cppunit_version_min | \
48843 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48844 cppunit_micro_min=`echo $cppunit_version_min | \
48845 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48847 cppunit_version_proper=`expr \
48848 $cppunit_major_version \> $cppunit_major_min \| \
48849 $cppunit_major_version \= $cppunit_major_min \& \
48850 $cppunit_minor_version \> $cppunit_minor_min \| \
48851 $cppunit_major_version \= $cppunit_major_min \& \
48852 $cppunit_minor_version \= $cppunit_minor_min \& \
48853 $cppunit_micro_version \>= $cppunit_micro_min `
48855 if test "$cppunit_version_proper" = "1" ; then
48856 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48857 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
48859 { echo "$as_me:$LINENO: result: no" >&5
48860 echo "${ECHO_T}no" >&6; }
48865 if test "x$no_cppunit" = x ; then
48866 SUBDIRS="$SUBDIRS tests"
48877 for subdir in `echo $SUBDIRS`; do
48878 if test -d ${srcdir}/${subdir} ; then
48879 if test "$wxUSE_GUI" = "yes"; then
48880 if test ${subdir} = "samples"; then
48881 makefiles="samples/Makefile.in $makefiles"
48882 for sample in `echo $SAMPLES_SUBDIRS`; do
48883 if test -d $srcdir/samples/$sample; then
48884 makefiles="samples/$sample/Makefile.in $makefiles"
48888 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
48889 eval "disabled=\$$disabled_var"
48890 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
48891 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
48893 else if test ${subdir} = "samples"; then
48894 makefiles="samples/Makefile.in samples/console/Makefile.in"
48895 elif test ${subdir} = "utils"; then
48897 for util in HelpGen tex2rtf ; do
48898 if test -d $srcdir/utils/$util ; then
48899 makefiles="utils/$util/Makefile.in \
48900 utils/$util/src/Makefile.in \
48904 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
48908 for mkin in $makefiles ; do
48909 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48910 ac_config_files="$ac_config_files $mk"
48916 cat >confcache <<\_ACEOF
48917 # This file is a shell script that caches the results of configure
48918 # tests run on this system so they can be shared between configure
48919 # scripts and configure runs, see configure's option --config-cache.
48920 # It is not useful on other systems. If it contains results you don't
48921 # want to keep, you may remove or edit it.
48923 # config.status only pays attention to the cache file if you give it
48924 # the --recheck option to rerun configure.
48926 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48927 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48928 # following values.
48932 # The following way of writing the cache mishandles newlines in values,
48933 # but we know of no workaround that is simple, portable, and efficient.
48934 # So, we kill variables containing newlines.
48935 # Ultrix sh set writes to stderr and can't be redirected directly,
48936 # and sets the high bit in the cache file unless we assign to the vars.
48938 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
48939 eval ac_val=\$$ac_var
48943 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
48944 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
48947 _ | IFS | as_nl) ;; #(
48948 *) $as_unset $ac_var ;;
48954 case $as_nl`(ac_space=' '; set) 2>&1` in #(
48955 *${as_nl}ac_space=\ *)
48956 # `set' does not quote correctly, so add quotes (double-quote
48957 # substitution turns \\\\ into \\, and sed turns \\ into \).
48960 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48963 # `set' quotes correctly as required by POSIX, so do not add quotes.
48964 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
48973 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48975 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48977 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
48978 if test -w "$cache_file"; then
48979 test "x$cache_file" != "x/dev/null" &&
48980 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
48981 echo "$as_me: updating cache $cache_file" >&6;}
48982 cat confcache >$cache_file
48984 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
48985 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
48990 test "x$prefix" = xNONE && prefix=$ac_default_prefix
48991 # Let make expand exec_prefix.
48992 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
48994 DEFS=-DHAVE_CONFIG_H
48998 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
48999 # 1. Remove the extension, and $U if already installed.
49000 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49001 ac_i=`echo "$ac_i" | sed "$ac_script"`
49002 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49003 # will be set to the directory where LIBOBJS objects are built.
49004 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49005 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49007 LIBOBJS=$ac_libobjs
49009 LTLIBOBJS=$ac_ltlibobjs
49013 : ${CONFIG_STATUS=./config.status}
49014 ac_clean_files_save=$ac_clean_files
49015 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49016 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49017 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49018 cat >$CONFIG_STATUS <<_ACEOF
49020 # Generated by $as_me.
49021 # Run this file to recreate the current configuration.
49022 # Compiler output produced by configure, useful for debugging
49023 # configure, is in config.log if it exists.
49026 ac_cs_recheck=false
49028 SHELL=\${CONFIG_SHELL-$SHELL}
49031 cat >>$CONFIG_STATUS <<\_ACEOF
49032 ## --------------------- ##
49033 ## M4sh Initialization. ##
49034 ## --------------------- ##
49036 # Be more Bourne compatible
49037 DUALCASE=1; export DUALCASE # for MKS sh
49038 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49041 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49042 # is contrary to our usage. Disable this feature.
49043 alias -g '${1+"$@"}'='"$@"'
49044 setopt NO_GLOB_SUBST
49046 case `(set -o) 2>/dev/null` in
49047 *posix*) set -o posix ;;
49056 # Avoid depending upon Character Ranges.
49057 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49058 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49059 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49060 as_cr_digits='0123456789'
49061 as_cr_alnum=$as_cr_Letters$as_cr_digits
49063 # The user is always right.
49064 if test "${PATH_SEPARATOR+set}" != set; then
49065 echo "#! /bin/sh" >conf$$.sh
49066 echo "exit 0" >>conf$$.sh
49068 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49076 # Support unset when possible.
49077 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49085 # We need space, tab and new line, in precisely that order. Quoting is
49086 # there to prevent editors from complaining about space-tab.
49087 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49088 # splitting by setting IFS to empty value.)
49093 # Find who we are. Look in the path if we contain no directory separator.
49095 *[\\/]* ) as_myself=$0 ;;
49096 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49097 for as_dir in $PATH
49100 test -z "$as_dir" && as_dir=.
49101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49107 # We did not find ourselves, most probably we were run as `sh COMMAND'
49108 # in which case we are not to be found in the path.
49109 if test "x$as_myself" = x; then
49112 if test ! -f "$as_myself"; then
49113 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49114 { (exit 1); exit 1; }
49117 # Work around bugs in pre-3.0 UWIN ksh.
49118 for as_var in ENV MAIL MAILPATH
49119 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49127 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49128 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49129 LC_TELEPHONE LC_TIME
49131 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49132 eval $as_var=C; export $as_var
49134 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49138 # Required to use basename.
49139 if expr a : '\(a\)' >/dev/null 2>&1 &&
49140 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49146 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49147 as_basename=basename
49153 # Name of the executable.
49154 as_me=`$as_basename -- "$0" ||
49155 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49156 X"$0" : 'X\(//\)$' \| \
49157 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49159 sed '/^.*\/\([^/][^/]*\)\/*$/{
49178 as_lineno_1=$LINENO
49179 as_lineno_2=$LINENO
49180 test "x$as_lineno_1" != "x$as_lineno_2" &&
49181 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49183 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49184 # uniformly replaced by the line number. The first 'sed' inserts a
49185 # line-number line after each line using $LINENO; the second 'sed'
49186 # does the real work. The second script uses 'N' to pair each
49187 # line-number line with the line containing $LINENO, and appends
49188 # trailing '-' during substitution so that $LINENO is not a special
49189 # case at line end.
49190 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49191 # scripts with optimization help from Paolo Bonzini. Blame Lee
49192 # E. McMahon (1931-1989) for sed's syntax. :-)
49204 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49207 ' >$as_me.lineno &&
49208 chmod +x "$as_me.lineno" ||
49209 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49210 { (exit 1); exit 1; }; }
49212 # Don't try to exec as it changes $[0], causing all sort of problems
49213 # (the dirname of $[0] is not the place where we might find the
49214 # original and so on. Autoconf is especially sensitive to this).
49215 . "./$as_me.lineno"
49216 # Exit status is that of the last command.
49221 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49227 ECHO_C= ECHO_N= ECHO_T=
49228 case `echo -n x` in
49230 case `echo 'x\c'` in
49231 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49238 if expr a : '\(a\)' >/dev/null 2>&1 &&
49239 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49245 rm -f conf$$ conf$$.exe conf$$.file
49246 if test -d conf$$.dir; then
49247 rm -f conf$$.dir/conf$$.file
49253 if ln -s conf$$.file conf$$ 2>/dev/null; then
49255 # ... but there are two gotchas:
49256 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49257 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49258 # In both cases, we have to default to `cp -p'.
49259 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49261 elif ln conf$$.file conf$$ 2>/dev/null; then
49266 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49267 rmdir conf$$.dir 2>/dev/null
49269 if mkdir -p . 2>/dev/null; then
49272 test -d ./-p && rmdir ./-p
49276 if test -x / >/dev/null 2>&1; then
49277 as_test_x='test -x'
49279 if ls -dL / >/dev/null 2>&1; then
49286 if test -d "$1"; then
49292 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49293 ???[sx]*):;;*)false;;esac;fi
49297 as_executable_p=$as_test_x
49299 # Sed expression to map a string onto a valid CPP name.
49300 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49302 # Sed expression to map a string onto a valid variable name.
49303 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49308 # Save the log message, to keep $[0] and so on meaningful, and to
49309 # report actual input values of CONFIG_FILES etc. instead of their
49310 # values after options handling.
49312 This file was extended by wxWidgets $as_me 2.9.0, which was
49313 generated by GNU Autoconf 2.61. Invocation command line was
49315 CONFIG_FILES = $CONFIG_FILES
49316 CONFIG_HEADERS = $CONFIG_HEADERS
49317 CONFIG_LINKS = $CONFIG_LINKS
49318 CONFIG_COMMANDS = $CONFIG_COMMANDS
49321 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49326 cat >>$CONFIG_STATUS <<_ACEOF
49327 # Files that config.status was made for.
49328 config_files="$ac_config_files"
49329 config_headers="$ac_config_headers"
49330 config_commands="$ac_config_commands"
49334 cat >>$CONFIG_STATUS <<\_ACEOF
49336 \`$as_me' instantiates files from templates according to the
49337 current configuration.
49339 Usage: $0 [OPTIONS] [FILE]...
49341 -h, --help print this help, then exit
49342 -V, --version print version number and configuration settings, then exit
49343 -q, --quiet do not print progress messages
49344 -d, --debug don't remove temporary files
49345 --recheck update $as_me by reconfiguring in the same conditions
49346 --file=FILE[:TEMPLATE]
49347 instantiate the configuration file FILE
49348 --header=FILE[:TEMPLATE]
49349 instantiate the configuration header FILE
49351 Configuration files:
49354 Configuration headers:
49357 Configuration commands:
49360 Report bugs to <bug-autoconf@gnu.org>."
49363 cat >>$CONFIG_STATUS <<_ACEOF
49365 wxWidgets config.status 2.9.0
49366 configured by $0, generated by GNU Autoconf 2.61,
49367 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49369 Copyright (C) 2006 Free Software Foundation, Inc.
49370 This config.status script is free software; the Free Software Foundation
49371 gives unlimited permission to copy, distribute and modify it."
49378 cat >>$CONFIG_STATUS <<\_ACEOF
49379 # If no file are specified by the user, then we need to provide default
49380 # value. By we need to know if files were specified by the user.
49386 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49387 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49398 # Handling of the options.
49399 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49401 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49402 echo "$ac_cs_version"; exit ;;
49403 --debug | --debu | --deb | --de | --d | -d )
49405 --file | --fil | --fi | --f )
49407 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49408 ac_need_defaults=false;;
49409 --header | --heade | --head | --hea )
49411 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49412 ac_need_defaults=false;;
49414 # Conflict between --help and --header
49415 { echo "$as_me: error: ambiguous option: $1
49416 Try \`$0 --help' for more information." >&2
49417 { (exit 1); exit 1; }; };;
49418 --help | --hel | -h )
49419 echo "$ac_cs_usage"; exit ;;
49420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49421 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49424 # This is an error.
49425 -*) { echo "$as_me: error: unrecognized option: $1
49426 Try \`$0 --help' for more information." >&2
49427 { (exit 1); exit 1; }; } ;;
49429 *) ac_config_targets="$ac_config_targets $1"
49430 ac_need_defaults=false ;;
49436 ac_configure_extra_args=
49438 if $ac_cs_silent; then
49440 ac_configure_extra_args="$ac_configure_extra_args --silent"
49444 cat >>$CONFIG_STATUS <<_ACEOF
49445 if \$ac_cs_recheck; then
49446 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49447 CONFIG_SHELL=$SHELL
49448 export CONFIG_SHELL
49449 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49453 cat >>$CONFIG_STATUS <<\_ACEOF
49457 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49458 ## Running $as_me. ##
49464 cat >>$CONFIG_STATUS <<_ACEOF
49470 infile="$srcdir/include/wx/msw/genrcdefs.h"
49471 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49474 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49475 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49476 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49482 cat >>$CONFIG_STATUS <<\_ACEOF
49484 # Handling of arguments.
49485 for ac_config_target in $ac_config_targets
49487 case $ac_config_target in
49488 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49489 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49490 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49491 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49492 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49493 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49494 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49495 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49497 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49498 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49499 { (exit 1); exit 1; }; };;
49504 # If the user did not use the arguments to specify the items to instantiate,
49505 # then the envvar interface is used. Set only those that are not.
49506 # We use the long form for the default assignment because of an extremely
49507 # bizarre bug on SunOS 4.1.3.
49508 if $ac_need_defaults; then
49509 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49510 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49511 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49514 # Have a temporary directory for convenience. Make it in the build tree
49515 # simply because there is no reason against having it here, and in addition,
49516 # creating and moving files from /tmp can sometimes cause problems.
49517 # Hook for its removal unless debugging.
49518 # Note that there is a small window in which the directory will not be cleaned:
49519 # after its creation but before its name has been assigned to `$tmp'.
49523 trap 'exit_status=$?
49524 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49526 trap '{ (exit 1); exit 1; }' 1 2 13 15
49528 # Create a (secure) tmp directory for tmp files.
49531 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49532 test -n "$tmp" && test -d "$tmp"
49535 tmp=./conf$$-$RANDOM
49536 (umask 077 && mkdir "$tmp")
49539 echo "$me: cannot create a temporary directory in ." >&2
49540 { (exit 1); exit 1; }
49544 # Set up the sed scripts for CONFIG_FILES section.
49547 # No need to generate the scripts if there are no CONFIG_FILES.
49548 # This happens for instance when ./config.status config.h
49549 if test -n "$CONFIG_FILES"; then
49556 for ac_last_try in false false false false false :; do
49557 cat >conf$$subs.sed <<_ACEOF
49558 SHELL!$SHELL$ac_delim
49559 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49560 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49561 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49562 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49563 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49564 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49565 exec_prefix!$exec_prefix$ac_delim
49566 prefix!$prefix$ac_delim
49567 program_transform_name!$program_transform_name$ac_delim
49568 bindir!$bindir$ac_delim
49569 sbindir!$sbindir$ac_delim
49570 libexecdir!$libexecdir$ac_delim
49571 datarootdir!$datarootdir$ac_delim
49572 datadir!$datadir$ac_delim
49573 sysconfdir!$sysconfdir$ac_delim
49574 sharedstatedir!$sharedstatedir$ac_delim
49575 localstatedir!$localstatedir$ac_delim
49576 includedir!$includedir$ac_delim
49577 oldincludedir!$oldincludedir$ac_delim
49578 docdir!$docdir$ac_delim
49579 infodir!$infodir$ac_delim
49580 htmldir!$htmldir$ac_delim
49581 dvidir!$dvidir$ac_delim
49582 pdfdir!$pdfdir$ac_delim
49583 psdir!$psdir$ac_delim
49584 libdir!$libdir$ac_delim
49585 localedir!$localedir$ac_delim
49586 mandir!$mandir$ac_delim
49587 DEFS!$DEFS$ac_delim
49588 ECHO_C!$ECHO_C$ac_delim
49589 ECHO_N!$ECHO_N$ac_delim
49590 ECHO_T!$ECHO_T$ac_delim
49591 LIBS!$LIBS$ac_delim
49592 build_alias!$build_alias$ac_delim
49593 host_alias!$host_alias$ac_delim
49594 target_alias!$target_alias$ac_delim
49595 build!$build$ac_delim
49596 build_cpu!$build_cpu$ac_delim
49597 build_vendor!$build_vendor$ac_delim
49598 build_os!$build_os$ac_delim
49599 host!$host$ac_delim
49600 host_cpu!$host_cpu$ac_delim
49601 host_vendor!$host_vendor$ac_delim
49602 host_os!$host_os$ac_delim
49603 target!$target$ac_delim
49604 target_cpu!$target_cpu$ac_delim
49605 target_vendor!$target_vendor$ac_delim
49606 target_os!$target_os$ac_delim
49607 wx_top_builddir!$wx_top_builddir$ac_delim
49609 CFLAGS!$CFLAGS$ac_delim
49610 LDFLAGS!$LDFLAGS$ac_delim
49611 CPPFLAGS!$CPPFLAGS$ac_delim
49612 ac_ct_CC!$ac_ct_CC$ac_delim
49613 EXEEXT!$EXEEXT$ac_delim
49614 OBJEXT!$OBJEXT$ac_delim
49616 GREP!$GREP$ac_delim
49617 EGREP!$EGREP$ac_delim
49619 CXXFLAGS!$CXXFLAGS$ac_delim
49620 ac_ct_CXX!$ac_ct_CXX$ac_delim
49621 RANLIB!$RANLIB$ac_delim
49623 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49624 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49625 INSTALL_DATA!$INSTALL_DATA$ac_delim
49626 STRIP!$STRIP$ac_delim
49627 WINDRES!$WINDRES$ac_delim
49628 DLLTOOL!$DLLTOOL$ac_delim
49629 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49630 LN_S!$LN_S$ac_delim
49631 subdirs!$subdirs$ac_delim
49632 PKG_CONFIG!$PKG_CONFIG$ac_delim
49633 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49634 GTK_LIBS!$GTK_LIBS$ac_delim
49635 GTK_CONFIG!$GTK_CONFIG$ac_delim
49636 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49637 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49638 XMKMF!$XMKMF$ac_delim
49639 X_CFLAGS!$X_CFLAGS$ac_delim
49640 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49641 X_LIBS!$X_LIBS$ac_delim
49642 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49643 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49644 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49645 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49646 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49647 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49648 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49650 DEREZ!$DEREZ$ac_delim
49651 SETFILE!$SETFILE$ac_delim
49652 LIBICONV!$LIBICONV$ac_delim
49653 SDL_CONFIG!$SDL_CONFIG$ac_delim
49654 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49657 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49659 elif $ac_last_try; then
49660 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49661 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49662 { (exit 1); exit 1; }; }
49664 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49668 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49669 if test -n "$ac_eof"; then
49670 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49671 ac_eof=`expr $ac_eof + 1`
49674 cat >>$CONFIG_STATUS <<_ACEOF
49675 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49676 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49679 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49680 s/^/s,@/; s/!/@,|#_!!_#|/
49683 s/'"$ac_delim"'$/,g/; t
49685 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49686 ' >>$CONFIG_STATUS <conf$$subs.sed
49687 rm -f conf$$subs.sed
49688 cat >>$CONFIG_STATUS <<_ACEOF
49694 for ac_last_try in false false false false false :; do
49695 cat >conf$$subs.sed <<_ACEOF
49696 SDL_LIBS!$SDL_LIBS$ac_delim
49697 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49698 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49699 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49700 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49701 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49702 HILDON_LIBS!$HILDON_LIBS$ac_delim
49703 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49704 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49705 GST_CFLAGS!$GST_CFLAGS$ac_delim
49706 GST_LIBS!$GST_LIBS$ac_delim
49707 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49708 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49709 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49710 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49711 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49712 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49713 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49714 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49715 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49716 VENDOR!$VENDOR$ac_delim
49717 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49718 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49719 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49720 WXUNIV!$WXUNIV$ac_delim
49721 MONOLITHIC!$MONOLITHIC$ac_delim
49722 USE_PLUGINS!$USE_PLUGINS$ac_delim
49723 EXTRALIBS!$EXTRALIBS$ac_delim
49724 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49725 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49726 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49727 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49728 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49729 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49730 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49731 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49732 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49733 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49734 UNICODE!$UNICODE$ac_delim
49735 BUILD!$BUILD$ac_delim
49736 DEBUG_INFO!$DEBUG_INFO$ac_delim
49737 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49738 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49739 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49740 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49741 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49742 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49743 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49744 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49745 SET_MAKE!$SET_MAKE$ac_delim
49746 MAKE_SET!$MAKE_SET$ac_delim
49747 AROPTIONS!$AROPTIONS$ac_delim
49749 INSTALL_DIR!$INSTALL_DIR$ac_delim
49750 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49751 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49752 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49753 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49754 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49755 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49756 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49757 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49758 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49759 SO_SUFFIX!$SO_SUFFIX$ac_delim
49760 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49761 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49762 LIBPREFIX!$LIBPREFIX$ac_delim
49763 LIBEXT!$LIBEXT$ac_delim
49764 DLLPREFIX!$DLLPREFIX$ac_delim
49765 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49766 dlldir!$dlldir$ac_delim
49767 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49768 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49769 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
49770 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
49771 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
49772 PIC_FLAG!$PIC_FLAG$ac_delim
49773 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
49774 USE_SOVERSION!$USE_SOVERSION$ac_delim
49775 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
49776 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
49777 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
49778 USE_MACVERSION!$USE_MACVERSION$ac_delim
49779 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
49780 SONAME_FLAG!$SONAME_FLAG$ac_delim
49781 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
49782 BK_DEPS!$BK_DEPS$ac_delim
49783 GCC_PCH!$GCC_PCH$ac_delim
49784 ICC_PCH!$ICC_PCH$ac_delim
49785 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
49786 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
49787 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
49788 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
49789 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
49790 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
49791 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
49792 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
49795 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49797 elif $ac_last_try; then
49798 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49799 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49800 { (exit 1); exit 1; }; }
49802 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49806 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49807 if test -n "$ac_eof"; then
49808 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49809 ac_eof=`expr $ac_eof + 1`
49812 cat >>$CONFIG_STATUS <<_ACEOF
49813 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
49814 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49817 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49818 s/^/s,@/; s/!/@,|#_!!_#|/
49821 s/'"$ac_delim"'$/,g/; t
49823 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49824 ' >>$CONFIG_STATUS <conf$$subs.sed
49825 rm -f conf$$subs.sed
49826 cat >>$CONFIG_STATUS <<_ACEOF
49832 for ac_last_try in false false false false false :; do
49833 cat >conf$$subs.sed <<_ACEOF
49834 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
49835 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
49836 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
49837 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
49838 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
49839 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
49840 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
49841 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
49842 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
49843 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
49844 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
49845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
49846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
49847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
49848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
49850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
49851 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
49852 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
49853 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
49854 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
49855 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
49856 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
49857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
49858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
49859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
49860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
49861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
49862 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
49863 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
49864 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
49865 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
49866 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
49867 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
49868 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49869 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
49870 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
49871 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
49872 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
49873 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
49874 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
49875 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
49876 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
49877 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
49878 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
49879 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
49880 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
49881 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
49882 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
49883 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
49884 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
49885 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
49886 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
49887 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
49888 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
49889 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
49890 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
49891 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
49892 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
49893 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
49894 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
49895 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
49896 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
49897 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
49898 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
49899 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
49900 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
49901 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
49902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
49903 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
49904 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
49905 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
49906 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
49907 COND_SHARED_0!$COND_SHARED_0$ac_delim
49908 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
49909 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
49910 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
49911 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
49912 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
49913 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
49914 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
49915 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
49916 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
49917 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
49918 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
49919 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
49920 COND_SHARED_1!$COND_SHARED_1$ac_delim
49921 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
49922 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
49923 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
49924 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
49925 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
49926 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
49927 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
49928 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
49929 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
49930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
49933 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49935 elif $ac_last_try; then
49936 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49937 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49938 { (exit 1); exit 1; }; }
49940 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49944 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49945 if test -n "$ac_eof"; then
49946 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49947 ac_eof=`expr $ac_eof + 1`
49950 cat >>$CONFIG_STATUS <<_ACEOF
49951 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
49952 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49955 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49956 s/^/s,@/; s/!/@,|#_!!_#|/
49959 s/'"$ac_delim"'$/,g/; t
49961 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49962 ' >>$CONFIG_STATUS <conf$$subs.sed
49963 rm -f conf$$subs.sed
49964 cat >>$CONFIG_STATUS <<_ACEOF
49970 for ac_last_try in false false false false false :; do
49971 cat >conf$$subs.sed <<_ACEOF
49972 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
49973 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
49974 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
49975 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
49976 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
49977 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
49978 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
49979 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
49980 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
49981 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
49982 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
49983 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
49984 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
49985 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
49986 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
49987 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
49988 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
49989 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
49990 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
49991 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
49992 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
49993 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
49994 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
49995 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
49996 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
49997 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
49998 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
49999 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50000 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50001 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50002 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50003 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50004 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50005 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50006 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50007 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50008 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50009 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50010 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50011 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50012 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50013 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50014 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50015 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50016 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50017 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50018 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50019 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50020 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50021 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50022 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50023 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50024 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50025 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50026 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50027 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50028 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50029 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50030 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50031 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50032 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50033 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50034 SHARED!$SHARED$ac_delim
50035 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50036 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50037 USE_GUI!$USE_GUI$ac_delim
50038 AFMINSTALL!$AFMINSTALL$ac_delim
50039 WIN32INSTALL!$WIN32INSTALL$ac_delim
50040 TOOLKIT!$TOOLKIT$ac_delim
50041 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50042 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50043 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50044 cross_compiling!$cross_compiling$ac_delim
50045 WIDGET_SET!$WIDGET_SET$ac_delim
50046 WX_RELEASE!$WX_RELEASE$ac_delim
50047 WX_VERSION!$WX_VERSION$ac_delim
50048 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50049 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50050 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50051 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50052 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50053 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50054 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50055 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50056 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50057 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50058 EXE_LINKER!$EXE_LINKER$ac_delim
50059 GUIDIST!$GUIDIST$ac_delim
50060 DISTDIR!$DISTDIR$ac_delim
50061 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50062 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50063 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50064 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50065 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50066 RESCOMP!$RESCOMP$ac_delim
50067 RESFLAGS!$RESFLAGS$ac_delim
50068 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50071 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50073 elif $ac_last_try; then
50074 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50075 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50076 { (exit 1); exit 1; }; }
50078 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50082 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50083 if test -n "$ac_eof"; then
50084 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50085 ac_eof=`expr $ac_eof + 1`
50088 cat >>$CONFIG_STATUS <<_ACEOF
50089 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50090 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50093 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50094 s/^/s,@/; s/!/@,|#_!!_#|/
50097 s/'"$ac_delim"'$/,g/; t
50099 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50100 ' >>$CONFIG_STATUS <conf$$subs.sed
50101 rm -f conf$$subs.sed
50102 cat >>$CONFIG_STATUS <<_ACEOF
50108 for ac_last_try in false false false false false :; do
50109 cat >conf$$subs.sed <<_ACEOF
50110 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50111 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50112 LIBWXMACRES!$LIBWXMACRES$ac_delim
50113 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50114 MACSETFILE!$MACSETFILE$ac_delim
50116 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50117 LIBOBJS!$LIBOBJS$ac_delim
50118 LTLIBOBJS!$LTLIBOBJS$ac_delim
50121 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
50123 elif $ac_last_try; then
50124 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50125 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50126 { (exit 1); exit 1; }; }
50128 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50132 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50133 if test -n "$ac_eof"; then
50134 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50135 ac_eof=`expr $ac_eof + 1`
50138 cat >>$CONFIG_STATUS <<_ACEOF
50139 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50140 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50143 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50144 s/^/s,@/; s/!/@,|#_!!_#|/
50147 s/'"$ac_delim"'$/,g/; t
50149 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50150 ' >>$CONFIG_STATUS <conf$$subs.sed
50151 rm -f conf$$subs.sed
50152 cat >>$CONFIG_STATUS <<_ACEOF
50159 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50160 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50161 # trailing colons and then remove the whole line if VPATH becomes empty
50162 # (actually we leave an empty line to preserve line numbers).
50163 if test "x$srcdir" = x.; then
50164 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50165 s/:*\$(srcdir):*/:/
50166 s/:*\${srcdir}:*/:/
50168 s/^\([^=]*=[ ]*\):*/\1/
50174 cat >>$CONFIG_STATUS <<\_ACEOF
50175 fi # test -n "$CONFIG_FILES"
50178 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50181 :[FHLC]) ac_mode=$ac_tag; continue;;
50183 case $ac_mode$ac_tag in
50185 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50186 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50187 { (exit 1); exit 1; }; };;
50188 :[FH]-) ac_tag=-:-;;
50189 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50206 -) ac_f="$tmp/stdin";;
50207 *) # Look for the file first in the build tree, then in the source tree
50208 # (if the path is not absolute). The absolute path cannot be DOS-style,
50209 # because $ac_f cannot contain `:'.
50213 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50215 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50216 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50217 { (exit 1); exit 1; }; };;
50219 ac_file_inputs="$ac_file_inputs $ac_f"
50222 # Let's still pretend it is `configure' which instantiates (i.e., don't
50223 # use $as_me), people would be surprised to read:
50224 # /* config.h. Generated by config.status. */
50225 configure_input="Generated from "`IFS=:
50226 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50227 if test x"$ac_file" != x-; then
50228 configure_input="$ac_file. $configure_input"
50229 { echo "$as_me:$LINENO: creating $ac_file" >&5
50230 echo "$as_me: creating $ac_file" >&6;}
50234 *:-:* | *:-) cat >"$tmp/stdin";;
50239 ac_dir=`$as_dirname -- "$ac_file" ||
50240 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50241 X"$ac_file" : 'X\(//\)[^/]' \| \
50242 X"$ac_file" : 'X\(//\)$' \| \
50243 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50249 /^X\(\/\/\)[^/].*/{
50264 -*) as_dir=./$as_dir;;
50266 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50270 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50271 *) as_qdir=$as_dir;;
50273 as_dirs="'$as_qdir' $as_dirs"
50274 as_dir=`$as_dirname -- "$as_dir" ||
50275 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50276 X"$as_dir" : 'X\(//\)[^/]' \| \
50277 X"$as_dir" : 'X\(//\)$' \| \
50278 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50284 /^X\(\/\/\)[^/].*/{
50297 test -d "$as_dir" && break
50299 test -z "$as_dirs" || eval "mkdir $as_dirs"
50300 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50301 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50302 { (exit 1); exit 1; }; }; }
50306 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50308 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50309 # A ".." for each directory in $ac_dir_suffix.
50310 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50311 case $ac_top_builddir_sub in
50312 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50313 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50316 ac_abs_top_builddir=$ac_pwd
50317 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50318 # for backward compatibility:
50319 ac_top_builddir=$ac_top_build_prefix
50322 .) # We are building in place.
50324 ac_top_srcdir=$ac_top_builddir_sub
50325 ac_abs_top_srcdir=$ac_pwd ;;
50326 [\\/]* | ?:[\\/]* ) # Absolute name.
50327 ac_srcdir=$srcdir$ac_dir_suffix;
50328 ac_top_srcdir=$srcdir
50329 ac_abs_top_srcdir=$srcdir ;;
50330 *) # Relative name.
50331 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50332 ac_top_srcdir=$ac_top_build_prefix$srcdir
50333 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50335 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50345 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50346 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50350 cat >>$CONFIG_STATUS <<\_ACEOF
50351 # If the template does not know about datarootdir, expand it.
50352 # FIXME: This hack should be removed a few years after 2.60.
50353 ac_datarootdir_hack=; ac_datarootdir_seen=
50355 case `sed -n '/datarootdir/ {
50364 ' $ac_file_inputs` in
50365 *datarootdir*) ac_datarootdir_seen=yes;;
50366 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50367 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50368 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50370 cat >>$CONFIG_STATUS <<_ACEOF
50371 ac_datarootdir_hack='
50372 s&@datadir@&$datadir&g
50373 s&@docdir@&$docdir&g
50374 s&@infodir@&$infodir&g
50375 s&@localedir@&$localedir&g
50376 s&@mandir@&$mandir&g
50377 s&\\\${datarootdir}&$datarootdir&g' ;;
50381 # Neutralize VPATH when `$srcdir' = `.'.
50382 # Shell code in configure.ac might set extrasub.
50383 # FIXME: do we really want to maintain this feature?
50384 cat >>$CONFIG_STATUS <<_ACEOF
50388 cat >>$CONFIG_STATUS <<\_ACEOF
50390 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50391 s&@configure_input@&$configure_input&;t t
50392 s&@top_builddir@&$ac_top_builddir_sub&;t t
50393 s&@srcdir@&$ac_srcdir&;t t
50394 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50395 s&@top_srcdir@&$ac_top_srcdir&;t t
50396 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50397 s&@builddir@&$ac_builddir&;t t
50398 s&@abs_builddir@&$ac_abs_builddir&;t t
50399 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50400 s&@INSTALL@&$ac_INSTALL&;t t
50401 $ac_datarootdir_hack
50402 " $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
50404 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50405 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50406 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50407 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50408 which seems to be undefined. Please make sure it is defined." >&5
50409 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50410 which seems to be undefined. Please make sure it is defined." >&2;}
50414 -) cat "$tmp/out"; rm -f "$tmp/out";;
50415 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50424 # Transform confdefs.h into a sed script `conftest.defines', that
50425 # substitutes the proper values into config.h.in to produce config.h.
50426 rm -f conftest.defines conftest.tail
50427 # First, append a space to every undef/define line, to ease matching.
50428 echo 's/$/ /' >conftest.defines
50429 # Then, protect against being on the right side of a sed subst, or in
50430 # an unquoted here document, in config.status. If some macros were
50431 # called several times there might be several #defines for the same
50432 # symbol, which is useless. But do not sort them, since the last
50433 # AC_DEFINE must be honored.
50434 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50435 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50436 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50437 # PARAMS is the parameter list in the macro definition--in most cases, it's
50438 # just an empty string.
50439 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50440 ac_dB='\\)[ (].*,\\1define\\2'
50448 s/^[ ]*#[ ]*define[ ][ ]*//
50453 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50454 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50455 ' >>conftest.defines
50457 # Remove the space that was appended to ease matching.
50458 # Then replace #undef with comments. This is necessary, for
50459 # example, in the case of _POSIX_SOURCE, which is predefined and required
50460 # on some systems where configure will not decide to define it.
50461 # (The regexp can be short, since the line contains either #define or #undef.)
50463 s,^[ #]*u.*,/* & */,' >>conftest.defines
50465 # Break up conftest.defines:
50466 ac_max_sed_lines=50
50468 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50469 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50470 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50472 ac_in='$ac_file_inputs'
50473 ac_out='"$tmp/out1"'
50474 ac_nxt='"$tmp/out2"'
50478 # Write a here document:
50479 cat >>$CONFIG_STATUS <<_ACEOF
50480 # First, check the format of the line:
50481 cat >"\$tmp/defines.sed" <<\\CEOF
50482 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50483 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50487 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50489 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50490 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50491 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50492 grep . conftest.tail >/dev/null || break
50493 rm -f conftest.defines
50494 mv conftest.tail conftest.defines
50496 rm -f conftest.defines conftest.tail
50498 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50499 cat >>$CONFIG_STATUS <<\_ACEOF
50500 if test x"$ac_file" != x-; then
50501 echo "/* $configure_input */" >"$tmp/config.h"
50502 cat "$ac_result" >>"$tmp/config.h"
50503 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50504 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50505 echo "$as_me: $ac_file is unchanged" >&6;}
50508 mv "$tmp/config.h" $ac_file
50511 echo "/* $configure_input */"
50517 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50518 echo "$as_me: executing $ac_file commands" >&6;}
50523 case $ac_file$ac_mode in
50525 mkdir -p $outdir &&
50526 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50528 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50529 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50530 "wx-config":C) rm -f wx-config
50531 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50538 { (exit 0); exit 0; }
50540 chmod +x $CONFIG_STATUS
50541 ac_clean_files=$ac_clean_files_save
50544 # configure is writing to config.log, and then calls config.status.
50545 # config.status does its own redirection, appending to config.log.
50546 # Unfortunately, on DOS this fails, as config.log is still kept open
50547 # by configure, so config.status won't be able to write to it; its
50548 # output is simply discarded. So we exec the FD to /dev/null,
50549 # effectively closing config.log, so it can be properly (re)opened and
50550 # appended to by config.status. When coming back to configure, we
50551 # need to make the FD available again.
50552 if test "$no_create" != yes; then
50554 ac_config_status_args=
50555 test "$silent" = yes &&
50556 ac_config_status_args="$ac_config_status_args --quiet"
50558 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50560 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50561 # would make configure fail if this is the last instruction.
50562 $ac_cs_success || { (exit 1); exit 1; }
50566 # CONFIG_SUBDIRS section.
50568 if test "$no_recursion" != yes; then
50570 # Remove --cache-file and --srcdir arguments so they do not pile up.
50571 ac_sub_configure_args=
50573 eval "set x $ac_configure_args"
50577 if test -n "$ac_prev"; then
50582 -cache-file | --cache-file | --cache-fil | --cache-fi \
50583 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50584 ac_prev=cache_file ;;
50585 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50586 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50589 --config-cache | -C)
50591 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50593 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50595 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50597 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50601 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50603 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
50607 # Always prepend --prefix to ensure using the same prefix
50608 # in subdir configurations.
50609 ac_arg="--prefix=$prefix"
50611 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50613 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
50616 if test "$silent" = yes; then
50617 ac_sub_configure_args="--silent $ac_sub_configure_args"
50621 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50623 # Do not complain, so a configure script can configure whichever
50624 # parts of a large source tree are present.
50625 test -d "$srcdir/$ac_dir" || continue
50627 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50628 echo "$as_me:$LINENO: $ac_msg" >&5
50632 -*) as_dir=./$as_dir;;
50634 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50638 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50639 *) as_qdir=$as_dir;;
50641 as_dirs="'$as_qdir' $as_dirs"
50642 as_dir=`$as_dirname -- "$as_dir" ||
50643 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50644 X"$as_dir" : 'X\(//\)[^/]' \| \
50645 X"$as_dir" : 'X\(//\)$' \| \
50646 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50652 /^X\(\/\/\)[^/].*/{
50665 test -d "$as_dir" && break
50667 test -z "$as_dirs" || eval "mkdir $as_dirs"
50668 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50669 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50670 { (exit 1); exit 1; }; }; }
50674 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50676 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50677 # A ".." for each directory in $ac_dir_suffix.
50678 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50679 case $ac_top_builddir_sub in
50680 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50681 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50684 ac_abs_top_builddir=$ac_pwd
50685 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50686 # for backward compatibility:
50687 ac_top_builddir=$ac_top_build_prefix
50690 .) # We are building in place.
50692 ac_top_srcdir=$ac_top_builddir_sub
50693 ac_abs_top_srcdir=$ac_pwd ;;
50694 [\\/]* | ?:[\\/]* ) # Absolute name.
50695 ac_srcdir=$srcdir$ac_dir_suffix;
50696 ac_top_srcdir=$srcdir
50697 ac_abs_top_srcdir=$srcdir ;;
50698 *) # Relative name.
50699 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50700 ac_top_srcdir=$ac_top_build_prefix$srcdir
50701 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50703 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50708 # Check for guested configure; otherwise get Cygnus style configure.
50709 if test -f "$ac_srcdir/configure.gnu"; then
50710 ac_sub_configure=$ac_srcdir/configure.gnu
50711 elif test -f "$ac_srcdir/configure"; then
50712 ac_sub_configure=$ac_srcdir/configure
50713 elif test -f "$ac_srcdir/configure.in"; then
50714 # This should be Cygnus configure.
50715 ac_sub_configure=$ac_aux_dir/configure
50717 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50718 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50722 # The recursion is here.
50723 if test -n "$ac_sub_configure"; then
50724 # Make the cache file name correct relative to the subdirectory.
50725 case $cache_file in
50726 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50727 *) # Relative name.
50728 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
50731 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50732 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50733 # The eval makes quoting arguments work.
50734 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50735 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50736 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50737 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50738 { (exit 1); exit 1; }; }
50747 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50749 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50750 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50752 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50753 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50754 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50756 echo " What level of wxWidgets compatibility should be enabled?"
50757 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50758 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50760 echo " Which libraries should wxWidgets use?"
50761 echo " jpeg ${wxUSE_LIBJPEG-none}"
50762 echo " png ${wxUSE_LIBPNG-none}"
50763 echo " regex ${wxUSE_REGEX}"
50764 echo " tiff ${wxUSE_LIBTIFF-none}"
50765 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50766 echo " xpm ${wxUSE_LIBXPM-none}"
50768 echo " zlib ${wxUSE_ZLIB}"
50769 echo " odbc ${wxUSE_ODBC}"
50770 echo " expat ${wxUSE_EXPAT}"
50771 echo " libmspack ${wxUSE_LIBMSPACK}"
50772 echo " sdl ${wxUSE_LIBSDL}"