2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.60 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 Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
27 BIN_SH=xpg4; export BIN_SH # for Tru64
28 DUALCASE=1; export DUALCASE # for MKS sh
32 # Avoid depending upon Character Ranges.
33 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits='0123456789'
37 as_cr_alnum=$as_cr_Letters$as_cr_digits
39 # The user is always right.
40 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
44 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52 # Support unset when possible.
53 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
61 # We need space, tab and new line, in precisely that order. Quoting is
62 # there to prevent editors from complaining about space-tab.
63 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
64 # splitting by setting IFS to empty value.)
69 # Find who we are. Look in the path if we contain no directory separator.
71 *[\\/]* ) as_myself=$0 ;;
72 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 test -z "$as_dir" && as_dir=.
77 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
83 # We did not find ourselves, most probably we were run as `sh COMMAND'
84 # in which case we are not to be found in the path.
85 if test "x$as_myself" = x; then
88 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C; export $as_var
110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 # Required to use basename.
115 if expr a : '\(a\)' >/dev/null 2>&1 &&
116 test "X`expr 00001 : '.*\(...\)'`" = X001; then
122 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
129 # Name of the executable.
130 as_me=`$as_basename -- "$0" ||
131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132 X"$0" : 'X\(//\)$' \| \
133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 sed '/^.*\/\([^/][^/]*\)\/*$/{
153 if test "x$CONFIG_SHELL" = x; then
154 if (eval ":") 2>/dev/null; then
160 if test $as_have_required = yes && (eval ":
170 as_func_ret_success () {
173 as_func_ret_failure () {
178 if as_func_success; then
182 echo as_func_success failed.
185 if as_func_failure; then
187 echo as_func_failure succeeded.
190 if as_func_ret_success; then
194 echo as_func_ret_success failed.
197 if as_func_ret_failure; then
199 echo as_func_ret_failure succeeded.
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 echo positional parameters were not saved.
209 test \$exitcode = 0) || { (exit 1); exit 1; }
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
235 for as_shell in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev/null <<\_ASEOF
239 # Be Bourne compatible
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
250 BIN_SH=xpg4; export BIN_SH # for Tru64
251 DUALCASE=1; export DUALCASE # for MKS sh
256 CONFIG_SHELL=$as_shell
258 if { "$as_shell" 2> /dev/null <<\_ASEOF
259 # Be Bourne compatible
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
268 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
270 BIN_SH=xpg4; export BIN_SH # for Tru64
271 DUALCASE=1; export DUALCASE # for MKS sh
283 as_func_ret_success () {
286 as_func_ret_failure () {
291 if as_func_success; then
295 echo as_func_success failed.
298 if as_func_failure; then
300 echo as_func_failure succeeded.
303 if as_func_ret_success; then
307 echo as_func_ret_success failed.
310 if as_func_ret_failure; then
312 echo as_func_ret_failure succeeded.
315 if ( set x; as_func_ret_success y && test x = "$1" ); then
319 echo positional parameters were not saved.
322 test $exitcode = 0) || { (exit 1); exit 1; }
327 test "x$as_lineno_1" != "x$as_lineno_2" &&
328 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
339 if test "x$CONFIG_SHELL" != x; then
340 for as_var in BASH_ENV ENV
341 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
344 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 if test $as_have_required = no; then
349 echo This script requires a shell more modern than all the
350 echo shells that I found on your system. Please install a
351 echo modern shell, or manually run the script under such a
352 echo shell if you do have one.
353 { (exit 1); exit 1; }
363 (eval "as_func_return () {
372 as_func_ret_success () {
375 as_func_ret_failure () {
380 if as_func_success; then
384 echo as_func_success failed.
387 if as_func_failure; then
389 echo as_func_failure succeeded.
392 if as_func_ret_success; then
396 echo as_func_ret_success failed.
399 if as_func_ret_failure; then
401 echo as_func_ret_failure succeeded.
404 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 echo positional parameters were not saved.
411 test \$exitcode = 0") || {
412 echo No shell found that supports shell functions.
413 echo Please tell autoconf@gnu.org about your system,
414 echo including any error possibly output before this
422 test "x$as_lineno_1" != "x$as_lineno_2" &&
423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
426 # uniformly replaced by the line number. The first 'sed' inserts a
427 # line-number line after each line using $LINENO; the second 'sed'
428 # does the real work. The second script uses 'N' to pair each
429 # line-number line with the line containing $LINENO, and appends
430 # trailing '-' during substitution so that $LINENO is not a special
432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
433 # scripts with optimization help from Paolo Bonzini. Blame Lee
434 # E. McMahon (1931-1989) for sed's syntax. :-)
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 chmod +x "$as_me.lineno" ||
451 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
452 { (exit 1); exit 1; }; }
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
458 # Exit status is that of the last command.
463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 ECHO_C= ECHO_N= ECHO_T=
473 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 if expr a : '\(a\)' >/dev/null 2>&1 &&
481 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 rm -f conf$$ conf$$.exe conf$$.file
488 if test -d conf$$.dir; then
489 rm -f conf$$.dir/conf$$.file
495 if ln -s conf$$.file conf$$ 2>/dev/null; then
497 # ... but there are two gotchas:
498 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500 # In both cases, we have to default to `cp -p'.
501 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
503 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
514 test -d ./-p && rmdir ./-p
518 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
519 # systems may use methods other than mode bits to determine executability.
520 cat >conf$$.file <<_ASEOF
525 if test -x conf$$.file >/dev/null 2>&1; then
526 as_executable_p="test -x"
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 exec 7<&0 </dev/null 6>&1
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix=/usr/local
552 ac_config_libobj_dir=.
558 SHELL=${CONFIG_SHELL-/bin/sh}
560 # Identity of this package.
561 PACKAGE_NAME='wxWidgets'
562 PACKAGE_TARNAME='wxwidgets'
563 PACKAGE_VERSION='2.9.0'
564 PACKAGE_STRING='wxWidgets 2.9.0'
565 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
567 ac_unique_file="wx-config.in"
568 # Factoring default headers for most tests.
569 ac_includes_default="\
572 # include <sys/types.h>
575 # include <sys/stat.h>
586 # if !STDC_HEADERS && HAVE_MEMORY_H
592 # include <strings.h>
595 # include <inttypes.h>
613 program_transform_name
703 LIBGNOMEPRINTUI_CFLAGS
747 SAMPLES_RPATH_POSTLINK
793 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
794 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
795 COND_BUILD_DEBUG_UNICODE_0
796 COND_BUILD_DEBUG_UNICODE_1
798 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
799 COND_BUILD_RELEASE_UNICODE_0
800 COND_BUILD_RELEASE_UNICODE_1
809 COND_MONOLITHIC_0_SHARED_0
810 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
811 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
812 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
813 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
814 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
815 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
816 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
817 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
818 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
819 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
820 COND_MONOLITHIC_0_SHARED_1
821 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
822 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
825 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
827 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
828 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
829 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
830 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
831 COND_MONOLITHIC_0_USE_AUI_1
832 COND_MONOLITHIC_0_USE_GUI_1
833 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
835 COND_MONOLITHIC_0_USE_HTML_1
836 COND_MONOLITHIC_0_USE_MEDIA_1
837 COND_MONOLITHIC_0_USE_ODBC_1
838 COND_MONOLITHIC_0_USE_QA_1
839 COND_MONOLITHIC_0_USE_RICHTEXT_1
840 COND_MONOLITHIC_0_USE_STC_1
841 COND_MONOLITHIC_0_USE_XRC_1
843 COND_MONOLITHIC_1_SHARED_0
844 COND_MONOLITHIC_1_SHARED_1
845 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
846 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
847 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
848 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
849 COND_PLATFORM_MACOSX_1
850 COND_PLATFORM_MACOSX_1_TOOLKIT_
851 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
852 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
853 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
854 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
855 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
856 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
857 COND_PLATFORM_MACOSX_1_USE_GUI_1
858 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
859 COND_PLATFORM_MACOS_1
861 COND_PLATFORM_MSDOS_0
862 COND_PLATFORM_MSDOS_1
866 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
867 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
868 COND_PLATFORM_UNIX_1_USE_GUI_1
869 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
870 COND_PLATFORM_WIN32_0
871 COND_PLATFORM_WIN32_1
873 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
874 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
875 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
876 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
877 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
878 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
879 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
880 COND_SHARED_0_USE_XRC_1
881 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
882 COND_SHARED_0_WXUSE_ODBC_BUILTIN
883 COND_SHARED_0_WXUSE_REGEX_BUILTIN
884 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
886 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
887 COND_SHARED_1_USE_XRC_1
890 COND_TOOLKIT_COCOA_USE_GUI_1
891 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
893 COND_TOOLKIT_DFB_USE_GUI_1
895 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
896 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
897 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
898 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
899 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
900 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
901 COND_TOOLKIT_GTK_USE_GUI_1
903 COND_TOOLKIT_MAC_USE_GUI_1
904 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
906 COND_TOOLKIT_MGL_USE_GUI_1
908 COND_TOOLKIT_MOTIF_USE_GUI_1
909 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_MSW_USE_GUI_1
912 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_MSW_WXUNIV_0
915 COND_TOOLKIT_PM_USE_GUI_1
916 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_WINCE_USE_GUI_1
919 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_WINCE_WXUNIV_0
922 COND_TOOLKIT_X11_USE_GUI_1
924 COND_USE_EXCEPTIONS_0
925 COND_USE_EXCEPTIONS_1
928 COND_USE_GUI_1_WXUNIV_0
929 COND_USE_GUI_1_WXUNIV_1
930 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
931 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
932 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
939 COND_USE_SOSYMLINKS_1
940 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
941 COND_USE_SOVERLINUX_1
943 COND_USE_SOVERSOLARIS_1
947 COND_WINDOWS_IMPLIB_1
948 COND_WITH_PLUGIN_SDL_1
951 COND_WXUSE_EXPAT_BUILTIN
952 COND_WXUSE_LIBJPEG_BUILTIN
953 COND_WXUSE_LIBPNG_BUILTIN
954 COND_WXUSE_LIBTIFF_BUILTIN
955 COND_WXUSE_ODBC_BUILTIN
956 COND_WXUSE_REGEX_BUILTIN
957 COND_WXUSE_ZLIB_BUILTIN
959 WX_LIBRARY_BASENAME_NOGUI
960 WX_LIBRARY_BASENAME_GUI
993 WX_RESOURCES_MACOSX_ASCII
994 WX_RESOURCES_MACOSX_DATA
1003 ac_precious_vars='build_alias
1024 LIBGNOMEPRINTUI_CFLAGS
1025 LIBGNOMEPRINTUI_LIBS
1034 ac_subdirs_all='src/expat'
1036 # Initialize some variables set by options.
1038 ac_init_version=false
1039 # The variables have the same names as the options, with
1040 # dashes changed to underlines.
1041 cache_file=/dev/null
1048 program_transform_name=s,x,x,
1056 # Installation directory options.
1057 # These are left unexpanded so users can "make install exec_prefix=/foo"
1058 # and all the variables that are supposed to be based on exec_prefix
1059 # by default will actually change.
1060 # Use braces instead of parens because sh, perl, etc. also accept them.
1061 # (The list follows the same order as the GNU Coding Standards.)
1062 bindir='${exec_prefix}/bin'
1063 sbindir='${exec_prefix}/sbin'
1064 libexecdir='${exec_prefix}/libexec'
1065 datarootdir='${prefix}/share'
1066 datadir='${datarootdir}'
1067 sysconfdir='${prefix}/etc'
1068 sharedstatedir='${prefix}/com'
1069 localstatedir='${prefix}/var'
1070 includedir='${prefix}/include'
1071 oldincludedir='/usr/include'
1072 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1073 infodir='${datarootdir}/info'
1078 libdir='${exec_prefix}/lib'
1079 localedir='${datarootdir}/locale'
1080 mandir='${datarootdir}/man'
1086 # If the previous option needs an argument, assign it.
1087 if test -n "$ac_prev"; then
1088 eval $ac_prev=\$ac_option
1094 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1098 # Accept the important Cygnus configure options, so we can diagnose typos.
1100 case $ac_dashdash$ac_option in
1104 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1106 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1107 bindir=$ac_optarg ;;
1109 -build | --build | --buil | --bui | --bu)
1110 ac_prev=build_alias ;;
1111 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1112 build_alias=$ac_optarg ;;
1114 -cache-file | --cache-file | --cache-fil | --cache-fi \
1115 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1116 ac_prev=cache_file ;;
1117 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1118 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1119 cache_file=$ac_optarg ;;
1121 --config-cache | -C)
1122 cache_file=config.cache ;;
1124 -datadir | --datadir | --datadi | --datad)
1126 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1127 datadir=$ac_optarg ;;
1129 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1130 | --dataroo | --dataro | --datar)
1131 ac_prev=datarootdir ;;
1132 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1133 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1134 datarootdir=$ac_optarg ;;
1136 -disable-* | --disable-*)
1137 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1140 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1141 { (exit 1); exit 1; }; }
1142 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1143 eval enable_$ac_feature=no ;;
1145 -docdir | --docdir | --docdi | --doc | --do)
1147 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1148 docdir=$ac_optarg ;;
1150 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1152 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1153 dvidir=$ac_optarg ;;
1155 -enable-* | --enable-*)
1156 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1162 eval enable_$ac_feature=\$ac_optarg ;;
1164 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1165 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1166 | --exec | --exe | --ex)
1167 ac_prev=exec_prefix ;;
1168 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1169 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1170 | --exec=* | --exe=* | --ex=*)
1171 exec_prefix=$ac_optarg ;;
1173 -gas | --gas | --ga | --g)
1174 # Obsolete; use --with-gas.
1177 -help | --help | --hel | --he | -h)
1178 ac_init_help=long ;;
1179 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1180 ac_init_help=recursive ;;
1181 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1182 ac_init_help=short ;;
1184 -host | --host | --hos | --ho)
1185 ac_prev=host_alias ;;
1186 -host=* | --host=* | --hos=* | --ho=*)
1187 host_alias=$ac_optarg ;;
1189 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1191 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1193 htmldir=$ac_optarg ;;
1195 -includedir | --includedir | --includedi | --included | --include \
1196 | --includ | --inclu | --incl | --inc)
1197 ac_prev=includedir ;;
1198 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1199 | --includ=* | --inclu=* | --incl=* | --inc=*)
1200 includedir=$ac_optarg ;;
1202 -infodir | --infodir | --infodi | --infod | --info | --inf)
1204 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1205 infodir=$ac_optarg ;;
1207 -libdir | --libdir | --libdi | --libd)
1209 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1210 libdir=$ac_optarg ;;
1212 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1213 | --libexe | --libex | --libe)
1214 ac_prev=libexecdir ;;
1215 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1216 | --libexe=* | --libex=* | --libe=*)
1217 libexecdir=$ac_optarg ;;
1219 -localedir | --localedir | --localedi | --localed | --locale)
1220 ac_prev=localedir ;;
1221 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1222 localedir=$ac_optarg ;;
1224 -localstatedir | --localstatedir | --localstatedi | --localstated \
1225 | --localstate | --localstat | --localsta | --localst | --locals)
1226 ac_prev=localstatedir ;;
1227 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1228 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1229 localstatedir=$ac_optarg ;;
1231 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1233 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1234 mandir=$ac_optarg ;;
1236 -nfp | --nfp | --nf)
1237 # Obsolete; use --without-fp.
1240 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1241 | --no-cr | --no-c | -n)
1244 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1245 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1248 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1249 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1250 | --oldin | --oldi | --old | --ol | --o)
1251 ac_prev=oldincludedir ;;
1252 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1253 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1254 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1255 oldincludedir=$ac_optarg ;;
1257 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1259 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1260 prefix=$ac_optarg ;;
1262 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1263 | --program-pre | --program-pr | --program-p)
1264 ac_prev=program_prefix ;;
1265 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1266 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1267 program_prefix=$ac_optarg ;;
1269 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1270 | --program-suf | --program-su | --program-s)
1271 ac_prev=program_suffix ;;
1272 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1273 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1274 program_suffix=$ac_optarg ;;
1276 -program-transform-name | --program-transform-name \
1277 | --program-transform-nam | --program-transform-na \
1278 | --program-transform-n | --program-transform- \
1279 | --program-transform | --program-transfor \
1280 | --program-transfo | --program-transf \
1281 | --program-trans | --program-tran \
1282 | --progr-tra | --program-tr | --program-t)
1283 ac_prev=program_transform_name ;;
1284 -program-transform-name=* | --program-transform-name=* \
1285 | --program-transform-nam=* | --program-transform-na=* \
1286 | --program-transform-n=* | --program-transform-=* \
1287 | --program-transform=* | --program-transfor=* \
1288 | --program-transfo=* | --program-transf=* \
1289 | --program-trans=* | --program-tran=* \
1290 | --progr-tra=* | --program-tr=* | --program-t=*)
1291 program_transform_name=$ac_optarg ;;
1293 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1295 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1296 pdfdir=$ac_optarg ;;
1298 -psdir | --psdir | --psdi | --psd | --ps)
1300 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1303 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1304 | -silent | --silent | --silen | --sile | --sil)
1307 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1309 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1311 sbindir=$ac_optarg ;;
1313 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1314 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1315 | --sharedst | --shareds | --shared | --share | --shar \
1317 ac_prev=sharedstatedir ;;
1318 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1319 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1320 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1322 sharedstatedir=$ac_optarg ;;
1324 -site | --site | --sit)
1326 -site=* | --site=* | --sit=*)
1329 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1331 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1332 srcdir=$ac_optarg ;;
1334 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1335 | --syscon | --sysco | --sysc | --sys | --sy)
1336 ac_prev=sysconfdir ;;
1337 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1338 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1339 sysconfdir=$ac_optarg ;;
1341 -target | --target | --targe | --targ | --tar | --ta | --t)
1342 ac_prev=target_alias ;;
1343 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1344 target_alias=$ac_optarg ;;
1346 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1349 -version | --version | --versio | --versi | --vers | -V)
1350 ac_init_version=: ;;
1353 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1354 # Reject names that are not valid shell variable names.
1355 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1356 { echo "$as_me: error: invalid package name: $ac_package" >&2
1357 { (exit 1); exit 1; }; }
1358 ac_package=`echo $ac_package| sed 's/-/_/g'`
1359 eval with_$ac_package=\$ac_optarg ;;
1361 -without-* | --without-*)
1362 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1363 # Reject names that are not valid shell variable names.
1364 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1365 { echo "$as_me: error: invalid package name: $ac_package" >&2
1366 { (exit 1); exit 1; }; }
1367 ac_package=`echo $ac_package | sed 's/-/_/g'`
1368 eval with_$ac_package=no ;;
1371 # Obsolete; use --with-x.
1374 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1375 | --x-incl | --x-inc | --x-in | --x-i)
1376 ac_prev=x_includes ;;
1377 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1378 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1379 x_includes=$ac_optarg ;;
1381 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1382 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1383 ac_prev=x_libraries ;;
1384 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1385 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1386 x_libraries=$ac_optarg ;;
1388 -*) { echo "$as_me: error: unrecognized option: $ac_option
1389 Try \`$0 --help' for more information." >&2
1390 { (exit 1); exit 1; }; }
1394 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1395 # Reject names that are not valid shell variable names.
1396 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1397 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1398 { (exit 1); exit 1; }; }
1399 eval $ac_envvar=\$ac_optarg
1400 export $ac_envvar ;;
1403 # FIXME: should be removed in autoconf 3.0.
1404 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1405 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1406 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1407 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1413 if test -n "$ac_prev"; then
1414 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1415 { echo "$as_me: error: missing argument to $ac_option" >&2
1416 { (exit 1); exit 1; }; }
1419 # Be sure to have absolute directory names.
1420 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1421 datadir sysconfdir sharedstatedir localstatedir includedir \
1422 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1423 libdir localedir mandir
1425 eval ac_val=\$$ac_var
1427 [\\/$]* | ?:[\\/]* ) continue;;
1428 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1430 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1431 { (exit 1); exit 1; }; }
1434 # There might be people who depend on the old broken behavior: `$host'
1435 # used to hold the argument of --host etc.
1436 # FIXME: To remove some day.
1439 target=$target_alias
1441 # FIXME: To remove some day.
1442 if test "x$host_alias" != x; then
1443 if test "x$build_alias" = x; then
1444 cross_compiling=maybe
1445 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1446 If a cross compiler is detected then cross compile mode will be used." >&2
1447 elif test "x$build_alias" != "x$host_alias"; then
1453 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1455 test "$silent" = yes && exec 6>/dev/null
1458 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1459 ac_ls_di=`ls -di .` &&
1460 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1461 { echo "$as_me: error: Working directory cannot be determined" >&2
1462 { (exit 1); exit 1; }; }
1463 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1464 { echo "$as_me: error: pwd does not report name of working directory" >&2
1465 { (exit 1); exit 1; }; }
1468 # Find the source files, if location was not specified.
1469 if test -z "$srcdir"; then
1470 ac_srcdir_defaulted=yes
1471 # Try the directory containing this script, then the parent directory.
1472 ac_confdir=`$as_dirname -- "$0" ||
1473 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1474 X"$0" : 'X\(//\)[^/]' \| \
1475 X"$0" : 'X\(//\)$' \| \
1476 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1496 if test ! -r "$srcdir/$ac_unique_file"; then
1500 ac_srcdir_defaulted=no
1502 if test ! -r "$srcdir/$ac_unique_file"; then
1503 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1504 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1505 { (exit 1); exit 1; }; }
1507 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1509 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1510 { (exit 1); exit 1; }; }
1512 # When building in place, set srcdir=.
1513 if test "$ac_abs_confdir" = "$ac_pwd"; then
1516 # Remove unnecessary trailing slashes from srcdir.
1517 # Double slashes in file names in object file debugging info
1518 # mess up M-x gdb in Emacs.
1520 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1522 for ac_var in $ac_precious_vars; do
1523 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1524 eval ac_env_${ac_var}_value=\$${ac_var}
1525 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1526 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1530 # Report the --help message.
1532 if test "$ac_init_help" = "long"; then
1533 # Omit some internal or obsolete options to make the list less imposing.
1534 # This message is too long to be a string in the A/UX 3.1 sh.
1536 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1538 Usage: $0 [OPTION]... [VAR=VALUE]...
1540 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1541 VAR=VALUE. See below for descriptions of some of the useful variables.
1543 Defaults for the options are specified in brackets.
1546 -h, --help display this help and exit
1547 --help=short display options specific to this package
1548 --help=recursive display the short help of all the included packages
1549 -V, --version display version information and exit
1550 -q, --quiet, --silent do not print \`checking...' messages
1551 --cache-file=FILE cache test results in FILE [disabled]
1552 -C, --config-cache alias for \`--cache-file=config.cache'
1553 -n, --no-create do not create output files
1554 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1556 Installation directories:
1557 --prefix=PREFIX install architecture-independent files in PREFIX
1558 [$ac_default_prefix]
1559 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1562 By default, \`make install' will install all the files in
1563 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1564 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1565 for instance \`--prefix=\$HOME'.
1567 For better control, use the options below.
1569 Fine tuning of the installation directories:
1570 --bindir=DIR user executables [EPREFIX/bin]
1571 --sbindir=DIR system admin executables [EPREFIX/sbin]
1572 --libexecdir=DIR program executables [EPREFIX/libexec]
1573 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1574 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1575 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1576 --libdir=DIR object code libraries [EPREFIX/lib]
1577 --includedir=DIR C header files [PREFIX/include]
1578 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1579 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1580 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1581 --infodir=DIR info documentation [DATAROOTDIR/info]
1582 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1583 --mandir=DIR man documentation [DATAROOTDIR/man]
1584 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1585 --htmldir=DIR html documentation [DOCDIR]
1586 --dvidir=DIR dvi documentation [DOCDIR]
1587 --pdfdir=DIR pdf documentation [DOCDIR]
1588 --psdir=DIR ps documentation [DOCDIR]
1594 --x-includes=DIR X include files are in DIR
1595 --x-libraries=DIR X library files are in DIR
1598 --build=BUILD configure for building on BUILD [guessed]
1599 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1600 --target=TARGET configure for building compilers for TARGET [HOST]
1604 if test -n "$ac_init_help"; then
1605 case $ac_init_help in
1606 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1611 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1612 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1613 --enable-gui use GUI classes
1614 --enable-monolithic build wxWidgets as single library
1615 --enable-plugins build parts of wxWidgets as loadable components
1616 --enable-universal use wxWidgets GUI controls instead of native ones
1617 --enable-nanox use NanoX
1618 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1619 --enable-gpe use GNOME PDA Environment features if possible
1620 --enable-shared create shared library code
1621 --enable-optimise create optimised code
1622 --enable-debug same as debug_flag and debug_info
1623 --enable-stl use STL for containers
1624 --enable-omf use OMF object format
1625 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1626 --enable-debug_info create code with debugging information
1627 --enable-debug_gdb create code with extra GDB debugging information
1628 --enable-debug_cntxt use wxDebugContext
1629 --enable-mem_tracing create code with memory tracing
1630 --enable-profile create code with profiling information
1631 --enable-no_rtti create code without RTTI information
1632 --enable-no_exceptions create code without C++ exceptions handling
1633 --enable-permissive compile code disregarding strict ANSI
1634 --enable-no_deps create code without dependency information
1635 --disable-vararg_macros don't use vararg macros, even if they are supported
1636 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1637 --enable-compat26 enable wxWidgets 2.6 compatibility
1638 --disable-compat28 disable wxWidgets 2.8 compatibility
1639 --disable-rpath disable use of rpath for uninstalled builds
1640 --enable-intl use internationalization system
1641 --enable-config use wxConfig (and derived) classes
1642 --enable-protocols use wxProtocol and derived classes
1643 --enable-ftp use wxFTP (requires wxProtocol
1644 --enable-http use wxHTTP (requires wxProtocol
1645 --enable-fileproto use wxFileProto class (requires wxProtocol
1646 --enable-sockets use socket/network classes
1647 --enable-ole use OLE classes (Win32 only)
1648 --enable-dataobj use data object classes
1649 --enable-ipc use interprocess communication (wxSocket etc.)
1650 --enable-apple_ieee use the Apple IEEE codec
1651 --enable-arcstream use wxArchive streams
1652 --enable-backtrace use wxStackWalker class for getting backtraces
1653 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1654 --enable-cmdline use wxCmdLineParser class
1655 --enable-datetime use wxDateTime class
1656 --enable-debugreport use wxDebugReport class
1657 --enable-dialupman use dialup network classes
1658 --enable-dynlib use wxLibrary class for DLL loading
1659 --enable-dynamicloader use (new) wxDynamicLibrary class
1660 --enable-exceptions build exception-safe library
1661 --enable-ffile use wxFFile class
1662 --enable-file use wxFile class
1663 --enable-filesystem use virtual file systems classes
1664 --enable-fontmap use font encodings conversion classes
1665 --enable-fs_archive use virtual archive filesystems
1666 --enable-fs_inet use virtual HTTP/FTP filesystems
1667 --enable-fs_zip now replaced by fs_archive
1668 --enable-geometry use geometry class
1669 --enable-log use logging system
1670 --enable-longlong use wxLongLong class
1671 --enable-mimetype use wxMimeTypesManager
1672 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1673 --enable-snglinst use wxSingleInstanceChecker class
1674 --enable-std_iostreams use standard C++ stream classes
1675 --enable-std_string use standard C++ string classes
1676 --enable-stdpaths use wxStandardPaths class
1677 --enable-stopwatch use wxStopWatch class
1678 --enable-streams use wxStream etc classes
1679 --enable-sysoptions use wxSystemOptions
1680 --enable-tarstream use wxTar streams
1681 --enable-textbuf use wxTextBuffer class
1682 --enable-textfile use wxTextFile class
1683 --enable-timer use wxTimer class
1684 --enable-unicode compile wxString with Unicode support
1685 --enable-sound use wxSound class
1686 --enable-mediactrl use wxMediaCtrl class
1687 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1688 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1689 --enable-zipstream use wxZip streams
1690 --enable-url use wxURL class
1691 --enable-variant use wxVariant class
1692 --enable-protocol use wxProtocol class
1693 --enable-protocol-http HTTP support in wxProtocol
1694 --enable-protocol-ftp FTP support in wxProtocol
1695 --enable-protocol-file FILE support in wxProtocol
1696 --enable-threads use threads
1697 --enable-docview use document view architecture
1698 --enable-help use help subsystem
1699 --enable-mshtmlhelp use MS HTML Help (win32)
1700 --enable-html use wxHTML sub-library
1701 --enable-htmlhelp use wxHTML-based help
1702 --enable-xrc use XRC resources sub-library
1703 --enable-aui use AUI docking library
1704 --enable-stc use wxStyledTextCtrl library
1705 --enable-constraints use layout-constraints system
1706 --enable-printarch use printing architecture
1707 --enable-mdi use multiple document interface architecture
1708 --enable-mdidoc use docview architecture with MDI
1709 --enable-loggui use standard GUI logger
1710 --enable-logwin use wxLogWindow
1711 --enable-logdialog use wxLogDialog
1712 --enable-webkit use wxWebKitCtrl (Mac)
1713 --enable-richtext use wxRichTextCtrl
1714 --enable-graphics_ctx use graphics context 2D drawing API
1715 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1716 --enable-prologio not available; see contrib
1717 --enable-resources not available; see contrib
1718 --enable-clipboard use wxClipboard class
1719 --enable-dnd use Drag'n'Drop classes
1720 --enable-metafile use win32 metafiles
1721 --enable-controls use all usual controls
1722 --enable-accel use accelerators
1723 --enable-animatectrl use wxAnimationCtrl class
1724 --enable-button use wxButton class
1725 --enable-bmpbutton use wxBitmapButton class
1726 --enable-bmpcombobox use wxBitmapComboBox class
1727 --enable-calendar use wxCalendarCtrl class
1728 --enable-caret use wxCaret class
1729 --enable-checkbox use wxCheckBox class
1730 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1731 --enable-choice use wxChoice class
1732 --enable-choicebook use wxChoicebook class
1733 --enable-collpane use wxCollapsiblePane class
1734 --enable-colourpicker use wxColourPickerCtrl class
1735 --enable-combobox use wxComboBox class
1736 --enable-comboctrl use wxComboCtrl class
1737 --enable-datepick use wxDatePickerCtrl class
1738 --enable-dirpicker use wxDirPickerCtrl class
1739 --enable-display use wxDisplay class
1740 --enable-detect_sm use code to detect X11 session manager
1741 --enable-filepicker use wxFilePickerCtrl class
1742 --enable-fontpicker use wxFontPickerCtrl class
1743 --enable-gauge use wxGauge class
1744 --enable-grid use wxGrid class
1745 --enable-dataviewctrl use wxDataViewCtrl class
1746 --enable-hyperlink use wxHyperlinkCtrl class
1747 --enable-imaglist use wxImageList class
1748 --enable-listbook use wxListbook class
1749 --enable-listbox use wxListBox class
1750 --enable-listctrl use wxListCtrl class
1751 --enable-notebook use wxNotebook class
1752 --enable-odcombobox use wxOwnerDrawnComboBox class
1753 --enable-radiobox use wxRadioBox class
1754 --enable-radiobtn use wxRadioButton class
1755 --enable-sash use wxSashWindow class
1756 --enable-scrollbar use wxScrollBar class and scrollable windows
1757 --enable-searchctrl use wxSearchCtrl class
1758 --enable-slider use wxSlider class
1759 --enable-spinbtn use wxSpinButton class
1760 --enable-spinctrl use wxSpinCtrl class
1761 --enable-splitter use wxSplitterWindow class
1762 --enable-statbmp use wxStaticBitmap class
1763 --enable-statbox use wxStaticBox class
1764 --enable-statline use wxStaticLine class
1765 --enable-stattext use wxStaticText class
1766 --enable-statusbar use wxStatusBar class
1767 --enable-tabdialog use wxTabControl class
1768 --enable-textctrl use wxTextCtrl class
1769 --enable-togglebtn use wxToggleButton class
1770 --enable-toolbar use wxToolBar class
1771 --enable-tbarnative use native wxToolBar class
1772 --enable-treebook use wxTreebook class
1773 --enable-toolbook use wxToolbook class
1774 --enable-treectrl use wxTreeCtrl class
1775 --enable-tipwindow use wxTipWindow class
1776 --enable-popupwin use wxPopUpWindow class
1777 --enable-commondlg use all common dialogs
1778 --enable-aboutdlg use wxAboutBox
1779 --enable-choicedlg use wxChoiceDialog
1780 --enable-coldlg use wxColourDialog
1781 --enable-filedlg use wxFileDialog
1782 --enable-finddlg use wxFindReplaceDialog
1783 --enable-fontdlg use wxFontDialog
1784 --enable-dirdlg use wxDirDialog
1785 --enable-msgdlg use wxMessageDialog
1786 --enable-numberdlg use wxNumberEntryDialog
1787 --enable-splash use wxSplashScreen
1788 --enable-textdlg use wxTextDialog
1789 --enable-tipdlg use startup tips
1790 --enable-progressdlg use wxProgressDialog
1791 --enable-wizarddlg use wxWizard
1792 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1793 --enable-miniframe use wxMiniFrame class
1794 --enable-tooltips use wxToolTip class
1795 --enable-splines use spline drawing code
1796 --enable-mousewheel use mousewheel
1797 --enable-validators use wxValidator and derived classes
1798 --enable-busyinfo use wxBusyInfo
1799 --enable-joystick use wxJoystick
1800 --enable-metafiles use wxMetaFile (Win32 only)
1801 --enable-dragimage use wxDragImage
1802 --enable-accessibility enable accessibility support
1803 --enable-dccache cache temporary wxDC objects (Win32 only)
1804 --enable-palette use wxPalette class
1805 --enable-image use wxImage class
1806 --enable-gif use gif images (GIF file format)
1807 --enable-pcx use pcx images (PCX file format)
1808 --enable-tga use tga images (TGA file format)
1809 --enable-iff use iff images (IFF file format)
1810 --enable-pnm use pnm images (PNM file format)
1811 --enable-xpm use xpm images (XPM file format)
1812 --enable-icocur use Windows ICO and CUR formats
1813 --enable-official_build official build of wxWidgets (win32 DLL only)
1814 --enable-vendor=VENDOR vendor name (win32 DLL only)
1815 --disable-largefile omit support for large files
1816 --disable-gtktest do not try to compile and run a test GTK+ program
1817 --disable-gtktest Do not try to compile and run a test GTK program
1818 --disable-sdltest Do not try to compile and run a test SDL program
1819 --enable-omf use OMF object format (OS/2)
1820 --disable-dependency-tracking
1821 don't use dependency tracking even if the compiler
1823 --disable-precomp-headers
1824 don't use precompiled headers even if compiler can
1827 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1828 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1829 --without-subdirs don't generate makefiles for samples/demos/...
1830 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1831 --with-motif use Motif/Lesstif
1832 --with-mac use Mac OS X
1833 --with-cocoa use Cocoa
1834 --with-wine use Wine
1835 --with-msw use MS-Windows
1836 --with-pm use OS/2 Presentation Manager
1837 --with-mgl use SciTech MGL
1838 --with-directfb use DirectFB
1839 --with-microwin use MicroWindows
1841 --with-libpng use libpng (PNG image format)
1842 --with-libjpeg use libjpeg (JPEG file format)
1843 --with-libtiff use libtiff (TIFF file format)
1844 --with-libxpm use libxpm (XPM file format)
1845 --with-libmspack use libmspack (CHM help files loading)
1846 --with-sdl use SDL for audio on Unix
1847 --with-gnomeprint use GNOME print for printing under GNOME
1848 --with-gnomevfs use GNOME VFS for associating MIME types
1849 --with-hildon use Hildon framework for Nokia 770
1850 --with-opengl use OpenGL (or Mesa)
1851 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1852 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1853 --with-regex enable support for wxRegEx class
1854 --with-zlib use zlib for LZW compression
1855 --with-odbc use the IODBC and wxODBC classes
1856 --with-expat enable XML support using expat parser
1857 --with-flavour=NAME specify a name to identify this build
1858 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1859 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1860 --with-x use the X Window System
1861 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1862 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1863 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1864 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1865 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1867 Some influential environment variables:
1868 CC C compiler command
1869 CFLAGS C compiler flags
1870 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1871 nonstandard directory <lib dir>
1872 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1873 you have headers in a nonstandard directory <include dir>
1875 CXX C++ compiler command
1876 CXXFLAGS C++ compiler flags
1877 PKG_CONFIG path to pkg-config utility
1879 C compiler flags for DIRECTFB, overriding pkg-config
1881 linker flags for DIRECTFB, overriding pkg-config
1882 XMKMF Path to xmkmf, Makefile generator for X Window System
1884 C compiler flags for PANGOX, overriding pkg-config
1885 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1887 C compiler flags for PANGOFT2, overriding pkg-config
1889 linker flags for PANGOFT2, overriding pkg-config
1891 C compiler flags for PANGOXFT, overriding pkg-config
1893 linker flags for PANGOXFT, overriding pkg-config
1894 LIBGNOMEPRINTUI_CFLAGS
1895 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1896 LIBGNOMEPRINTUI_LIBS
1897 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1899 C compiler flags for GNOMEVFS, overriding pkg-config
1901 linker flags for GNOMEVFS, overriding pkg-config
1903 C compiler flags for HILDON, overriding pkg-config
1904 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1906 C compiler flags for CAIRO, overriding pkg-config
1907 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1908 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1909 GST_LIBS linker flags for GST, overriding pkg-config
1911 Use these variables to override the choices made by `configure' or to help
1912 it to find libraries and programs with nonstandard names/locations.
1914 Report bugs to <wx-dev@lists.wxwidgets.org>.
1919 if test "$ac_init_help" = "recursive"; then
1920 # If there are subdirs, report their specific --help.
1921 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1922 test -d "$ac_dir" || continue
1926 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1928 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1929 # A ".." for each directory in $ac_dir_suffix.
1930 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1931 case $ac_top_builddir_sub in
1932 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1933 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1936 ac_abs_top_builddir=$ac_pwd
1937 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1938 # for backward compatibility:
1939 ac_top_builddir=$ac_top_build_prefix
1942 .) # We are building in place.
1944 ac_top_srcdir=$ac_top_builddir_sub
1945 ac_abs_top_srcdir=$ac_pwd ;;
1946 [\\/]* | ?:[\\/]* ) # Absolute name.
1947 ac_srcdir=$srcdir$ac_dir_suffix;
1948 ac_top_srcdir=$srcdir
1949 ac_abs_top_srcdir=$srcdir ;;
1951 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1952 ac_top_srcdir=$ac_top_build_prefix$srcdir
1953 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1955 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1957 cd "$ac_dir" || { ac_status=$?; continue; }
1958 # Check for guested configure.
1959 if test -f "$ac_srcdir/configure.gnu"; then
1961 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1962 elif test -f "$ac_srcdir/configure"; then
1964 $SHELL "$ac_srcdir/configure" --help=recursive
1966 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1968 cd "$ac_pwd" || { ac_status=$?; break; }
1972 test -n "$ac_init_help" && exit $ac_status
1973 if $ac_init_version; then
1975 wxWidgets configure 2.9.0
1976 generated by GNU Autoconf 2.60
1978 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1979 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1980 This configure script is free software; the Free Software Foundation
1981 gives unlimited permission to copy, distribute and modify it.
1985 cat >config.log <<_ACEOF
1986 This file contains any messages produced by compilers while
1987 running configure, to aid debugging if configure makes a mistake.
1989 It was created by wxWidgets $as_me 2.9.0, which was
1990 generated by GNU Autoconf 2.60. Invocation command line was
2002 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2003 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2004 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2005 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2006 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2008 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2009 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2011 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2012 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2013 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2014 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2015 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2016 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2017 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2025 test -z "$as_dir" && as_dir=.
2026 echo "PATH: $as_dir"
2042 # Keep a trace of the command line.
2043 # Strip out --no-create and --no-recursion so they do not pile up.
2044 # Strip out --silent because we don't want to record it for future runs.
2045 # Also quote any args containing shell meta-characters.
2046 # Make two passes to allow for proper duplicate-argument suppression.
2050 ac_must_keep_next=false
2056 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2058 | -silent | --silent | --silen | --sile | --sil)
2061 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2064 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2066 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2067 if test $ac_must_keep_next = true; then
2068 ac_must_keep_next=false # Got value, back to normal.
2071 *=* | --config-cache | -C | -disable-* | --disable-* \
2072 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2073 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2074 | -with-* | --with-* | -without-* | --without-* | --x)
2075 case "$ac_configure_args0 " in
2076 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2079 -* ) ac_must_keep_next=true ;;
2082 ac_configure_args="$ac_configure_args '$ac_arg'"
2087 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2088 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2090 # When interrupted or exit'd, cleanup temporary files, and complete
2091 # config.log. We remove comments because anyway the quotes in there
2092 # would cause problems or look ugly.
2093 # WARNING: Use '\'' to represent an apostrophe within the trap.
2094 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2095 trap 'exit_status=$?
2096 # Save into config.log some information that might help in debugging.
2101 ## ---------------- ##
2102 ## Cache variables. ##
2103 ## ---------------- ##
2106 # The following way of writing the cache mishandles newlines in values,
2108 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2109 eval ac_val=\$$ac_var
2113 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2114 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2117 _ | IFS | as_nl) ;; #(
2118 *) $as_unset $ac_var ;;
2123 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2124 *${as_nl}ac_space=\ *)
2126 "s/'\''/'\''\\\\'\'''\''/g;
2127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2130 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2138 ## ----------------- ##
2139 ## Output variables. ##
2140 ## ----------------- ##
2143 for ac_var in $ac_subst_vars
2145 eval ac_val=\$$ac_var
2147 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2149 echo "$ac_var='\''$ac_val'\''"
2153 if test -n "$ac_subst_files"; then
2155 ## ------------------- ##
2156 ## File substitutions. ##
2157 ## ------------------- ##
2160 for ac_var in $ac_subst_files
2162 eval ac_val=\$$ac_var
2164 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2166 echo "$ac_var='\''$ac_val'\''"
2171 if test -s confdefs.h; then
2181 test "$ac_signal" != 0 &&
2182 echo "$as_me: caught signal $ac_signal"
2183 echo "$as_me: exit $exit_status"
2185 rm -f core *.core core.conftest.* &&
2186 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2189 for ac_signal in 1 2 13 15; do
2190 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2194 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2195 rm -f -r conftest* confdefs.h
2197 # Predefined preprocessor variables.
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_NAME "$PACKAGE_NAME"
2204 cat >>confdefs.h <<_ACEOF
2205 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2209 cat >>confdefs.h <<_ACEOF
2210 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2214 cat >>confdefs.h <<_ACEOF
2215 #define PACKAGE_STRING "$PACKAGE_STRING"
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2224 # Let the site file select an alternate cache file if it wants to.
2225 # Prefer explicitly selected file to automatically selected ones.
2226 if test -n "$CONFIG_SITE"; then
2227 set x "$CONFIG_SITE"
2228 elif test "x$prefix" != xNONE; then
2229 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2231 set x "$ac_default_prefix/share/config.site" \
2232 "$ac_default_prefix/etc/config.site"
2237 if test -r "$ac_site_file"; then
2238 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2239 echo "$as_me: loading site script $ac_site_file" >&6;}
2240 sed 's/^/| /' "$ac_site_file" >&5
2245 if test -r "$cache_file"; then
2246 # Some versions of bash will fail to source /dev/null (special
2247 # files actually), so we avoid doing that.
2248 if test -f "$cache_file"; then
2249 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2250 echo "$as_me: loading cache $cache_file" >&6;}
2252 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2253 *) . "./$cache_file";;
2257 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2258 echo "$as_me: creating cache $cache_file" >&6;}
2262 # Check that the precious variables saved in the cache have kept the same
2264 ac_cache_corrupted=false
2265 for ac_var in $ac_precious_vars; do
2266 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2267 eval ac_new_set=\$ac_env_${ac_var}_set
2268 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2269 eval ac_new_val=\$ac_env_${ac_var}_value
2270 case $ac_old_set,$ac_new_set in
2272 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2273 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2274 ac_cache_corrupted=: ;;
2276 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2277 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2278 ac_cache_corrupted=: ;;
2281 if test "x$ac_old_val" != "x$ac_new_val"; then
2282 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2283 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2284 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2285 echo "$as_me: former value: $ac_old_val" >&2;}
2286 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2287 echo "$as_me: current value: $ac_new_val" >&2;}
2288 ac_cache_corrupted=:
2291 # Pass precious variables to config.status.
2292 if test "$ac_new_set" = set; then
2294 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2295 *) ac_arg=$ac_var=$ac_new_val ;;
2297 case " $ac_configure_args " in
2298 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2299 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2303 if $ac_cache_corrupted; then
2304 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2305 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2306 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2307 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2308 { (exit 1); exit 1; }; }
2336 ac_cpp='$CPP $CPPFLAGS'
2337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2346 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2347 if test -f "$ac_dir/install-sh"; then
2349 ac_install_sh="$ac_aux_dir/install-sh -c"
2351 elif test -f "$ac_dir/install.sh"; then
2353 ac_install_sh="$ac_aux_dir/install.sh -c"
2355 elif test -f "$ac_dir/shtool"; then
2357 ac_install_sh="$ac_aux_dir/shtool install -c"
2361 if test -z "$ac_aux_dir"; then
2362 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2363 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2364 { (exit 1); exit 1; }; }
2367 # These three variables are undocumented and unsupported,
2368 # and are intended to be withdrawn in a future Autoconf release.
2369 # They can cause serious problems if a builder's source tree is in a directory
2370 # whose full name contains unusual characters.
2371 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2372 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2373 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2376 # Make sure we can run config.sub.
2377 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2378 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2379 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2380 { (exit 1); exit 1; }; }
2382 { echo "$as_me:$LINENO: checking build system type" >&5
2383 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2384 if test "${ac_cv_build+set}" = set; then
2385 echo $ECHO_N "(cached) $ECHO_C" >&6
2387 ac_build_alias=$build_alias
2388 test "x$ac_build_alias" = x &&
2389 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2390 test "x$ac_build_alias" = x &&
2391 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2392 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2393 { (exit 1); exit 1; }; }
2394 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2395 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2396 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2397 { (exit 1); exit 1; }; }
2400 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2401 echo "${ECHO_T}$ac_cv_build" >&6; }
2402 case $ac_cv_build in
2404 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2405 echo "$as_me: error: invalid value of canonical build" >&2;}
2406 { (exit 1); exit 1; }; };;
2409 ac_save_IFS=$IFS; IFS='-'
2415 # Remember, the first character of IFS is used to create $*,
2416 # except with old shells:
2419 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2422 { echo "$as_me:$LINENO: checking host system type" >&5
2423 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2424 if test "${ac_cv_host+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 if test "x$host_alias" = x; then
2428 ac_cv_host=$ac_cv_build
2430 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2431 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2432 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2433 { (exit 1); exit 1; }; }
2437 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2438 echo "${ECHO_T}$ac_cv_host" >&6; }
2441 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2442 echo "$as_me: error: invalid value of canonical host" >&2;}
2443 { (exit 1); exit 1; }; };;
2446 ac_save_IFS=$IFS; IFS='-'
2452 # Remember, the first character of IFS is used to create $*,
2453 # except with old shells:
2456 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2459 { echo "$as_me:$LINENO: checking target system type" >&5
2460 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2461 if test "${ac_cv_target+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 if test "x$target_alias" = x; then
2465 ac_cv_target=$ac_cv_host
2467 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2468 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2469 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2470 { (exit 1); exit 1; }; }
2474 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2475 echo "${ECHO_T}$ac_cv_target" >&6; }
2476 case $ac_cv_target in
2478 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2479 echo "$as_me: error: invalid value of canonical target" >&2;}
2480 { (exit 1); exit 1; }; };;
2482 target=$ac_cv_target
2483 ac_save_IFS=$IFS; IFS='-'
2489 # Remember, the first character of IFS is used to create $*,
2490 # except with old shells:
2493 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2496 # The aliases save the names the user supplied, while $host etc.
2497 # will get canonicalized.
2498 test -n "$target_alias" &&
2499 test "$program_prefix$program_suffix$program_transform_name" = \
2501 program_prefix=${target_alias}-
2505 wx_major_version_number=2
2506 wx_minor_version_number=9
2508 wx_subrelease_number=0
2510 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2511 WX_VERSION=$WX_RELEASE.$wx_release_number
2512 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2514 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2517 wx_top_builddir="`pwd`"
2530 USE_BSD= USE_DARWIN= USE_FREEBSD=
2536 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2542 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2544 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2546 DEFAULT_wxUSE_COCOA=0
2550 DEFAULT_wxUSE_MICROWIN=0
2551 DEFAULT_wxUSE_MOTIF=0
2557 DEFAULT_DEFAULT_wxUSE_COCOA=0
2558 DEFAULT_DEFAULT_wxUSE_GTK=0
2559 DEFAULT_DEFAULT_wxUSE_MAC=0
2560 DEFAULT_DEFAULT_wxUSE_MGL=0
2561 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2562 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2563 DEFAULT_DEFAULT_wxUSE_MSW=0
2564 DEFAULT_DEFAULT_wxUSE_PM=0
2565 DEFAULT_DEFAULT_wxUSE_X11=0
2566 DEFAULT_DEFAULT_wxUSE_DFB=0
2571 SAMPLES_RPATH_POSTLINK=
2573 DEFAULT_STD_FLAG=yes
2578 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2579 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2581 cat >>confdefs.h <<\_ACEOF
2586 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2590 cat >>confdefs.h <<\_ACEOF
2595 if test "x$TMP" = "xalpha"; then
2597 cat >>confdefs.h <<\_ACEOF
2602 DEFAULT_DEFAULT_wxUSE_GTK=1
2604 *-*-gnu* | *-*-k*bsd*-gnu )
2607 if test "x$TMP" = "xalpha"; then
2609 cat >>confdefs.h <<\_ACEOF
2614 DEFAULT_DEFAULT_wxUSE_GTK=1
2616 *-*-irix5* | *-*-irix6* )
2619 cat >>confdefs.h <<\_ACEOF
2623 cat >>confdefs.h <<\_ACEOF
2627 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2633 cat >>confdefs.h <<\_ACEOF
2637 cat >>confdefs.h <<\_ACEOF
2638 #define __SOLARIS__ 1
2641 cat >>confdefs.h <<\_ACEOF
2645 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2646 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2652 cat >>confdefs.h <<\_ACEOF
2656 cat >>confdefs.h <<\_ACEOF
2660 cat >>confdefs.h <<\_ACEOF
2664 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2669 cat >>confdefs.h <<\_ACEOF
2670 #define __FREEBSD__ 1
2673 cat >>confdefs.h <<\_ACEOF
2677 DEFAULT_DEFAULT_wxUSE_GTK=1
2679 *-*-openbsd*|*-*-mirbsd*)
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __OPENBSD__ 1
2686 cat >>confdefs.h <<\_ACEOF
2690 DEFAULT_DEFAULT_wxUSE_GTK=1
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __NETBSD__ 1
2699 cat >>confdefs.h <<\_ACEOF
2703 DEFAULT_DEFAULT_wxUSE_GTK=1
2704 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2706 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2711 cat >>confdefs.h <<\_ACEOF
2715 cat >>confdefs.h <<\_ACEOF
2719 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2720 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2725 cat >>confdefs.h <<\_ACEOF
2729 cat >>confdefs.h <<\_ACEOF
2733 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2738 cat >>confdefs.h <<\_ACEOF
2742 cat >>confdefs.h <<\_ACEOF
2746 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2753 cat >>confdefs.h <<\_ACEOF
2757 cat >>confdefs.h <<\_ACEOF
2761 cat >>confdefs.h <<\_ACEOF
2765 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __UNIXWARE__ 1
2778 *-*-cygwin* | *-*-mingw32* )
2781 DEFAULT_DEFAULT_wxUSE_MSW=1
2787 cat >>confdefs.h <<\_ACEOF
2792 DEFAULT_DEFAULT_wxUSE_MGL=1
2795 *-pc-os2_emx | *-pc-os2-emx )
2796 cat >>confdefs.h <<\_ACEOF
2801 cat >>confdefs.h <<\_ACEOF
2806 DEFAULT_DEFAULT_wxUSE_PM=1
2808 LDFLAGS="$LDFLAGS -Zcrtdll"
2809 ac_executable_extensions=".exe"
2810 export ac_executable_extensions
2814 for ac_dir in $PATH; do
2816 if test -z "$ac_TEMP_PATH"; then
2817 ac_TEMP_PATH="$ac_dir"
2819 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2822 export PATH="$ac_TEMP_PATH"
2831 cat >>confdefs.h <<\_ACEOF
2835 cat >>confdefs.h <<\_ACEOF
2836 #define __DARWIN__ 1
2839 cat >>confdefs.h <<\_ACEOF
2840 #define TARGET_CARBON 1
2843 DEFAULT_DEFAULT_wxUSE_MAC=1
2846 powerpc-apple-macos* )
2848 ac_cv_c_bigendian=yes
2850 DEFAULT_DEFAULT_wxUSE_MAC=1
2856 cat >>confdefs.h <<\_ACEOF
2863 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2864 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2865 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2866 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2868 DEFAULT_DEFAULT_wxUSE_X11=1
2869 DEFAULT_wxUSE_SHARED=no
2875 wx_arg_cache_file="configarg.cache"
2876 echo "loading argument cache $wx_arg_cache_file"
2877 rm -f ${wx_arg_cache_file}.tmp
2878 touch ${wx_arg_cache_file}.tmp
2879 touch ${wx_arg_cache_file}
2883 if test $DEBUG_CONFIGURE = 1; then
2884 DEFAULT_wxUSE_UNIVERSAL=no
2885 DEFAULT_wxUSE_STL=no
2887 DEFAULT_wxUSE_NANOX=no
2889 DEFAULT_wxUSE_THREADS=yes
2891 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2892 DEFAULT_wxUSE_OPTIMISE=no
2893 DEFAULT_wxUSE_PROFILE=no
2894 DEFAULT_wxUSE_NO_DEPS=no
2895 DEFAULT_wxUSE_VARARG_MACROS=no
2896 DEFAULT_wxUSE_NO_RTTI=no
2897 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2898 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2899 DEFAULT_wxUSE_RPATH=yes
2900 DEFAULT_wxUSE_PERMISSIVE=no
2901 DEFAULT_wxUSE_DEBUG_FLAG=yes
2902 DEFAULT_wxUSE_DEBUG_INFO=yes
2903 DEFAULT_wxUSE_DEBUG_GDB=yes
2904 DEFAULT_wxUSE_MEM_TRACING=no
2905 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2906 DEFAULT_wxUSE_DMALLOC=no
2907 DEFAULT_wxUSE_APPLE_IEEE=no
2909 DEFAULT_wxUSE_EXCEPTIONS=no
2910 DEFAULT_wxUSE_LOG=yes
2911 DEFAULT_wxUSE_LOGWINDOW=no
2912 DEFAULT_wxUSE_LOGGUI=no
2913 DEFAULT_wxUSE_LOGDIALOG=no
2915 DEFAULT_wxUSE_GUI=yes
2916 DEFAULT_wxUSE_CONTROLS=no
2918 DEFAULT_wxUSE_REGEX=no
2919 DEFAULT_wxUSE_XML=no
2920 DEFAULT_wxUSE_EXPAT=no
2921 DEFAULT_wxUSE_ZLIB=no
2922 DEFAULT_wxUSE_LIBPNG=no
2923 DEFAULT_wxUSE_LIBJPEG=no
2924 DEFAULT_wxUSE_LIBTIFF=no
2925 DEFAULT_wxUSE_LIBXPM=no
2926 DEFAULT_wxUSE_LIBMSPACK=no
2927 DEFAULT_wxUSE_LIBSDL=no
2928 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2929 DEFAULT_wxUSE_LIBGNOMEVFS=no
2930 DEFAULT_wxUSE_LIBHILDON=no
2931 DEFAULT_wxUSE_ODBC=no
2932 DEFAULT_wxUSE_OPENGL=no
2934 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2935 DEFAULT_wxUSE_STACKWALKER=no
2936 DEFAULT_wxUSE_DEBUGREPORT=no
2937 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2938 DEFAULT_wxUSE_STD_IOSTREAM=no
2939 DEFAULT_wxUSE_STD_STRING=no
2940 DEFAULT_wxUSE_CMDLINE_PARSER=no
2941 DEFAULT_wxUSE_DATETIME=no
2942 DEFAULT_wxUSE_TIMER=no
2943 DEFAULT_wxUSE_STOPWATCH=no
2944 DEFAULT_wxUSE_FILE=no
2945 DEFAULT_wxUSE_FFILE=no
2946 DEFAULT_wxUSE_STDPATHS=no
2947 DEFAULT_wxUSE_TEXTBUFFER=no
2948 DEFAULT_wxUSE_TEXTFILE=no
2949 DEFAULT_wxUSE_SOUND=no
2950 DEFAULT_wxUSE_MEDIACTRL=no
2951 DEFAULT_wxUSE_GSTREAMER8=no
2952 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2953 DEFAULT_wxUSE_INTL=no
2954 DEFAULT_wxUSE_CONFIG=no
2955 DEFAULT_wxUSE_FONTMAP=no
2956 DEFAULT_wxUSE_STREAMS=no
2957 DEFAULT_wxUSE_SOCKETS=no
2958 DEFAULT_wxUSE_OLE=no
2959 DEFAULT_wxUSE_DATAOBJ=no
2960 DEFAULT_wxUSE_DIALUP_MANAGER=no
2961 DEFAULT_wxUSE_JOYSTICK=no
2962 DEFAULT_wxUSE_DYNLIB_CLASS=no
2963 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2964 DEFAULT_wxUSE_LONGLONG=no
2965 DEFAULT_wxUSE_GEOMETRY=no
2967 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2968 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2969 DEFAULT_wxUSE_POSTSCRIPT=no
2971 DEFAULT_wxUSE_CLIPBOARD=no
2972 DEFAULT_wxUSE_TOOLTIPS=no
2973 DEFAULT_wxUSE_DRAG_AND_DROP=no
2974 DEFAULT_wxUSE_DRAGIMAGE=no
2975 DEFAULT_wxUSE_SPLINES=no
2976 DEFAULT_wxUSE_MOUSEWHEEL=no
2978 DEFAULT_wxUSE_MDI=no
2979 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2980 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2981 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2983 DEFAULT_wxUSE_RESOURCES=no
2984 DEFAULT_wxUSE_CONSTRAINTS=no
2985 DEFAULT_wxUSE_IPC=no
2986 DEFAULT_wxUSE_HELP=no
2987 DEFAULT_wxUSE_MS_HTML_HELP=no
2988 DEFAULT_wxUSE_WXHTML_HELP=no
2989 DEFAULT_wxUSE_TREELAYOUT=no
2990 DEFAULT_wxUSE_METAFILE=no
2991 DEFAULT_wxUSE_MIMETYPE=no
2992 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2993 DEFAULT_wxUSE_PROTOCOL=no
2994 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2995 DEFAULT_wxUSE_PROTOCOL_FTP=no
2996 DEFAULT_wxUSE_PROTOCOL_FILE=no
2997 DEFAULT_wxUSE_URL=no
2998 DEFAULT_wxUSE_VARIANT=no
3000 DEFAULT_wxUSE_ABOUTDLG=no
3001 DEFAULT_wxUSE_COMMONDLGS=no
3002 DEFAULT_wxUSE_CHOICEDLG=no
3003 DEFAULT_wxUSE_COLOURDLG=no
3004 DEFAULT_wxUSE_DIRDLG=no
3005 DEFAULT_wxUSE_FILEDLG=no
3006 DEFAULT_wxUSE_FINDREPLDLG=no
3007 DEFAULT_wxUSE_FONTDLG=no
3008 DEFAULT_wxUSE_MSGDLG=no
3009 DEFAULT_wxUSE_NUMBERDLG=no
3010 DEFAULT_wxUSE_TEXTDLG=no
3011 DEFAULT_wxUSE_SPLASH=no
3012 DEFAULT_wxUSE_STARTUP_TIPS=no
3013 DEFAULT_wxUSE_PROGRESSDLG=no
3014 DEFAULT_wxUSE_WIZARDDLG=no
3016 DEFAULT_wxUSE_MENUS=no
3017 DEFAULT_wxUSE_MINIFRAME=no
3018 DEFAULT_wxUSE_HTML=no
3019 DEFAULT_wxUSE_RICHTEXT=no
3020 DEFAULT_wxUSE_XRC=no
3021 DEFAULT_wxUSE_AUI=no
3022 DEFAULT_wxUSE_STC=no
3023 DEFAULT_wxUSE_WEBKIT=no
3024 DEFAULT_wxUSE_FILESYSTEM=no
3025 DEFAULT_wxUSE_FS_INET=no
3026 DEFAULT_wxUSE_FS_ZIP=no
3027 DEFAULT_wxUSE_FS_ARCHIVE=no
3028 DEFAULT_wxUSE_BUSYINFO=no
3029 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3030 DEFAULT_wxUSE_ZIPSTREAM=no
3031 DEFAULT_wxUSE_TARSTREAM=no
3032 DEFAULT_wxUSE_VALIDATORS=no
3034 DEFAULT_wxUSE_ACCEL=no
3035 DEFAULT_wxUSE_ANIMATIONCTRL=no
3036 DEFAULT_wxUSE_BUTTON=no
3037 DEFAULT_wxUSE_BMPBUTTON=no
3038 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3039 DEFAULT_wxUSE_CALCTRL=no
3040 DEFAULT_wxUSE_CARET=no
3041 DEFAULT_wxUSE_CHECKBOX=no
3042 DEFAULT_wxUSE_CHECKLST=no
3043 DEFAULT_wxUSE_CHOICE=no
3044 DEFAULT_wxUSE_CHOICEBOOK=no
3045 DEFAULT_wxUSE_COLLPANE=no
3046 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3047 DEFAULT_wxUSE_COMBOBOX=no
3048 DEFAULT_wxUSE_COMBOCTRL=no
3049 DEFAULT_wxUSE_DATEPICKCTRL=no
3050 DEFAULT_wxUSE_DISPLAY=no
3051 DEFAULT_wxUSE_DETECT_SM=no
3052 DEFAULT_wxUSE_DIRPICKERCTRL=no
3053 DEFAULT_wxUSE_FILEPICKERCTRL=no
3054 DEFAULT_wxUSE_FONTPICKERCTRL=no
3055 DEFAULT_wxUSE_GAUGE=no
3056 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3057 DEFAULT_wxUSE_GRID=no
3058 DEFAULT_wxUSE_HYPERLINKCTRL=no
3059 DEFAULT_wxUSE_DATAVIEWCTRL=no
3060 DEFAULT_wxUSE_IMAGLIST=no
3061 DEFAULT_wxUSE_LISTBOOK=no
3062 DEFAULT_wxUSE_LISTBOX=no
3063 DEFAULT_wxUSE_LISTCTRL=no
3064 DEFAULT_wxUSE_NOTEBOOK=no
3065 DEFAULT_wxUSE_ODCOMBOBOX=no
3066 DEFAULT_wxUSE_RADIOBOX=no
3067 DEFAULT_wxUSE_RADIOBTN=no
3068 DEFAULT_wxUSE_SASH=no
3069 DEFAULT_wxUSE_SCROLLBAR=no
3070 DEFAULT_wxUSE_SEARCHCTRL=no
3071 DEFAULT_wxUSE_SLIDER=no
3072 DEFAULT_wxUSE_SPINBTN=no
3073 DEFAULT_wxUSE_SPINCTRL=no
3074 DEFAULT_wxUSE_SPLITTER=no
3075 DEFAULT_wxUSE_STATBMP=no
3076 DEFAULT_wxUSE_STATBOX=no
3077 DEFAULT_wxUSE_STATLINE=no
3078 DEFAULT_wxUSE_STATTEXT=no
3079 DEFAULT_wxUSE_STATUSBAR=yes
3080 DEFAULT_wxUSE_TAB_DIALOG=no
3081 DEFAULT_wxUSE_TEXTCTRL=no
3082 DEFAULT_wxUSE_TOGGLEBTN=no
3083 DEFAULT_wxUSE_TOOLBAR=no
3084 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3085 DEFAULT_wxUSE_TREEBOOK=no
3086 DEFAULT_wxUSE_TOOLBOOK=no
3087 DEFAULT_wxUSE_TREECTRL=no
3088 DEFAULT_wxUSE_POPUPWIN=no
3089 DEFAULT_wxUSE_TIPWINDOW=no
3091 DEFAULT_wxUSE_UNICODE=no
3092 DEFAULT_wxUSE_UNICODE_MSLU=no
3093 DEFAULT_wxUSE_WCSRTOMBS=no
3095 DEFAULT_wxUSE_PALETTE=no
3096 DEFAULT_wxUSE_IMAGE=no
3097 DEFAULT_wxUSE_GIF=no
3098 DEFAULT_wxUSE_PCX=no
3099 DEFAULT_wxUSE_TGA=no
3100 DEFAULT_wxUSE_PNM=no
3101 DEFAULT_wxUSE_IFF=no
3102 DEFAULT_wxUSE_XPM=no
3103 DEFAULT_wxUSE_ICO_CUR=no
3104 DEFAULT_wxUSE_ACCESSIBILITY=no
3106 DEFAULT_wxUSE_MONOLITHIC=no
3107 DEFAULT_wxUSE_PLUGINS=no
3108 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3110 DEFAULT_wxUSE_UNIVERSAL=no
3111 DEFAULT_wxUSE_STL=no
3113 DEFAULT_wxUSE_NANOX=no
3115 DEFAULT_wxUSE_THREADS=yes
3117 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3118 DEFAULT_wxUSE_OPTIMISE=yes
3119 DEFAULT_wxUSE_PROFILE=no
3120 DEFAULT_wxUSE_NO_DEPS=no
3121 DEFAULT_wxUSE_VARARG_MACROS=yes
3122 DEFAULT_wxUSE_NO_RTTI=no
3123 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3124 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3125 DEFAULT_wxUSE_RPATH=yes
3126 DEFAULT_wxUSE_PERMISSIVE=no
3127 DEFAULT_wxUSE_DEBUG_FLAG=no
3128 DEFAULT_wxUSE_DEBUG_INFO=no
3129 DEFAULT_wxUSE_DEBUG_GDB=no
3130 DEFAULT_wxUSE_MEM_TRACING=no
3131 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3132 DEFAULT_wxUSE_DMALLOC=no
3133 DEFAULT_wxUSE_APPLE_IEEE=yes
3135 DEFAULT_wxUSE_EXCEPTIONS=yes
3136 DEFAULT_wxUSE_LOG=yes
3137 DEFAULT_wxUSE_LOGWINDOW=yes
3138 DEFAULT_wxUSE_LOGGUI=yes
3139 DEFAULT_wxUSE_LOGDIALOG=yes
3141 DEFAULT_wxUSE_GUI=yes
3143 DEFAULT_wxUSE_REGEX=yes
3144 DEFAULT_wxUSE_XML=yes
3145 DEFAULT_wxUSE_EXPAT=yes
3146 DEFAULT_wxUSE_ZLIB=yes
3147 DEFAULT_wxUSE_LIBPNG=yes
3148 DEFAULT_wxUSE_LIBJPEG=yes
3149 DEFAULT_wxUSE_LIBTIFF=yes
3150 DEFAULT_wxUSE_LIBXPM=yes
3151 DEFAULT_wxUSE_LIBMSPACK=yes
3152 DEFAULT_wxUSE_LIBSDL=no
3153 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3154 DEFAULT_wxUSE_LIBGNOMEVFS=no
3155 DEFAULT_wxUSE_LIBHILDON=no
3156 DEFAULT_wxUSE_ODBC=no
3157 DEFAULT_wxUSE_OPENGL=no
3159 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3160 DEFAULT_wxUSE_STACKWALKER=yes
3161 DEFAULT_wxUSE_DEBUGREPORT=yes
3162 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3163 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3164 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3165 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3166 DEFAULT_wxUSE_DATETIME=yes
3167 DEFAULT_wxUSE_TIMER=yes
3168 DEFAULT_wxUSE_STOPWATCH=yes
3169 DEFAULT_wxUSE_FILE=yes
3170 DEFAULT_wxUSE_FFILE=yes
3171 DEFAULT_wxUSE_STDPATHS=yes
3172 DEFAULT_wxUSE_TEXTBUFFER=yes
3173 DEFAULT_wxUSE_TEXTFILE=yes
3174 DEFAULT_wxUSE_SOUND=yes
3175 DEFAULT_wxUSE_MEDIACTRL=no
3176 DEFAULT_wxUSE_GSTREAMER8=no
3177 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3178 DEFAULT_wxUSE_INTL=yes
3179 DEFAULT_wxUSE_CONFIG=yes
3180 DEFAULT_wxUSE_FONTMAP=yes
3181 DEFAULT_wxUSE_STREAMS=yes
3182 DEFAULT_wxUSE_SOCKETS=yes
3183 DEFAULT_wxUSE_OLE=yes
3184 DEFAULT_wxUSE_DATAOBJ=yes
3185 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3186 DEFAULT_wxUSE_JOYSTICK=yes
3187 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3188 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3189 DEFAULT_wxUSE_LONGLONG=yes
3190 DEFAULT_wxUSE_GEOMETRY=yes
3192 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3193 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3194 DEFAULT_wxUSE_POSTSCRIPT=yes
3196 DEFAULT_wxUSE_CLIPBOARD=yes
3197 DEFAULT_wxUSE_TOOLTIPS=yes
3198 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3199 DEFAULT_wxUSE_DRAGIMAGE=yes
3200 DEFAULT_wxUSE_SPLINES=yes
3201 DEFAULT_wxUSE_MOUSEWHEEL=yes
3203 DEFAULT_wxUSE_MDI=yes
3204 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3205 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3206 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3208 DEFAULT_wxUSE_RESOURCES=no
3209 DEFAULT_wxUSE_CONSTRAINTS=yes
3210 DEFAULT_wxUSE_IPC=yes
3211 DEFAULT_wxUSE_HELP=yes
3212 DEFAULT_wxUSE_MS_HTML_HELP=yes
3213 DEFAULT_wxUSE_WXHTML_HELP=yes
3214 DEFAULT_wxUSE_TREELAYOUT=yes
3215 DEFAULT_wxUSE_METAFILE=yes
3216 DEFAULT_wxUSE_MIMETYPE=yes
3217 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3218 DEFAULT_wxUSE_PROTOCOL=yes
3219 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3220 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3221 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3222 DEFAULT_wxUSE_URL=yes
3223 DEFAULT_wxUSE_VARIANT=yes
3225 DEFAULT_wxUSE_ABOUTDLG=yes
3226 DEFAULT_wxUSE_COMMONDLGS=yes
3227 DEFAULT_wxUSE_CHOICEDLG=yes
3228 DEFAULT_wxUSE_COLOURDLG=yes
3229 DEFAULT_wxUSE_DIRDLG=yes
3230 DEFAULT_wxUSE_FILEDLG=yes
3231 DEFAULT_wxUSE_FINDREPLDLG=yes
3232 DEFAULT_wxUSE_FONTDLG=yes
3233 DEFAULT_wxUSE_MSGDLG=yes
3234 DEFAULT_wxUSE_NUMBERDLG=yes
3235 DEFAULT_wxUSE_TEXTDLG=yes
3236 DEFAULT_wxUSE_SPLASH=yes
3237 DEFAULT_wxUSE_STARTUP_TIPS=yes
3238 DEFAULT_wxUSE_PROGRESSDLG=yes
3239 DEFAULT_wxUSE_WIZARDDLG=yes
3241 DEFAULT_wxUSE_MENUS=yes
3242 DEFAULT_wxUSE_MINIFRAME=yes
3243 DEFAULT_wxUSE_HTML=yes
3244 DEFAULT_wxUSE_RICHTEXT=yes
3245 DEFAULT_wxUSE_XRC=yes
3246 DEFAULT_wxUSE_AUI=yes
3247 DEFAULT_wxUSE_STC=yes
3248 DEFAULT_wxUSE_WEBKIT=yes
3249 DEFAULT_wxUSE_FILESYSTEM=yes
3250 DEFAULT_wxUSE_FS_INET=yes
3251 DEFAULT_wxUSE_FS_ZIP=yes
3252 DEFAULT_wxUSE_FS_ARCHIVE=yes
3253 DEFAULT_wxUSE_BUSYINFO=yes
3254 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3255 DEFAULT_wxUSE_ZIPSTREAM=yes
3256 DEFAULT_wxUSE_TARSTREAM=yes
3257 DEFAULT_wxUSE_VALIDATORS=yes
3259 DEFAULT_wxUSE_ACCEL=yes
3260 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3261 DEFAULT_wxUSE_BUTTON=yes
3262 DEFAULT_wxUSE_BMPBUTTON=yes
3263 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3264 DEFAULT_wxUSE_CALCTRL=yes
3265 DEFAULT_wxUSE_CARET=yes
3266 DEFAULT_wxUSE_CHECKBOX=yes
3267 DEFAULT_wxUSE_CHECKLST=yes
3268 DEFAULT_wxUSE_CHOICE=yes
3269 DEFAULT_wxUSE_CHOICEBOOK=yes
3270 DEFAULT_wxUSE_COLLPANE=yes
3271 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3272 DEFAULT_wxUSE_COMBOBOX=yes
3273 DEFAULT_wxUSE_COMBOCTRL=yes
3274 DEFAULT_wxUSE_DATEPICKCTRL=yes
3275 DEFAULT_wxUSE_DISPLAY=yes
3276 DEFAULT_wxUSE_DETECT_SM=yes
3277 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3278 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3279 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3280 DEFAULT_wxUSE_GAUGE=yes
3281 DEFAULT_wxUSE_GRID=yes
3282 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3283 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3284 DEFAULT_wxUSE_DATAVIEWCTRL=no
3285 DEFAULT_wxUSE_IMAGLIST=yes
3286 DEFAULT_wxUSE_LISTBOOK=yes
3287 DEFAULT_wxUSE_LISTBOX=yes
3288 DEFAULT_wxUSE_LISTCTRL=yes
3289 DEFAULT_wxUSE_NOTEBOOK=yes
3290 DEFAULT_wxUSE_ODCOMBOBOX=yes
3291 DEFAULT_wxUSE_RADIOBOX=yes
3292 DEFAULT_wxUSE_RADIOBTN=yes
3293 DEFAULT_wxUSE_SASH=yes
3294 DEFAULT_wxUSE_SCROLLBAR=yes
3295 DEFAULT_wxUSE_SEARCHCTRL=yes
3296 DEFAULT_wxUSE_SLIDER=yes
3297 DEFAULT_wxUSE_SPINBTN=yes
3298 DEFAULT_wxUSE_SPINCTRL=yes
3299 DEFAULT_wxUSE_SPLITTER=yes
3300 DEFAULT_wxUSE_STATBMP=yes
3301 DEFAULT_wxUSE_STATBOX=yes
3302 DEFAULT_wxUSE_STATLINE=yes
3303 DEFAULT_wxUSE_STATTEXT=yes
3304 DEFAULT_wxUSE_STATUSBAR=yes
3305 DEFAULT_wxUSE_TAB_DIALOG=no
3306 DEFAULT_wxUSE_TEXTCTRL=yes
3307 DEFAULT_wxUSE_TOGGLEBTN=yes
3308 DEFAULT_wxUSE_TOOLBAR=yes
3309 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3310 DEFAULT_wxUSE_TREEBOOK=yes
3311 DEFAULT_wxUSE_TOOLBOOK=yes
3312 DEFAULT_wxUSE_TREECTRL=yes
3313 DEFAULT_wxUSE_POPUPWIN=yes
3314 DEFAULT_wxUSE_TIPWINDOW=yes
3316 DEFAULT_wxUSE_UNICODE=no
3317 DEFAULT_wxUSE_UNICODE_MSLU=yes
3318 DEFAULT_wxUSE_WCSRTOMBS=no
3320 DEFAULT_wxUSE_PALETTE=yes
3321 DEFAULT_wxUSE_IMAGE=yes
3322 DEFAULT_wxUSE_GIF=yes
3323 DEFAULT_wxUSE_PCX=yes
3324 DEFAULT_wxUSE_TGA=yes
3325 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3326 DEFAULT_wxUSE_XPM=yes
3327 DEFAULT_wxUSE_ICO_CUR=yes
3328 DEFAULT_wxUSE_ACCESSIBILITY=no
3330 DEFAULT_wxUSE_MONOLITHIC=no
3331 DEFAULT_wxUSE_PLUGINS=no
3332 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3334 DEFAULT_wxUSE_GTK2=yes
3340 for toolkit in `echo $ALL_TOOLKITS`; do
3341 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3342 if test "x$LINE" != "x" ; then
3343 has_toolkit_in_cache=1
3344 eval "DEFAULT_$LINE"
3345 eval "CACHE_$toolkit=1"
3347 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3348 if test "x$LINE" != "x" ; then
3349 eval "DEFAULT_$LINE"
3357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3358 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3360 # Check whether --enable-gui was given.
3361 if test "${enable_gui+set}" = set; then
3362 enableval=$enable_gui;
3363 if test "$enableval" = yes; then
3364 ac_cv_use_gui='wxUSE_GUI=yes'
3366 ac_cv_use_gui='wxUSE_GUI=no'
3371 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x ; then
3373 eval "DEFAULT_$LINE"
3378 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3383 eval "$ac_cv_use_gui"
3384 if test "$no_cache" != 1; then
3385 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3388 if test "$wxUSE_GUI" = yes; then
3389 { echo "$as_me:$LINENO: result: yes" >&5
3390 echo "${ECHO_T}yes" >&6; }
3392 { echo "$as_me:$LINENO: result: no" >&5
3393 echo "${ECHO_T}no" >&6; }
3398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3399 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3401 # Check whether --enable-monolithic was given.
3402 if test "${enable_monolithic+set}" = set; then
3403 enableval=$enable_monolithic;
3404 if test "$enableval" = yes; then
3405 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3407 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3412 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3413 if test "x$LINE" != x ; then
3414 eval "DEFAULT_$LINE"
3419 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3424 eval "$ac_cv_use_monolithic"
3425 if test "$no_cache" != 1; then
3426 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3429 if test "$wxUSE_MONOLITHIC" = yes; then
3430 { echo "$as_me:$LINENO: result: yes" >&5
3431 echo "${ECHO_T}yes" >&6; }
3433 { echo "$as_me:$LINENO: result: no" >&5
3434 echo "${ECHO_T}no" >&6; }
3439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3440 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3442 # Check whether --enable-plugins was given.
3443 if test "${enable_plugins+set}" = set; then
3444 enableval=$enable_plugins;
3445 if test "$enableval" = yes; then
3446 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3448 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3453 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3454 if test "x$LINE" != x ; then
3455 eval "DEFAULT_$LINE"
3460 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3465 eval "$ac_cv_use_plugins"
3466 if test "$no_cache" != 1; then
3467 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3470 if test "$wxUSE_PLUGINS" = yes; then
3471 { echo "$as_me:$LINENO: result: yes" >&5
3472 echo "${ECHO_T}yes" >&6; }
3474 { echo "$as_me:$LINENO: result: no" >&5
3475 echo "${ECHO_T}no" >&6; }
3480 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3481 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3484 # Check whether --with-subdirs was given.
3485 if test "${with_subdirs+set}" = set; then
3486 withval=$with_subdirs;
3487 if test "$withval" = yes; then
3488 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3490 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3495 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3496 if test "x$LINE" != x ; then
3497 eval "DEFAULT_$LINE"
3502 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3507 eval "$ac_cv_use_subdirs"
3508 if test "$no_cache" != 1; then
3509 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3512 if test "$wxWITH_SUBDIRS" = yes; then
3513 { echo "$as_me:$LINENO: result: yes" >&5
3514 echo "${ECHO_T}yes" >&6; }
3516 { echo "$as_me:$LINENO: result: no" >&5
3517 echo "${ECHO_T}no" >&6; }
3521 if test "$wxUSE_GUI" = "yes"; then
3525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3526 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3528 # Check whether --enable-universal was given.
3529 if test "${enable_universal+set}" = set; then
3530 enableval=$enable_universal;
3531 if test "$enableval" = yes; then
3532 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3534 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3539 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3540 if test "x$LINE" != x ; then
3541 eval "DEFAULT_$LINE"
3546 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3551 eval "$ac_cv_use_universal"
3552 if test "$no_cache" != 1; then
3553 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3556 if test "$wxUSE_UNIVERSAL" = yes; then
3557 { echo "$as_me:$LINENO: result: yes" >&5
3558 echo "${ECHO_T}yes" >&6; }
3560 { echo "$as_me:$LINENO: result: no" >&5
3561 echo "${ECHO_T}no" >&6; }
3565 # Check whether --with-gtk was given.
3566 if test "${with_gtk+set}" = set; then
3567 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3571 # Check whether --with-motif was given.
3572 if test "${with_motif+set}" = set; then
3573 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3577 # Check whether --with-mac was given.
3578 if test "${with_mac+set}" = set; then
3579 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3583 # Check whether --with-cocoa was given.
3584 if test "${with_cocoa+set}" = set; then
3585 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3589 # Check whether --with-wine was given.
3590 if test "${with_wine+set}" = set; then
3591 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3595 # Check whether --with-msw was given.
3596 if test "${with_msw+set}" = set; then
3597 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3601 # Check whether --with-pm was given.
3602 if test "${with_pm+set}" = set; then
3603 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3607 # Check whether --with-mgl was given.
3608 if test "${with_mgl+set}" = set; then
3609 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3613 # Check whether --with-directfb was given.
3614 if test "${with_directfb+set}" = set; then
3615 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3619 # Check whether --with-microwin was given.
3620 if test "${with_microwin+set}" = set; then
3621 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3625 # Check whether --with-x11 was given.
3626 if test "${with_x11+set}" = set; then
3627 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3633 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3635 # Check whether --enable-nanox was given.
3636 if test "${enable_nanox+set}" = set; then
3637 enableval=$enable_nanox;
3638 if test "$enableval" = yes; then
3639 ac_cv_use_nanox='wxUSE_NANOX=yes'
3641 ac_cv_use_nanox='wxUSE_NANOX=no'
3646 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3647 if test "x$LINE" != x ; then
3648 eval "DEFAULT_$LINE"
3653 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3658 eval "$ac_cv_use_nanox"
3659 if test "$no_cache" != 1; then
3660 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3663 if test "$wxUSE_NANOX" = yes; then
3664 { echo "$as_me:$LINENO: result: yes" >&5
3665 echo "${ECHO_T}yes" >&6; }
3667 { echo "$as_me:$LINENO: result: no" >&5
3668 echo "${ECHO_T}no" >&6; }
3672 # Check whether --enable-gtk2 was given.
3673 if test "${enable_gtk2+set}" = set; then
3674 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3680 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3682 # Check whether --enable-gpe was given.
3683 if test "${enable_gpe+set}" = set; then
3684 enableval=$enable_gpe;
3685 if test "$enableval" = yes; then
3686 ac_cv_use_gpe='wxUSE_GPE=yes'
3688 ac_cv_use_gpe='wxUSE_GPE=no'
3693 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x ; then
3695 eval "DEFAULT_$LINE"
3700 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3705 eval "$ac_cv_use_gpe"
3706 if test "$no_cache" != 1; then
3707 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3710 if test "$wxUSE_GPE" = yes; then
3711 { echo "$as_me:$LINENO: result: yes" >&5
3712 echo "${ECHO_T}yes" >&6; }
3714 { echo "$as_me:$LINENO: result: no" >&5
3715 echo "${ECHO_T}no" >&6; }
3720 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3721 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3724 # Check whether --with-libpng was given.
3725 if test "${with_libpng+set}" = set; then
3726 withval=$with_libpng;
3727 if test "$withval" = yes; then
3728 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3729 elif test "$withval" = no; then
3730 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3731 elif test "$withval" = sys; then
3732 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3733 elif test "$withval" = builtin; then
3734 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3736 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3737 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3738 { (exit 1); exit 1; }; }
3743 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3744 if test "x$LINE" != x ; then
3745 eval "DEFAULT_$LINE"
3750 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3755 eval "$ac_cv_use_libpng"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3760 if test "$wxUSE_LIBPNG" = yes; then
3761 { echo "$as_me:$LINENO: result: yes" >&5
3762 echo "${ECHO_T}yes" >&6; }
3763 elif test "$wxUSE_LIBPNG" = no; then
3764 { echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6; }
3766 elif test "$wxUSE_LIBPNG" = sys; then
3767 { echo "$as_me:$LINENO: result: system version" >&5
3768 echo "${ECHO_T}system version" >&6; }
3769 elif test "$wxUSE_LIBPNG" = builtin; then
3770 { echo "$as_me:$LINENO: result: builtin version" >&5
3771 echo "${ECHO_T}builtin version" >&6; }
3773 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3774 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3775 { (exit 1); exit 1; }; }
3779 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3780 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3783 # Check whether --with-libjpeg was given.
3784 if test "${with_libjpeg+set}" = set; then
3785 withval=$with_libjpeg;
3786 if test "$withval" = yes; then
3787 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3788 elif test "$withval" = no; then
3789 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3790 elif test "$withval" = sys; then
3791 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3792 elif test "$withval" = builtin; then
3793 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3795 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3796 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3797 { (exit 1); exit 1; }; }
3802 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x ; then
3804 eval "DEFAULT_$LINE"
3809 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3814 eval "$ac_cv_use_libjpeg"
3815 if test "$no_cache" != 1; then
3816 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3819 if test "$wxUSE_LIBJPEG" = yes; then
3820 { echo "$as_me:$LINENO: result: yes" >&5
3821 echo "${ECHO_T}yes" >&6; }
3822 elif test "$wxUSE_LIBJPEG" = no; then
3823 { echo "$as_me:$LINENO: result: no" >&5
3824 echo "${ECHO_T}no" >&6; }
3825 elif test "$wxUSE_LIBJPEG" = sys; then
3826 { echo "$as_me:$LINENO: result: system version" >&5
3827 echo "${ECHO_T}system version" >&6; }
3828 elif test "$wxUSE_LIBJPEG" = builtin; then
3829 { echo "$as_me:$LINENO: result: builtin version" >&5
3830 echo "${ECHO_T}builtin version" >&6; }
3832 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3833 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3834 { (exit 1); exit 1; }; }
3838 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3839 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3842 # Check whether --with-libtiff was given.
3843 if test "${with_libtiff+set}" = set; then
3844 withval=$with_libtiff;
3845 if test "$withval" = yes; then
3846 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3847 elif test "$withval" = no; then
3848 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3849 elif test "$withval" = sys; then
3850 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3851 elif test "$withval" = builtin; then
3852 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3854 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3855 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3856 { (exit 1); exit 1; }; }
3861 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x ; then
3863 eval "DEFAULT_$LINE"
3868 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3873 eval "$ac_cv_use_libtiff"
3874 if test "$no_cache" != 1; then
3875 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3878 if test "$wxUSE_LIBTIFF" = yes; then
3879 { echo "$as_me:$LINENO: result: yes" >&5
3880 echo "${ECHO_T}yes" >&6; }
3881 elif test "$wxUSE_LIBTIFF" = no; then
3882 { echo "$as_me:$LINENO: result: no" >&5
3883 echo "${ECHO_T}no" >&6; }
3884 elif test "$wxUSE_LIBTIFF" = sys; then
3885 { echo "$as_me:$LINENO: result: system version" >&5
3886 echo "${ECHO_T}system version" >&6; }
3887 elif test "$wxUSE_LIBTIFF" = builtin; then
3888 { echo "$as_me:$LINENO: result: builtin version" >&5
3889 echo "${ECHO_T}builtin version" >&6; }
3891 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3892 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3893 { (exit 1); exit 1; }; }
3897 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3898 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3901 # Check whether --with-libxpm was given.
3902 if test "${with_libxpm+set}" = set; then
3903 withval=$with_libxpm;
3904 if test "$withval" = yes; then
3905 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3906 elif test "$withval" = no; then
3907 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3908 elif test "$withval" = sys; then
3909 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3910 elif test "$withval" = builtin; then
3911 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3913 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3914 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3915 { (exit 1); exit 1; }; }
3920 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3921 if test "x$LINE" != x ; then
3922 eval "DEFAULT_$LINE"
3927 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3932 eval "$ac_cv_use_libxpm"
3933 if test "$no_cache" != 1; then
3934 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3937 if test "$wxUSE_LIBXPM" = yes; then
3938 { echo "$as_me:$LINENO: result: yes" >&5
3939 echo "${ECHO_T}yes" >&6; }
3940 elif test "$wxUSE_LIBXPM" = no; then
3941 { echo "$as_me:$LINENO: result: no" >&5
3942 echo "${ECHO_T}no" >&6; }
3943 elif test "$wxUSE_LIBXPM" = sys; then
3944 { echo "$as_me:$LINENO: result: system version" >&5
3945 echo "${ECHO_T}system version" >&6; }
3946 elif test "$wxUSE_LIBXPM" = builtin; then
3947 { echo "$as_me:$LINENO: result: builtin version" >&5
3948 echo "${ECHO_T}builtin version" >&6; }
3950 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3951 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3952 { (exit 1); exit 1; }; }
3957 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3958 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3961 # Check whether --with-libmspack was given.
3962 if test "${with_libmspack+set}" = set; then
3963 withval=$with_libmspack;
3964 if test "$withval" = yes; then
3965 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3967 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3972 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3973 if test "x$LINE" != x ; then
3974 eval "DEFAULT_$LINE"
3979 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3984 eval "$ac_cv_use_libmspack"
3985 if test "$no_cache" != 1; then
3986 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3989 if test "$wxUSE_LIBMSPACK" = yes; then
3990 { echo "$as_me:$LINENO: result: yes" >&5
3991 echo "${ECHO_T}yes" >&6; }
3993 { echo "$as_me:$LINENO: result: no" >&5
3994 echo "${ECHO_T}no" >&6; }
3999 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4000 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4003 # Check whether --with-sdl was given.
4004 if test "${with_sdl+set}" = set; then
4006 if test "$withval" = yes; then
4007 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4009 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4014 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4015 if test "x$LINE" != x ; then
4016 eval "DEFAULT_$LINE"
4021 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4026 eval "$ac_cv_use_sdl"
4027 if test "$no_cache" != 1; then
4028 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4031 if test "$wxUSE_LIBSDL" = yes; then
4032 { echo "$as_me:$LINENO: result: yes" >&5
4033 echo "${ECHO_T}yes" >&6; }
4035 { echo "$as_me:$LINENO: result: no" >&5
4036 echo "${ECHO_T}no" >&6; }
4041 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4042 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4045 # Check whether --with-gnomeprint was given.
4046 if test "${with_gnomeprint+set}" = set; then
4047 withval=$with_gnomeprint;
4048 if test "$withval" = yes; then
4049 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4051 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4056 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4057 if test "x$LINE" != x ; then
4058 eval "DEFAULT_$LINE"
4063 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4068 eval "$ac_cv_use_gnomeprint"
4069 if test "$no_cache" != 1; then
4070 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4073 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4074 { echo "$as_me:$LINENO: result: yes" >&5
4075 echo "${ECHO_T}yes" >&6; }
4077 { echo "$as_me:$LINENO: result: no" >&5
4078 echo "${ECHO_T}no" >&6; }
4083 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4084 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4087 # Check whether --with-gnomevfs was given.
4088 if test "${with_gnomevfs+set}" = set; then
4089 withval=$with_gnomevfs;
4090 if test "$withval" = yes; then
4091 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4093 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4098 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4099 if test "x$LINE" != x ; then
4100 eval "DEFAULT_$LINE"
4105 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4110 eval "$ac_cv_use_gnomevfs"
4111 if test "$no_cache" != 1; then
4112 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4115 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4116 { echo "$as_me:$LINENO: result: yes" >&5
4117 echo "${ECHO_T}yes" >&6; }
4119 { echo "$as_me:$LINENO: result: no" >&5
4120 echo "${ECHO_T}no" >&6; }
4125 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4126 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4129 # Check whether --with-hildon was given.
4130 if test "${with_hildon+set}" = set; then
4131 withval=$with_hildon;
4132 if test "$withval" = yes; then
4133 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4135 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4140 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4141 if test "x$LINE" != x ; then
4142 eval "DEFAULT_$LINE"
4147 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4152 eval "$ac_cv_use_hildon"
4153 if test "$no_cache" != 1; then
4154 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4157 if test "$wxUSE_LIBHILDON" = yes; then
4158 { echo "$as_me:$LINENO: result: yes" >&5
4159 echo "${ECHO_T}yes" >&6; }
4161 { echo "$as_me:$LINENO: result: no" >&5
4162 echo "${ECHO_T}no" >&6; }
4167 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4168 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4171 # Check whether --with-opengl was given.
4172 if test "${with_opengl+set}" = set; then
4173 withval=$with_opengl;
4174 if test "$withval" = yes; then
4175 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4177 ac_cv_use_opengl='wxUSE_OPENGL=no'
4182 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4183 if test "x$LINE" != x ; then
4184 eval "DEFAULT_$LINE"
4189 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4194 eval "$ac_cv_use_opengl"
4195 if test "$no_cache" != 1; then
4196 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4199 if test "$wxUSE_OPENGL" = yes; then
4200 { echo "$as_me:$LINENO: result: yes" >&5
4201 echo "${ECHO_T}yes" >&6; }
4203 { echo "$as_me:$LINENO: result: no" >&5
4204 echo "${ECHO_T}no" >&6; }
4208 if test "$wxUSE_UNIVERSAL" = "yes"; then
4210 # Check whether --with-themes was given.
4211 if test "${with_themes+set}" = set; then
4212 withval=$with_themes; wxUNIV_THEMES="$withval"
4221 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4222 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4225 # Check whether --with-dmalloc was given.
4226 if test "${with_dmalloc+set}" = set; then
4227 withval=$with_dmalloc;
4228 if test "$withval" = yes; then
4229 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4231 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4236 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4237 if test "x$LINE" != x ; then
4238 eval "DEFAULT_$LINE"
4243 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4248 eval "$ac_cv_use_dmalloc"
4249 if test "$no_cache" != 1; then
4250 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4253 if test "$wxUSE_DMALLOC" = yes; then
4254 { echo "$as_me:$LINENO: result: yes" >&5
4255 echo "${ECHO_T}yes" >&6; }
4257 { echo "$as_me:$LINENO: result: no" >&5
4258 echo "${ECHO_T}no" >&6; }
4262 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4263 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4266 # Check whether --with-regex was given.
4267 if test "${with_regex+set}" = set; then
4268 withval=$with_regex;
4269 if test "$withval" = yes; then
4270 ac_cv_use_regex='wxUSE_REGEX=yes'
4271 elif test "$withval" = no; then
4272 ac_cv_use_regex='wxUSE_REGEX=no'
4273 elif test "$withval" = sys; then
4274 ac_cv_use_regex='wxUSE_REGEX=sys'
4275 elif test "$withval" = builtin; then
4276 ac_cv_use_regex='wxUSE_REGEX=builtin'
4278 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4279 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4280 { (exit 1); exit 1; }; }
4285 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x ; then
4287 eval "DEFAULT_$LINE"
4292 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4297 eval "$ac_cv_use_regex"
4298 if test "$no_cache" != 1; then
4299 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4302 if test "$wxUSE_REGEX" = yes; then
4303 { echo "$as_me:$LINENO: result: yes" >&5
4304 echo "${ECHO_T}yes" >&6; }
4305 elif test "$wxUSE_REGEX" = no; then
4306 { echo "$as_me:$LINENO: result: no" >&5
4307 echo "${ECHO_T}no" >&6; }
4308 elif test "$wxUSE_REGEX" = sys; then
4309 { echo "$as_me:$LINENO: result: system version" >&5
4310 echo "${ECHO_T}system version" >&6; }
4311 elif test "$wxUSE_REGEX" = builtin; then
4312 { echo "$as_me:$LINENO: result: builtin version" >&5
4313 echo "${ECHO_T}builtin version" >&6; }
4315 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4316 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4317 { (exit 1); exit 1; }; }
4321 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4322 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4325 # Check whether --with-zlib was given.
4326 if test "${with_zlib+set}" = set; then
4328 if test "$withval" = yes; then
4329 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4330 elif test "$withval" = no; then
4331 ac_cv_use_zlib='wxUSE_ZLIB=no'
4332 elif test "$withval" = sys; then
4333 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4334 elif test "$withval" = builtin; then
4335 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4337 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4338 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4339 { (exit 1); exit 1; }; }
4344 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4345 if test "x$LINE" != x ; then
4346 eval "DEFAULT_$LINE"
4351 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4356 eval "$ac_cv_use_zlib"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4361 if test "$wxUSE_ZLIB" = yes; then
4362 { echo "$as_me:$LINENO: result: yes" >&5
4363 echo "${ECHO_T}yes" >&6; }
4364 elif test "$wxUSE_ZLIB" = no; then
4365 { echo "$as_me:$LINENO: result: no" >&5
4366 echo "${ECHO_T}no" >&6; }
4367 elif test "$wxUSE_ZLIB" = sys; then
4368 { echo "$as_me:$LINENO: result: system version" >&5
4369 echo "${ECHO_T}system version" >&6; }
4370 elif test "$wxUSE_ZLIB" = builtin; then
4371 { echo "$as_me:$LINENO: result: builtin version" >&5
4372 echo "${ECHO_T}builtin version" >&6; }
4374 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4375 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4376 { (exit 1); exit 1; }; }
4380 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4381 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4384 # Check whether --with-odbc was given.
4385 if test "${with_odbc+set}" = set; then
4387 if test "$withval" = yes; then
4388 ac_cv_use_odbc='wxUSE_ODBC=yes'
4389 elif test "$withval" = no; then
4390 ac_cv_use_odbc='wxUSE_ODBC=no'
4391 elif test "$withval" = sys; then
4392 ac_cv_use_odbc='wxUSE_ODBC=sys'
4393 elif test "$withval" = builtin; then
4394 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4396 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4397 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4398 { (exit 1); exit 1; }; }
4403 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4404 if test "x$LINE" != x ; then
4405 eval "DEFAULT_$LINE"
4410 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4415 eval "$ac_cv_use_odbc"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4420 if test "$wxUSE_ODBC" = yes; then
4421 { echo "$as_me:$LINENO: result: yes" >&5
4422 echo "${ECHO_T}yes" >&6; }
4423 elif test "$wxUSE_ODBC" = no; then
4424 { echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6; }
4426 elif test "$wxUSE_ODBC" = sys; then
4427 { echo "$as_me:$LINENO: result: system version" >&5
4428 echo "${ECHO_T}system version" >&6; }
4429 elif test "$wxUSE_ODBC" = builtin; then
4430 { echo "$as_me:$LINENO: result: builtin version" >&5
4431 echo "${ECHO_T}builtin version" >&6; }
4433 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4434 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4435 { (exit 1); exit 1; }; }
4439 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4440 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4443 # Check whether --with-expat was given.
4444 if test "${with_expat+set}" = set; then
4445 withval=$with_expat;
4446 if test "$withval" = yes; then
4447 ac_cv_use_expat='wxUSE_EXPAT=yes'
4448 elif test "$withval" = no; then
4449 ac_cv_use_expat='wxUSE_EXPAT=no'
4450 elif test "$withval" = sys; then
4451 ac_cv_use_expat='wxUSE_EXPAT=sys'
4452 elif test "$withval" = builtin; then
4453 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4455 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4456 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4457 { (exit 1); exit 1; }; }
4462 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x ; then
4464 eval "DEFAULT_$LINE"
4469 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4474 eval "$ac_cv_use_expat"
4475 if test "$no_cache" != 1; then
4476 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4479 if test "$wxUSE_EXPAT" = yes; then
4480 { echo "$as_me:$LINENO: result: yes" >&5
4481 echo "${ECHO_T}yes" >&6; }
4482 elif test "$wxUSE_EXPAT" = no; then
4483 { echo "$as_me:$LINENO: result: no" >&5
4484 echo "${ECHO_T}no" >&6; }
4485 elif test "$wxUSE_EXPAT" = sys; then
4486 { echo "$as_me:$LINENO: result: system version" >&5
4487 echo "${ECHO_T}system version" >&6; }
4488 elif test "$wxUSE_EXPAT" = builtin; then
4489 { echo "$as_me:$LINENO: result: builtin version" >&5
4490 echo "${ECHO_T}builtin version" >&6; }
4492 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4493 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4494 { (exit 1); exit 1; }; }
4501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4502 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4504 # Check whether --enable-shared was given.
4505 if test "${enable_shared+set}" = set; then
4506 enableval=$enable_shared;
4507 if test "$enableval" = yes; then
4508 ac_cv_use_shared='wxUSE_SHARED=yes'
4510 ac_cv_use_shared='wxUSE_SHARED=no'
4515 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4516 if test "x$LINE" != x ; then
4517 eval "DEFAULT_$LINE"
4522 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4527 eval "$ac_cv_use_shared"
4528 if test "$no_cache" != 1; then
4529 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4532 if test "$wxUSE_SHARED" = yes; then
4533 { echo "$as_me:$LINENO: result: yes" >&5
4534 echo "${ECHO_T}yes" >&6; }
4536 { echo "$as_me:$LINENO: result: no" >&5
4537 echo "${ECHO_T}no" >&6; }
4542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4543 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4545 # Check whether --enable-optimise was given.
4546 if test "${enable_optimise+set}" = set; then
4547 enableval=$enable_optimise;
4548 if test "$enableval" = yes; then
4549 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4551 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4556 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4557 if test "x$LINE" != x ; then
4558 eval "DEFAULT_$LINE"
4563 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4568 eval "$ac_cv_use_optimise"
4569 if test "$no_cache" != 1; then
4570 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4573 if test "$wxUSE_OPTIMISE" = yes; then
4574 { echo "$as_me:$LINENO: result: yes" >&5
4575 echo "${ECHO_T}yes" >&6; }
4577 { echo "$as_me:$LINENO: result: no" >&5
4578 echo "${ECHO_T}no" >&6; }
4583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4584 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4586 # Check whether --enable-debug was given.
4587 if test "${enable_debug+set}" = set; then
4588 enableval=$enable_debug;
4589 if test "$enableval" = yes; then
4590 ac_cv_use_debug='wxUSE_DEBUG=yes'
4592 ac_cv_use_debug='wxUSE_DEBUG=no'
4597 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x ; then
4599 eval "DEFAULT_$LINE"
4604 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4609 eval "$ac_cv_use_debug"
4610 if test "$no_cache" != 1; then
4611 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4614 if test "$wxUSE_DEBUG" = yes; then
4615 { echo "$as_me:$LINENO: result: yes" >&5
4616 echo "${ECHO_T}yes" >&6; }
4618 { echo "$as_me:$LINENO: result: no" >&5
4619 echo "${ECHO_T}no" >&6; }
4624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4625 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4627 # Check whether --enable-stl was given.
4628 if test "${enable_stl+set}" = set; then
4629 enableval=$enable_stl;
4630 if test "$enableval" = yes; then
4631 ac_cv_use_stl='wxUSE_STL=yes'
4633 ac_cv_use_stl='wxUSE_STL=no'
4638 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4639 if test "x$LINE" != x ; then
4640 eval "DEFAULT_$LINE"
4645 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4650 eval "$ac_cv_use_stl"
4651 if test "$no_cache" != 1; then
4652 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4655 if test "$wxUSE_STL" = yes; then
4656 { echo "$as_me:$LINENO: result: yes" >&5
4657 echo "${ECHO_T}yes" >&6; }
4659 { echo "$as_me:$LINENO: result: no" >&5
4660 echo "${ECHO_T}no" >&6; }
4663 if test "$USE_OS2" = "1"; then
4664 DEFAULT_wxUSE_OMF=no
4667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4670 # Check whether --enable-omf was given.
4671 if test "${enable_omf+set}" = set; then
4672 enableval=$enable_omf;
4673 if test "$enableval" = yes; then
4674 ac_cv_use_omf='wxUSE_OMF=yes'
4676 ac_cv_use_omf='wxUSE_OMF=no'
4681 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4682 if test "x$LINE" != x ; then
4683 eval "DEFAULT_$LINE"
4688 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4693 eval "$ac_cv_use_omf"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4698 if test "$wxUSE_OMF" = yes; then
4699 { echo "$as_me:$LINENO: result: yes" >&5
4700 echo "${ECHO_T}yes" >&6; }
4702 { echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6; }
4708 if test "$wxUSE_DEBUG" = "yes"; then
4709 DEFAULT_wxUSE_DEBUG_FLAG=yes
4710 DEFAULT_wxUSE_DEBUG_INFO=yes
4712 elif test "$wxUSE_DEBUG" = "no"; then
4713 DEFAULT_wxUSE_DEBUG_FLAG=no
4714 DEFAULT_wxUSE_DEBUG_INFO=no
4720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4721 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4723 # Check whether --enable-debug_flag was given.
4724 if test "${enable_debug_flag+set}" = set; then
4725 enableval=$enable_debug_flag;
4726 if test "$enableval" = yes; then
4727 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4729 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4734 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x ; then
4736 eval "DEFAULT_$LINE"
4741 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4746 eval "$ac_cv_use_debug_flag"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4751 if test "$wxUSE_DEBUG_FLAG" = yes; then
4752 { echo "$as_me:$LINENO: result: yes" >&5
4753 echo "${ECHO_T}yes" >&6; }
4755 { echo "$as_me:$LINENO: result: no" >&5
4756 echo "${ECHO_T}no" >&6; }
4761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4762 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4764 # Check whether --enable-debug_info was given.
4765 if test "${enable_debug_info+set}" = set; then
4766 enableval=$enable_debug_info;
4767 if test "$enableval" = yes; then
4768 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4770 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4775 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x ; then
4777 eval "DEFAULT_$LINE"
4782 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4787 eval "$ac_cv_use_debug_info"
4788 if test "$no_cache" != 1; then
4789 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4792 if test "$wxUSE_DEBUG_INFO" = yes; then
4793 { echo "$as_me:$LINENO: result: yes" >&5
4794 echo "${ECHO_T}yes" >&6; }
4796 { echo "$as_me:$LINENO: result: no" >&5
4797 echo "${ECHO_T}no" >&6; }
4802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4803 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4805 # Check whether --enable-debug_gdb was given.
4806 if test "${enable_debug_gdb+set}" = set; then
4807 enableval=$enable_debug_gdb;
4808 if test "$enableval" = yes; then
4809 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4811 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4816 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x ; then
4818 eval "DEFAULT_$LINE"
4823 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4828 eval "$ac_cv_use_debug_gdb"
4829 if test "$no_cache" != 1; then
4830 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4833 if test "$wxUSE_DEBUG_GDB" = yes; then
4834 { echo "$as_me:$LINENO: result: yes" >&5
4835 echo "${ECHO_T}yes" >&6; }
4837 { echo "$as_me:$LINENO: result: no" >&5
4838 echo "${ECHO_T}no" >&6; }
4843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4846 # Check whether --enable-debug_cntxt was given.
4847 if test "${enable_debug_cntxt+set}" = set; then
4848 enableval=$enable_debug_cntxt;
4849 if test "$enableval" = yes; then
4850 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4852 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4857 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x ; then
4859 eval "DEFAULT_$LINE"
4864 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4869 eval "$ac_cv_use_debug_cntxt"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4874 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4875 { echo "$as_me:$LINENO: result: yes" >&5
4876 echo "${ECHO_T}yes" >&6; }
4878 { echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6; }
4884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4885 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4887 # Check whether --enable-mem_tracing was given.
4888 if test "${enable_mem_tracing+set}" = set; then
4889 enableval=$enable_mem_tracing;
4890 if test "$enableval" = yes; then
4891 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4893 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4898 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4899 if test "x$LINE" != x ; then
4900 eval "DEFAULT_$LINE"
4905 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4910 eval "$ac_cv_use_mem_tracing"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4915 if test "$wxUSE_MEM_TRACING" = yes; then
4916 { echo "$as_me:$LINENO: result: yes" >&5
4917 echo "${ECHO_T}yes" >&6; }
4919 { echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6; }
4925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4926 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4928 # Check whether --enable-profile was given.
4929 if test "${enable_profile+set}" = set; then
4930 enableval=$enable_profile;
4931 if test "$enableval" = yes; then
4932 ac_cv_use_profile='wxUSE_PROFILE=yes'
4934 ac_cv_use_profile='wxUSE_PROFILE=no'
4939 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x ; then
4941 eval "DEFAULT_$LINE"
4946 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4951 eval "$ac_cv_use_profile"
4952 if test "$no_cache" != 1; then
4953 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4956 if test "$wxUSE_PROFILE" = yes; then
4957 { echo "$as_me:$LINENO: result: yes" >&5
4958 echo "${ECHO_T}yes" >&6; }
4960 { echo "$as_me:$LINENO: result: no" >&5
4961 echo "${ECHO_T}no" >&6; }
4966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4967 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4969 # Check whether --enable-no_rtti was given.
4970 if test "${enable_no_rtti+set}" = set; then
4971 enableval=$enable_no_rtti;
4972 if test "$enableval" = yes; then
4973 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4975 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4980 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x ; then
4982 eval "DEFAULT_$LINE"
4987 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4992 eval "$ac_cv_use_no_rtti"
4993 if test "$no_cache" != 1; then
4994 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4997 if test "$wxUSE_NO_RTTI" = yes; then
4998 { echo "$as_me:$LINENO: result: yes" >&5
4999 echo "${ECHO_T}yes" >&6; }
5001 { echo "$as_me:$LINENO: result: no" >&5
5002 echo "${ECHO_T}no" >&6; }
5007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5008 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5010 # Check whether --enable-no_exceptions was given.
5011 if test "${enable_no_exceptions+set}" = set; then
5012 enableval=$enable_no_exceptions;
5013 if test "$enableval" = yes; then
5014 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5016 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5021 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x ; then
5023 eval "DEFAULT_$LINE"
5028 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5033 eval "$ac_cv_use_no_exceptions"
5034 if test "$no_cache" != 1; then
5035 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5038 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5039 { echo "$as_me:$LINENO: result: yes" >&5
5040 echo "${ECHO_T}yes" >&6; }
5042 { echo "$as_me:$LINENO: result: no" >&5
5043 echo "${ECHO_T}no" >&6; }
5048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5049 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5051 # Check whether --enable-permissive was given.
5052 if test "${enable_permissive+set}" = set; then
5053 enableval=$enable_permissive;
5054 if test "$enableval" = yes; then
5055 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5057 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5062 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5069 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5074 eval "$ac_cv_use_permissive"
5075 if test "$no_cache" != 1; then
5076 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5079 if test "$wxUSE_PERMISSIVE" = yes; then
5080 { echo "$as_me:$LINENO: result: yes" >&5
5081 echo "${ECHO_T}yes" >&6; }
5083 { echo "$as_me:$LINENO: result: no" >&5
5084 echo "${ECHO_T}no" >&6; }
5089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5090 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5092 # Check whether --enable-no_deps was given.
5093 if test "${enable_no_deps+set}" = set; then
5094 enableval=$enable_no_deps;
5095 if test "$enableval" = yes; then
5096 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5098 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5103 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x ; then
5105 eval "DEFAULT_$LINE"
5110 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5115 eval "$ac_cv_use_no_deps"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5120 if test "$wxUSE_NO_DEPS" = yes; then
5121 { echo "$as_me:$LINENO: result: yes" >&5
5122 echo "${ECHO_T}yes" >&6; }
5124 { echo "$as_me:$LINENO: result: no" >&5
5125 echo "${ECHO_T}no" >&6; }
5130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5133 # Check whether --enable-vararg_macros was given.
5134 if test "${enable_vararg_macros+set}" = set; then
5135 enableval=$enable_vararg_macros;
5136 if test "$enableval" = yes; then
5137 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5139 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5144 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x ; then
5146 eval "DEFAULT_$LINE"
5151 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5156 eval "$ac_cv_use_vararg_macros"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5161 if test "$wxUSE_VARARG_MACROS" = yes; then
5162 { echo "$as_me:$LINENO: result: yes" >&5
5163 echo "${ECHO_T}yes" >&6; }
5165 { echo "$as_me:$LINENO: result: no" >&5
5166 echo "${ECHO_T}no" >&6; }
5171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5172 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5174 # Check whether --enable-universal_binary was given.
5175 if test "${enable_universal_binary+set}" = set; then
5176 enableval=$enable_universal_binary;
5177 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5181 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5182 if test "x$LINE" != x ; then
5183 eval "DEFAULT_$LINE"
5184 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5187 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5193 eval "$wx_cv_use_universal_binary"
5194 if test "$no_cache" != 1; then
5195 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5198 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5199 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5205 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5207 # Check whether --enable-compat26 was given.
5208 if test "${enable_compat26+set}" = set; then
5209 enableval=$enable_compat26;
5210 if test "$enableval" = yes; then
5211 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5213 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5218 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x ; then
5220 eval "DEFAULT_$LINE"
5225 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5230 eval "$ac_cv_use_compat26"
5231 if test "$no_cache" != 1; then
5232 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5235 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5236 { echo "$as_me:$LINENO: result: yes" >&5
5237 echo "${ECHO_T}yes" >&6; }
5239 { echo "$as_me:$LINENO: result: no" >&5
5240 echo "${ECHO_T}no" >&6; }
5244 enablestring=disable
5245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5246 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5248 # Check whether --enable-compat28 was given.
5249 if test "${enable_compat28+set}" = set; then
5250 enableval=$enable_compat28;
5251 if test "$enableval" = yes; then
5252 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5254 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5259 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x ; then
5261 eval "DEFAULT_$LINE"
5266 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5271 eval "$ac_cv_use_compat28"
5272 if test "$no_cache" != 1; then
5273 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5276 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5277 { echo "$as_me:$LINENO: result: yes" >&5
5278 echo "${ECHO_T}yes" >&6; }
5280 { echo "$as_me:$LINENO: result: no" >&5
5281 echo "${ECHO_T}no" >&6; }
5287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5288 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5290 # Check whether --enable-rpath was given.
5291 if test "${enable_rpath+set}" = set; then
5292 enableval=$enable_rpath;
5293 if test "$enableval" = yes; then
5294 ac_cv_use_rpath='wxUSE_RPATH=yes'
5296 ac_cv_use_rpath='wxUSE_RPATH=no'
5301 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5302 if test "x$LINE" != x ; then
5303 eval "DEFAULT_$LINE"
5308 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5313 eval "$ac_cv_use_rpath"
5314 if test "$no_cache" != 1; then
5315 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5318 if test "$wxUSE_RPATH" = yes; then
5319 { echo "$as_me:$LINENO: result: yes" >&5
5320 echo "${ECHO_T}yes" >&6; }
5322 { echo "$as_me:$LINENO: result: no" >&5
5323 echo "${ECHO_T}no" >&6; }
5331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5332 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5334 # Check whether --enable-intl was given.
5335 if test "${enable_intl+set}" = set; then
5336 enableval=$enable_intl;
5337 if test "$enableval" = yes; then
5338 ac_cv_use_intl='wxUSE_INTL=yes'
5340 ac_cv_use_intl='wxUSE_INTL=no'
5345 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5346 if test "x$LINE" != x ; then
5347 eval "DEFAULT_$LINE"
5352 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5357 eval "$ac_cv_use_intl"
5358 if test "$no_cache" != 1; then
5359 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5362 if test "$wxUSE_INTL" = yes; then
5363 { echo "$as_me:$LINENO: result: yes" >&5
5364 echo "${ECHO_T}yes" >&6; }
5366 { echo "$as_me:$LINENO: result: no" >&5
5367 echo "${ECHO_T}no" >&6; }
5372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5373 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5375 # Check whether --enable-config was given.
5376 if test "${enable_config+set}" = set; then
5377 enableval=$enable_config;
5378 if test "$enableval" = yes; then
5379 ac_cv_use_config='wxUSE_CONFIG=yes'
5381 ac_cv_use_config='wxUSE_CONFIG=no'
5386 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5387 if test "x$LINE" != x ; then
5388 eval "DEFAULT_$LINE"
5393 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5398 eval "$ac_cv_use_config"
5399 if test "$no_cache" != 1; then
5400 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5403 if test "$wxUSE_CONFIG" = yes; then
5404 { echo "$as_me:$LINENO: result: yes" >&5
5405 echo "${ECHO_T}yes" >&6; }
5407 { echo "$as_me:$LINENO: result: no" >&5
5408 echo "${ECHO_T}no" >&6; }
5414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5417 # Check whether --enable-protocols was given.
5418 if test "${enable_protocols+set}" = set; then
5419 enableval=$enable_protocols;
5420 if test "$enableval" = yes; then
5421 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5423 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5428 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5429 if test "x$LINE" != x ; then
5430 eval "DEFAULT_$LINE"
5435 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5440 eval "$ac_cv_use_protocols"
5441 if test "$no_cache" != 1; then
5442 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5445 if test "$wxUSE_PROTOCOL" = yes; then
5446 { echo "$as_me:$LINENO: result: yes" >&5
5447 echo "${ECHO_T}yes" >&6; }
5449 { echo "$as_me:$LINENO: result: no" >&5
5450 echo "${ECHO_T}no" >&6; }
5455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5456 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5458 # Check whether --enable-ftp was given.
5459 if test "${enable_ftp+set}" = set; then
5460 enableval=$enable_ftp;
5461 if test "$enableval" = yes; then
5462 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5464 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5469 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5470 if test "x$LINE" != x ; then
5471 eval "DEFAULT_$LINE"
5476 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5481 eval "$ac_cv_use_ftp"
5482 if test "$no_cache" != 1; then
5483 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5486 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5487 { echo "$as_me:$LINENO: result: yes" >&5
5488 echo "${ECHO_T}yes" >&6; }
5490 { echo "$as_me:$LINENO: result: no" >&5
5491 echo "${ECHO_T}no" >&6; }
5496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5497 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5499 # Check whether --enable-http was given.
5500 if test "${enable_http+set}" = set; then
5501 enableval=$enable_http;
5502 if test "$enableval" = yes; then
5503 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5505 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5510 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5511 if test "x$LINE" != x ; then
5512 eval "DEFAULT_$LINE"
5517 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5522 eval "$ac_cv_use_http"
5523 if test "$no_cache" != 1; then
5524 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5527 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5528 { echo "$as_me:$LINENO: result: yes" >&5
5529 echo "${ECHO_T}yes" >&6; }
5531 { echo "$as_me:$LINENO: result: no" >&5
5532 echo "${ECHO_T}no" >&6; }
5537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5538 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5540 # Check whether --enable-fileproto was given.
5541 if test "${enable_fileproto+set}" = set; then
5542 enableval=$enable_fileproto;
5543 if test "$enableval" = yes; then
5544 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5546 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5551 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5552 if test "x$LINE" != x ; then
5553 eval "DEFAULT_$LINE"
5558 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5563 eval "$ac_cv_use_fileproto"
5564 if test "$no_cache" != 1; then
5565 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5568 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5569 { echo "$as_me:$LINENO: result: yes" >&5
5570 echo "${ECHO_T}yes" >&6; }
5572 { echo "$as_me:$LINENO: result: no" >&5
5573 echo "${ECHO_T}no" >&6; }
5578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5581 # Check whether --enable-sockets was given.
5582 if test "${enable_sockets+set}" = set; then
5583 enableval=$enable_sockets;
5584 if test "$enableval" = yes; then
5585 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5587 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5592 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5593 if test "x$LINE" != x ; then
5594 eval "DEFAULT_$LINE"
5599 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5604 eval "$ac_cv_use_sockets"
5605 if test "$no_cache" != 1; then
5606 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5609 if test "$wxUSE_SOCKETS" = yes; then
5610 { echo "$as_me:$LINENO: result: yes" >&5
5611 echo "${ECHO_T}yes" >&6; }
5613 { echo "$as_me:$LINENO: result: no" >&5
5614 echo "${ECHO_T}no" >&6; }
5619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5622 # Check whether --enable-ole was given.
5623 if test "${enable_ole+set}" = set; then
5624 enableval=$enable_ole;
5625 if test "$enableval" = yes; then
5626 ac_cv_use_ole='wxUSE_OLE=yes'
5628 ac_cv_use_ole='wxUSE_OLE=no'
5633 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5634 if test "x$LINE" != x ; then
5635 eval "DEFAULT_$LINE"
5640 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5645 eval "$ac_cv_use_ole"
5646 if test "$no_cache" != 1; then
5647 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5650 if test "$wxUSE_OLE" = yes; then
5651 { echo "$as_me:$LINENO: result: yes" >&5
5652 echo "${ECHO_T}yes" >&6; }
5654 { echo "$as_me:$LINENO: result: no" >&5
5655 echo "${ECHO_T}no" >&6; }
5660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5661 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5663 # Check whether --enable-dataobj was given.
5664 if test "${enable_dataobj+set}" = set; then
5665 enableval=$enable_dataobj;
5666 if test "$enableval" = yes; then
5667 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5669 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5674 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5675 if test "x$LINE" != x ; then
5676 eval "DEFAULT_$LINE"
5681 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5686 eval "$ac_cv_use_dataobj"
5687 if test "$no_cache" != 1; then
5688 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5691 if test "$wxUSE_DATAOBJ" = yes; then
5692 { echo "$as_me:$LINENO: result: yes" >&5
5693 echo "${ECHO_T}yes" >&6; }
5695 { echo "$as_me:$LINENO: result: no" >&5
5696 echo "${ECHO_T}no" >&6; }
5702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5703 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5705 # Check whether --enable-ipc was given.
5706 if test "${enable_ipc+set}" = set; then
5707 enableval=$enable_ipc;
5708 if test "$enableval" = yes; then
5709 ac_cv_use_ipc='wxUSE_IPC=yes'
5711 ac_cv_use_ipc='wxUSE_IPC=no'
5716 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5717 if test "x$LINE" != x ; then
5718 eval "DEFAULT_$LINE"
5723 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5728 eval "$ac_cv_use_ipc"
5729 if test "$no_cache" != 1; then
5730 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5733 if test "$wxUSE_IPC" = yes; then
5734 { echo "$as_me:$LINENO: result: yes" >&5
5735 echo "${ECHO_T}yes" >&6; }
5737 { echo "$as_me:$LINENO: result: no" >&5
5738 echo "${ECHO_T}no" >&6; }
5744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5747 # Check whether --enable-apple_ieee was given.
5748 if test "${enable_apple_ieee+set}" = set; then
5749 enableval=$enable_apple_ieee;
5750 if test "$enableval" = yes; then
5751 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5753 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5758 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5759 if test "x$LINE" != x ; then
5760 eval "DEFAULT_$LINE"
5765 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5770 eval "$ac_cv_use_apple_ieee"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5775 if test "$wxUSE_APPLE_IEEE" = yes; then
5776 { echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6; }
5779 { echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6; }
5785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5788 # Check whether --enable-arcstream was given.
5789 if test "${enable_arcstream+set}" = set; then
5790 enableval=$enable_arcstream;
5791 if test "$enableval" = yes; then
5792 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5794 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5799 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5800 if test "x$LINE" != x ; then
5801 eval "DEFAULT_$LINE"
5806 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5811 eval "$ac_cv_use_arcstream"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5816 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5817 { echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6; }
5820 { echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6; }
5826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5829 # Check whether --enable-backtrace was given.
5830 if test "${enable_backtrace+set}" = set; then
5831 enableval=$enable_backtrace;
5832 if test "$enableval" = yes; then
5833 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5835 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5840 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5841 if test "x$LINE" != x ; then
5842 eval "DEFAULT_$LINE"
5847 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5852 eval "$ac_cv_use_backtrace"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5857 if test "$wxUSE_STACKWALKER" = yes; then
5858 { echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6; }
5861 { echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6; }
5867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5870 # Check whether --enable-catch_segvs was given.
5871 if test "${enable_catch_segvs+set}" = set; then
5872 enableval=$enable_catch_segvs;
5873 if test "$enableval" = yes; then
5874 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5876 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5881 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5882 if test "x$LINE" != x ; then
5883 eval "DEFAULT_$LINE"
5888 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5893 eval "$ac_cv_use_catch_segvs"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5898 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5899 { echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6; }
5902 { echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6; }
5908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5911 # Check whether --enable-cmdline was given.
5912 if test "${enable_cmdline+set}" = set; then
5913 enableval=$enable_cmdline;
5914 if test "$enableval" = yes; then
5915 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5917 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5922 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5923 if test "x$LINE" != x ; then
5924 eval "DEFAULT_$LINE"
5929 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5934 eval "$ac_cv_use_cmdline"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5939 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5940 { echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6; }
5943 { echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6; }
5949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5952 # Check whether --enable-datetime was given.
5953 if test "${enable_datetime+set}" = set; then
5954 enableval=$enable_datetime;
5955 if test "$enableval" = yes; then
5956 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5958 ac_cv_use_datetime='wxUSE_DATETIME=no'
5963 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5964 if test "x$LINE" != x ; then
5965 eval "DEFAULT_$LINE"
5970 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5975 eval "$ac_cv_use_datetime"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5980 if test "$wxUSE_DATETIME" = yes; then
5981 { echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6; }
5984 { echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6; }
5990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
5993 # Check whether --enable-debugreport was given.
5994 if test "${enable_debugreport+set}" = set; then
5995 enableval=$enable_debugreport;
5996 if test "$enableval" = yes; then
5997 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5999 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6004 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6005 if test "x$LINE" != x ; then
6006 eval "DEFAULT_$LINE"
6011 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6016 eval "$ac_cv_use_debugreport"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6021 if test "$wxUSE_DEBUGREPORT" = yes; then
6022 { echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6; }
6025 { echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6; }
6031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6034 # Check whether --enable-dialupman was given.
6035 if test "${enable_dialupman+set}" = set; then
6036 enableval=$enable_dialupman;
6037 if test "$enableval" = yes; then
6038 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6040 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6045 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6046 if test "x$LINE" != x ; then
6047 eval "DEFAULT_$LINE"
6052 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6057 eval "$ac_cv_use_dialupman"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6062 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6063 { echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6; }
6066 { echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6; }
6072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6075 # Check whether --enable-dynlib was given.
6076 if test "${enable_dynlib+set}" = set; then
6077 enableval=$enable_dynlib;
6078 if test "$enableval" = yes; then
6079 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6081 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6086 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6087 if test "x$LINE" != x ; then
6088 eval "DEFAULT_$LINE"
6093 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6098 eval "$ac_cv_use_dynlib"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6103 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6104 { echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6; }
6107 { echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6; }
6113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6116 # Check whether --enable-dynamicloader was given.
6117 if test "${enable_dynamicloader+set}" = set; then
6118 enableval=$enable_dynamicloader;
6119 if test "$enableval" = yes; then
6120 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6122 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6127 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x ; then
6129 eval "DEFAULT_$LINE"
6134 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6139 eval "$ac_cv_use_dynamicloader"
6140 if test "$no_cache" != 1; then
6141 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6144 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6145 { echo "$as_me:$LINENO: result: yes" >&5
6146 echo "${ECHO_T}yes" >&6; }
6148 { echo "$as_me:$LINENO: result: no" >&5
6149 echo "${ECHO_T}no" >&6; }
6154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6157 # Check whether --enable-exceptions was given.
6158 if test "${enable_exceptions+set}" = set; then
6159 enableval=$enable_exceptions;
6160 if test "$enableval" = yes; then
6161 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6163 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6168 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6169 if test "x$LINE" != x ; then
6170 eval "DEFAULT_$LINE"
6175 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6180 eval "$ac_cv_use_exceptions"
6181 if test "$no_cache" != 1; then
6182 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6185 if test "$wxUSE_EXCEPTIONS" = yes; then
6186 { echo "$as_me:$LINENO: result: yes" >&5
6187 echo "${ECHO_T}yes" >&6; }
6189 { echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6; }
6195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6196 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6198 # Check whether --enable-ffile was given.
6199 if test "${enable_ffile+set}" = set; then
6200 enableval=$enable_ffile;
6201 if test "$enableval" = yes; then
6202 ac_cv_use_ffile='wxUSE_FFILE=yes'
6204 ac_cv_use_ffile='wxUSE_FFILE=no'
6209 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6210 if test "x$LINE" != x ; then
6211 eval "DEFAULT_$LINE"
6216 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6221 eval "$ac_cv_use_ffile"
6222 if test "$no_cache" != 1; then
6223 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6226 if test "$wxUSE_FFILE" = yes; then
6227 { echo "$as_me:$LINENO: result: yes" >&5
6228 echo "${ECHO_T}yes" >&6; }
6230 { echo "$as_me:$LINENO: result: no" >&5
6231 echo "${ECHO_T}no" >&6; }
6236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6237 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6239 # Check whether --enable-file was given.
6240 if test "${enable_file+set}" = set; then
6241 enableval=$enable_file;
6242 if test "$enableval" = yes; then
6243 ac_cv_use_file='wxUSE_FILE=yes'
6245 ac_cv_use_file='wxUSE_FILE=no'
6250 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6251 if test "x$LINE" != x ; then
6252 eval "DEFAULT_$LINE"
6257 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6262 eval "$ac_cv_use_file"
6263 if test "$no_cache" != 1; then
6264 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6267 if test "$wxUSE_FILE" = yes; then
6268 { echo "$as_me:$LINENO: result: yes" >&5
6269 echo "${ECHO_T}yes" >&6; }
6271 { echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6; }
6277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6280 # Check whether --enable-filesystem was given.
6281 if test "${enable_filesystem+set}" = set; then
6282 enableval=$enable_filesystem;
6283 if test "$enableval" = yes; then
6284 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6286 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6291 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6292 if test "x$LINE" != x ; then
6293 eval "DEFAULT_$LINE"
6298 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6303 eval "$ac_cv_use_filesystem"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6308 if test "$wxUSE_FILESYSTEM" = yes; then
6309 { echo "$as_me:$LINENO: result: yes" >&5
6310 echo "${ECHO_T}yes" >&6; }
6312 { echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6; }
6318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6321 # Check whether --enable-fontmap was given.
6322 if test "${enable_fontmap+set}" = set; then
6323 enableval=$enable_fontmap;
6324 if test "$enableval" = yes; then
6325 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6327 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6332 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6333 if test "x$LINE" != x ; then
6334 eval "DEFAULT_$LINE"
6339 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6344 eval "$ac_cv_use_fontmap"
6345 if test "$no_cache" != 1; then
6346 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6349 if test "$wxUSE_FONTMAP" = yes; then
6350 { echo "$as_me:$LINENO: result: yes" >&5
6351 echo "${ECHO_T}yes" >&6; }
6353 { echo "$as_me:$LINENO: result: no" >&5
6354 echo "${ECHO_T}no" >&6; }
6359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6362 # Check whether --enable-fs_archive was given.
6363 if test "${enable_fs_archive+set}" = set; then
6364 enableval=$enable_fs_archive;
6365 if test "$enableval" = yes; then
6366 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6368 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6373 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6374 if test "x$LINE" != x ; then
6375 eval "DEFAULT_$LINE"
6380 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6385 eval "$ac_cv_use_fs_archive"
6386 if test "$no_cache" != 1; then
6387 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6390 if test "$wxUSE_FS_ARCHIVE" = yes; then
6391 { echo "$as_me:$LINENO: result: yes" >&5
6392 echo "${ECHO_T}yes" >&6; }
6394 { echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6; }
6400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6403 # Check whether --enable-fs_inet was given.
6404 if test "${enable_fs_inet+set}" = set; then
6405 enableval=$enable_fs_inet;
6406 if test "$enableval" = yes; then
6407 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6409 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6414 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6415 if test "x$LINE" != x ; then
6416 eval "DEFAULT_$LINE"
6421 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6426 eval "$ac_cv_use_fs_inet"
6427 if test "$no_cache" != 1; then
6428 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6431 if test "$wxUSE_FS_INET" = yes; then
6432 { echo "$as_me:$LINENO: result: yes" >&5
6433 echo "${ECHO_T}yes" >&6; }
6435 { echo "$as_me:$LINENO: result: no" >&5
6436 echo "${ECHO_T}no" >&6; }
6441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6442 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6444 # Check whether --enable-fs_zip was given.
6445 if test "${enable_fs_zip+set}" = set; then
6446 enableval=$enable_fs_zip;
6447 if test "$enableval" = yes; then
6448 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6450 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6455 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6456 if test "x$LINE" != x ; then
6457 eval "DEFAULT_$LINE"
6462 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6467 eval "$ac_cv_use_fs_zip"
6468 if test "$no_cache" != 1; then
6469 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6472 if test "$wxUSE_FS_ZIP" = yes; then
6473 { echo "$as_me:$LINENO: result: yes" >&5
6474 echo "${ECHO_T}yes" >&6; }
6476 { echo "$as_me:$LINENO: result: no" >&5
6477 echo "${ECHO_T}no" >&6; }
6482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6483 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6485 # Check whether --enable-geometry was given.
6486 if test "${enable_geometry+set}" = set; then
6487 enableval=$enable_geometry;
6488 if test "$enableval" = yes; then
6489 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6491 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6496 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6497 if test "x$LINE" != x ; then
6498 eval "DEFAULT_$LINE"
6503 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6508 eval "$ac_cv_use_geometry"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6513 if test "$wxUSE_GEOMETRY" = yes; then
6514 { echo "$as_me:$LINENO: result: yes" >&5
6515 echo "${ECHO_T}yes" >&6; }
6517 { echo "$as_me:$LINENO: result: no" >&5
6518 echo "${ECHO_T}no" >&6; }
6523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6524 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6526 # Check whether --enable-log was given.
6527 if test "${enable_log+set}" = set; then
6528 enableval=$enable_log;
6529 if test "$enableval" = yes; then
6530 ac_cv_use_log='wxUSE_LOG=yes'
6532 ac_cv_use_log='wxUSE_LOG=no'
6537 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6538 if test "x$LINE" != x ; then
6539 eval "DEFAULT_$LINE"
6544 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6549 eval "$ac_cv_use_log"
6550 if test "$no_cache" != 1; then
6551 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6554 if test "$wxUSE_LOG" = yes; then
6555 { echo "$as_me:$LINENO: result: yes" >&5
6556 echo "${ECHO_T}yes" >&6; }
6558 { echo "$as_me:$LINENO: result: no" >&5
6559 echo "${ECHO_T}no" >&6; }
6564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6565 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6567 # Check whether --enable-longlong was given.
6568 if test "${enable_longlong+set}" = set; then
6569 enableval=$enable_longlong;
6570 if test "$enableval" = yes; then
6571 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6573 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6578 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6579 if test "x$LINE" != x ; then
6580 eval "DEFAULT_$LINE"
6585 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6590 eval "$ac_cv_use_longlong"
6591 if test "$no_cache" != 1; then
6592 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6595 if test "$wxUSE_LONGLONG" = yes; then
6596 { echo "$as_me:$LINENO: result: yes" >&5
6597 echo "${ECHO_T}yes" >&6; }
6599 { echo "$as_me:$LINENO: result: no" >&5
6600 echo "${ECHO_T}no" >&6; }
6605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6606 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6608 # Check whether --enable-mimetype was given.
6609 if test "${enable_mimetype+set}" = set; then
6610 enableval=$enable_mimetype;
6611 if test "$enableval" = yes; then
6612 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6614 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6619 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6620 if test "x$LINE" != x ; then
6621 eval "DEFAULT_$LINE"
6626 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6631 eval "$ac_cv_use_mimetype"
6632 if test "$no_cache" != 1; then
6633 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6636 if test "$wxUSE_MIMETYPE" = yes; then
6637 { echo "$as_me:$LINENO: result: yes" >&5
6638 echo "${ECHO_T}yes" >&6; }
6640 { echo "$as_me:$LINENO: result: no" >&5
6641 echo "${ECHO_T}no" >&6; }
6646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6647 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6649 # Check whether --enable-mslu was given.
6650 if test "${enable_mslu+set}" = set; then
6651 enableval=$enable_mslu;
6652 if test "$enableval" = yes; then
6653 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6655 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6660 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6661 if test "x$LINE" != x ; then
6662 eval "DEFAULT_$LINE"
6667 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6672 eval "$ac_cv_use_mslu"
6673 if test "$no_cache" != 1; then
6674 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6677 if test "$wxUSE_UNICODE_MSLU" = yes; then
6678 { echo "$as_me:$LINENO: result: yes" >&5
6679 echo "${ECHO_T}yes" >&6; }
6681 { echo "$as_me:$LINENO: result: no" >&5
6682 echo "${ECHO_T}no" >&6; }
6687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6688 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6690 # Check whether --enable-snglinst was given.
6691 if test "${enable_snglinst+set}" = set; then
6692 enableval=$enable_snglinst;
6693 if test "$enableval" = yes; then
6694 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6696 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6701 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6702 if test "x$LINE" != x ; then
6703 eval "DEFAULT_$LINE"
6708 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6713 eval "$ac_cv_use_snglinst"
6714 if test "$no_cache" != 1; then
6715 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6718 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6719 { echo "$as_me:$LINENO: result: yes" >&5
6720 echo "${ECHO_T}yes" >&6; }
6722 { echo "$as_me:$LINENO: result: no" >&5
6723 echo "${ECHO_T}no" >&6; }
6728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6731 # Check whether --enable-std_iostreams was given.
6732 if test "${enable_std_iostreams+set}" = set; then
6733 enableval=$enable_std_iostreams;
6734 if test "$enableval" = yes; then
6735 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6737 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6742 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6743 if test "x$LINE" != x ; then
6744 eval "DEFAULT_$LINE"
6749 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6754 eval "$ac_cv_use_std_iostreams"
6755 if test "$no_cache" != 1; then
6756 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6759 if test "$wxUSE_STD_IOSTREAM" = yes; then
6760 { echo "$as_me:$LINENO: result: yes" >&5
6761 echo "${ECHO_T}yes" >&6; }
6763 { echo "$as_me:$LINENO: result: no" >&5
6764 echo "${ECHO_T}no" >&6; }
6769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6770 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6772 # Check whether --enable-std_string was given.
6773 if test "${enable_std_string+set}" = set; then
6774 enableval=$enable_std_string;
6775 if test "$enableval" = yes; then
6776 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6778 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6783 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6784 if test "x$LINE" != x ; then
6785 eval "DEFAULT_$LINE"
6790 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6795 eval "$ac_cv_use_std_string"
6796 if test "$no_cache" != 1; then
6797 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6800 if test "$wxUSE_STD_STRING" = yes; then
6801 { echo "$as_me:$LINENO: result: yes" >&5
6802 echo "${ECHO_T}yes" >&6; }
6804 { echo "$as_me:$LINENO: result: no" >&5
6805 echo "${ECHO_T}no" >&6; }
6810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6811 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6813 # Check whether --enable-stdpaths was given.
6814 if test "${enable_stdpaths+set}" = set; then
6815 enableval=$enable_stdpaths;
6816 if test "$enableval" = yes; then
6817 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6819 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6824 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6825 if test "x$LINE" != x ; then
6826 eval "DEFAULT_$LINE"
6831 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6836 eval "$ac_cv_use_stdpaths"
6837 if test "$no_cache" != 1; then
6838 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6841 if test "$wxUSE_STDPATHS" = yes; then
6842 { echo "$as_me:$LINENO: result: yes" >&5
6843 echo "${ECHO_T}yes" >&6; }
6845 { echo "$as_me:$LINENO: result: no" >&5
6846 echo "${ECHO_T}no" >&6; }
6851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6852 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6854 # Check whether --enable-stopwatch was given.
6855 if test "${enable_stopwatch+set}" = set; then
6856 enableval=$enable_stopwatch;
6857 if test "$enableval" = yes; then
6858 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6860 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6865 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6866 if test "x$LINE" != x ; then
6867 eval "DEFAULT_$LINE"
6872 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6877 eval "$ac_cv_use_stopwatch"
6878 if test "$no_cache" != 1; then
6879 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6882 if test "$wxUSE_STOPWATCH" = yes; then
6883 { echo "$as_me:$LINENO: result: yes" >&5
6884 echo "${ECHO_T}yes" >&6; }
6886 { echo "$as_me:$LINENO: result: no" >&5
6887 echo "${ECHO_T}no" >&6; }
6892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6893 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6895 # Check whether --enable-streams was given.
6896 if test "${enable_streams+set}" = set; then
6897 enableval=$enable_streams;
6898 if test "$enableval" = yes; then
6899 ac_cv_use_streams='wxUSE_STREAMS=yes'
6901 ac_cv_use_streams='wxUSE_STREAMS=no'
6906 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6907 if test "x$LINE" != x ; then
6908 eval "DEFAULT_$LINE"
6913 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6918 eval "$ac_cv_use_streams"
6919 if test "$no_cache" != 1; then
6920 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6923 if test "$wxUSE_STREAMS" = yes; then
6924 { echo "$as_me:$LINENO: result: yes" >&5
6925 echo "${ECHO_T}yes" >&6; }
6927 { echo "$as_me:$LINENO: result: no" >&5
6928 echo "${ECHO_T}no" >&6; }
6933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6934 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6936 # Check whether --enable-system_options was given.
6937 if test "${enable_system_options+set}" = set; then
6938 enableval=$enable_system_options;
6939 if test "$enableval" = yes; then
6940 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6942 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6947 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6948 if test "x$LINE" != x ; then
6949 eval "DEFAULT_$LINE"
6954 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6959 eval "$ac_cv_use_system_options"
6960 if test "$no_cache" != 1; then
6961 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6964 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6965 { echo "$as_me:$LINENO: result: yes" >&5
6966 echo "${ECHO_T}yes" >&6; }
6968 { echo "$as_me:$LINENO: result: no" >&5
6969 echo "${ECHO_T}no" >&6; }
6974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6977 # Check whether --enable-tarstream was given.
6978 if test "${enable_tarstream+set}" = set; then
6979 enableval=$enable_tarstream;
6980 if test "$enableval" = yes; then
6981 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6983 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6988 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6989 if test "x$LINE" != x ; then
6990 eval "DEFAULT_$LINE"
6995 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7000 eval "$ac_cv_use_tarstream"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7005 if test "$wxUSE_TARSTREAM" = yes; then
7006 { echo "$as_me:$LINENO: result: yes" >&5
7007 echo "${ECHO_T}yes" >&6; }
7009 { echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6; }
7015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7018 # Check whether --enable-textbuf was given.
7019 if test "${enable_textbuf+set}" = set; then
7020 enableval=$enable_textbuf;
7021 if test "$enableval" = yes; then
7022 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7024 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7029 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7030 if test "x$LINE" != x ; then
7031 eval "DEFAULT_$LINE"
7036 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7041 eval "$ac_cv_use_textbuf"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7046 if test "$wxUSE_TEXTBUFFER" = yes; then
7047 { echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6; }
7050 { echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6; }
7056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7057 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7059 # Check whether --enable-textfile was given.
7060 if test "${enable_textfile+set}" = set; then
7061 enableval=$enable_textfile;
7062 if test "$enableval" = yes; then
7063 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7065 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7070 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7071 if test "x$LINE" != x ; then
7072 eval "DEFAULT_$LINE"
7077 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7082 eval "$ac_cv_use_textfile"
7083 if test "$no_cache" != 1; then
7084 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7087 if test "$wxUSE_TEXTFILE" = yes; then
7088 { echo "$as_me:$LINENO: result: yes" >&5
7089 echo "${ECHO_T}yes" >&6; }
7091 { echo "$as_me:$LINENO: result: no" >&5
7092 echo "${ECHO_T}no" >&6; }
7097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7098 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7100 # Check whether --enable-timer was given.
7101 if test "${enable_timer+set}" = set; then
7102 enableval=$enable_timer;
7103 if test "$enableval" = yes; then
7104 ac_cv_use_timer='wxUSE_TIMER=yes'
7106 ac_cv_use_timer='wxUSE_TIMER=no'
7111 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7112 if test "x$LINE" != x ; then
7113 eval "DEFAULT_$LINE"
7118 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7123 eval "$ac_cv_use_timer"
7124 if test "$no_cache" != 1; then
7125 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7128 if test "$wxUSE_TIMER" = yes; then
7129 { echo "$as_me:$LINENO: result: yes" >&5
7130 echo "${ECHO_T}yes" >&6; }
7132 { echo "$as_me:$LINENO: result: no" >&5
7133 echo "${ECHO_T}no" >&6; }
7138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7141 # Check whether --enable-unicode was given.
7142 if test "${enable_unicode+set}" = set; then
7143 enableval=$enable_unicode;
7144 if test "$enableval" = yes; then
7145 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7147 ac_cv_use_unicode='wxUSE_UNICODE=no'
7152 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7153 if test "x$LINE" != x ; then
7154 eval "DEFAULT_$LINE"
7159 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7164 eval "$ac_cv_use_unicode"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7169 if test "$wxUSE_UNICODE" = yes; then
7170 { echo "$as_me:$LINENO: result: yes" >&5
7171 echo "${ECHO_T}yes" >&6; }
7173 { echo "$as_me:$LINENO: result: no" >&5
7174 echo "${ECHO_T}no" >&6; }
7179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7182 # Check whether --enable-sound was given.
7183 if test "${enable_sound+set}" = set; then
7184 enableval=$enable_sound;
7185 if test "$enableval" = yes; then
7186 ac_cv_use_sound='wxUSE_SOUND=yes'
7188 ac_cv_use_sound='wxUSE_SOUND=no'
7193 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7194 if test "x$LINE" != x ; then
7195 eval "DEFAULT_$LINE"
7200 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7205 eval "$ac_cv_use_sound"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7210 if test "$wxUSE_SOUND" = yes; then
7211 { echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6; }
7214 { echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6; }
7220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7223 # Check whether --enable-mediactrl was given.
7224 if test "${enable_mediactrl+set}" = set; then
7225 enableval=$enable_mediactrl;
7226 if test "$enableval" = yes; then
7227 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7229 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7234 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7235 if test "x$LINE" != x ; then
7236 eval "DEFAULT_$LINE"
7241 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7246 eval "$ac_cv_use_mediactrl"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7251 if test "$wxUSE_MEDIACTRL" = yes; then
7252 { echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6; }
7255 { echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6; }
7261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7264 # Check whether --enable-gstreamer8 was given.
7265 if test "${enable_gstreamer8+set}" = set; then
7266 enableval=$enable_gstreamer8;
7267 if test "$enableval" = yes; then
7268 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7270 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7275 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7276 if test "x$LINE" != x ; then
7277 eval "DEFAULT_$LINE"
7282 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7287 eval "$ac_cv_use_gstreamer8"
7288 if test "$no_cache" != 1; then
7289 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7292 if test "$wxUSE_GSTREAMER8" = yes; then
7293 { echo "$as_me:$LINENO: result: yes" >&5
7294 echo "${ECHO_T}yes" >&6; }
7296 { echo "$as_me:$LINENO: result: no" >&5
7297 echo "${ECHO_T}no" >&6; }
7302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7305 # Check whether --enable-printfposparam was given.
7306 if test "${enable_printfposparam+set}" = set; then
7307 enableval=$enable_printfposparam;
7308 if test "$enableval" = yes; then
7309 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7311 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7316 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7317 if test "x$LINE" != x ; then
7318 eval "DEFAULT_$LINE"
7323 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7328 eval "$ac_cv_use_printfposparam"
7329 if test "$no_cache" != 1; then
7330 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7333 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7334 { echo "$as_me:$LINENO: result: yes" >&5
7335 echo "${ECHO_T}yes" >&6; }
7337 { echo "$as_me:$LINENO: result: no" >&5
7338 echo "${ECHO_T}no" >&6; }
7343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7346 # Check whether --enable-zipstream was given.
7347 if test "${enable_zipstream+set}" = set; then
7348 enableval=$enable_zipstream;
7349 if test "$enableval" = yes; then
7350 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7352 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7357 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7358 if test "x$LINE" != x ; then
7359 eval "DEFAULT_$LINE"
7364 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7369 eval "$ac_cv_use_zipstream"
7370 if test "$no_cache" != 1; then
7371 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7374 if test "$wxUSE_ZIPSTREAM" = yes; then
7375 { echo "$as_me:$LINENO: result: yes" >&5
7376 echo "${ECHO_T}yes" >&6; }
7378 { echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6; }
7385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7386 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7388 # Check whether --enable-url was given.
7389 if test "${enable_url+set}" = set; then
7390 enableval=$enable_url;
7391 if test "$enableval" = yes; then
7392 ac_cv_use_url='wxUSE_URL=yes'
7394 ac_cv_use_url='wxUSE_URL=no'
7399 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x ; then
7401 eval "DEFAULT_$LINE"
7406 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7411 eval "$ac_cv_use_url"
7412 if test "$no_cache" != 1; then
7413 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7416 if test "$wxUSE_URL" = yes; then
7417 { echo "$as_me:$LINENO: result: yes" >&5
7418 echo "${ECHO_T}yes" >&6; }
7420 { echo "$as_me:$LINENO: result: no" >&5
7421 echo "${ECHO_T}no" >&6; }
7426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7427 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7429 # Check whether --enable-variant was given.
7430 if test "${enable_variant+set}" = set; then
7431 enableval=$enable_variant;
7432 if test "$enableval" = yes; then
7433 ac_cv_use_variant='wxUSE_VARIANT=yes'
7435 ac_cv_use_variant='wxUSE_VARIANT=no'
7440 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x ; then
7442 eval "DEFAULT_$LINE"
7447 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7452 eval "$ac_cv_use_variant"
7453 if test "$no_cache" != 1; then
7454 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7457 if test "$wxUSE_VARIANT" = yes; then
7458 { echo "$as_me:$LINENO: result: yes" >&5
7459 echo "${ECHO_T}yes" >&6; }
7461 { echo "$as_me:$LINENO: result: no" >&5
7462 echo "${ECHO_T}no" >&6; }
7467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7468 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7470 # Check whether --enable-protocol was given.
7471 if test "${enable_protocol+set}" = set; then
7472 enableval=$enable_protocol;
7473 if test "$enableval" = yes; then
7474 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7476 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7481 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7488 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7493 eval "$ac_cv_use_protocol"
7494 if test "$no_cache" != 1; then
7495 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7498 if test "$wxUSE_PROTOCOL" = yes; then
7499 { echo "$as_me:$LINENO: result: yes" >&5
7500 echo "${ECHO_T}yes" >&6; }
7502 { echo "$as_me:$LINENO: result: no" >&5
7503 echo "${ECHO_T}no" >&6; }
7508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7509 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7511 # Check whether --enable-protocol_http was given.
7512 if test "${enable_protocol_http+set}" = set; then
7513 enableval=$enable_protocol_http;
7514 if test "$enableval" = yes; then
7515 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7517 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7522 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x ; then
7524 eval "DEFAULT_$LINE"
7529 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7534 eval "$ac_cv_use_protocol_http"
7535 if test "$no_cache" != 1; then
7536 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7539 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7540 { echo "$as_me:$LINENO: result: yes" >&5
7541 echo "${ECHO_T}yes" >&6; }
7543 { echo "$as_me:$LINENO: result: no" >&5
7544 echo "${ECHO_T}no" >&6; }
7549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7550 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7552 # Check whether --enable-protocol_ftp was given.
7553 if test "${enable_protocol_ftp+set}" = set; then
7554 enableval=$enable_protocol_ftp;
7555 if test "$enableval" = yes; then
7556 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7558 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7563 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x ; then
7565 eval "DEFAULT_$LINE"
7570 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7575 eval "$ac_cv_use_protocol_ftp"
7576 if test "$no_cache" != 1; then
7577 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7580 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7581 { echo "$as_me:$LINENO: result: yes" >&5
7582 echo "${ECHO_T}yes" >&6; }
7584 { echo "$as_me:$LINENO: result: no" >&5
7585 echo "${ECHO_T}no" >&6; }
7590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7591 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7593 # Check whether --enable-protocol_file was given.
7594 if test "${enable_protocol_file+set}" = set; then
7595 enableval=$enable_protocol_file;
7596 if test "$enableval" = yes; then
7597 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7599 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7604 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7611 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7616 eval "$ac_cv_use_protocol_file"
7617 if test "$no_cache" != 1; then
7618 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7621 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7622 { echo "$as_me:$LINENO: result: yes" >&5
7623 echo "${ECHO_T}yes" >&6; }
7625 { echo "$as_me:$LINENO: result: no" >&5
7626 echo "${ECHO_T}no" >&6; }
7634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7635 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7637 # Check whether --enable-threads was given.
7638 if test "${enable_threads+set}" = set; then
7639 enableval=$enable_threads;
7640 if test "$enableval" = yes; then
7641 ac_cv_use_threads='wxUSE_THREADS=yes'
7643 ac_cv_use_threads='wxUSE_THREADS=no'
7648 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7649 if test "x$LINE" != x ; then
7650 eval "DEFAULT_$LINE"
7655 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7660 eval "$ac_cv_use_threads"
7661 if test "$no_cache" != 1; then
7662 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7665 if test "$wxUSE_THREADS" = yes; then
7666 { echo "$as_me:$LINENO: result: yes" >&5
7667 echo "${ECHO_T}yes" >&6; }
7669 { echo "$as_me:$LINENO: result: no" >&5
7670 echo "${ECHO_T}no" >&6; }
7674 if test "$wxUSE_GUI" = "yes"; then
7679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7680 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7682 # Check whether --enable-docview was given.
7683 if test "${enable_docview+set}" = set; then
7684 enableval=$enable_docview;
7685 if test "$enableval" = yes; then
7686 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7688 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7693 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7694 if test "x$LINE" != x ; then
7695 eval "DEFAULT_$LINE"
7700 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7705 eval "$ac_cv_use_docview"
7706 if test "$no_cache" != 1; then
7707 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7710 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7711 { echo "$as_me:$LINENO: result: yes" >&5
7712 echo "${ECHO_T}yes" >&6; }
7714 { echo "$as_me:$LINENO: result: no" >&5
7715 echo "${ECHO_T}no" >&6; }
7720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7721 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7723 # Check whether --enable-help was given.
7724 if test "${enable_help+set}" = set; then
7725 enableval=$enable_help;
7726 if test "$enableval" = yes; then
7727 ac_cv_use_help='wxUSE_HELP=yes'
7729 ac_cv_use_help='wxUSE_HELP=no'
7734 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7735 if test "x$LINE" != x ; then
7736 eval "DEFAULT_$LINE"
7741 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7746 eval "$ac_cv_use_help"
7747 if test "$no_cache" != 1; then
7748 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7751 if test "$wxUSE_HELP" = yes; then
7752 { echo "$as_me:$LINENO: result: yes" >&5
7753 echo "${ECHO_T}yes" >&6; }
7755 { echo "$as_me:$LINENO: result: no" >&5
7756 echo "${ECHO_T}no" >&6; }
7761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7762 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7764 # Check whether --enable-mshtmlhelp was given.
7765 if test "${enable_mshtmlhelp+set}" = set; then
7766 enableval=$enable_mshtmlhelp;
7767 if test "$enableval" = yes; then
7768 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7770 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7775 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7776 if test "x$LINE" != x ; then
7777 eval "DEFAULT_$LINE"
7782 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7787 eval "$ac_cv_use_mshtmlhelp"
7788 if test "$no_cache" != 1; then
7789 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7792 if test "$wxUSE_MS_HTML_HELP" = yes; then
7793 { echo "$as_me:$LINENO: result: yes" >&5
7794 echo "${ECHO_T}yes" >&6; }
7796 { echo "$as_me:$LINENO: result: no" >&5
7797 echo "${ECHO_T}no" >&6; }
7802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7803 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7805 # Check whether --enable-html was given.
7806 if test "${enable_html+set}" = set; then
7807 enableval=$enable_html;
7808 if test "$enableval" = yes; then
7809 ac_cv_use_html='wxUSE_HTML=yes'
7811 ac_cv_use_html='wxUSE_HTML=no'
7816 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7817 if test "x$LINE" != x ; then
7818 eval "DEFAULT_$LINE"
7823 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7828 eval "$ac_cv_use_html"
7829 if test "$no_cache" != 1; then
7830 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7833 if test "$wxUSE_HTML" = yes; then
7834 { echo "$as_me:$LINENO: result: yes" >&5
7835 echo "${ECHO_T}yes" >&6; }
7837 { echo "$as_me:$LINENO: result: no" >&5
7838 echo "${ECHO_T}no" >&6; }
7843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7844 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7846 # Check whether --enable-htmlhelp was given.
7847 if test "${enable_htmlhelp+set}" = set; then
7848 enableval=$enable_htmlhelp;
7849 if test "$enableval" = yes; then
7850 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7852 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7857 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7858 if test "x$LINE" != x ; then
7859 eval "DEFAULT_$LINE"
7864 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7869 eval "$ac_cv_use_htmlhelp"
7870 if test "$no_cache" != 1; then
7871 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7874 if test "$wxUSE_WXHTML_HELP" = yes; then
7875 { echo "$as_me:$LINENO: result: yes" >&5
7876 echo "${ECHO_T}yes" >&6; }
7878 { echo "$as_me:$LINENO: result: no" >&5
7879 echo "${ECHO_T}no" >&6; }
7884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7885 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7887 # Check whether --enable-xrc was given.
7888 if test "${enable_xrc+set}" = set; then
7889 enableval=$enable_xrc;
7890 if test "$enableval" = yes; then
7891 ac_cv_use_xrc='wxUSE_XRC=yes'
7893 ac_cv_use_xrc='wxUSE_XRC=no'
7898 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7899 if test "x$LINE" != x ; then
7900 eval "DEFAULT_$LINE"
7905 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7910 eval "$ac_cv_use_xrc"
7911 if test "$no_cache" != 1; then
7912 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7915 if test "$wxUSE_XRC" = yes; then
7916 { echo "$as_me:$LINENO: result: yes" >&5
7917 echo "${ECHO_T}yes" >&6; }
7919 { echo "$as_me:$LINENO: result: no" >&5
7920 echo "${ECHO_T}no" >&6; }
7925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7928 # Check whether --enable-aui was given.
7929 if test "${enable_aui+set}" = set; then
7930 enableval=$enable_aui;
7931 if test "$enableval" = yes; then
7932 ac_cv_use_aui='wxUSE_AUI=yes'
7934 ac_cv_use_aui='wxUSE_AUI=no'
7939 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7940 if test "x$LINE" != x ; then
7941 eval "DEFAULT_$LINE"
7946 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7951 eval "$ac_cv_use_aui"
7952 if test "$no_cache" != 1; then
7953 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7956 if test "$wxUSE_AUI" = yes; then
7957 { echo "$as_me:$LINENO: result: yes" >&5
7958 echo "${ECHO_T}yes" >&6; }
7960 { echo "$as_me:$LINENO: result: no" >&5
7961 echo "${ECHO_T}no" >&6; }
7966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7967 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
7969 # Check whether --enable-stc was given.
7970 if test "${enable_stc+set}" = set; then
7971 enableval=$enable_stc;
7972 if test "$enableval" = yes; then
7973 ac_cv_use_stc='wxUSE_STC=yes'
7975 ac_cv_use_stc='wxUSE_STC=no'
7980 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7981 if test "x$LINE" != x ; then
7982 eval "DEFAULT_$LINE"
7987 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
7992 eval "$ac_cv_use_stc"
7993 if test "$no_cache" != 1; then
7994 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
7997 if test "$wxUSE_STC" = yes; then
7998 { echo "$as_me:$LINENO: result: yes" >&5
7999 echo "${ECHO_T}yes" >&6; }
8001 { echo "$as_me:$LINENO: result: no" >&5
8002 echo "${ECHO_T}no" >&6; }
8007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8008 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8010 # Check whether --enable-constraints was given.
8011 if test "${enable_constraints+set}" = set; then
8012 enableval=$enable_constraints;
8013 if test "$enableval" = yes; then
8014 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8016 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8021 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8022 if test "x$LINE" != x ; then
8023 eval "DEFAULT_$LINE"
8028 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8033 eval "$ac_cv_use_constraints"
8034 if test "$no_cache" != 1; then
8035 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8038 if test "$wxUSE_CONSTRAINTS" = yes; then
8039 { echo "$as_me:$LINENO: result: yes" >&5
8040 echo "${ECHO_T}yes" >&6; }
8042 { echo "$as_me:$LINENO: result: no" >&5
8043 echo "${ECHO_T}no" >&6; }
8048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8051 # Check whether --enable-printarch was given.
8052 if test "${enable_printarch+set}" = set; then
8053 enableval=$enable_printarch;
8054 if test "$enableval" = yes; then
8055 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8057 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8062 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8063 if test "x$LINE" != x ; then
8064 eval "DEFAULT_$LINE"
8069 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8074 eval "$ac_cv_use_printarch"
8075 if test "$no_cache" != 1; then
8076 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8079 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8080 { echo "$as_me:$LINENO: result: yes" >&5
8081 echo "${ECHO_T}yes" >&6; }
8083 { echo "$as_me:$LINENO: result: no" >&5
8084 echo "${ECHO_T}no" >&6; }
8089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8090 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8092 # Check whether --enable-mdi was given.
8093 if test "${enable_mdi+set}" = set; then
8094 enableval=$enable_mdi;
8095 if test "$enableval" = yes; then
8096 ac_cv_use_mdi='wxUSE_MDI=yes'
8098 ac_cv_use_mdi='wxUSE_MDI=no'
8103 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8104 if test "x$LINE" != x ; then
8105 eval "DEFAULT_$LINE"
8110 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8115 eval "$ac_cv_use_mdi"
8116 if test "$no_cache" != 1; then
8117 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8120 if test "$wxUSE_MDI" = yes; then
8121 { echo "$as_me:$LINENO: result: yes" >&5
8122 echo "${ECHO_T}yes" >&6; }
8124 { echo "$as_me:$LINENO: result: no" >&5
8125 echo "${ECHO_T}no" >&6; }
8130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8131 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8133 # Check whether --enable-mdidoc was given.
8134 if test "${enable_mdidoc+set}" = set; then
8135 enableval=$enable_mdidoc;
8136 if test "$enableval" = yes; then
8137 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8139 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8144 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8145 if test "x$LINE" != x ; then
8146 eval "DEFAULT_$LINE"
8151 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8156 eval "$ac_cv_use_mdidoc"
8157 if test "$no_cache" != 1; then
8158 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8161 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8162 { echo "$as_me:$LINENO: result: yes" >&5
8163 echo "${ECHO_T}yes" >&6; }
8165 { echo "$as_me:$LINENO: result: no" >&5
8166 echo "${ECHO_T}no" >&6; }
8171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8172 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8174 # Check whether --enable-loggui was given.
8175 if test "${enable_loggui+set}" = set; then
8176 enableval=$enable_loggui;
8177 if test "$enableval" = yes; then
8178 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8180 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8185 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8186 if test "x$LINE" != x ; then
8187 eval "DEFAULT_$LINE"
8192 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8197 eval "$ac_cv_use_loggui"
8198 if test "$no_cache" != 1; then
8199 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8202 if test "$wxUSE_LOGGUI" = yes; then
8203 { echo "$as_me:$LINENO: result: yes" >&5
8204 echo "${ECHO_T}yes" >&6; }
8206 { echo "$as_me:$LINENO: result: no" >&5
8207 echo "${ECHO_T}no" >&6; }
8212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8215 # Check whether --enable-logwin was given.
8216 if test "${enable_logwin+set}" = set; then
8217 enableval=$enable_logwin;
8218 if test "$enableval" = yes; then
8219 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8221 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8226 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8227 if test "x$LINE" != x ; then
8228 eval "DEFAULT_$LINE"
8233 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8238 eval "$ac_cv_use_logwin"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8243 if test "$wxUSE_LOGWINDOW" = yes; then
8244 { echo "$as_me:$LINENO: result: yes" >&5
8245 echo "${ECHO_T}yes" >&6; }
8247 { echo "$as_me:$LINENO: result: no" >&5
8248 echo "${ECHO_T}no" >&6; }
8253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8254 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8256 # Check whether --enable-logdialog was given.
8257 if test "${enable_logdialog+set}" = set; then
8258 enableval=$enable_logdialog;
8259 if test "$enableval" = yes; then
8260 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8262 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8267 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8268 if test "x$LINE" != x ; then
8269 eval "DEFAULT_$LINE"
8274 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8279 eval "$ac_cv_use_logdialog"
8280 if test "$no_cache" != 1; then
8281 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8284 if test "$wxUSE_LOGDIALOG" = yes; then
8285 { echo "$as_me:$LINENO: result: yes" >&5
8286 echo "${ECHO_T}yes" >&6; }
8288 { echo "$as_me:$LINENO: result: no" >&5
8289 echo "${ECHO_T}no" >&6; }
8294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8295 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8297 # Check whether --enable-webkit was given.
8298 if test "${enable_webkit+set}" = set; then
8299 enableval=$enable_webkit;
8300 if test "$enableval" = yes; then
8301 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8303 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8308 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8309 if test "x$LINE" != x ; then
8310 eval "DEFAULT_$LINE"
8315 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8320 eval "$ac_cv_use_webkit"
8321 if test "$no_cache" != 1; then
8322 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8325 if test "$wxUSE_WEBKIT" = yes; then
8326 { echo "$as_me:$LINENO: result: yes" >&5
8327 echo "${ECHO_T}yes" >&6; }
8329 { echo "$as_me:$LINENO: result: no" >&5
8330 echo "${ECHO_T}no" >&6; }
8335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8336 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8338 # Check whether --enable-richtext was given.
8339 if test "${enable_richtext+set}" = set; then
8340 enableval=$enable_richtext;
8341 if test "$enableval" = yes; then
8342 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8344 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8349 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8350 if test "x$LINE" != x ; then
8351 eval "DEFAULT_$LINE"
8356 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8361 eval "$ac_cv_use_richtext"
8362 if test "$no_cache" != 1; then
8363 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8366 if test "$wxUSE_RICHTEXT" = yes; then
8367 { echo "$as_me:$LINENO: result: yes" >&5
8368 echo "${ECHO_T}yes" >&6; }
8370 { echo "$as_me:$LINENO: result: no" >&5
8371 echo "${ECHO_T}no" >&6; }
8376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8379 # Check whether --enable-graphics_ctx was given.
8380 if test "${enable_graphics_ctx+set}" = set; then
8381 enableval=$enable_graphics_ctx;
8382 if test "$enableval" = yes; then
8383 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8385 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8390 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8391 if test "x$LINE" != x ; then
8392 eval "DEFAULT_$LINE"
8397 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8402 eval "$ac_cv_use_graphics_ctx"
8403 if test "$no_cache" != 1; then
8404 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8407 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8408 { echo "$as_me:$LINENO: result: yes" >&5
8409 echo "${ECHO_T}yes" >&6; }
8411 { echo "$as_me:$LINENO: result: no" >&5
8412 echo "${ECHO_T}no" >&6; }
8418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8419 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8421 # Check whether --enable-postscript was given.
8422 if test "${enable_postscript+set}" = set; then
8423 enableval=$enable_postscript;
8424 if test "$enableval" = yes; then
8425 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8427 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8432 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8433 if test "x$LINE" != x ; then
8434 eval "DEFAULT_$LINE"
8439 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8444 eval "$ac_cv_use_postscript"
8445 if test "$no_cache" != 1; then
8446 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8449 if test "$wxUSE_POSTSCRIPT" = yes; then
8450 { echo "$as_me:$LINENO: result: yes" >&5
8451 echo "${ECHO_T}yes" >&6; }
8453 { echo "$as_me:$LINENO: result: no" >&5
8454 echo "${ECHO_T}no" >&6; }
8462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
8463 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6; }
8465 # Check whether --enable-prologio was given.
8466 if test "${enable_prologio+set}" = set; then
8467 enableval=$enable_prologio;
8468 if test "$enableval" = yes; then
8469 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
8471 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
8476 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
8477 if test "x$LINE" != x ; then
8478 eval "DEFAULT_$LINE"
8483 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
8488 eval "$ac_cv_use_prologio"
8489 if test "$no_cache" != 1; then
8490 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
8493 if test "$wxUSE_PROLOGIO" = yes; then
8494 { echo "$as_me:$LINENO: result: yes" >&5
8495 echo "${ECHO_T}yes" >&6; }
8497 { echo "$as_me:$LINENO: result: no" >&5
8498 echo "${ECHO_T}no" >&6; }
8503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6; }
8506 # Check whether --enable-resources was given.
8507 if test "${enable_resources+set}" = set; then
8508 enableval=$enable_resources;
8509 if test "$enableval" = yes; then
8510 ac_cv_use_resources='wxUSE_RESOURCES=yes'
8512 ac_cv_use_resources='wxUSE_RESOURCES=no'
8517 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
8518 if test "x$LINE" != x ; then
8519 eval "DEFAULT_$LINE"
8524 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
8529 eval "$ac_cv_use_resources"
8530 if test "$no_cache" != 1; then
8531 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
8534 if test "$wxUSE_RESOURCES" = yes; then
8535 { echo "$as_me:$LINENO: result: yes" >&5
8536 echo "${ECHO_T}yes" >&6; }
8538 { echo "$as_me:$LINENO: result: no" >&5
8539 echo "${ECHO_T}no" >&6; }
8546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8547 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8549 # Check whether --enable-clipboard was given.
8550 if test "${enable_clipboard+set}" = set; then
8551 enableval=$enable_clipboard;
8552 if test "$enableval" = yes; then
8553 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8555 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8560 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8561 if test "x$LINE" != x ; then
8562 eval "DEFAULT_$LINE"
8567 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8572 eval "$ac_cv_use_clipboard"
8573 if test "$no_cache" != 1; then
8574 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8577 if test "$wxUSE_CLIPBOARD" = yes; then
8578 { echo "$as_me:$LINENO: result: yes" >&5
8579 echo "${ECHO_T}yes" >&6; }
8581 { echo "$as_me:$LINENO: result: no" >&5
8582 echo "${ECHO_T}no" >&6; }
8587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8590 # Check whether --enable-dnd was given.
8591 if test "${enable_dnd+set}" = set; then
8592 enableval=$enable_dnd;
8593 if test "$enableval" = yes; then
8594 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8596 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8601 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8602 if test "x$LINE" != x ; then
8603 eval "DEFAULT_$LINE"
8608 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8613 eval "$ac_cv_use_dnd"
8614 if test "$no_cache" != 1; then
8615 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8618 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8619 { echo "$as_me:$LINENO: result: yes" >&5
8620 echo "${ECHO_T}yes" >&6; }
8622 { echo "$as_me:$LINENO: result: no" >&5
8623 echo "${ECHO_T}no" >&6; }
8628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8629 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8631 # Check whether --enable-metafile was given.
8632 if test "${enable_metafile+set}" = set; then
8633 enableval=$enable_metafile;
8634 if test "$enableval" = yes; then
8635 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8637 ac_cv_use_metafile='wxUSE_METAFILE=no'
8642 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8643 if test "x$LINE" != x ; then
8644 eval "DEFAULT_$LINE"
8649 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8654 eval "$ac_cv_use_metafile"
8655 if test "$no_cache" != 1; then
8656 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8659 if test "$wxUSE_METAFILE" = yes; then
8660 { echo "$as_me:$LINENO: result: yes" >&5
8661 echo "${ECHO_T}yes" >&6; }
8663 { echo "$as_me:$LINENO: result: no" >&5
8664 echo "${ECHO_T}no" >&6; }
8672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8673 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8675 # Check whether --enable-controls was given.
8676 if test "${enable_controls+set}" = set; then
8677 enableval=$enable_controls;
8678 if test "$enableval" = yes; then
8679 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8681 ac_cv_use_controls='wxUSE_CONTROLS=no'
8686 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8687 if test "x$LINE" != x ; then
8688 eval "DEFAULT_$LINE"
8693 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8698 eval "$ac_cv_use_controls"
8699 if test "$no_cache" != 1; then
8700 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8703 if test "$wxUSE_CONTROLS" = yes; then
8704 { echo "$as_me:$LINENO: result: yes" >&5
8705 echo "${ECHO_T}yes" >&6; }
8707 { echo "$as_me:$LINENO: result: no" >&5
8708 echo "${ECHO_T}no" >&6; }
8712 if test "$wxUSE_CONTROLS" = "yes"; then
8713 DEFAULT_wxUSE_ACCEL=yes
8714 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8715 DEFAULT_wxUSE_BMPBUTTON=yes
8716 DEFAULT_wxUSE_BUTTON=yes
8717 DEFAULT_wxUSE_CALCTRL=yes
8718 DEFAULT_wxUSE_CARET=yes
8719 DEFAULT_wxUSE_COMBOBOX=yes
8720 DEFAULT_wxUSE_CHECKBOX=yes
8721 DEFAULT_wxUSE_CHECKLISTBOX=yes
8722 DEFAULT_wxUSE_CHOICE=yes
8723 DEFAULT_wxUSE_CHOICEBOOK=yes
8724 DEFAULT_wxUSE_COLLPANE=yes
8725 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8726 DEFAULT_wxUSE_COMBOBOX=yes
8727 DEFAULT_wxUSE_DATEPICKCTRL=yes
8728 DEFAULT_wxUSE_DISPLAY=yes
8729 DEFAULT_wxUSE_DETECT_SM=yes
8730 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8731 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8732 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8733 DEFAULT_wxUSE_GAUGE=yes
8734 DEFAULT_wxUSE_GRID=yes
8735 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8736 DEFAULT_wxUSE_DATAVIEWCTRL=no
8737 DEFAULT_wxUSE_IMAGLIST=yes
8738 DEFAULT_wxUSE_LISTBOOK=yes
8739 DEFAULT_wxUSE_LISTBOX=yes
8740 DEFAULT_wxUSE_LISTCTRL=yes
8741 DEFAULT_wxUSE_NOTEBOOK=yes
8742 DEFAULT_wxUSE_RADIOBOX=yes
8743 DEFAULT_wxUSE_RADIOBTN=yes
8744 DEFAULT_wxUSE_SASH=yes
8745 DEFAULT_wxUSE_SCROLLBAR=yes
8746 DEFAULT_wxUSE_SEARCHCTRL=yes
8747 DEFAULT_wxUSE_SLIDER=yes
8748 DEFAULT_wxUSE_SPINBTN=yes
8749 DEFAULT_wxUSE_SPINCTRL=yes
8750 DEFAULT_wxUSE_SPLITTER=yes
8751 DEFAULT_wxUSE_STATBMP=yes
8752 DEFAULT_wxUSE_STATBOX=yes
8753 DEFAULT_wxUSE_STATLINE=yes
8754 DEFAULT_wxUSE_STATUSBAR=yes
8755 DEFAULT_wxUSE_TAB_DIALOG=yes
8756 DEFAULT_wxUSE_TOGGLEBTN=yes
8757 DEFAULT_wxUSE_TOOLBAR=yes
8758 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8759 DEFAULT_wxUSE_TOOLTIPS=yes
8760 DEFAULT_wxUSE_TREEBOOK=yes
8761 DEFAULT_wxUSE_TOOLBOOK=yes
8762 DEFAULT_wxUSE_TREECTRL=yes
8763 DEFAULT_wxUSE_POPUPWIN=yes
8764 DEFAULT_wxUSE_TIPWINDOW=yes
8765 elif test "$wxUSE_CONTROLS" = "no"; then
8766 DEFAULT_wxUSE_ACCEL=no
8767 DEFAULT_wxUSE_ANIMATIONCTRL=no
8768 DEFAULT_wxUSE_BMPBUTTON=no
8769 DEFAULT_wxUSE_BUTTON=no
8770 DEFAULT_wxUSE_CALCTRL=no
8771 DEFAULT_wxUSE_CARET=no
8772 DEFAULT_wxUSE_COLLPANE=no
8773 DEFAULT_wxUSE_COMBOBOX=no
8774 DEFAULT_wxUSE_CHECKBOX=no
8775 DEFAULT_wxUSE_CHECKLISTBOX=no
8776 DEFAULT_wxUSE_CHOICE=no
8777 DEFAULT_wxUSE_CHOICEBOOK=no
8778 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8779 DEFAULT_wxUSE_COMBOBOX=no
8780 DEFAULT_wxUSE_DATEPICKCTRL=no
8781 DEFAULT_wxUSE_DISPLAY=no
8782 DEFAULT_wxUSE_DETECT_SM=no
8783 DEFAULT_wxUSE_DIRPICKERCTRL=no
8784 DEFAULT_wxUSE_FILEPICKERCTRL=no
8785 DEFAULT_wxUSE_FONTPICKERCTRL=no
8786 DEFAULT_wxUSE_GAUGE=no
8787 DEFAULT_wxUSE_GRID=no
8788 DEFAULT_wxUSE_HYPERLINKCTRL=no
8789 DEFAULT_wxUSE_DATAVIEWCTRL=no
8790 DEFAULT_wxUSE_IMAGLIST=no
8791 DEFAULT_wxUSE_LISTBOOK=no
8792 DEFAULT_wxUSE_LISTBOX=no
8793 DEFAULT_wxUSE_LISTCTRL=no
8794 DEFAULT_wxUSE_NOTEBOOK=no
8795 DEFAULT_wxUSE_RADIOBOX=no
8796 DEFAULT_wxUSE_RADIOBTN=no
8797 DEFAULT_wxUSE_SASH=no
8798 DEFAULT_wxUSE_SCROLLBAR=no
8799 DEFAULT_wxUSE_SEARCHCTRL=no
8800 DEFAULT_wxUSE_SLIDER=no
8801 DEFAULT_wxUSE_SPINBTN=no
8802 DEFAULT_wxUSE_SPINCTRL=no
8803 DEFAULT_wxUSE_SPLITTER=no
8804 DEFAULT_wxUSE_STATBMP=no
8805 DEFAULT_wxUSE_STATBOX=no
8806 DEFAULT_wxUSE_STATLINE=no
8807 DEFAULT_wxUSE_STATUSBAR=no
8808 DEFAULT_wxUSE_TAB_DIALOG=no
8809 DEFAULT_wxUSE_TOGGLEBTN=no
8810 DEFAULT_wxUSE_TOOLBAR=no
8811 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8812 DEFAULT_wxUSE_TOOLTIPS=no
8813 DEFAULT_wxUSE_TREEBOOK=no
8814 DEFAULT_wxUSE_TOOLBOOK=no
8815 DEFAULT_wxUSE_TREECTRL=no
8816 DEFAULT_wxUSE_POPUPWIN=no
8817 DEFAULT_wxUSE_TIPWINDOW=no
8822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8823 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8825 # Check whether --enable-accel was given.
8826 if test "${enable_accel+set}" = set; then
8827 enableval=$enable_accel;
8828 if test "$enableval" = yes; then
8829 ac_cv_use_accel='wxUSE_ACCEL=yes'
8831 ac_cv_use_accel='wxUSE_ACCEL=no'
8836 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8843 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8848 eval "$ac_cv_use_accel"
8849 if test "$no_cache" != 1; then
8850 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8853 if test "$wxUSE_ACCEL" = yes; then
8854 { echo "$as_me:$LINENO: result: yes" >&5
8855 echo "${ECHO_T}yes" >&6; }
8857 { echo "$as_me:$LINENO: result: no" >&5
8858 echo "${ECHO_T}no" >&6; }
8863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8864 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8866 # Check whether --enable-animatectrl was given.
8867 if test "${enable_animatectrl+set}" = set; then
8868 enableval=$enable_animatectrl;
8869 if test "$enableval" = yes; then
8870 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8872 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8877 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8878 if test "x$LINE" != x ; then
8879 eval "DEFAULT_$LINE"
8884 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8889 eval "$ac_cv_use_animatectrl"
8890 if test "$no_cache" != 1; then
8891 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8894 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8895 { echo "$as_me:$LINENO: result: yes" >&5
8896 echo "${ECHO_T}yes" >&6; }
8898 { echo "$as_me:$LINENO: result: no" >&5
8899 echo "${ECHO_T}no" >&6; }
8904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8905 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8907 # Check whether --enable-button was given.
8908 if test "${enable_button+set}" = set; then
8909 enableval=$enable_button;
8910 if test "$enableval" = yes; then
8911 ac_cv_use_button='wxUSE_BUTTON=yes'
8913 ac_cv_use_button='wxUSE_BUTTON=no'
8918 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8919 if test "x$LINE" != x ; then
8920 eval "DEFAULT_$LINE"
8925 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8930 eval "$ac_cv_use_button"
8931 if test "$no_cache" != 1; then
8932 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8935 if test "$wxUSE_BUTTON" = yes; then
8936 { echo "$as_me:$LINENO: result: yes" >&5
8937 echo "${ECHO_T}yes" >&6; }
8939 { echo "$as_me:$LINENO: result: no" >&5
8940 echo "${ECHO_T}no" >&6; }
8945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8946 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8948 # Check whether --enable-bmpbutton was given.
8949 if test "${enable_bmpbutton+set}" = set; then
8950 enableval=$enable_bmpbutton;
8951 if test "$enableval" = yes; then
8952 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8954 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8959 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8960 if test "x$LINE" != x ; then
8961 eval "DEFAULT_$LINE"
8966 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8971 eval "$ac_cv_use_bmpbutton"
8972 if test "$no_cache" != 1; then
8973 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8976 if test "$wxUSE_BMPBUTTON" = yes; then
8977 { echo "$as_me:$LINENO: result: yes" >&5
8978 echo "${ECHO_T}yes" >&6; }
8980 { echo "$as_me:$LINENO: result: no" >&5
8981 echo "${ECHO_T}no" >&6; }
8986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8987 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8989 # Check whether --enable-bmpcombobox was given.
8990 if test "${enable_bmpcombobox+set}" = set; then
8991 enableval=$enable_bmpcombobox;
8992 if test "$enableval" = yes; then
8993 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8995 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9000 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
9001 if test "x$LINE" != x ; then
9002 eval "DEFAULT_$LINE"
9007 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9012 eval "$ac_cv_use_bmpcombobox"
9013 if test "$no_cache" != 1; then
9014 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9017 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9018 { echo "$as_me:$LINENO: result: yes" >&5
9019 echo "${ECHO_T}yes" >&6; }
9021 { echo "$as_me:$LINENO: result: no" >&5
9022 echo "${ECHO_T}no" >&6; }
9027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9028 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9030 # Check whether --enable-calendar was given.
9031 if test "${enable_calendar+set}" = set; then
9032 enableval=$enable_calendar;
9033 if test "$enableval" = yes; then
9034 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9036 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9041 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x ; then
9043 eval "DEFAULT_$LINE"
9048 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9053 eval "$ac_cv_use_calendar"
9054 if test "$no_cache" != 1; then
9055 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9058 if test "$wxUSE_CALCTRL" = yes; then
9059 { echo "$as_me:$LINENO: result: yes" >&5
9060 echo "${ECHO_T}yes" >&6; }
9062 { echo "$as_me:$LINENO: result: no" >&5
9063 echo "${ECHO_T}no" >&6; }
9068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9069 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9071 # Check whether --enable-caret was given.
9072 if test "${enable_caret+set}" = set; then
9073 enableval=$enable_caret;
9074 if test "$enableval" = yes; then
9075 ac_cv_use_caret='wxUSE_CARET=yes'
9077 ac_cv_use_caret='wxUSE_CARET=no'
9082 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9083 if test "x$LINE" != x ; then
9084 eval "DEFAULT_$LINE"
9089 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9094 eval "$ac_cv_use_caret"
9095 if test "$no_cache" != 1; then
9096 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9099 if test "$wxUSE_CARET" = yes; then
9100 { echo "$as_me:$LINENO: result: yes" >&5
9101 echo "${ECHO_T}yes" >&6; }
9103 { echo "$as_me:$LINENO: result: no" >&5
9104 echo "${ECHO_T}no" >&6; }
9109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9110 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9112 # Check whether --enable-checkbox was given.
9113 if test "${enable_checkbox+set}" = set; then
9114 enableval=$enable_checkbox;
9115 if test "$enableval" = yes; then
9116 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9118 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9123 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9124 if test "x$LINE" != x ; then
9125 eval "DEFAULT_$LINE"
9130 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9135 eval "$ac_cv_use_checkbox"
9136 if test "$no_cache" != 1; then
9137 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9140 if test "$wxUSE_CHECKBOX" = yes; then
9141 { echo "$as_me:$LINENO: result: yes" >&5
9142 echo "${ECHO_T}yes" >&6; }
9144 { echo "$as_me:$LINENO: result: no" >&5
9145 echo "${ECHO_T}no" >&6; }
9150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9151 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9153 # Check whether --enable-checklst was given.
9154 if test "${enable_checklst+set}" = set; then
9155 enableval=$enable_checklst;
9156 if test "$enableval" = yes; then
9157 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9159 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9164 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9165 if test "x$LINE" != x ; then
9166 eval "DEFAULT_$LINE"
9171 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9176 eval "$ac_cv_use_checklst"
9177 if test "$no_cache" != 1; then
9178 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9181 if test "$wxUSE_CHECKLST" = yes; then
9182 { echo "$as_me:$LINENO: result: yes" >&5
9183 echo "${ECHO_T}yes" >&6; }
9185 { echo "$as_me:$LINENO: result: no" >&5
9186 echo "${ECHO_T}no" >&6; }
9191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9192 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9194 # Check whether --enable-choice was given.
9195 if test "${enable_choice+set}" = set; then
9196 enableval=$enable_choice;
9197 if test "$enableval" = yes; then
9198 ac_cv_use_choice='wxUSE_CHOICE=yes'
9200 ac_cv_use_choice='wxUSE_CHOICE=no'
9205 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9206 if test "x$LINE" != x ; then
9207 eval "DEFAULT_$LINE"
9212 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9217 eval "$ac_cv_use_choice"
9218 if test "$no_cache" != 1; then
9219 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9222 if test "$wxUSE_CHOICE" = yes; then
9223 { echo "$as_me:$LINENO: result: yes" >&5
9224 echo "${ECHO_T}yes" >&6; }
9226 { echo "$as_me:$LINENO: result: no" >&5
9227 echo "${ECHO_T}no" >&6; }
9232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9233 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9235 # Check whether --enable-choicebook was given.
9236 if test "${enable_choicebook+set}" = set; then
9237 enableval=$enable_choicebook;
9238 if test "$enableval" = yes; then
9239 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9241 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9246 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9247 if test "x$LINE" != x ; then
9248 eval "DEFAULT_$LINE"
9253 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9258 eval "$ac_cv_use_choicebook"
9259 if test "$no_cache" != 1; then
9260 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9263 if test "$wxUSE_CHOICEBOOK" = yes; then
9264 { echo "$as_me:$LINENO: result: yes" >&5
9265 echo "${ECHO_T}yes" >&6; }
9267 { echo "$as_me:$LINENO: result: no" >&5
9268 echo "${ECHO_T}no" >&6; }
9273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9274 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9276 # Check whether --enable-collpane was given.
9277 if test "${enable_collpane+set}" = set; then
9278 enableval=$enable_collpane;
9279 if test "$enableval" = yes; then
9280 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9282 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9287 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9288 if test "x$LINE" != x ; then
9289 eval "DEFAULT_$LINE"
9294 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9299 eval "$ac_cv_use_collpane"
9300 if test "$no_cache" != 1; then
9301 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9304 if test "$wxUSE_COLLPANE" = yes; then
9305 { echo "$as_me:$LINENO: result: yes" >&5
9306 echo "${ECHO_T}yes" >&6; }
9308 { echo "$as_me:$LINENO: result: no" >&5
9309 echo "${ECHO_T}no" >&6; }
9314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9315 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9317 # Check whether --enable-colourpicker was given.
9318 if test "${enable_colourpicker+set}" = set; then
9319 enableval=$enable_colourpicker;
9320 if test "$enableval" = yes; then
9321 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9323 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9328 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9329 if test "x$LINE" != x ; then
9330 eval "DEFAULT_$LINE"
9335 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9340 eval "$ac_cv_use_colourpicker"
9341 if test "$no_cache" != 1; then
9342 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9345 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9346 { echo "$as_me:$LINENO: result: yes" >&5
9347 echo "${ECHO_T}yes" >&6; }
9349 { echo "$as_me:$LINENO: result: no" >&5
9350 echo "${ECHO_T}no" >&6; }
9355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9356 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9358 # Check whether --enable-combobox was given.
9359 if test "${enable_combobox+set}" = set; then
9360 enableval=$enable_combobox;
9361 if test "$enableval" = yes; then
9362 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9364 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9369 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9370 if test "x$LINE" != x ; then
9371 eval "DEFAULT_$LINE"
9376 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9381 eval "$ac_cv_use_combobox"
9382 if test "$no_cache" != 1; then
9383 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9386 if test "$wxUSE_COMBOBOX" = yes; then
9387 { echo "$as_me:$LINENO: result: yes" >&5
9388 echo "${ECHO_T}yes" >&6; }
9390 { echo "$as_me:$LINENO: result: no" >&5
9391 echo "${ECHO_T}no" >&6; }
9396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9397 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9399 # Check whether --enable-comboctrl was given.
9400 if test "${enable_comboctrl+set}" = set; then
9401 enableval=$enable_comboctrl;
9402 if test "$enableval" = yes; then
9403 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9405 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9410 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9411 if test "x$LINE" != x ; then
9412 eval "DEFAULT_$LINE"
9417 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9422 eval "$ac_cv_use_comboctrl"
9423 if test "$no_cache" != 1; then
9424 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9427 if test "$wxUSE_COMBOCTRL" = yes; then
9428 { echo "$as_me:$LINENO: result: yes" >&5
9429 echo "${ECHO_T}yes" >&6; }
9431 { echo "$as_me:$LINENO: result: no" >&5
9432 echo "${ECHO_T}no" >&6; }
9437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9440 # Check whether --enable-datepick was given.
9441 if test "${enable_datepick+set}" = set; then
9442 enableval=$enable_datepick;
9443 if test "$enableval" = yes; then
9444 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9446 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9451 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9452 if test "x$LINE" != x ; then
9453 eval "DEFAULT_$LINE"
9458 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9463 eval "$ac_cv_use_datepick"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9468 if test "$wxUSE_DATEPICKCTRL" = yes; then
9469 { echo "$as_me:$LINENO: result: yes" >&5
9470 echo "${ECHO_T}yes" >&6; }
9472 { echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6; }
9478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9481 # Check whether --enable-dirpicker was given.
9482 if test "${enable_dirpicker+set}" = set; then
9483 enableval=$enable_dirpicker;
9484 if test "$enableval" = yes; then
9485 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9487 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9492 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9493 if test "x$LINE" != x ; then
9494 eval "DEFAULT_$LINE"
9499 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9504 eval "$ac_cv_use_dirpicker"
9505 if test "$no_cache" != 1; then
9506 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9509 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9510 { echo "$as_me:$LINENO: result: yes" >&5
9511 echo "${ECHO_T}yes" >&6; }
9513 { echo "$as_me:$LINENO: result: no" >&5
9514 echo "${ECHO_T}no" >&6; }
9519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9520 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9522 # Check whether --enable-display was given.
9523 if test "${enable_display+set}" = set; then
9524 enableval=$enable_display;
9525 if test "$enableval" = yes; then
9526 ac_cv_use_display='wxUSE_DISPLAY=yes'
9528 ac_cv_use_display='wxUSE_DISPLAY=no'
9533 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9534 if test "x$LINE" != x ; then
9535 eval "DEFAULT_$LINE"
9540 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9545 eval "$ac_cv_use_display"
9546 if test "$no_cache" != 1; then
9547 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9550 if test "$wxUSE_DISPLAY" = yes; then
9551 { echo "$as_me:$LINENO: result: yes" >&5
9552 echo "${ECHO_T}yes" >&6; }
9554 { echo "$as_me:$LINENO: result: no" >&5
9555 echo "${ECHO_T}no" >&6; }
9560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9561 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9563 # Check whether --enable-detect_sm was given.
9564 if test "${enable_detect_sm+set}" = set; then
9565 enableval=$enable_detect_sm;
9566 if test "$enableval" = yes; then
9567 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9569 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9574 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9575 if test "x$LINE" != x ; then
9576 eval "DEFAULT_$LINE"
9581 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9586 eval "$ac_cv_use_detect_sm"
9587 if test "$no_cache" != 1; then
9588 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9591 if test "$wxUSE_DETECT_SM" = yes; then
9592 { echo "$as_me:$LINENO: result: yes" >&5
9593 echo "${ECHO_T}yes" >&6; }
9595 { echo "$as_me:$LINENO: result: no" >&5
9596 echo "${ECHO_T}no" >&6; }
9601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9604 # Check whether --enable-filepicker was given.
9605 if test "${enable_filepicker+set}" = set; then
9606 enableval=$enable_filepicker;
9607 if test "$enableval" = yes; then
9608 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9610 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9615 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x ; then
9617 eval "DEFAULT_$LINE"
9622 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9627 eval "$ac_cv_use_filepicker"
9628 if test "$no_cache" != 1; then
9629 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9632 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9633 { echo "$as_me:$LINENO: result: yes" >&5
9634 echo "${ECHO_T}yes" >&6; }
9636 { echo "$as_me:$LINENO: result: no" >&5
9637 echo "${ECHO_T}no" >&6; }
9642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9643 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9645 # Check whether --enable-fontpicker was given.
9646 if test "${enable_fontpicker+set}" = set; then
9647 enableval=$enable_fontpicker;
9648 if test "$enableval" = yes; then
9649 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9651 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9656 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x ; then
9658 eval "DEFAULT_$LINE"
9663 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9668 eval "$ac_cv_use_fontpicker"
9669 if test "$no_cache" != 1; then
9670 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9673 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9674 { echo "$as_me:$LINENO: result: yes" >&5
9675 echo "${ECHO_T}yes" >&6; }
9677 { echo "$as_me:$LINENO: result: no" >&5
9678 echo "${ECHO_T}no" >&6; }
9683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9686 # Check whether --enable-gauge was given.
9687 if test "${enable_gauge+set}" = set; then
9688 enableval=$enable_gauge;
9689 if test "$enableval" = yes; then
9690 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9692 ac_cv_use_gauge='wxUSE_GAUGE=no'
9697 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9698 if test "x$LINE" != x ; then
9699 eval "DEFAULT_$LINE"
9704 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9709 eval "$ac_cv_use_gauge"
9710 if test "$no_cache" != 1; then
9711 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9714 if test "$wxUSE_GAUGE" = yes; then
9715 { echo "$as_me:$LINENO: result: yes" >&5
9716 echo "${ECHO_T}yes" >&6; }
9718 { echo "$as_me:$LINENO: result: no" >&5
9719 echo "${ECHO_T}no" >&6; }
9724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9725 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9727 # Check whether --enable-grid was given.
9728 if test "${enable_grid+set}" = set; then
9729 enableval=$enable_grid;
9730 if test "$enableval" = yes; then
9731 ac_cv_use_grid='wxUSE_GRID=yes'
9733 ac_cv_use_grid='wxUSE_GRID=no'
9738 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x ; then
9740 eval "DEFAULT_$LINE"
9745 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9750 eval "$ac_cv_use_grid"
9751 if test "$no_cache" != 1; then
9752 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9755 if test "$wxUSE_GRID" = yes; then
9756 { echo "$as_me:$LINENO: result: yes" >&5
9757 echo "${ECHO_T}yes" >&6; }
9759 { echo "$as_me:$LINENO: result: no" >&5
9760 echo "${ECHO_T}no" >&6; }
9765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9766 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9768 # Check whether --enable-dataviewctrl was given.
9769 if test "${enable_dataviewctrl+set}" = set; then
9770 enableval=$enable_dataviewctrl;
9771 if test "$enableval" = yes; then
9772 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9774 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9779 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9780 if test "x$LINE" != x ; then
9781 eval "DEFAULT_$LINE"
9786 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9791 eval "$ac_cv_use_dataviewctrl"
9792 if test "$no_cache" != 1; then
9793 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9796 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9797 { echo "$as_me:$LINENO: result: yes" >&5
9798 echo "${ECHO_T}yes" >&6; }
9800 { echo "$as_me:$LINENO: result: no" >&5
9801 echo "${ECHO_T}no" >&6; }
9806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9807 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9809 # Check whether --enable-hyperlink was given.
9810 if test "${enable_hyperlink+set}" = set; then
9811 enableval=$enable_hyperlink;
9812 if test "$enableval" = yes; then
9813 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9815 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9820 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9821 if test "x$LINE" != x ; then
9822 eval "DEFAULT_$LINE"
9827 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9832 eval "$ac_cv_use_hyperlink"
9833 if test "$no_cache" != 1; then
9834 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9837 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9838 { echo "$as_me:$LINENO: result: yes" >&5
9839 echo "${ECHO_T}yes" >&6; }
9841 { echo "$as_me:$LINENO: result: no" >&5
9842 echo "${ECHO_T}no" >&6; }
9847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9850 # Check whether --enable-imaglist was given.
9851 if test "${enable_imaglist+set}" = set; then
9852 enableval=$enable_imaglist;
9853 if test "$enableval" = yes; then
9854 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9856 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9861 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x ; then
9863 eval "DEFAULT_$LINE"
9868 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9873 eval "$ac_cv_use_imaglist"
9874 if test "$no_cache" != 1; then
9875 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9878 if test "$wxUSE_IMAGLIST" = yes; then
9879 { echo "$as_me:$LINENO: result: yes" >&5
9880 echo "${ECHO_T}yes" >&6; }
9882 { echo "$as_me:$LINENO: result: no" >&5
9883 echo "${ECHO_T}no" >&6; }
9888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9889 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9891 # Check whether --enable-listbook was given.
9892 if test "${enable_listbook+set}" = set; then
9893 enableval=$enable_listbook;
9894 if test "$enableval" = yes; then
9895 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9897 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9902 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9903 if test "x$LINE" != x ; then
9904 eval "DEFAULT_$LINE"
9909 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9914 eval "$ac_cv_use_listbook"
9915 if test "$no_cache" != 1; then
9916 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9919 if test "$wxUSE_LISTBOOK" = yes; then
9920 { echo "$as_me:$LINENO: result: yes" >&5
9921 echo "${ECHO_T}yes" >&6; }
9923 { echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6; }
9929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9930 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9932 # Check whether --enable-listbox was given.
9933 if test "${enable_listbox+set}" = set; then
9934 enableval=$enable_listbox;
9935 if test "$enableval" = yes; then
9936 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9938 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9943 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9944 if test "x$LINE" != x ; then
9945 eval "DEFAULT_$LINE"
9950 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9955 eval "$ac_cv_use_listbox"
9956 if test "$no_cache" != 1; then
9957 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9960 if test "$wxUSE_LISTBOX" = yes; then
9961 { echo "$as_me:$LINENO: result: yes" >&5
9962 echo "${ECHO_T}yes" >&6; }
9964 { echo "$as_me:$LINENO: result: no" >&5
9965 echo "${ECHO_T}no" >&6; }
9970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9971 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9973 # Check whether --enable-listctrl was given.
9974 if test "${enable_listctrl+set}" = set; then
9975 enableval=$enable_listctrl;
9976 if test "$enableval" = yes; then
9977 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9979 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9984 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9985 if test "x$LINE" != x ; then
9986 eval "DEFAULT_$LINE"
9991 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9996 eval "$ac_cv_use_listctrl"
9997 if test "$no_cache" != 1; then
9998 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10001 if test "$wxUSE_LISTCTRL" = yes; then
10002 { echo "$as_me:$LINENO: result: yes" >&5
10003 echo "${ECHO_T}yes" >&6; }
10005 { echo "$as_me:$LINENO: result: no" >&5
10006 echo "${ECHO_T}no" >&6; }
10011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10012 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10014 # Check whether --enable-notebook was given.
10015 if test "${enable_notebook+set}" = set; then
10016 enableval=$enable_notebook;
10017 if test "$enableval" = yes; then
10018 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10020 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10025 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
10026 if test "x$LINE" != x ; then
10027 eval "DEFAULT_$LINE"
10032 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10037 eval "$ac_cv_use_notebook"
10038 if test "$no_cache" != 1; then
10039 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10042 if test "$wxUSE_NOTEBOOK" = yes; then
10043 { echo "$as_me:$LINENO: result: yes" >&5
10044 echo "${ECHO_T}yes" >&6; }
10046 { echo "$as_me:$LINENO: result: no" >&5
10047 echo "${ECHO_T}no" >&6; }
10052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10053 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10055 # Check whether --enable-odcombobox was given.
10056 if test "${enable_odcombobox+set}" = set; then
10057 enableval=$enable_odcombobox;
10058 if test "$enableval" = yes; then
10059 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10061 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10066 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10067 if test "x$LINE" != x ; then
10068 eval "DEFAULT_$LINE"
10073 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10078 eval "$ac_cv_use_odcombobox"
10079 if test "$no_cache" != 1; then
10080 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10083 if test "$wxUSE_ODCOMBOBOX" = yes; then
10084 { echo "$as_me:$LINENO: result: yes" >&5
10085 echo "${ECHO_T}yes" >&6; }
10087 { echo "$as_me:$LINENO: result: no" >&5
10088 echo "${ECHO_T}no" >&6; }
10093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10094 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10096 # Check whether --enable-radiobox was given.
10097 if test "${enable_radiobox+set}" = set; then
10098 enableval=$enable_radiobox;
10099 if test "$enableval" = yes; then
10100 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10102 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10107 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10108 if test "x$LINE" != x ; then
10109 eval "DEFAULT_$LINE"
10114 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10119 eval "$ac_cv_use_radiobox"
10120 if test "$no_cache" != 1; then
10121 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10124 if test "$wxUSE_RADIOBOX" = yes; then
10125 { echo "$as_me:$LINENO: result: yes" >&5
10126 echo "${ECHO_T}yes" >&6; }
10128 { echo "$as_me:$LINENO: result: no" >&5
10129 echo "${ECHO_T}no" >&6; }
10134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10135 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10137 # Check whether --enable-radiobtn was given.
10138 if test "${enable_radiobtn+set}" = set; then
10139 enableval=$enable_radiobtn;
10140 if test "$enableval" = yes; then
10141 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10143 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10148 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10149 if test "x$LINE" != x ; then
10150 eval "DEFAULT_$LINE"
10155 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10160 eval "$ac_cv_use_radiobtn"
10161 if test "$no_cache" != 1; then
10162 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10165 if test "$wxUSE_RADIOBTN" = yes; then
10166 { echo "$as_me:$LINENO: result: yes" >&5
10167 echo "${ECHO_T}yes" >&6; }
10169 { echo "$as_me:$LINENO: result: no" >&5
10170 echo "${ECHO_T}no" >&6; }
10175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10176 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10178 # Check whether --enable-sash was given.
10179 if test "${enable_sash+set}" = set; then
10180 enableval=$enable_sash;
10181 if test "$enableval" = yes; then
10182 ac_cv_use_sash='wxUSE_SASH=yes'
10184 ac_cv_use_sash='wxUSE_SASH=no'
10189 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10190 if test "x$LINE" != x ; then
10191 eval "DEFAULT_$LINE"
10196 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10201 eval "$ac_cv_use_sash"
10202 if test "$no_cache" != 1; then
10203 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10206 if test "$wxUSE_SASH" = yes; then
10207 { echo "$as_me:$LINENO: result: yes" >&5
10208 echo "${ECHO_T}yes" >&6; }
10210 { echo "$as_me:$LINENO: result: no" >&5
10211 echo "${ECHO_T}no" >&6; }
10216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10217 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10219 # Check whether --enable-scrollbar was given.
10220 if test "${enable_scrollbar+set}" = set; then
10221 enableval=$enable_scrollbar;
10222 if test "$enableval" = yes; then
10223 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10225 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10230 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10231 if test "x$LINE" != x ; then
10232 eval "DEFAULT_$LINE"
10237 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10242 eval "$ac_cv_use_scrollbar"
10243 if test "$no_cache" != 1; then
10244 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10247 if test "$wxUSE_SCROLLBAR" = yes; then
10248 { echo "$as_me:$LINENO: result: yes" >&5
10249 echo "${ECHO_T}yes" >&6; }
10251 { echo "$as_me:$LINENO: result: no" >&5
10252 echo "${ECHO_T}no" >&6; }
10257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10258 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10260 # Check whether --enable-searchctrl was given.
10261 if test "${enable_searchctrl+set}" = set; then
10262 enableval=$enable_searchctrl;
10263 if test "$enableval" = yes; then
10264 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10266 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10271 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10272 if test "x$LINE" != x ; then
10273 eval "DEFAULT_$LINE"
10278 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10283 eval "$ac_cv_use_searchctrl"
10284 if test "$no_cache" != 1; then
10285 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10288 if test "$wxUSE_SEARCHCTRL" = yes; then
10289 { echo "$as_me:$LINENO: result: yes" >&5
10290 echo "${ECHO_T}yes" >&6; }
10292 { echo "$as_me:$LINENO: result: no" >&5
10293 echo "${ECHO_T}no" >&6; }
10298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10299 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10301 # Check whether --enable-slider was given.
10302 if test "${enable_slider+set}" = set; then
10303 enableval=$enable_slider;
10304 if test "$enableval" = yes; then
10305 ac_cv_use_slider='wxUSE_SLIDER=yes'
10307 ac_cv_use_slider='wxUSE_SLIDER=no'
10312 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10313 if test "x$LINE" != x ; then
10314 eval "DEFAULT_$LINE"
10319 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10324 eval "$ac_cv_use_slider"
10325 if test "$no_cache" != 1; then
10326 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10329 if test "$wxUSE_SLIDER" = yes; then
10330 { echo "$as_me:$LINENO: result: yes" >&5
10331 echo "${ECHO_T}yes" >&6; }
10333 { echo "$as_me:$LINENO: result: no" >&5
10334 echo "${ECHO_T}no" >&6; }
10339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10340 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10342 # Check whether --enable-spinbtn was given.
10343 if test "${enable_spinbtn+set}" = set; then
10344 enableval=$enable_spinbtn;
10345 if test "$enableval" = yes; then
10346 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10348 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10353 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10354 if test "x$LINE" != x ; then
10355 eval "DEFAULT_$LINE"
10360 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10365 eval "$ac_cv_use_spinbtn"
10366 if test "$no_cache" != 1; then
10367 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10370 if test "$wxUSE_SPINBTN" = yes; then
10371 { echo "$as_me:$LINENO: result: yes" >&5
10372 echo "${ECHO_T}yes" >&6; }
10374 { echo "$as_me:$LINENO: result: no" >&5
10375 echo "${ECHO_T}no" >&6; }
10380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10381 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10383 # Check whether --enable-spinctrl was given.
10384 if test "${enable_spinctrl+set}" = set; then
10385 enableval=$enable_spinctrl;
10386 if test "$enableval" = yes; then
10387 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10389 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10394 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10395 if test "x$LINE" != x ; then
10396 eval "DEFAULT_$LINE"
10401 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10406 eval "$ac_cv_use_spinctrl"
10407 if test "$no_cache" != 1; then
10408 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10411 if test "$wxUSE_SPINCTRL" = yes; then
10412 { echo "$as_me:$LINENO: result: yes" >&5
10413 echo "${ECHO_T}yes" >&6; }
10415 { echo "$as_me:$LINENO: result: no" >&5
10416 echo "${ECHO_T}no" >&6; }
10421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10422 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10424 # Check whether --enable-splitter was given.
10425 if test "${enable_splitter+set}" = set; then
10426 enableval=$enable_splitter;
10427 if test "$enableval" = yes; then
10428 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10430 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10435 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10436 if test "x$LINE" != x ; then
10437 eval "DEFAULT_$LINE"
10442 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10447 eval "$ac_cv_use_splitter"
10448 if test "$no_cache" != 1; then
10449 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10452 if test "$wxUSE_SPLITTER" = yes; then
10453 { echo "$as_me:$LINENO: result: yes" >&5
10454 echo "${ECHO_T}yes" >&6; }
10456 { echo "$as_me:$LINENO: result: no" >&5
10457 echo "${ECHO_T}no" >&6; }
10462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10463 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10465 # Check whether --enable-statbmp was given.
10466 if test "${enable_statbmp+set}" = set; then
10467 enableval=$enable_statbmp;
10468 if test "$enableval" = yes; then
10469 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10471 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10476 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10477 if test "x$LINE" != x ; then
10478 eval "DEFAULT_$LINE"
10483 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10488 eval "$ac_cv_use_statbmp"
10489 if test "$no_cache" != 1; then
10490 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10493 if test "$wxUSE_STATBMP" = yes; then
10494 { echo "$as_me:$LINENO: result: yes" >&5
10495 echo "${ECHO_T}yes" >&6; }
10497 { echo "$as_me:$LINENO: result: no" >&5
10498 echo "${ECHO_T}no" >&6; }
10503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10504 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10506 # Check whether --enable-statbox was given.
10507 if test "${enable_statbox+set}" = set; then
10508 enableval=$enable_statbox;
10509 if test "$enableval" = yes; then
10510 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10512 ac_cv_use_statbox='wxUSE_STATBOX=no'
10517 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10518 if test "x$LINE" != x ; then
10519 eval "DEFAULT_$LINE"
10524 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10529 eval "$ac_cv_use_statbox"
10530 if test "$no_cache" != 1; then
10531 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10534 if test "$wxUSE_STATBOX" = yes; then
10535 { echo "$as_me:$LINENO: result: yes" >&5
10536 echo "${ECHO_T}yes" >&6; }
10538 { echo "$as_me:$LINENO: result: no" >&5
10539 echo "${ECHO_T}no" >&6; }
10544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10545 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10547 # Check whether --enable-statline was given.
10548 if test "${enable_statline+set}" = set; then
10549 enableval=$enable_statline;
10550 if test "$enableval" = yes; then
10551 ac_cv_use_statline='wxUSE_STATLINE=yes'
10553 ac_cv_use_statline='wxUSE_STATLINE=no'
10558 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10559 if test "x$LINE" != x ; then
10560 eval "DEFAULT_$LINE"
10565 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10570 eval "$ac_cv_use_statline"
10571 if test "$no_cache" != 1; then
10572 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10575 if test "$wxUSE_STATLINE" = yes; then
10576 { echo "$as_me:$LINENO: result: yes" >&5
10577 echo "${ECHO_T}yes" >&6; }
10579 { echo "$as_me:$LINENO: result: no" >&5
10580 echo "${ECHO_T}no" >&6; }
10585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10586 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10588 # Check whether --enable-stattext was given.
10589 if test "${enable_stattext+set}" = set; then
10590 enableval=$enable_stattext;
10591 if test "$enableval" = yes; then
10592 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10594 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10599 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10600 if test "x$LINE" != x ; then
10601 eval "DEFAULT_$LINE"
10606 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10611 eval "$ac_cv_use_stattext"
10612 if test "$no_cache" != 1; then
10613 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10616 if test "$wxUSE_STATTEXT" = yes; then
10617 { echo "$as_me:$LINENO: result: yes" >&5
10618 echo "${ECHO_T}yes" >&6; }
10620 { echo "$as_me:$LINENO: result: no" >&5
10621 echo "${ECHO_T}no" >&6; }
10626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10627 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10629 # Check whether --enable-statusbar was given.
10630 if test "${enable_statusbar+set}" = set; then
10631 enableval=$enable_statusbar;
10632 if test "$enableval" = yes; then
10633 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10635 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10640 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10641 if test "x$LINE" != x ; then
10642 eval "DEFAULT_$LINE"
10647 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10652 eval "$ac_cv_use_statusbar"
10653 if test "$no_cache" != 1; then
10654 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10657 if test "$wxUSE_STATUSBAR" = yes; then
10658 { echo "$as_me:$LINENO: result: yes" >&5
10659 echo "${ECHO_T}yes" >&6; }
10661 { echo "$as_me:$LINENO: result: no" >&5
10662 echo "${ECHO_T}no" >&6; }
10667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10668 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10670 # Check whether --enable-tabdialog was given.
10671 if test "${enable_tabdialog+set}" = set; then
10672 enableval=$enable_tabdialog;
10673 if test "$enableval" = yes; then
10674 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10676 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10681 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10682 if test "x$LINE" != x ; then
10683 eval "DEFAULT_$LINE"
10688 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10693 eval "$ac_cv_use_tabdialog"
10694 if test "$no_cache" != 1; then
10695 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10698 if test "$wxUSE_TAB_DIALOG" = yes; then
10699 { echo "$as_me:$LINENO: result: yes" >&5
10700 echo "${ECHO_T}yes" >&6; }
10702 { echo "$as_me:$LINENO: result: no" >&5
10703 echo "${ECHO_T}no" >&6; }
10708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10709 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10711 # Check whether --enable-textctrl was given.
10712 if test "${enable_textctrl+set}" = set; then
10713 enableval=$enable_textctrl;
10714 if test "$enableval" = yes; then
10715 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10717 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10722 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10723 if test "x$LINE" != x ; then
10724 eval "DEFAULT_$LINE"
10729 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10734 eval "$ac_cv_use_textctrl"
10735 if test "$no_cache" != 1; then
10736 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10739 if test "$wxUSE_TEXTCTRL" = yes; then
10740 { echo "$as_me:$LINENO: result: yes" >&5
10741 echo "${ECHO_T}yes" >&6; }
10743 { echo "$as_me:$LINENO: result: no" >&5
10744 echo "${ECHO_T}no" >&6; }
10749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10750 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10752 # Check whether --enable-togglebtn was given.
10753 if test "${enable_togglebtn+set}" = set; then
10754 enableval=$enable_togglebtn;
10755 if test "$enableval" = yes; then
10756 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10758 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10763 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10764 if test "x$LINE" != x ; then
10765 eval "DEFAULT_$LINE"
10770 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10775 eval "$ac_cv_use_togglebtn"
10776 if test "$no_cache" != 1; then
10777 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10780 if test "$wxUSE_TOGGLEBTN" = yes; then
10781 { echo "$as_me:$LINENO: result: yes" >&5
10782 echo "${ECHO_T}yes" >&6; }
10784 { echo "$as_me:$LINENO: result: no" >&5
10785 echo "${ECHO_T}no" >&6; }
10790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10791 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10793 # Check whether --enable-toolbar was given.
10794 if test "${enable_toolbar+set}" = set; then
10795 enableval=$enable_toolbar;
10796 if test "$enableval" = yes; then
10797 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10799 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10804 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10805 if test "x$LINE" != x ; then
10806 eval "DEFAULT_$LINE"
10811 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10816 eval "$ac_cv_use_toolbar"
10817 if test "$no_cache" != 1; then
10818 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10821 if test "$wxUSE_TOOLBAR" = yes; then
10822 { echo "$as_me:$LINENO: result: yes" >&5
10823 echo "${ECHO_T}yes" >&6; }
10825 { echo "$as_me:$LINENO: result: no" >&5
10826 echo "${ECHO_T}no" >&6; }
10831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10832 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10834 # Check whether --enable-tbarnative was given.
10835 if test "${enable_tbarnative+set}" = set; then
10836 enableval=$enable_tbarnative;
10837 if test "$enableval" = yes; then
10838 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10840 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10845 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10846 if test "x$LINE" != x ; then
10847 eval "DEFAULT_$LINE"
10852 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10857 eval "$ac_cv_use_tbarnative"
10858 if test "$no_cache" != 1; then
10859 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10862 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10863 { echo "$as_me:$LINENO: result: yes" >&5
10864 echo "${ECHO_T}yes" >&6; }
10866 { echo "$as_me:$LINENO: result: no" >&5
10867 echo "${ECHO_T}no" >&6; }
10872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10873 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10875 # Check whether --enable-treebook was given.
10876 if test "${enable_treebook+set}" = set; then
10877 enableval=$enable_treebook;
10878 if test "$enableval" = yes; then
10879 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10881 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10886 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10887 if test "x$LINE" != x ; then
10888 eval "DEFAULT_$LINE"
10893 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10898 eval "$ac_cv_use_treebook"
10899 if test "$no_cache" != 1; then
10900 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10903 if test "$wxUSE_TREEBOOK" = yes; then
10904 { echo "$as_me:$LINENO: result: yes" >&5
10905 echo "${ECHO_T}yes" >&6; }
10907 { echo "$as_me:$LINENO: result: no" >&5
10908 echo "${ECHO_T}no" >&6; }
10913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10914 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10916 # Check whether --enable-toolbook was given.
10917 if test "${enable_toolbook+set}" = set; then
10918 enableval=$enable_toolbook;
10919 if test "$enableval" = yes; then
10920 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10922 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10927 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10928 if test "x$LINE" != x ; then
10929 eval "DEFAULT_$LINE"
10934 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10939 eval "$ac_cv_use_toolbook"
10940 if test "$no_cache" != 1; then
10941 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10944 if test "$wxUSE_TOOLBOOK" = yes; then
10945 { echo "$as_me:$LINENO: result: yes" >&5
10946 echo "${ECHO_T}yes" >&6; }
10948 { echo "$as_me:$LINENO: result: no" >&5
10949 echo "${ECHO_T}no" >&6; }
10954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10955 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10957 # Check whether --enable-treectrl was given.
10958 if test "${enable_treectrl+set}" = set; then
10959 enableval=$enable_treectrl;
10960 if test "$enableval" = yes; then
10961 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10963 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10968 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10969 if test "x$LINE" != x ; then
10970 eval "DEFAULT_$LINE"
10975 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10980 eval "$ac_cv_use_treectrl"
10981 if test "$no_cache" != 1; then
10982 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10985 if test "$wxUSE_TREECTRL" = yes; then
10986 { echo "$as_me:$LINENO: result: yes" >&5
10987 echo "${ECHO_T}yes" >&6; }
10989 { echo "$as_me:$LINENO: result: no" >&5
10990 echo "${ECHO_T}no" >&6; }
10995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10996 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10998 # Check whether --enable-tipwindow was given.
10999 if test "${enable_tipwindow+set}" = set; then
11000 enableval=$enable_tipwindow;
11001 if test "$enableval" = yes; then
11002 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11004 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11009 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
11010 if test "x$LINE" != x ; then
11011 eval "DEFAULT_$LINE"
11016 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11021 eval "$ac_cv_use_tipwindow"
11022 if test "$no_cache" != 1; then
11023 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11026 if test "$wxUSE_TIPWINDOW" = yes; then
11027 { echo "$as_me:$LINENO: result: yes" >&5
11028 echo "${ECHO_T}yes" >&6; }
11030 { echo "$as_me:$LINENO: result: no" >&5
11031 echo "${ECHO_T}no" >&6; }
11036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11037 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11039 # Check whether --enable-popupwin was given.
11040 if test "${enable_popupwin+set}" = set; then
11041 enableval=$enable_popupwin;
11042 if test "$enableval" = yes; then
11043 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11045 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11050 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11051 if test "x$LINE" != x ; then
11052 eval "DEFAULT_$LINE"
11057 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11062 eval "$ac_cv_use_popupwin"
11063 if test "$no_cache" != 1; then
11064 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11067 if test "$wxUSE_POPUPWIN" = yes; then
11068 { echo "$as_me:$LINENO: result: yes" >&5
11069 echo "${ECHO_T}yes" >&6; }
11071 { echo "$as_me:$LINENO: result: no" >&5
11072 echo "${ECHO_T}no" >&6; }
11079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11080 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11082 # Check whether --enable-commondlg was given.
11083 if test "${enable_commondlg+set}" = set; then
11084 enableval=$enable_commondlg;
11085 if test "$enableval" = yes; then
11086 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11088 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11093 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11094 if test "x$LINE" != x ; then
11095 eval "DEFAULT_$LINE"
11100 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11105 eval "$ac_cv_use_commondlg"
11106 if test "$no_cache" != 1; then
11107 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11110 if test "$wxUSE_COMMONDLGS" = yes; then
11111 { echo "$as_me:$LINENO: result: yes" >&5
11112 echo "${ECHO_T}yes" >&6; }
11114 { echo "$as_me:$LINENO: result: no" >&5
11115 echo "${ECHO_T}no" >&6; }
11120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11121 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11123 # Check whether --enable-aboutdlg was given.
11124 if test "${enable_aboutdlg+set}" = set; then
11125 enableval=$enable_aboutdlg;
11126 if test "$enableval" = yes; then
11127 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11129 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11134 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11135 if test "x$LINE" != x ; then
11136 eval "DEFAULT_$LINE"
11141 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11146 eval "$ac_cv_use_aboutdlg"
11147 if test "$no_cache" != 1; then
11148 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11151 if test "$wxUSE_ABOUTDLG" = yes; then
11152 { echo "$as_me:$LINENO: result: yes" >&5
11153 echo "${ECHO_T}yes" >&6; }
11155 { echo "$as_me:$LINENO: result: no" >&5
11156 echo "${ECHO_T}no" >&6; }
11161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11162 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11164 # Check whether --enable-choicedlg was given.
11165 if test "${enable_choicedlg+set}" = set; then
11166 enableval=$enable_choicedlg;
11167 if test "$enableval" = yes; then
11168 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11170 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11175 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11176 if test "x$LINE" != x ; then
11177 eval "DEFAULT_$LINE"
11182 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11187 eval "$ac_cv_use_choicedlg"
11188 if test "$no_cache" != 1; then
11189 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11192 if test "$wxUSE_CHOICEDLG" = yes; then
11193 { echo "$as_me:$LINENO: result: yes" >&5
11194 echo "${ECHO_T}yes" >&6; }
11196 { echo "$as_me:$LINENO: result: no" >&5
11197 echo "${ECHO_T}no" >&6; }
11202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11203 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11205 # Check whether --enable-coldlg was given.
11206 if test "${enable_coldlg+set}" = set; then
11207 enableval=$enable_coldlg;
11208 if test "$enableval" = yes; then
11209 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11211 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11216 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11217 if test "x$LINE" != x ; then
11218 eval "DEFAULT_$LINE"
11223 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11228 eval "$ac_cv_use_coldlg"
11229 if test "$no_cache" != 1; then
11230 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11233 if test "$wxUSE_COLOURDLG" = yes; then
11234 { echo "$as_me:$LINENO: result: yes" >&5
11235 echo "${ECHO_T}yes" >&6; }
11237 { echo "$as_me:$LINENO: result: no" >&5
11238 echo "${ECHO_T}no" >&6; }
11243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11244 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11246 # Check whether --enable-filedlg was given.
11247 if test "${enable_filedlg+set}" = set; then
11248 enableval=$enable_filedlg;
11249 if test "$enableval" = yes; then
11250 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11252 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11257 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11258 if test "x$LINE" != x ; then
11259 eval "DEFAULT_$LINE"
11264 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11269 eval "$ac_cv_use_filedlg"
11270 if test "$no_cache" != 1; then
11271 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11274 if test "$wxUSE_FILEDLG" = yes; then
11275 { echo "$as_me:$LINENO: result: yes" >&5
11276 echo "${ECHO_T}yes" >&6; }
11278 { echo "$as_me:$LINENO: result: no" >&5
11279 echo "${ECHO_T}no" >&6; }
11284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11285 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11287 # Check whether --enable-finddlg was given.
11288 if test "${enable_finddlg+set}" = set; then
11289 enableval=$enable_finddlg;
11290 if test "$enableval" = yes; then
11291 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11293 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11298 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11299 if test "x$LINE" != x ; then
11300 eval "DEFAULT_$LINE"
11305 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11310 eval "$ac_cv_use_finddlg"
11311 if test "$no_cache" != 1; then
11312 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11315 if test "$wxUSE_FINDREPLDLG" = yes; then
11316 { echo "$as_me:$LINENO: result: yes" >&5
11317 echo "${ECHO_T}yes" >&6; }
11319 { echo "$as_me:$LINENO: result: no" >&5
11320 echo "${ECHO_T}no" >&6; }
11325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11326 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11328 # Check whether --enable-fontdlg was given.
11329 if test "${enable_fontdlg+set}" = set; then
11330 enableval=$enable_fontdlg;
11331 if test "$enableval" = yes; then
11332 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11334 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11339 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11340 if test "x$LINE" != x ; then
11341 eval "DEFAULT_$LINE"
11346 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11351 eval "$ac_cv_use_fontdlg"
11352 if test "$no_cache" != 1; then
11353 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11356 if test "$wxUSE_FONTDLG" = yes; then
11357 { echo "$as_me:$LINENO: result: yes" >&5
11358 echo "${ECHO_T}yes" >&6; }
11360 { echo "$as_me:$LINENO: result: no" >&5
11361 echo "${ECHO_T}no" >&6; }
11366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11367 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11369 # Check whether --enable-dirdlg was given.
11370 if test "${enable_dirdlg+set}" = set; then
11371 enableval=$enable_dirdlg;
11372 if test "$enableval" = yes; then
11373 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11375 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11380 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11381 if test "x$LINE" != x ; then
11382 eval "DEFAULT_$LINE"
11387 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11392 eval "$ac_cv_use_dirdlg"
11393 if test "$no_cache" != 1; then
11394 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11397 if test "$wxUSE_DIRDLG" = yes; then
11398 { echo "$as_me:$LINENO: result: yes" >&5
11399 echo "${ECHO_T}yes" >&6; }
11401 { echo "$as_me:$LINENO: result: no" >&5
11402 echo "${ECHO_T}no" >&6; }
11407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11408 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11410 # Check whether --enable-msgdlg was given.
11411 if test "${enable_msgdlg+set}" = set; then
11412 enableval=$enable_msgdlg;
11413 if test "$enableval" = yes; then
11414 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11416 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11421 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11422 if test "x$LINE" != x ; then
11423 eval "DEFAULT_$LINE"
11428 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11433 eval "$ac_cv_use_msgdlg"
11434 if test "$no_cache" != 1; then
11435 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11438 if test "$wxUSE_MSGDLG" = yes; then
11439 { echo "$as_me:$LINENO: result: yes" >&5
11440 echo "${ECHO_T}yes" >&6; }
11442 { echo "$as_me:$LINENO: result: no" >&5
11443 echo "${ECHO_T}no" >&6; }
11448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11449 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11451 # Check whether --enable-numberdlg was given.
11452 if test "${enable_numberdlg+set}" = set; then
11453 enableval=$enable_numberdlg;
11454 if test "$enableval" = yes; then
11455 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11457 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11462 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11463 if test "x$LINE" != x ; then
11464 eval "DEFAULT_$LINE"
11469 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11474 eval "$ac_cv_use_numberdlg"
11475 if test "$no_cache" != 1; then
11476 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11479 if test "$wxUSE_NUMBERDLG" = yes; then
11480 { echo "$as_me:$LINENO: result: yes" >&5
11481 echo "${ECHO_T}yes" >&6; }
11483 { echo "$as_me:$LINENO: result: no" >&5
11484 echo "${ECHO_T}no" >&6; }
11489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11490 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11492 # Check whether --enable-splash was given.
11493 if test "${enable_splash+set}" = set; then
11494 enableval=$enable_splash;
11495 if test "$enableval" = yes; then
11496 ac_cv_use_splash='wxUSE_SPLASH=yes'
11498 ac_cv_use_splash='wxUSE_SPLASH=no'
11503 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11504 if test "x$LINE" != x ; then
11505 eval "DEFAULT_$LINE"
11510 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11515 eval "$ac_cv_use_splash"
11516 if test "$no_cache" != 1; then
11517 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11520 if test "$wxUSE_SPLASH" = yes; then
11521 { echo "$as_me:$LINENO: result: yes" >&5
11522 echo "${ECHO_T}yes" >&6; }
11524 { echo "$as_me:$LINENO: result: no" >&5
11525 echo "${ECHO_T}no" >&6; }
11530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11531 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11533 # Check whether --enable-textdlg was given.
11534 if test "${enable_textdlg+set}" = set; then
11535 enableval=$enable_textdlg;
11536 if test "$enableval" = yes; then
11537 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11539 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11544 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11545 if test "x$LINE" != x ; then
11546 eval "DEFAULT_$LINE"
11551 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11556 eval "$ac_cv_use_textdlg"
11557 if test "$no_cache" != 1; then
11558 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11561 if test "$wxUSE_TEXTDLG" = yes; then
11562 { echo "$as_me:$LINENO: result: yes" >&5
11563 echo "${ECHO_T}yes" >&6; }
11565 { echo "$as_me:$LINENO: result: no" >&5
11566 echo "${ECHO_T}no" >&6; }
11571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11572 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11574 # Check whether --enable-tipdlg was given.
11575 if test "${enable_tipdlg+set}" = set; then
11576 enableval=$enable_tipdlg;
11577 if test "$enableval" = yes; then
11578 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11580 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11585 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11586 if test "x$LINE" != x ; then
11587 eval "DEFAULT_$LINE"
11592 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11597 eval "$ac_cv_use_tipdlg"
11598 if test "$no_cache" != 1; then
11599 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11602 if test "$wxUSE_STARTUP_TIPS" = yes; then
11603 { echo "$as_me:$LINENO: result: yes" >&5
11604 echo "${ECHO_T}yes" >&6; }
11606 { echo "$as_me:$LINENO: result: no" >&5
11607 echo "${ECHO_T}no" >&6; }
11612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11613 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11615 # Check whether --enable-progressdlg was given.
11616 if test "${enable_progressdlg+set}" = set; then
11617 enableval=$enable_progressdlg;
11618 if test "$enableval" = yes; then
11619 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11621 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11626 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11627 if test "x$LINE" != x ; then
11628 eval "DEFAULT_$LINE"
11633 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11638 eval "$ac_cv_use_progressdlg"
11639 if test "$no_cache" != 1; then
11640 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11643 if test "$wxUSE_PROGRESSDLG" = yes; then
11644 { echo "$as_me:$LINENO: result: yes" >&5
11645 echo "${ECHO_T}yes" >&6; }
11647 { echo "$as_me:$LINENO: result: no" >&5
11648 echo "${ECHO_T}no" >&6; }
11653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11654 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11656 # Check whether --enable-wizarddlg was given.
11657 if test "${enable_wizarddlg+set}" = set; then
11658 enableval=$enable_wizarddlg;
11659 if test "$enableval" = yes; then
11660 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11662 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11667 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11668 if test "x$LINE" != x ; then
11669 eval "DEFAULT_$LINE"
11674 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11679 eval "$ac_cv_use_wizarddlg"
11680 if test "$no_cache" != 1; then
11681 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11684 if test "$wxUSE_WIZARDDLG" = yes; then
11685 { echo "$as_me:$LINENO: result: yes" >&5
11686 echo "${ECHO_T}yes" >&6; }
11688 { echo "$as_me:$LINENO: result: no" >&5
11689 echo "${ECHO_T}no" >&6; }
11696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11697 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11699 # Check whether --enable-menus was given.
11700 if test "${enable_menus+set}" = set; then
11701 enableval=$enable_menus;
11702 if test "$enableval" = yes; then
11703 ac_cv_use_menus='wxUSE_MENUS=yes'
11705 ac_cv_use_menus='wxUSE_MENUS=no'
11710 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11711 if test "x$LINE" != x ; then
11712 eval "DEFAULT_$LINE"
11717 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11722 eval "$ac_cv_use_menus"
11723 if test "$no_cache" != 1; then
11724 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11727 if test "$wxUSE_MENUS" = yes; then
11728 { echo "$as_me:$LINENO: result: yes" >&5
11729 echo "${ECHO_T}yes" >&6; }
11731 { echo "$as_me:$LINENO: result: no" >&5
11732 echo "${ECHO_T}no" >&6; }
11737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11738 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11740 # Check whether --enable-miniframe was given.
11741 if test "${enable_miniframe+set}" = set; then
11742 enableval=$enable_miniframe;
11743 if test "$enableval" = yes; then
11744 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11746 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11751 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11752 if test "x$LINE" != x ; then
11753 eval "DEFAULT_$LINE"
11758 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11763 eval "$ac_cv_use_miniframe"
11764 if test "$no_cache" != 1; then
11765 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11768 if test "$wxUSE_MINIFRAME" = yes; then
11769 { echo "$as_me:$LINENO: result: yes" >&5
11770 echo "${ECHO_T}yes" >&6; }
11772 { echo "$as_me:$LINENO: result: no" >&5
11773 echo "${ECHO_T}no" >&6; }
11778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11779 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11781 # Check whether --enable-tooltips was given.
11782 if test "${enable_tooltips+set}" = set; then
11783 enableval=$enable_tooltips;
11784 if test "$enableval" = yes; then
11785 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11787 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11792 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11793 if test "x$LINE" != x ; then
11794 eval "DEFAULT_$LINE"
11799 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11804 eval "$ac_cv_use_tooltips"
11805 if test "$no_cache" != 1; then
11806 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11809 if test "$wxUSE_TOOLTIPS" = yes; then
11810 { echo "$as_me:$LINENO: result: yes" >&5
11811 echo "${ECHO_T}yes" >&6; }
11813 { echo "$as_me:$LINENO: result: no" >&5
11814 echo "${ECHO_T}no" >&6; }
11819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11820 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11822 # Check whether --enable-splines was given.
11823 if test "${enable_splines+set}" = set; then
11824 enableval=$enable_splines;
11825 if test "$enableval" = yes; then
11826 ac_cv_use_splines='wxUSE_SPLINES=yes'
11828 ac_cv_use_splines='wxUSE_SPLINES=no'
11833 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11834 if test "x$LINE" != x ; then
11835 eval "DEFAULT_$LINE"
11840 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11845 eval "$ac_cv_use_splines"
11846 if test "$no_cache" != 1; then
11847 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11850 if test "$wxUSE_SPLINES" = yes; then
11851 { echo "$as_me:$LINENO: result: yes" >&5
11852 echo "${ECHO_T}yes" >&6; }
11854 { echo "$as_me:$LINENO: result: no" >&5
11855 echo "${ECHO_T}no" >&6; }
11860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11861 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11863 # Check whether --enable-mousewheel was given.
11864 if test "${enable_mousewheel+set}" = set; then
11865 enableval=$enable_mousewheel;
11866 if test "$enableval" = yes; then
11867 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11869 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11874 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11875 if test "x$LINE" != x ; then
11876 eval "DEFAULT_$LINE"
11881 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11886 eval "$ac_cv_use_mousewheel"
11887 if test "$no_cache" != 1; then
11888 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11891 if test "$wxUSE_MOUSEWHEEL" = yes; then
11892 { echo "$as_me:$LINENO: result: yes" >&5
11893 echo "${ECHO_T}yes" >&6; }
11895 { echo "$as_me:$LINENO: result: no" >&5
11896 echo "${ECHO_T}no" >&6; }
11901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11902 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11904 # Check whether --enable-validators was given.
11905 if test "${enable_validators+set}" = set; then
11906 enableval=$enable_validators;
11907 if test "$enableval" = yes; then
11908 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11910 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11915 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11916 if test "x$LINE" != x ; then
11917 eval "DEFAULT_$LINE"
11922 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11927 eval "$ac_cv_use_validators"
11928 if test "$no_cache" != 1; then
11929 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11932 if test "$wxUSE_VALIDATORS" = yes; then
11933 { echo "$as_me:$LINENO: result: yes" >&5
11934 echo "${ECHO_T}yes" >&6; }
11936 { echo "$as_me:$LINENO: result: no" >&5
11937 echo "${ECHO_T}no" >&6; }
11942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11943 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11945 # Check whether --enable-busyinfo was given.
11946 if test "${enable_busyinfo+set}" = set; then
11947 enableval=$enable_busyinfo;
11948 if test "$enableval" = yes; then
11949 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11951 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11956 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11957 if test "x$LINE" != x ; then
11958 eval "DEFAULT_$LINE"
11963 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11968 eval "$ac_cv_use_busyinfo"
11969 if test "$no_cache" != 1; then
11970 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11973 if test "$wxUSE_BUSYINFO" = yes; then
11974 { echo "$as_me:$LINENO: result: yes" >&5
11975 echo "${ECHO_T}yes" >&6; }
11977 { echo "$as_me:$LINENO: result: no" >&5
11978 echo "${ECHO_T}no" >&6; }
11983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11984 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11986 # Check whether --enable-joystick was given.
11987 if test "${enable_joystick+set}" = set; then
11988 enableval=$enable_joystick;
11989 if test "$enableval" = yes; then
11990 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11992 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11997 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11998 if test "x$LINE" != x ; then
11999 eval "DEFAULT_$LINE"
12004 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12009 eval "$ac_cv_use_joystick"
12010 if test "$no_cache" != 1; then
12011 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12014 if test "$wxUSE_JOYSTICK" = yes; then
12015 { echo "$as_me:$LINENO: result: yes" >&5
12016 echo "${ECHO_T}yes" >&6; }
12018 { echo "$as_me:$LINENO: result: no" >&5
12019 echo "${ECHO_T}no" >&6; }
12024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12025 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12027 # Check whether --enable-metafile was given.
12028 if test "${enable_metafile+set}" = set; then
12029 enableval=$enable_metafile;
12030 if test "$enableval" = yes; then
12031 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12033 ac_cv_use_metafile='wxUSE_METAFILE=no'
12038 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12039 if test "x$LINE" != x ; then
12040 eval "DEFAULT_$LINE"
12045 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12050 eval "$ac_cv_use_metafile"
12051 if test "$no_cache" != 1; then
12052 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12055 if test "$wxUSE_METAFILE" = yes; then
12056 { echo "$as_me:$LINENO: result: yes" >&5
12057 echo "${ECHO_T}yes" >&6; }
12059 { echo "$as_me:$LINENO: result: no" >&5
12060 echo "${ECHO_T}no" >&6; }
12065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12066 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12068 # Check whether --enable-dragimage was given.
12069 if test "${enable_dragimage+set}" = set; then
12070 enableval=$enable_dragimage;
12071 if test "$enableval" = yes; then
12072 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12074 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12079 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12080 if test "x$LINE" != x ; then
12081 eval "DEFAULT_$LINE"
12086 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12091 eval "$ac_cv_use_dragimage"
12092 if test "$no_cache" != 1; then
12093 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12096 if test "$wxUSE_DRAGIMAGE" = yes; then
12097 { echo "$as_me:$LINENO: result: yes" >&5
12098 echo "${ECHO_T}yes" >&6; }
12100 { echo "$as_me:$LINENO: result: no" >&5
12101 echo "${ECHO_T}no" >&6; }
12106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12107 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12109 # Check whether --enable-accessibility was given.
12110 if test "${enable_accessibility+set}" = set; then
12111 enableval=$enable_accessibility;
12112 if test "$enableval" = yes; then
12113 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12115 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12120 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12121 if test "x$LINE" != x ; then
12122 eval "DEFAULT_$LINE"
12127 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12132 eval "$ac_cv_use_accessibility"
12133 if test "$no_cache" != 1; then
12134 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12137 if test "$wxUSE_ACCESSIBILITY" = yes; then
12138 { echo "$as_me:$LINENO: result: yes" >&5
12139 echo "${ECHO_T}yes" >&6; }
12141 { echo "$as_me:$LINENO: result: no" >&5
12142 echo "${ECHO_T}no" >&6; }
12146 if test "$wxUSE_MSW" = "1"; then
12149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12150 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12152 # Check whether --enable-dccache was given.
12153 if test "${enable_dccache+set}" = set; then
12154 enableval=$enable_dccache;
12155 if test "$enableval" = yes; then
12156 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12158 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12163 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12164 if test "x$LINE" != x ; then
12165 eval "DEFAULT_$LINE"
12170 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12175 eval "$ac_cv_use_dccache"
12176 if test "$no_cache" != 1; then
12177 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12180 if test "$wxUSE_DC_CACHEING" = yes; then
12181 { echo "$as_me:$LINENO: result: yes" >&5
12182 echo "${ECHO_T}yes" >&6; }
12184 { echo "$as_me:$LINENO: result: no" >&5
12185 echo "${ECHO_T}no" >&6; }
12193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12194 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12196 # Check whether --enable-palette was given.
12197 if test "${enable_palette+set}" = set; then
12198 enableval=$enable_palette;
12199 if test "$enableval" = yes; then
12200 ac_cv_use_palette='wxUSE_PALETTE=yes'
12202 ac_cv_use_palette='wxUSE_PALETTE=no'
12207 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12208 if test "x$LINE" != x ; then
12209 eval "DEFAULT_$LINE"
12214 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12219 eval "$ac_cv_use_palette"
12220 if test "$no_cache" != 1; then
12221 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12224 if test "$wxUSE_PALETTE" = yes; then
12225 { echo "$as_me:$LINENO: result: yes" >&5
12226 echo "${ECHO_T}yes" >&6; }
12228 { echo "$as_me:$LINENO: result: no" >&5
12229 echo "${ECHO_T}no" >&6; }
12234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12235 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12237 # Check whether --enable-image was given.
12238 if test "${enable_image+set}" = set; then
12239 enableval=$enable_image;
12240 if test "$enableval" = yes; then
12241 ac_cv_use_image='wxUSE_IMAGE=yes'
12243 ac_cv_use_image='wxUSE_IMAGE=no'
12248 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12249 if test "x$LINE" != x ; then
12250 eval "DEFAULT_$LINE"
12255 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12260 eval "$ac_cv_use_image"
12261 if test "$no_cache" != 1; then
12262 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12265 if test "$wxUSE_IMAGE" = yes; then
12266 { echo "$as_me:$LINENO: result: yes" >&5
12267 echo "${ECHO_T}yes" >&6; }
12269 { echo "$as_me:$LINENO: result: no" >&5
12270 echo "${ECHO_T}no" >&6; }
12275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12276 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12278 # Check whether --enable-gif was given.
12279 if test "${enable_gif+set}" = set; then
12280 enableval=$enable_gif;
12281 if test "$enableval" = yes; then
12282 ac_cv_use_gif='wxUSE_GIF=yes'
12284 ac_cv_use_gif='wxUSE_GIF=no'
12289 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12290 if test "x$LINE" != x ; then
12291 eval "DEFAULT_$LINE"
12296 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12301 eval "$ac_cv_use_gif"
12302 if test "$no_cache" != 1; then
12303 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12306 if test "$wxUSE_GIF" = yes; then
12307 { echo "$as_me:$LINENO: result: yes" >&5
12308 echo "${ECHO_T}yes" >&6; }
12310 { echo "$as_me:$LINENO: result: no" >&5
12311 echo "${ECHO_T}no" >&6; }
12316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12317 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12319 # Check whether --enable-pcx was given.
12320 if test "${enable_pcx+set}" = set; then
12321 enableval=$enable_pcx;
12322 if test "$enableval" = yes; then
12323 ac_cv_use_pcx='wxUSE_PCX=yes'
12325 ac_cv_use_pcx='wxUSE_PCX=no'
12330 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12331 if test "x$LINE" != x ; then
12332 eval "DEFAULT_$LINE"
12337 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12342 eval "$ac_cv_use_pcx"
12343 if test "$no_cache" != 1; then
12344 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12347 if test "$wxUSE_PCX" = yes; then
12348 { echo "$as_me:$LINENO: result: yes" >&5
12349 echo "${ECHO_T}yes" >&6; }
12351 { echo "$as_me:$LINENO: result: no" >&5
12352 echo "${ECHO_T}no" >&6; }
12357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12358 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12360 # Check whether --enable-tga was given.
12361 if test "${enable_tga+set}" = set; then
12362 enableval=$enable_tga;
12363 if test "$enableval" = yes; then
12364 ac_cv_use_tga='wxUSE_TGA=yes'
12366 ac_cv_use_tga='wxUSE_TGA=no'
12371 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12372 if test "x$LINE" != x ; then
12373 eval "DEFAULT_$LINE"
12378 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12383 eval "$ac_cv_use_tga"
12384 if test "$no_cache" != 1; then
12385 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12388 if test "$wxUSE_TGA" = yes; then
12389 { echo "$as_me:$LINENO: result: yes" >&5
12390 echo "${ECHO_T}yes" >&6; }
12392 { echo "$as_me:$LINENO: result: no" >&5
12393 echo "${ECHO_T}no" >&6; }
12398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12399 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12401 # Check whether --enable-iff was given.
12402 if test "${enable_iff+set}" = set; then
12403 enableval=$enable_iff;
12404 if test "$enableval" = yes; then
12405 ac_cv_use_iff='wxUSE_IFF=yes'
12407 ac_cv_use_iff='wxUSE_IFF=no'
12412 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12413 if test "x$LINE" != x ; then
12414 eval "DEFAULT_$LINE"
12419 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12424 eval "$ac_cv_use_iff"
12425 if test "$no_cache" != 1; then
12426 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12429 if test "$wxUSE_IFF" = yes; then
12430 { echo "$as_me:$LINENO: result: yes" >&5
12431 echo "${ECHO_T}yes" >&6; }
12433 { echo "$as_me:$LINENO: result: no" >&5
12434 echo "${ECHO_T}no" >&6; }
12439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12440 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12442 # Check whether --enable-pnm was given.
12443 if test "${enable_pnm+set}" = set; then
12444 enableval=$enable_pnm;
12445 if test "$enableval" = yes; then
12446 ac_cv_use_pnm='wxUSE_PNM=yes'
12448 ac_cv_use_pnm='wxUSE_PNM=no'
12453 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12454 if test "x$LINE" != x ; then
12455 eval "DEFAULT_$LINE"
12460 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12465 eval "$ac_cv_use_pnm"
12466 if test "$no_cache" != 1; then
12467 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12470 if test "$wxUSE_PNM" = yes; then
12471 { echo "$as_me:$LINENO: result: yes" >&5
12472 echo "${ECHO_T}yes" >&6; }
12474 { echo "$as_me:$LINENO: result: no" >&5
12475 echo "${ECHO_T}no" >&6; }
12480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12481 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12483 # Check whether --enable-xpm was given.
12484 if test "${enable_xpm+set}" = set; then
12485 enableval=$enable_xpm;
12486 if test "$enableval" = yes; then
12487 ac_cv_use_xpm='wxUSE_XPM=yes'
12489 ac_cv_use_xpm='wxUSE_XPM=no'
12494 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12495 if test "x$LINE" != x ; then
12496 eval "DEFAULT_$LINE"
12501 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12506 eval "$ac_cv_use_xpm"
12507 if test "$no_cache" != 1; then
12508 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12511 if test "$wxUSE_XPM" = yes; then
12512 { echo "$as_me:$LINENO: result: yes" >&5
12513 echo "${ECHO_T}yes" >&6; }
12515 { echo "$as_me:$LINENO: result: no" >&5
12516 echo "${ECHO_T}no" >&6; }
12521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12522 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12524 # Check whether --enable-ico_cur was given.
12525 if test "${enable_ico_cur+set}" = set; then
12526 enableval=$enable_ico_cur;
12527 if test "$enableval" = yes; then
12528 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12530 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12535 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12536 if test "x$LINE" != x ; then
12537 eval "DEFAULT_$LINE"
12542 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12547 eval "$ac_cv_use_ico_cur"
12548 if test "$no_cache" != 1; then
12549 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12552 if test "$wxUSE_ICO_CUR" = yes; then
12553 { echo "$as_me:$LINENO: result: yes" >&5
12554 echo "${ECHO_T}yes" >&6; }
12556 { echo "$as_me:$LINENO: result: no" >&5
12557 echo "${ECHO_T}no" >&6; }
12565 # Check whether --with-flavour was given.
12566 if test "${with_flavour+set}" = set; then
12567 withval=$with_flavour; WX_FLAVOUR="$withval"
12574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12575 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12577 # Check whether --enable-official_build was given.
12578 if test "${enable_official_build+set}" = set; then
12579 enableval=$enable_official_build;
12580 if test "$enableval" = yes; then
12581 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12583 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12588 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12589 if test "x$LINE" != x ; then
12590 eval "DEFAULT_$LINE"
12595 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12600 eval "$ac_cv_use_official_build"
12601 if test "$no_cache" != 1; then
12602 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12605 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12606 { echo "$as_me:$LINENO: result: yes" >&5
12607 echo "${ECHO_T}yes" >&6; }
12609 { echo "$as_me:$LINENO: result: no" >&5
12610 echo "${ECHO_T}no" >&6; }
12613 # Check whether --enable-vendor was given.
12614 if test "${enable_vendor+set}" = set; then
12615 enableval=$enable_vendor; VENDOR="$enableval"
12618 if test "x$VENDOR" = "x"; then
12625 echo "saving argument cache $wx_arg_cache_file"
12626 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12630 { echo "$as_me:$LINENO: checking for toolkit" >&5
12631 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12633 # In Wine, we need to default to MSW, not GTK or MOTIF
12634 if test "$wxUSE_WINE" = "yes"; then
12635 DEFAULT_DEFAULT_wxUSE_GTK=0
12636 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12637 DEFAULT_DEFAULT_wxUSE_MSW=1
12640 CXX=${CXX:-wineg++}
12644 if test "$wxUSE_GUI" = "yes"; then
12646 if test "$USE_BEOS" = 1; then
12647 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12648 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12649 { (exit 1); exit 1; }; }
12652 if test "$TOOLKIT_GIVEN" = 1; then
12653 for toolkit in `echo $ALL_TOOLKITS`; do
12655 eval "value=\$${var}"
12656 if test "x$value" = "xno"; then
12658 elif test "x$value" != "x"; then
12662 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12663 eval "wx${toolkit}_VERSION=$value"
12667 for toolkit in `echo $ALL_TOOLKITS`; do
12668 if test "$has_toolkit_in_cache" != 1; then
12669 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12671 var=DEFAULT_wxUSE_$toolkit
12673 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12674 if test "x$version" != "x"; then
12675 eval "wx${toolkit}_VERSION=$version"
12678 eval "wxUSE_$toolkit=\$${var}"
12682 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12683 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12684 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12687 *-pc-os2_emx | *-pc-os2-emx )
12688 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12691 case "$NUM_TOOLKITS" in
12695 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12696 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12697 { (exit 1); exit 1; }; }
12700 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12701 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12702 { (exit 1); exit 1; }; }
12705 # to be removed when --disable-gtk2 isn't needed
12706 if test "x$wxUSE_GTK2" = "xyes"; then
12708 elif test "x$wxUSE_GTK2" = "xno"; then
12712 for toolkit in `echo $ALL_TOOLKITS`; do
12714 eval "value=\$${var}"
12715 if test "x$value" != x; then
12716 cache_var=CACHE_$toolkit
12717 eval "cache=\$${cache_var}"
12718 if test "$cache" = 1; then
12719 echo "$var=$value" >> ${wx_arg_cache_file}
12720 eval "version=\$wx${toolkit}_VERSION"
12721 if test "x$version" != "x"; then
12722 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12725 if test "$value" = 1; then
12726 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12727 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12728 echo "${ECHO_T}$toolkit_echo" >&6; }
12733 if test "x$host_alias" != "x"; then
12734 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12735 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12737 { echo "$as_me:$LINENO: result: base only" >&5
12738 echo "${ECHO_T}base only" >&6; }
12743 cat >confcache <<\_ACEOF
12744 # This file is a shell script that caches the results of configure
12745 # tests run on this system so they can be shared between configure
12746 # scripts and configure runs, see configure's option --config-cache.
12747 # It is not useful on other systems. If it contains results you don't
12748 # want to keep, you may remove or edit it.
12750 # config.status only pays attention to the cache file if you give it
12751 # the --recheck option to rerun configure.
12753 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12754 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12755 # following values.
12759 # The following way of writing the cache mishandles newlines in values,
12760 # but we know of no workaround that is simple, portable, and efficient.
12761 # So, we kill variables containing newlines.
12762 # Ultrix sh set writes to stderr and can't be redirected directly,
12763 # and sets the high bit in the cache file unless we assign to the vars.
12765 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12766 eval ac_val=\$$ac_var
12770 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12771 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12774 _ | IFS | as_nl) ;; #(
12775 *) $as_unset $ac_var ;;
12781 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12782 *${as_nl}ac_space=\ *)
12783 # `set' does not quote correctly, so add quotes (double-quote
12784 # substitution turns \\\\ into \\, and sed turns \\ into \).
12787 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12790 # `set' quotes correctly as required by POSIX, so do not add quotes.
12791 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12800 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12802 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12804 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12805 if test -w "$cache_file"; then
12806 test "x$cache_file" != "x/dev/null" &&
12807 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12808 echo "$as_me: updating cache $cache_file" >&6;}
12809 cat confcache >$cache_file
12811 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12812 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12822 ac_cpp='$CPP $CPPFLAGS'
12823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12826 if test -n "$ac_tool_prefix"; then
12827 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12828 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12831 if test "${ac_cv_prog_CC+set}" = set; then
12832 echo $ECHO_N "(cached) $ECHO_C" >&6
12834 if test -n "$CC"; then
12835 ac_cv_prog_CC="$CC" # Let the user override the test.
12837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12838 for as_dir in $PATH
12841 test -z "$as_dir" && as_dir=.
12842 for ac_exec_ext in '' $ac_executable_extensions; do
12843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12844 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12855 if test -n "$CC"; then
12856 { echo "$as_me:$LINENO: result: $CC" >&5
12857 echo "${ECHO_T}$CC" >&6; }
12859 { echo "$as_me:$LINENO: result: no" >&5
12860 echo "${ECHO_T}no" >&6; }
12865 if test -z "$ac_cv_prog_CC"; then
12867 # Extract the first word of "gcc", so it can be a program name with args.
12868 set dummy gcc; ac_word=$2
12869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12872 echo $ECHO_N "(cached) $ECHO_C" >&6
12874 if test -n "$ac_ct_CC"; then
12875 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12878 for as_dir in $PATH
12881 test -z "$as_dir" && as_dir=.
12882 for ac_exec_ext in '' $ac_executable_extensions; do
12883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12884 ac_cv_prog_ac_ct_CC="gcc"
12885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12894 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12895 if test -n "$ac_ct_CC"; then
12896 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12897 echo "${ECHO_T}$ac_ct_CC" >&6; }
12899 { echo "$as_me:$LINENO: result: no" >&5
12900 echo "${ECHO_T}no" >&6; }
12903 if test "x$ac_ct_CC" = x; then
12906 case $cross_compiling:$ac_tool_warned in
12908 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12909 whose name does not start with the host triplet. If you think this
12910 configuration is useful to you, please write to autoconf@gnu.org." >&5
12911 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12912 whose name does not start with the host triplet. If you think this
12913 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12914 ac_tool_warned=yes ;;
12919 CC="$ac_cv_prog_CC"
12922 if test -z "$CC"; then
12923 if test -n "$ac_tool_prefix"; then
12924 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12925 set dummy ${ac_tool_prefix}cc; ac_word=$2
12926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12928 if test "${ac_cv_prog_CC+set}" = set; then
12929 echo $ECHO_N "(cached) $ECHO_C" >&6
12931 if test -n "$CC"; then
12932 ac_cv_prog_CC="$CC" # Let the user override the test.
12934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12935 for as_dir in $PATH
12938 test -z "$as_dir" && as_dir=.
12939 for ac_exec_ext in '' $ac_executable_extensions; do
12940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12941 ac_cv_prog_CC="${ac_tool_prefix}cc"
12942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12952 if test -n "$CC"; then
12953 { echo "$as_me:$LINENO: result: $CC" >&5
12954 echo "${ECHO_T}$CC" >&6; }
12956 { echo "$as_me:$LINENO: result: no" >&5
12957 echo "${ECHO_T}no" >&6; }
12963 if test -z "$CC"; then
12964 # Extract the first word of "cc", so it can be a program name with args.
12965 set dummy cc; ac_word=$2
12966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12968 if test "${ac_cv_prog_CC+set}" = set; then
12969 echo $ECHO_N "(cached) $ECHO_C" >&6
12971 if test -n "$CC"; then
12972 ac_cv_prog_CC="$CC" # Let the user override the test.
12974 ac_prog_rejected=no
12975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12976 for as_dir in $PATH
12979 test -z "$as_dir" && as_dir=.
12980 for ac_exec_ext in '' $ac_executable_extensions; do
12981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12982 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12983 ac_prog_rejected=yes
12987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12994 if test $ac_prog_rejected = yes; then
12995 # We found a bogon in the path, so make sure we never use it.
12996 set dummy $ac_cv_prog_CC
12998 if test $# != 0; then
12999 # We chose a different compiler from the bogus one.
13000 # However, it has the same basename, so the bogon will be chosen
13001 # first if we set CC to just the basename; use the full file name.
13003 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13009 if test -n "$CC"; then
13010 { echo "$as_me:$LINENO: result: $CC" >&5
13011 echo "${ECHO_T}$CC" >&6; }
13013 { echo "$as_me:$LINENO: result: no" >&5
13014 echo "${ECHO_T}no" >&6; }
13019 if test -z "$CC"; then
13020 if test -n "$ac_tool_prefix"; then
13021 for ac_prog in cl.exe
13023 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13024 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13027 if test "${ac_cv_prog_CC+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13030 if test -n "$CC"; then
13031 ac_cv_prog_CC="$CC" # Let the user override the test.
13033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13034 for as_dir in $PATH
13037 test -z "$as_dir" && as_dir=.
13038 for ac_exec_ext in '' $ac_executable_extensions; do
13039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13040 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13051 if test -n "$CC"; then
13052 { echo "$as_me:$LINENO: result: $CC" >&5
13053 echo "${ECHO_T}$CC" >&6; }
13055 { echo "$as_me:$LINENO: result: no" >&5
13056 echo "${ECHO_T}no" >&6; }
13060 test -n "$CC" && break
13063 if test -z "$CC"; then
13065 for ac_prog in cl.exe
13067 # Extract the first word of "$ac_prog", so it can be a program name with args.
13068 set dummy $ac_prog; ac_word=$2
13069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13071 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13072 echo $ECHO_N "(cached) $ECHO_C" >&6
13074 if test -n "$ac_ct_CC"; then
13075 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13078 for as_dir in $PATH
13081 test -z "$as_dir" && as_dir=.
13082 for ac_exec_ext in '' $ac_executable_extensions; do
13083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13084 ac_cv_prog_ac_ct_CC="$ac_prog"
13085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13095 if test -n "$ac_ct_CC"; then
13096 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13097 echo "${ECHO_T}$ac_ct_CC" >&6; }
13099 { echo "$as_me:$LINENO: result: no" >&5
13100 echo "${ECHO_T}no" >&6; }
13104 test -n "$ac_ct_CC" && break
13107 if test "x$ac_ct_CC" = x; then
13110 case $cross_compiling:$ac_tool_warned in
13112 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13113 whose name does not start with the host triplet. If you think this
13114 configuration is useful to you, please write to autoconf@gnu.org." >&5
13115 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13116 whose name does not start with the host triplet. If you think this
13117 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13118 ac_tool_warned=yes ;;
13127 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13128 See \`config.log' for more details." >&5
13129 echo "$as_me: error: no acceptable C compiler found in \$PATH
13130 See \`config.log' for more details." >&2;}
13131 { (exit 1); exit 1; }; }
13133 # Provide some information about the compiler.
13134 echo "$as_me:$LINENO: checking for C compiler version" >&5
13135 ac_compiler=`set X $ac_compile; echo $2`
13136 { (ac_try="$ac_compiler --version >&5"
13137 case "(($ac_try" in
13138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13139 *) ac_try_echo=$ac_try;;
13141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13142 (eval "$ac_compiler --version >&5") 2>&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); }
13146 { (ac_try="$ac_compiler -v >&5"
13147 case "(($ac_try" in
13148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13149 *) ac_try_echo=$ac_try;;
13151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13152 (eval "$ac_compiler -v >&5") 2>&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }
13156 { (ac_try="$ac_compiler -V >&5"
13157 case "(($ac_try" in
13158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13159 *) ac_try_echo=$ac_try;;
13161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13162 (eval "$ac_compiler -V >&5") 2>&5
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); }
13167 cat >conftest.$ac_ext <<_ACEOF
13170 cat confdefs.h >>conftest.$ac_ext
13171 cat >>conftest.$ac_ext <<_ACEOF
13172 /* end confdefs.h. */
13182 ac_clean_files_save=$ac_clean_files
13183 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13184 # Try to create an executable without -o first, disregard a.out.
13185 # It will help us diagnose broken compilers, and finding out an intuition
13187 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13188 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13189 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13191 # List of possible output files, starting from the most likely.
13192 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13193 # only as a last resort. b.out is created by i960 compilers.
13194 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13196 # The IRIX 6 linker writes into existing files which may not be
13197 # executable, retaining their permissions. Remove them first so a
13198 # subsequent execution test works.
13200 for ac_file in $ac_files
13203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13204 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13209 if { (ac_try="$ac_link_default"
13210 case "(($ac_try" in
13211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13212 *) ac_try_echo=$ac_try;;
13214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13215 (eval "$ac_link_default") 2>&5
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); }; then
13219 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13220 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13221 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13222 # so that the user can short-circuit this test for compilers unknown to
13224 for ac_file in $ac_files
13226 test -f "$ac_file" || continue
13228 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13231 # We found the default executable, but exeext='' is most
13235 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13237 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13239 # We set ac_cv_exeext here because the later test for it is not
13240 # safe: cross compilers may not add the suffix if given an `-o'
13241 # argument, so we may need to know it at that point already.
13242 # Even if this section looks crufty: it has the advantage of
13243 # actually working.
13249 test "$ac_cv_exeext" = no && ac_cv_exeext=
13252 echo "$as_me: failed program was:" >&5
13253 sed 's/^/| /' conftest.$ac_ext >&5
13255 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13256 See \`config.log' for more details." >&5
13257 echo "$as_me: error: C compiler cannot create executables
13258 See \`config.log' for more details." >&2;}
13259 { (exit 77); exit 77; }; }
13262 ac_exeext=$ac_cv_exeext
13263 { echo "$as_me:$LINENO: result: $ac_file" >&5
13264 echo "${ECHO_T}$ac_file" >&6; }
13266 # Check that the compiler produces executables we can run. If not, either
13267 # the compiler is broken, or we cross compile.
13268 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13269 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13270 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13271 # If not cross compiling, check that we can run a simple program.
13272 if test "$cross_compiling" != yes; then
13273 if { ac_try='./$ac_file'
13274 { (case "(($ac_try" in
13275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13276 *) ac_try_echo=$ac_try;;
13278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13279 (eval "$ac_try") 2>&5
13281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13282 (exit $ac_status); }; }; then
13285 if test "$cross_compiling" = maybe; then
13286 cross_compiling=yes
13288 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13289 If you meant to cross compile, use \`--host'.
13290 See \`config.log' for more details." >&5
13291 echo "$as_me: error: cannot run C compiled programs.
13292 If you meant to cross compile, use \`--host'.
13293 See \`config.log' for more details." >&2;}
13294 { (exit 1); exit 1; }; }
13298 { echo "$as_me:$LINENO: result: yes" >&5
13299 echo "${ECHO_T}yes" >&6; }
13301 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13302 ac_clean_files=$ac_clean_files_save
13303 # Check that the compiler produces executables we can run. If not, either
13304 # the compiler is broken, or we cross compile.
13305 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13306 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13307 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13308 echo "${ECHO_T}$cross_compiling" >&6; }
13310 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13311 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13312 if { (ac_try="$ac_link"
13313 case "(($ac_try" in
13314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13315 *) ac_try_echo=$ac_try;;
13317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13318 (eval "$ac_link") 2>&5
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); }; then
13322 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13323 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13324 # work properly (i.e., refer to `conftest.exe'), while it won't with
13326 for ac_file in conftest.exe conftest conftest.*; do
13327 test -f "$ac_file" || continue
13329 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13330 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13336 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13337 See \`config.log' for more details." >&5
13338 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13339 See \`config.log' for more details." >&2;}
13340 { (exit 1); exit 1; }; }
13343 rm -f conftest$ac_cv_exeext
13344 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13345 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13347 rm -f conftest.$ac_ext
13348 EXEEXT=$ac_cv_exeext
13350 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13351 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13352 if test "${ac_cv_objext+set}" = set; then
13353 echo $ECHO_N "(cached) $ECHO_C" >&6
13355 cat >conftest.$ac_ext <<_ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13370 rm -f conftest.o conftest.obj
13371 if { (ac_try="$ac_compile"
13372 case "(($ac_try" in
13373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13374 *) ac_try_echo=$ac_try;;
13376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13377 (eval "$ac_compile") 2>&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); }; then
13381 for ac_file in conftest.o conftest.obj conftest.*; do
13382 test -f "$ac_file" || continue;
13384 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13385 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13390 echo "$as_me: failed program was:" >&5
13391 sed 's/^/| /' conftest.$ac_ext >&5
13393 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13394 See \`config.log' for more details." >&5
13395 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13396 See \`config.log' for more details." >&2;}
13397 { (exit 1); exit 1; }; }
13400 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13402 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13403 echo "${ECHO_T}$ac_cv_objext" >&6; }
13404 OBJEXT=$ac_cv_objext
13406 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13407 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13408 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13409 echo $ECHO_N "(cached) $ECHO_C" >&6
13411 cat >conftest.$ac_ext <<_ACEOF
13414 cat confdefs.h >>conftest.$ac_ext
13415 cat >>conftest.$ac_ext <<_ACEOF
13416 /* end confdefs.h. */
13429 rm -f conftest.$ac_objext
13430 if { (ac_try="$ac_compile"
13431 case "(($ac_try" in
13432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13433 *) ac_try_echo=$ac_try;;
13435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13436 (eval "$ac_compile") 2>conftest.er1
13438 grep -v '^ *+' conftest.er1 >conftest.err
13440 cat conftest.err >&5
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); } &&
13443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13444 { (case "(($ac_try" in
13445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13446 *) ac_try_echo=$ac_try;;
13448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13449 (eval "$ac_try") 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; } &&
13453 { ac_try='test -s conftest.$ac_objext'
13454 { (case "(($ac_try" in
13455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13456 *) ac_try_echo=$ac_try;;
13458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13459 (eval "$ac_try") 2>&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); }; }; then
13463 ac_compiler_gnu=yes
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.$ac_ext >&5
13471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13472 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13475 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13476 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13477 GCC=`test $ac_compiler_gnu = yes && echo yes`
13478 ac_test_CFLAGS=${CFLAGS+set}
13479 ac_save_CFLAGS=$CFLAGS
13480 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13481 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13482 if test "${ac_cv_prog_cc_g+set}" = set; then
13483 echo $ECHO_N "(cached) $ECHO_C" >&6
13485 ac_save_c_werror_flag=$ac_c_werror_flag
13486 ac_c_werror_flag=yes
13489 cat >conftest.$ac_ext <<_ACEOF
13492 cat confdefs.h >>conftest.$ac_ext
13493 cat >>conftest.$ac_ext <<_ACEOF
13494 /* end confdefs.h. */
13504 rm -f conftest.$ac_objext
13505 if { (ac_try="$ac_compile"
13506 case "(($ac_try" in
13507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13508 *) ac_try_echo=$ac_try;;
13510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13511 (eval "$ac_compile") 2>conftest.er1
13513 grep -v '^ *+' conftest.er1 >conftest.err
13515 cat conftest.err >&5
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); } &&
13518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13519 { (case "(($ac_try" in
13520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13521 *) ac_try_echo=$ac_try;;
13523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13524 (eval "$ac_try") 2>&5
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); }; } &&
13528 { ac_try='test -s conftest.$ac_objext'
13529 { (case "(($ac_try" in
13530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13531 *) ac_try_echo=$ac_try;;
13533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13534 (eval "$ac_try") 2>&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); }; }; then
13538 ac_cv_prog_cc_g=yes
13540 echo "$as_me: failed program was:" >&5
13541 sed 's/^/| /' conftest.$ac_ext >&5
13544 cat >conftest.$ac_ext <<_ACEOF
13547 cat confdefs.h >>conftest.$ac_ext
13548 cat >>conftest.$ac_ext <<_ACEOF
13549 /* end confdefs.h. */
13559 rm -f conftest.$ac_objext
13560 if { (ac_try="$ac_compile"
13561 case "(($ac_try" in
13562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13563 *) ac_try_echo=$ac_try;;
13565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13566 (eval "$ac_compile") 2>conftest.er1
13568 grep -v '^ *+' conftest.er1 >conftest.err
13570 cat conftest.err >&5
13571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13572 (exit $ac_status); } &&
13573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13574 { (case "(($ac_try" in
13575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13576 *) ac_try_echo=$ac_try;;
13578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13579 (eval "$ac_try") 2>&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); }; } &&
13583 { ac_try='test -s conftest.$ac_objext'
13584 { (case "(($ac_try" in
13585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13586 *) ac_try_echo=$ac_try;;
13588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13589 (eval "$ac_try") 2>&5
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); }; }; then
13595 echo "$as_me: failed program was:" >&5
13596 sed 's/^/| /' conftest.$ac_ext >&5
13598 ac_c_werror_flag=$ac_save_c_werror_flag
13600 cat >conftest.$ac_ext <<_ACEOF
13603 cat confdefs.h >>conftest.$ac_ext
13604 cat >>conftest.$ac_ext <<_ACEOF
13605 /* end confdefs.h. */
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 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13630 { (case "(($ac_try" in
13631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13632 *) ac_try_echo=$ac_try;;
13634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13635 (eval "$ac_try") 2>&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); }; } &&
13639 { ac_try='test -s conftest.$ac_objext'
13640 { (case "(($ac_try" in
13641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13642 *) ac_try_echo=$ac_try;;
13644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13645 (eval "$ac_try") 2>&5
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); }; }; then
13649 ac_cv_prog_cc_g=yes
13651 echo "$as_me: failed program was:" >&5
13652 sed 's/^/| /' conftest.$ac_ext >&5
13657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13664 ac_c_werror_flag=$ac_save_c_werror_flag
13666 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13667 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13668 if test "$ac_test_CFLAGS" = set; then
13669 CFLAGS=$ac_save_CFLAGS
13670 elif test $ac_cv_prog_cc_g = yes; then
13671 if test "$GCC" = yes; then
13677 if test "$GCC" = yes; then
13683 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13684 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13685 if test "${ac_cv_prog_cc_c89+set}" = set; then
13686 echo $ECHO_N "(cached) $ECHO_C" >&6
13688 ac_cv_prog_cc_c89=no
13690 cat >conftest.$ac_ext <<_ACEOF
13693 cat confdefs.h >>conftest.$ac_ext
13694 cat >>conftest.$ac_ext <<_ACEOF
13695 /* end confdefs.h. */
13696 #include <stdarg.h>
13698 #include <sys/types.h>
13699 #include <sys/stat.h>
13700 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13701 struct buf { int x; };
13702 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13703 static char *e (p, i)
13709 static char *f (char * (*g) (char **, int), char **p, ...)
13714 s = g (p, va_arg (v,int));
13719 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13720 function prototypes and stuff, but not '\xHH' hex character constants.
13721 These don't provoke an error unfortunately, instead are silently treated
13722 as 'x'. The following induces an error, until -std is added to get
13723 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13724 array size at least. It's necessary to write '\x00'==0 to get something
13725 that's true only with -std. */
13726 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13728 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13729 inside strings and character constants. */
13731 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13733 int test (int i, double x);
13734 struct s1 {int (*f) (int a);};
13735 struct s2 {int (*f) (double a);};
13736 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13742 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13747 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13748 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13750 CC="$ac_save_CC $ac_arg"
13751 rm -f conftest.$ac_objext
13752 if { (ac_try="$ac_compile"
13753 case "(($ac_try" in
13754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13755 *) ac_try_echo=$ac_try;;
13757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13758 (eval "$ac_compile") 2>conftest.er1
13760 grep -v '^ *+' conftest.er1 >conftest.err
13762 cat conftest.err >&5
13763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13764 (exit $ac_status); } &&
13765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13766 { (case "(($ac_try" in
13767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13768 *) ac_try_echo=$ac_try;;
13770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13771 (eval "$ac_try") 2>&5
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); }; } &&
13775 { ac_try='test -s conftest.$ac_objext'
13776 { (case "(($ac_try" in
13777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13778 *) ac_try_echo=$ac_try;;
13780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13781 (eval "$ac_try") 2>&5
13783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); }; }; then
13785 ac_cv_prog_cc_c89=$ac_arg
13787 echo "$as_me: failed program was:" >&5
13788 sed 's/^/| /' conftest.$ac_ext >&5
13793 rm -f core conftest.err conftest.$ac_objext
13794 test "x$ac_cv_prog_cc_c89" != "xno" && break
13796 rm -f conftest.$ac_ext
13801 case "x$ac_cv_prog_cc_c89" in
13803 { echo "$as_me:$LINENO: result: none needed" >&5
13804 echo "${ECHO_T}none needed" >&6; } ;;
13806 { echo "$as_me:$LINENO: result: unsupported" >&5
13807 echo "${ECHO_T}unsupported" >&6; } ;;
13809 CC="$CC $ac_cv_prog_cc_c89"
13810 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13811 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13816 ac_cpp='$CPP $CPPFLAGS'
13817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13824 ac_cpp='$CPP $CPPFLAGS'
13825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13829 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13830 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13831 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13832 echo $ECHO_N "(cached) $ECHO_C" >&6
13834 cat >conftest.$ac_ext <<_ACEOF
13837 cat confdefs.h >>conftest.$ac_ext
13838 cat >>conftest.$ac_ext <<_ACEOF
13839 /* end confdefs.h. */
13845 #ifndef __INTEL_COMPILER
13853 rm -f conftest.$ac_objext
13854 if { (ac_try="$ac_compile"
13855 case "(($ac_try" in
13856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13857 *) ac_try_echo=$ac_try;;
13859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13860 (eval "$ac_compile") 2>conftest.er1
13862 grep -v '^ *+' conftest.er1 >conftest.err
13864 cat conftest.err >&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); } &&
13867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13868 { (case "(($ac_try" in
13869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13870 *) ac_try_echo=$ac_try;;
13872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13873 (eval "$ac_try") 2>&5
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); }; } &&
13877 { ac_try='test -s conftest.$ac_objext'
13878 { (case "(($ac_try" in
13879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13880 *) ac_try_echo=$ac_try;;
13882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13883 (eval "$ac_try") 2>&5
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); }; }; then
13887 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13889 echo "$as_me: failed program was:" >&5
13890 sed 's/^/| /' conftest.$ac_ext >&5
13892 bakefile_cv_c_compiler___INTEL_COMPILER=no
13896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13900 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13901 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13903 ac_cpp='$CPP $CPPFLAGS'
13904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13908 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13915 if test "x$GCC" != "xyes"; then
13916 if test "xCC" = "xC"; then
13917 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13918 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13919 if test "${bakefile_cv_c_exto+set}" = set; then
13920 echo $ECHO_N "(cached) $ECHO_C" >&6
13922 cat >conftest.$ac_ext <<_ACEOF
13925 cat confdefs.h >>conftest.$ac_ext
13926 cat >>conftest.$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13937 rm -f conftest.$ac_objext conftest.$ac_ext.o
13938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13939 (eval $ac_compile) 2>&5
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); }; then
13943 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13945 conftest.$ac_ext.o)
13946 bakefile_cv_c_exto="-ext o"
13953 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13954 See \`config.log' for more details." >&5
13955 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13956 See \`config.log' for more details." >&2;}
13957 { (exit 1); exit 1; }; }
13961 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13964 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13965 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13966 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13967 if test "c" = "c"; then
13968 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13970 if test "c" = "cxx"; then
13971 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13975 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13976 unset ac_cv_prog_cc_g
13977 ac_test_CFLAGS=${CFLAGS+set}
13978 ac_save_CFLAGS=$CFLAGS
13979 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13980 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13981 if test "${ac_cv_prog_cc_g+set}" = set; then
13982 echo $ECHO_N "(cached) $ECHO_C" >&6
13984 ac_save_c_werror_flag=$ac_c_werror_flag
13985 ac_c_werror_flag=yes
13988 cat >conftest.$ac_ext <<_ACEOF
13991 cat confdefs.h >>conftest.$ac_ext
13992 cat >>conftest.$ac_ext <<_ACEOF
13993 /* end confdefs.h. */
14003 rm -f conftest.$ac_objext
14004 if { (ac_try="$ac_compile"
14005 case "(($ac_try" in
14006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14007 *) ac_try_echo=$ac_try;;
14009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14010 (eval "$ac_compile") 2>conftest.er1
14012 grep -v '^ *+' conftest.er1 >conftest.err
14014 cat conftest.err >&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); } &&
14017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14018 { (case "(($ac_try" in
14019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14020 *) ac_try_echo=$ac_try;;
14022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14023 (eval "$ac_try") 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; } &&
14027 { ac_try='test -s conftest.$ac_objext'
14028 { (case "(($ac_try" in
14029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14030 *) ac_try_echo=$ac_try;;
14032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14033 (eval "$ac_try") 2>&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); }; }; then
14037 ac_cv_prog_cc_g=yes
14039 echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.$ac_ext >&5
14043 cat >conftest.$ac_ext <<_ACEOF
14046 cat confdefs.h >>conftest.$ac_ext
14047 cat >>conftest.$ac_ext <<_ACEOF
14048 /* end confdefs.h. */
14058 rm -f conftest.$ac_objext
14059 if { (ac_try="$ac_compile"
14060 case "(($ac_try" in
14061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14062 *) ac_try_echo=$ac_try;;
14064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14065 (eval "$ac_compile") 2>conftest.er1
14067 grep -v '^ *+' conftest.er1 >conftest.err
14069 cat conftest.err >&5
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); } &&
14072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14073 { (case "(($ac_try" in
14074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14075 *) ac_try_echo=$ac_try;;
14077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14078 (eval "$ac_try") 2>&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); }; } &&
14082 { ac_try='test -s conftest.$ac_objext'
14083 { (case "(($ac_try" in
14084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14085 *) ac_try_echo=$ac_try;;
14087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14088 (eval "$ac_try") 2>&5
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); }; }; then
14094 echo "$as_me: failed program was:" >&5
14095 sed 's/^/| /' conftest.$ac_ext >&5
14097 ac_c_werror_flag=$ac_save_c_werror_flag
14099 cat >conftest.$ac_ext <<_ACEOF
14102 cat confdefs.h >>conftest.$ac_ext
14103 cat >>conftest.$ac_ext <<_ACEOF
14104 /* end confdefs.h. */
14114 rm -f conftest.$ac_objext
14115 if { (ac_try="$ac_compile"
14116 case "(($ac_try" in
14117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14118 *) ac_try_echo=$ac_try;;
14120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14121 (eval "$ac_compile") 2>conftest.er1
14123 grep -v '^ *+' conftest.er1 >conftest.err
14125 cat conftest.err >&5
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); } &&
14128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14129 { (case "(($ac_try" in
14130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14131 *) ac_try_echo=$ac_try;;
14133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14134 (eval "$ac_try") 2>&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); }; } &&
14138 { ac_try='test -s conftest.$ac_objext'
14139 { (case "(($ac_try" in
14140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14141 *) ac_try_echo=$ac_try;;
14143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14144 (eval "$ac_try") 2>&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); }; }; then
14148 ac_cv_prog_cc_g=yes
14150 echo "$as_me: failed program was:" >&5
14151 sed 's/^/| /' conftest.$ac_ext >&5
14156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14163 ac_c_werror_flag=$ac_save_c_werror_flag
14165 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14166 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14167 if test "$ac_test_CFLAGS" = set; then
14168 CFLAGS=$ac_save_CFLAGS
14169 elif test $ac_cv_prog_cc_g = yes; then
14170 if test "$GCC" = yes; then
14176 if test "$GCC" = yes; then
14188 ac_cpp='$CPP $CPPFLAGS'
14189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14193 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14194 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14195 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14196 echo $ECHO_N "(cached) $ECHO_C" >&6
14198 cat >conftest.$ac_ext <<_ACEOF
14201 cat confdefs.h >>conftest.$ac_ext
14202 cat >>conftest.$ac_ext <<_ACEOF
14203 /* end confdefs.h. */
14216 rm -f conftest.$ac_objext
14217 if { (ac_try="$ac_compile"
14218 case "(($ac_try" in
14219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14220 *) ac_try_echo=$ac_try;;
14222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14223 (eval "$ac_compile") 2>conftest.er1
14225 grep -v '^ *+' conftest.er1 >conftest.err
14227 cat conftest.err >&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); } &&
14230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14231 { (case "(($ac_try" in
14232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14233 *) ac_try_echo=$ac_try;;
14235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14236 (eval "$ac_try") 2>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; } &&
14240 { ac_try='test -s conftest.$ac_objext'
14241 { (case "(($ac_try" in
14242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14243 *) ac_try_echo=$ac_try;;
14245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14246 (eval "$ac_try") 2>&5
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); }; }; then
14250 bakefile_compiler_xlc=yes
14252 echo "$as_me: failed program was:" >&5
14253 sed 's/^/| /' conftest.$ac_ext >&5
14255 bakefile_compiler_xlc=no
14258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14259 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14262 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14263 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14265 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14267 ac_cpp='$CPP $CPPFLAGS'
14268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14277 ac_cpp='$CPP $CPPFLAGS'
14278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14282 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14283 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14284 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14285 echo $ECHO_N "(cached) $ECHO_C" >&6
14287 cat >conftest.$ac_ext <<_ACEOF
14290 cat confdefs.h >>conftest.$ac_ext
14291 cat >>conftest.$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14305 rm -f conftest.$ac_objext
14306 if { (ac_try="$ac_compile"
14307 case "(($ac_try" in
14308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14309 *) ac_try_echo=$ac_try;;
14311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14312 (eval "$ac_compile") 2>conftest.er1
14314 grep -v '^ *+' conftest.er1 >conftest.err
14316 cat conftest.err >&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); } &&
14319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14320 { (case "(($ac_try" in
14321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14322 *) ac_try_echo=$ac_try;;
14324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14325 (eval "$ac_try") 2>&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); }; } &&
14329 { ac_try='test -s conftest.$ac_objext'
14330 { (case "(($ac_try" in
14331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14332 *) ac_try_echo=$ac_try;;
14334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14335 (eval "$ac_try") 2>&5
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); }; }; then
14339 bakefile_compiler_mwerks=yes
14341 echo "$as_me: failed program was:" >&5
14342 sed 's/^/| /' conftest.$ac_ext >&5
14344 bakefile_compiler_mwerks=no
14347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14348 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14351 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14352 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14354 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14356 ac_cpp='$CPP $CPPFLAGS'
14357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14363 ac_cpp='$CPP $CPPFLAGS'
14364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14368 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14369 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14370 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14371 echo $ECHO_N "(cached) $ECHO_C" >&6
14373 cat >conftest.$ac_ext <<_ACEOF
14376 cat confdefs.h >>conftest.$ac_ext
14377 cat >>conftest.$ac_ext <<_ACEOF
14378 /* end confdefs.h. */
14391 rm -f conftest.$ac_objext
14392 if { (ac_try="$ac_compile"
14393 case "(($ac_try" in
14394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14395 *) ac_try_echo=$ac_try;;
14397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14398 (eval "$ac_compile") 2>conftest.er1
14400 grep -v '^ *+' conftest.er1 >conftest.err
14402 cat conftest.err >&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); } &&
14405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14406 { (case "(($ac_try" in
14407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14408 *) ac_try_echo=$ac_try;;
14410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14411 (eval "$ac_try") 2>&5
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; } &&
14415 { ac_try='test -s conftest.$ac_objext'
14416 { (case "(($ac_try" in
14417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14418 *) ac_try_echo=$ac_try;;
14420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14421 (eval "$ac_try") 2>&5
14423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); }; }; then
14425 bakefile_compiler_xlc=yes
14427 echo "$as_me: failed program was:" >&5
14428 sed 's/^/| /' conftest.$ac_ext >&5
14430 bakefile_compiler_xlc=no
14433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14434 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14437 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14438 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14440 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14442 ac_cpp='$CPP $CPPFLAGS'
14443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14454 ac_cpp='$CPP $CPPFLAGS'
14455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14459 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14460 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14461 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14462 echo $ECHO_N "(cached) $ECHO_C" >&6
14464 cat >conftest.$ac_ext <<_ACEOF
14467 cat confdefs.h >>conftest.$ac_ext
14468 cat >>conftest.$ac_ext <<_ACEOF
14469 /* end confdefs.h. */
14475 #ifndef _SGI_COMPILER_VERSION
14483 rm -f conftest.$ac_objext
14484 if { (ac_try="$ac_compile"
14485 case "(($ac_try" in
14486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14487 *) ac_try_echo=$ac_try;;
14489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14490 (eval "$ac_compile") 2>conftest.er1
14492 grep -v '^ *+' conftest.er1 >conftest.err
14494 cat conftest.err >&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); } &&
14497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14498 { (case "(($ac_try" in
14499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14500 *) ac_try_echo=$ac_try;;
14502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14503 (eval "$ac_try") 2>&5
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; } &&
14507 { ac_try='test -s conftest.$ac_objext'
14508 { (case "(($ac_try" in
14509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14510 *) ac_try_echo=$ac_try;;
14512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14513 (eval "$ac_try") 2>&5
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); }; }; then
14517 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14519 echo "$as_me: failed program was:" >&5
14520 sed 's/^/| /' conftest.$ac_ext >&5
14522 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14530 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14531 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14533 ac_cpp='$CPP $CPPFLAGS'
14534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14538 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14551 ac_cpp='$CPP $CPPFLAGS'
14552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14556 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14557 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14558 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14559 echo $ECHO_N "(cached) $ECHO_C" >&6
14561 cat >conftest.$ac_ext <<_ACEOF
14564 cat confdefs.h >>conftest.$ac_ext
14565 cat >>conftest.$ac_ext <<_ACEOF
14566 /* end confdefs.h. */
14580 rm -f conftest.$ac_objext
14581 if { (ac_try="$ac_compile"
14582 case "(($ac_try" in
14583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14584 *) ac_try_echo=$ac_try;;
14586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14587 (eval "$ac_compile") 2>conftest.er1
14589 grep -v '^ *+' conftest.er1 >conftest.err
14591 cat conftest.err >&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } &&
14594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14595 { (case "(($ac_try" in
14596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14597 *) ac_try_echo=$ac_try;;
14599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14600 (eval "$ac_try") 2>&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; } &&
14604 { ac_try='test -s conftest.$ac_objext'
14605 { (case "(($ac_try" in
14606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14607 *) ac_try_echo=$ac_try;;
14609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14610 (eval "$ac_try") 2>&5
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); }; }; then
14614 bakefile_cv_c_compiler___HP_cc=yes
14616 echo "$as_me: failed program was:" >&5
14617 sed 's/^/| /' conftest.$ac_ext >&5
14619 bakefile_cv_c_compiler___HP_cc=no
14623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14627 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14628 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14630 ac_cpp='$CPP $CPPFLAGS'
14631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14635 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14648 ac_cpp='$CPP $CPPFLAGS'
14649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14653 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14654 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14655 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14656 echo $ECHO_N "(cached) $ECHO_C" >&6
14658 cat >conftest.$ac_ext <<_ACEOF
14661 cat confdefs.h >>conftest.$ac_ext
14662 cat >>conftest.$ac_ext <<_ACEOF
14663 /* end confdefs.h. */
14677 rm -f conftest.$ac_objext
14678 if { (ac_try="$ac_compile"
14679 case "(($ac_try" in
14680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14681 *) ac_try_echo=$ac_try;;
14683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14684 (eval "$ac_compile") 2>conftest.er1
14686 grep -v '^ *+' conftest.er1 >conftest.err
14688 cat conftest.err >&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } &&
14691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14692 { (case "(($ac_try" in
14693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14694 *) ac_try_echo=$ac_try;;
14696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14697 (eval "$ac_try") 2>&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); }; } &&
14701 { ac_try='test -s conftest.$ac_objext'
14702 { (case "(($ac_try" in
14703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14704 *) ac_try_echo=$ac_try;;
14706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14707 (eval "$ac_try") 2>&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); }; }; then
14711 bakefile_cv_c_compiler___DECC=yes
14713 echo "$as_me: failed program was:" >&5
14714 sed 's/^/| /' conftest.$ac_ext >&5
14716 bakefile_cv_c_compiler___DECC=no
14720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14724 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14725 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
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
14732 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14745 ac_cpp='$CPP $CPPFLAGS'
14746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14750 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14751 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14752 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14753 echo $ECHO_N "(cached) $ECHO_C" >&6
14755 cat >conftest.$ac_ext <<_ACEOF
14758 cat confdefs.h >>conftest.$ac_ext
14759 cat >>conftest.$ac_ext <<_ACEOF
14760 /* end confdefs.h. */
14774 rm -f conftest.$ac_objext
14775 if { (ac_try="$ac_compile"
14776 case "(($ac_try" in
14777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14778 *) ac_try_echo=$ac_try;;
14780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14781 (eval "$ac_compile") 2>conftest.er1
14783 grep -v '^ *+' conftest.er1 >conftest.err
14785 cat conftest.err >&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); } &&
14788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14789 { (case "(($ac_try" in
14790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14791 *) ac_try_echo=$ac_try;;
14793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14794 (eval "$ac_try") 2>&5
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); }; } &&
14798 { ac_try='test -s conftest.$ac_objext'
14799 { (case "(($ac_try" in
14800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14801 *) ac_try_echo=$ac_try;;
14803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14804 (eval "$ac_try") 2>&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); }; }; then
14808 bakefile_cv_c_compiler___SUNPRO_C=yes
14810 echo "$as_me: failed program was:" >&5
14811 sed 's/^/| /' conftest.$ac_ext >&5
14813 bakefile_cv_c_compiler___SUNPRO_C=no
14817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14821 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14822 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14824 ac_cpp='$CPP $CPPFLAGS'
14825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14829 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14843 ac_cpp='$CPP $CPPFLAGS'
14844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14847 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14848 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14849 # On Suns, sometimes $CPP names a directory.
14850 if test -n "$CPP" && test -d "$CPP"; then
14853 if test -z "$CPP"; then
14854 if test "${ac_cv_prog_CPP+set}" = set; then
14855 echo $ECHO_N "(cached) $ECHO_C" >&6
14857 # Double quotes because CPP needs to be expanded
14858 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14860 ac_preproc_ok=false
14861 for ac_c_preproc_warn_flag in '' yes
14863 # Use a header file that comes with gcc, so configuring glibc
14864 # with a fresh cross-compiler works.
14865 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14866 # <limits.h> exists even on freestanding compilers.
14867 # On the NeXT, cc -E runs the code through the compiler's parser,
14868 # not just through cpp. "Syntax error" is here to catch this case.
14869 cat >conftest.$ac_ext <<_ACEOF
14872 cat confdefs.h >>conftest.$ac_ext
14873 cat >>conftest.$ac_ext <<_ACEOF
14874 /* end confdefs.h. */
14876 # include <limits.h>
14878 # include <assert.h>
14882 if { (ac_try="$ac_cpp conftest.$ac_ext"
14883 case "(($ac_try" in
14884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14885 *) ac_try_echo=$ac_try;;
14887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14890 grep -v '^ *+' conftest.er1 >conftest.err
14892 cat conftest.err >&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); } >/dev/null; then
14895 if test -s conftest.err; then
14896 ac_cpp_err=$ac_c_preproc_warn_flag
14897 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14904 if test -z "$ac_cpp_err"; then
14907 echo "$as_me: failed program was:" >&5
14908 sed 's/^/| /' conftest.$ac_ext >&5
14910 # Broken: fails on valid input.
14914 rm -f conftest.err conftest.$ac_ext
14916 # OK, works on sane cases. Now check whether nonexistent headers
14917 # can be detected and how.
14918 cat >conftest.$ac_ext <<_ACEOF
14921 cat confdefs.h >>conftest.$ac_ext
14922 cat >>conftest.$ac_ext <<_ACEOF
14923 /* end confdefs.h. */
14924 #include <ac_nonexistent.h>
14926 if { (ac_try="$ac_cpp conftest.$ac_ext"
14927 case "(($ac_try" in
14928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14929 *) ac_try_echo=$ac_try;;
14931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14934 grep -v '^ *+' conftest.er1 >conftest.err
14936 cat conftest.err >&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } >/dev/null; then
14939 if test -s conftest.err; then
14940 ac_cpp_err=$ac_c_preproc_warn_flag
14941 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14948 if test -z "$ac_cpp_err"; then
14949 # Broken: success on invalid input.
14952 echo "$as_me: failed program was:" >&5
14953 sed 's/^/| /' conftest.$ac_ext >&5
14955 # Passes both tests.
14960 rm -f conftest.err conftest.$ac_ext
14963 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14964 rm -f conftest.err conftest.$ac_ext
14965 if $ac_preproc_ok; then
14970 ac_cv_prog_CPP=$CPP
14973 CPP=$ac_cv_prog_CPP
14975 ac_cv_prog_CPP=$CPP
14977 { echo "$as_me:$LINENO: result: $CPP" >&5
14978 echo "${ECHO_T}$CPP" >&6; }
14979 ac_preproc_ok=false
14980 for ac_c_preproc_warn_flag in '' yes
14982 # Use a header file that comes with gcc, so configuring glibc
14983 # with a fresh cross-compiler works.
14984 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14985 # <limits.h> exists even on freestanding compilers.
14986 # On the NeXT, cc -E runs the code through the compiler's parser,
14987 # not just through cpp. "Syntax error" is here to catch this case.
14988 cat >conftest.$ac_ext <<_ACEOF
14991 cat confdefs.h >>conftest.$ac_ext
14992 cat >>conftest.$ac_ext <<_ACEOF
14993 /* end confdefs.h. */
14995 # include <limits.h>
14997 # include <assert.h>
15001 if { (ac_try="$ac_cpp conftest.$ac_ext"
15002 case "(($ac_try" in
15003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15004 *) ac_try_echo=$ac_try;;
15006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15009 grep -v '^ *+' conftest.er1 >conftest.err
15011 cat conftest.err >&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); } >/dev/null; then
15014 if test -s conftest.err; then
15015 ac_cpp_err=$ac_c_preproc_warn_flag
15016 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15023 if test -z "$ac_cpp_err"; then
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15029 # Broken: fails on valid input.
15033 rm -f conftest.err conftest.$ac_ext
15035 # OK, works on sane cases. Now check whether nonexistent headers
15036 # can be detected and how.
15037 cat >conftest.$ac_ext <<_ACEOF
15040 cat confdefs.h >>conftest.$ac_ext
15041 cat >>conftest.$ac_ext <<_ACEOF
15042 /* end confdefs.h. */
15043 #include <ac_nonexistent.h>
15045 if { (ac_try="$ac_cpp conftest.$ac_ext"
15046 case "(($ac_try" in
15047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15048 *) ac_try_echo=$ac_try;;
15050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15051 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15053 grep -v '^ *+' conftest.er1 >conftest.err
15055 cat conftest.err >&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } >/dev/null; then
15058 if test -s conftest.err; then
15059 ac_cpp_err=$ac_c_preproc_warn_flag
15060 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15067 if test -z "$ac_cpp_err"; then
15068 # Broken: success on invalid input.
15071 echo "$as_me: failed program was:" >&5
15072 sed 's/^/| /' conftest.$ac_ext >&5
15074 # Passes both tests.
15079 rm -f conftest.err conftest.$ac_ext
15082 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15083 rm -f conftest.err conftest.$ac_ext
15084 if $ac_preproc_ok; then
15087 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15088 See \`config.log' for more details." >&5
15089 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15090 See \`config.log' for more details." >&2;}
15091 { (exit 1); exit 1; }; }
15095 ac_cpp='$CPP $CPPFLAGS'
15096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15101 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15102 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15103 if test "${ac_cv_path_GREP+set}" = set; then
15104 echo $ECHO_N "(cached) $ECHO_C" >&6
15106 # Extract the first word of "grep ggrep" to use in msg output
15107 if test -z "$GREP"; then
15108 set dummy grep ggrep; ac_prog_name=$2
15109 if test "${ac_cv_path_GREP+set}" = set; then
15110 echo $ECHO_N "(cached) $ECHO_C" >&6
15112 ac_path_GREP_found=false
15113 # Loop through the user's path and test for each of PROGNAME-LIST
15114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15115 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15118 test -z "$as_dir" && as_dir=.
15119 for ac_prog in grep ggrep; do
15120 for ac_exec_ext in '' $ac_executable_extensions; do
15121 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15122 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
15123 # Check for GNU ac_path_GREP and select it if it is found.
15124 # Check for GNU $ac_path_GREP
15125 case `"$ac_path_GREP" --version 2>&1` in
15127 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15130 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15133 cat "conftest.in" "conftest.in" >"conftest.tmp"
15134 mv "conftest.tmp" "conftest.in"
15135 cp "conftest.in" "conftest.nl"
15136 echo 'GREP' >> "conftest.nl"
15137 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15138 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15139 ac_count=`expr $ac_count + 1`
15140 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15141 # Best one so far, save it but keep looking for a better one
15142 ac_cv_path_GREP="$ac_path_GREP"
15143 ac_path_GREP_max=$ac_count
15145 # 10*(2^10) chars as input seems more than enough
15146 test $ac_count -gt 10 && break
15148 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15152 $ac_path_GREP_found && break 3
15162 GREP="$ac_cv_path_GREP"
15163 if test -z "$GREP"; then
15164 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15165 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15166 { (exit 1); exit 1; }; }
15170 ac_cv_path_GREP=$GREP
15175 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15176 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15177 GREP="$ac_cv_path_GREP"
15180 { echo "$as_me:$LINENO: checking for egrep" >&5
15181 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15182 if test "${ac_cv_path_EGREP+set}" = set; then
15183 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
15186 then ac_cv_path_EGREP="$GREP -E"
15188 # Extract the first word of "egrep" to use in msg output
15189 if test -z "$EGREP"; then
15190 set dummy egrep; ac_prog_name=$2
15191 if test "${ac_cv_path_EGREP+set}" = set; then
15192 echo $ECHO_N "(cached) $ECHO_C" >&6
15194 ac_path_EGREP_found=false
15195 # Loop through the user's path and test for each of PROGNAME-LIST
15196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15197 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15200 test -z "$as_dir" && as_dir=.
15201 for ac_prog in egrep; do
15202 for ac_exec_ext in '' $ac_executable_extensions; do
15203 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15204 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
15205 # Check for GNU ac_path_EGREP and select it if it is found.
15206 # Check for GNU $ac_path_EGREP
15207 case `"$ac_path_EGREP" --version 2>&1` in
15209 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15212 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15215 cat "conftest.in" "conftest.in" >"conftest.tmp"
15216 mv "conftest.tmp" "conftest.in"
15217 cp "conftest.in" "conftest.nl"
15218 echo 'EGREP' >> "conftest.nl"
15219 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15220 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15221 ac_count=`expr $ac_count + 1`
15222 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15223 # Best one so far, save it but keep looking for a better one
15224 ac_cv_path_EGREP="$ac_path_EGREP"
15225 ac_path_EGREP_max=$ac_count
15227 # 10*(2^10) chars as input seems more than enough
15228 test $ac_count -gt 10 && break
15230 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15234 $ac_path_EGREP_found && break 3
15244 EGREP="$ac_cv_path_EGREP"
15245 if test -z "$EGREP"; then
15246 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15247 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15248 { (exit 1); exit 1; }; }
15252 ac_cv_path_EGREP=$EGREP
15258 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15259 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15260 EGREP="$ac_cv_path_EGREP"
15263 if test $ac_cv_c_compiler_gnu = yes; then
15264 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15265 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15266 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15267 echo $ECHO_N "(cached) $ECHO_C" >&6
15269 ac_pattern="Autoconf.*'x'"
15270 cat >conftest.$ac_ext <<_ACEOF
15273 cat confdefs.h >>conftest.$ac_ext
15274 cat >>conftest.$ac_ext <<_ACEOF
15275 /* end confdefs.h. */
15279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15280 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15281 ac_cv_prog_gcc_traditional=yes
15283 ac_cv_prog_gcc_traditional=no
15288 if test $ac_cv_prog_gcc_traditional = no; then
15289 cat >conftest.$ac_ext <<_ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15295 #include <termio.h>
15298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15299 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15300 ac_cv_prog_gcc_traditional=yes
15306 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15307 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15308 if test $ac_cv_prog_gcc_traditional = yes; then
15309 CC="$CC -traditional"
15314 CXXFLAGS=${CXXFLAGS:=}
15319 ac_cpp='$CXXCPP $CPPFLAGS'
15320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15323 if test -z "$CXX"; then
15324 if test -n "$CCC"; then
15327 if test -n "$ac_tool_prefix"; then
15328 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15330 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15331 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15334 if test "${ac_cv_prog_CXX+set}" = set; then
15335 echo $ECHO_N "(cached) $ECHO_C" >&6
15337 if test -n "$CXX"; then
15338 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15341 for as_dir in $PATH
15344 test -z "$as_dir" && as_dir=.
15345 for ac_exec_ext in '' $ac_executable_extensions; do
15346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15347 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15357 CXX=$ac_cv_prog_CXX
15358 if test -n "$CXX"; then
15359 { echo "$as_me:$LINENO: result: $CXX" >&5
15360 echo "${ECHO_T}$CXX" >&6; }
15362 { echo "$as_me:$LINENO: result: no" >&5
15363 echo "${ECHO_T}no" >&6; }
15367 test -n "$CXX" && break
15370 if test -z "$CXX"; then
15372 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15374 # Extract the first word of "$ac_prog", so it can be a program name with args.
15375 set dummy $ac_prog; ac_word=$2
15376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15378 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15379 echo $ECHO_N "(cached) $ECHO_C" >&6
15381 if test -n "$ac_ct_CXX"; then
15382 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15385 for as_dir in $PATH
15388 test -z "$as_dir" && as_dir=.
15389 for ac_exec_ext in '' $ac_executable_extensions; do
15390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15391 ac_cv_prog_ac_ct_CXX="$ac_prog"
15392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15401 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15402 if test -n "$ac_ct_CXX"; then
15403 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15404 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15406 { echo "$as_me:$LINENO: result: no" >&5
15407 echo "${ECHO_T}no" >&6; }
15411 test -n "$ac_ct_CXX" && break
15414 if test "x$ac_ct_CXX" = x; then
15417 case $cross_compiling:$ac_tool_warned in
15419 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15420 whose name does not start with the host triplet. If you think this
15421 configuration is useful to you, please write to autoconf@gnu.org." >&5
15422 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15423 whose name does not start with the host triplet. If you think this
15424 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15425 ac_tool_warned=yes ;;
15433 # Provide some information about the compiler.
15434 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15435 ac_compiler=`set X $ac_compile; echo $2`
15436 { (ac_try="$ac_compiler --version >&5"
15437 case "(($ac_try" in
15438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15439 *) ac_try_echo=$ac_try;;
15441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15442 (eval "$ac_compiler --version >&5") 2>&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); }
15446 { (ac_try="$ac_compiler -v >&5"
15447 case "(($ac_try" in
15448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15449 *) ac_try_echo=$ac_try;;
15451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15452 (eval "$ac_compiler -v >&5") 2>&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }
15456 { (ac_try="$ac_compiler -V >&5"
15457 case "(($ac_try" in
15458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15459 *) ac_try_echo=$ac_try;;
15461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15462 (eval "$ac_compiler -V >&5") 2>&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); }
15467 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15468 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15469 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15470 echo $ECHO_N "(cached) $ECHO_C" >&6
15472 cat >conftest.$ac_ext <<_ACEOF
15475 cat confdefs.h >>conftest.$ac_ext
15476 cat >>conftest.$ac_ext <<_ACEOF
15477 /* end confdefs.h. */
15490 rm -f conftest.$ac_objext
15491 if { (ac_try="$ac_compile"
15492 case "(($ac_try" in
15493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15494 *) ac_try_echo=$ac_try;;
15496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15497 (eval "$ac_compile") 2>conftest.er1
15499 grep -v '^ *+' conftest.er1 >conftest.err
15501 cat conftest.err >&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); } &&
15504 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15505 { (case "(($ac_try" in
15506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15507 *) ac_try_echo=$ac_try;;
15509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15510 (eval "$ac_try") 2>&5
15512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 (exit $ac_status); }; } &&
15514 { ac_try='test -s conftest.$ac_objext'
15515 { (case "(($ac_try" in
15516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15517 *) ac_try_echo=$ac_try;;
15519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15520 (eval "$ac_try") 2>&5
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); }; }; then
15524 ac_compiler_gnu=yes
15526 echo "$as_me: failed program was:" >&5
15527 sed 's/^/| /' conftest.$ac_ext >&5
15532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15533 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15536 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15537 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15538 GXX=`test $ac_compiler_gnu = yes && echo yes`
15539 ac_test_CXXFLAGS=${CXXFLAGS+set}
15540 ac_save_CXXFLAGS=$CXXFLAGS
15541 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15542 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15543 if test "${ac_cv_prog_cxx_g+set}" = set; then
15544 echo $ECHO_N "(cached) $ECHO_C" >&6
15546 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15547 ac_cxx_werror_flag=yes
15548 ac_cv_prog_cxx_g=no
15550 cat >conftest.$ac_ext <<_ACEOF
15553 cat confdefs.h >>conftest.$ac_ext
15554 cat >>conftest.$ac_ext <<_ACEOF
15555 /* end confdefs.h. */
15565 rm -f conftest.$ac_objext
15566 if { (ac_try="$ac_compile"
15567 case "(($ac_try" in
15568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15569 *) ac_try_echo=$ac_try;;
15571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15572 (eval "$ac_compile") 2>conftest.er1
15574 grep -v '^ *+' conftest.er1 >conftest.err
15576 cat conftest.err >&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); } &&
15579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15580 { (case "(($ac_try" in
15581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15582 *) ac_try_echo=$ac_try;;
15584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15585 (eval "$ac_try") 2>&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); }; } &&
15589 { ac_try='test -s conftest.$ac_objext'
15590 { (case "(($ac_try" in
15591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15592 *) ac_try_echo=$ac_try;;
15594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15595 (eval "$ac_try") 2>&5
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 (exit $ac_status); }; }; then
15599 ac_cv_prog_cxx_g=yes
15601 echo "$as_me: failed program was:" >&5
15602 sed 's/^/| /' conftest.$ac_ext >&5
15605 cat >conftest.$ac_ext <<_ACEOF
15608 cat confdefs.h >>conftest.$ac_ext
15609 cat >>conftest.$ac_ext <<_ACEOF
15610 /* end confdefs.h. */
15620 rm -f conftest.$ac_objext
15621 if { (ac_try="$ac_compile"
15622 case "(($ac_try" in
15623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15624 *) ac_try_echo=$ac_try;;
15626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15627 (eval "$ac_compile") 2>conftest.er1
15629 grep -v '^ *+' conftest.er1 >conftest.err
15631 cat conftest.err >&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); } &&
15634 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15635 { (case "(($ac_try" in
15636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15637 *) ac_try_echo=$ac_try;;
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_try") 2>&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); }; } &&
15644 { ac_try='test -s conftest.$ac_objext'
15645 { (case "(($ac_try" in
15646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15647 *) ac_try_echo=$ac_try;;
15649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15650 (eval "$ac_try") 2>&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); }; }; then
15656 echo "$as_me: failed program was:" >&5
15657 sed 's/^/| /' conftest.$ac_ext >&5
15659 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15661 cat >conftest.$ac_ext <<_ACEOF
15664 cat confdefs.h >>conftest.$ac_ext
15665 cat >>conftest.$ac_ext <<_ACEOF
15666 /* end confdefs.h. */
15676 rm -f conftest.$ac_objext
15677 if { (ac_try="$ac_compile"
15678 case "(($ac_try" in
15679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15680 *) ac_try_echo=$ac_try;;
15682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15683 (eval "$ac_compile") 2>conftest.er1
15685 grep -v '^ *+' conftest.er1 >conftest.err
15687 cat conftest.err >&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); } &&
15690 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15691 { (case "(($ac_try" in
15692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15693 *) ac_try_echo=$ac_try;;
15695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15696 (eval "$ac_try") 2>&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); }; } &&
15700 { ac_try='test -s conftest.$ac_objext'
15701 { (case "(($ac_try" in
15702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15703 *) ac_try_echo=$ac_try;;
15705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15706 (eval "$ac_try") 2>&5
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; }; then
15710 ac_cv_prog_cxx_g=yes
15712 echo "$as_me: failed program was:" >&5
15713 sed 's/^/| /' conftest.$ac_ext >&5
15718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15725 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15727 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15728 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15729 if test "$ac_test_CXXFLAGS" = set; then
15730 CXXFLAGS=$ac_save_CXXFLAGS
15731 elif test $ac_cv_prog_cxx_g = yes; then
15732 if test "$GXX" = yes; then
15738 if test "$GXX" = yes; then
15745 ac_cpp='$CPP $CPPFLAGS'
15746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15753 ac_cpp='$CXXCPP $CPPFLAGS'
15754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15758 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15759 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15760 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15761 echo $ECHO_N "(cached) $ECHO_C" >&6
15763 cat >conftest.$ac_ext <<_ACEOF
15766 cat confdefs.h >>conftest.$ac_ext
15767 cat >>conftest.$ac_ext <<_ACEOF
15768 /* end confdefs.h. */
15774 #ifndef __INTEL_COMPILER
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 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15797 { (case "(($ac_try" in
15798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15799 *) ac_try_echo=$ac_try;;
15801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15802 (eval "$ac_try") 2>&5
15804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15805 (exit $ac_status); }; } &&
15806 { ac_try='test -s conftest.$ac_objext'
15807 { (case "(($ac_try" in
15808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15809 *) ac_try_echo=$ac_try;;
15811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15812 (eval "$ac_try") 2>&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; }; then
15816 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15818 echo "$as_me: failed program was:" >&5
15819 sed 's/^/| /' conftest.$ac_ext >&5
15821 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15829 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15830 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15832 ac_cpp='$CPP $CPPFLAGS'
15833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15837 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15844 if test "x$GCXX" != "xyes"; then
15845 if test "xCXX" = "xC"; then
15846 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15847 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15848 if test "${bakefile_cv_c_exto+set}" = set; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15851 cat >conftest.$ac_ext <<_ACEOF
15854 cat confdefs.h >>conftest.$ac_ext
15855 cat >>conftest.$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15866 rm -f conftest.$ac_objext conftest.$ac_ext.o
15867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15868 (eval $ac_compile) 2>&5
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871 (exit $ac_status); }; then
15872 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15874 conftest.$ac_ext.o)
15875 bakefile_cv_c_exto="-ext o"
15882 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15883 See \`config.log' for more details." >&5
15884 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15885 See \`config.log' for more details." >&2;}
15886 { (exit 1); exit 1; }; }
15890 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15893 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15894 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15895 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15896 if test "c" = "c"; then
15897 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15899 if test "c" = "cxx"; then
15900 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15904 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15905 unset ac_cv_prog_cc_g
15906 ac_test_CFLAGS=${CFLAGS+set}
15907 ac_save_CFLAGS=$CFLAGS
15908 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15909 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15910 if test "${ac_cv_prog_cc_g+set}" = set; then
15911 echo $ECHO_N "(cached) $ECHO_C" >&6
15913 ac_save_c_werror_flag=$ac_c_werror_flag
15914 ac_c_werror_flag=yes
15917 cat >conftest.$ac_ext <<_ACEOF
15920 cat confdefs.h >>conftest.$ac_ext
15921 cat >>conftest.$ac_ext <<_ACEOF
15922 /* end confdefs.h. */
15932 rm -f conftest.$ac_objext
15933 if { (ac_try="$ac_compile"
15934 case "(($ac_try" in
15935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15936 *) ac_try_echo=$ac_try;;
15938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15939 (eval "$ac_compile") 2>conftest.er1
15941 grep -v '^ *+' conftest.er1 >conftest.err
15943 cat conftest.err >&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); } &&
15946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15947 { (case "(($ac_try" in
15948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15949 *) ac_try_echo=$ac_try;;
15951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15952 (eval "$ac_try") 2>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; } &&
15956 { ac_try='test -s conftest.$ac_objext'
15957 { (case "(($ac_try" in
15958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15959 *) ac_try_echo=$ac_try;;
15961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15962 (eval "$ac_try") 2>&5
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); }; }; then
15966 ac_cv_prog_cc_g=yes
15968 echo "$as_me: failed program was:" >&5
15969 sed 's/^/| /' conftest.$ac_ext >&5
15972 cat >conftest.$ac_ext <<_ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15987 rm -f conftest.$ac_objext
15988 if { (ac_try="$ac_compile"
15989 case "(($ac_try" in
15990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15991 *) ac_try_echo=$ac_try;;
15993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15994 (eval "$ac_compile") 2>conftest.er1
15996 grep -v '^ *+' conftest.er1 >conftest.err
15998 cat conftest.err >&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); } &&
16001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16002 { (case "(($ac_try" in
16003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16004 *) ac_try_echo=$ac_try;;
16006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16007 (eval "$ac_try") 2>&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); }; } &&
16011 { ac_try='test -s conftest.$ac_objext'
16012 { (case "(($ac_try" in
16013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16014 *) ac_try_echo=$ac_try;;
16016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16017 (eval "$ac_try") 2>&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); }; }; then
16023 echo "$as_me: failed program was:" >&5
16024 sed 's/^/| /' conftest.$ac_ext >&5
16026 ac_c_werror_flag=$ac_save_c_werror_flag
16028 cat >conftest.$ac_ext <<_ACEOF
16031 cat confdefs.h >>conftest.$ac_ext
16032 cat >>conftest.$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16043 rm -f conftest.$ac_objext
16044 if { (ac_try="$ac_compile"
16045 case "(($ac_try" in
16046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16047 *) ac_try_echo=$ac_try;;
16049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16050 (eval "$ac_compile") 2>conftest.er1
16052 grep -v '^ *+' conftest.er1 >conftest.err
16054 cat conftest.err >&5
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); } &&
16057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16058 { (case "(($ac_try" in
16059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16060 *) ac_try_echo=$ac_try;;
16062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16063 (eval "$ac_try") 2>&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); }; } &&
16067 { ac_try='test -s conftest.$ac_objext'
16068 { (case "(($ac_try" in
16069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16070 *) ac_try_echo=$ac_try;;
16072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16073 (eval "$ac_try") 2>&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; }; then
16077 ac_cv_prog_cc_g=yes
16079 echo "$as_me: failed program was:" >&5
16080 sed 's/^/| /' conftest.$ac_ext >&5
16085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16092 ac_c_werror_flag=$ac_save_c_werror_flag
16094 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16095 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16096 if test "$ac_test_CFLAGS" = set; then
16097 CFLAGS=$ac_save_CFLAGS
16098 elif test $ac_cv_prog_cc_g = yes; then
16099 if test "$GCC" = yes; then
16105 if test "$GCC" = yes; then
16117 ac_cpp='$CXXCPP $CPPFLAGS'
16118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16122 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16123 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16124 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16125 echo $ECHO_N "(cached) $ECHO_C" >&6
16127 cat >conftest.$ac_ext <<_ACEOF
16130 cat confdefs.h >>conftest.$ac_ext
16131 cat >>conftest.$ac_ext <<_ACEOF
16132 /* end confdefs.h. */
16145 rm -f conftest.$ac_objext
16146 if { (ac_try="$ac_compile"
16147 case "(($ac_try" in
16148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16149 *) ac_try_echo=$ac_try;;
16151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16152 (eval "$ac_compile") 2>conftest.er1
16154 grep -v '^ *+' conftest.er1 >conftest.err
16156 cat conftest.err >&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); } &&
16159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16160 { (case "(($ac_try" in
16161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16162 *) ac_try_echo=$ac_try;;
16164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16165 (eval "$ac_try") 2>&5
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; } &&
16169 { ac_try='test -s conftest.$ac_objext'
16170 { (case "(($ac_try" in
16171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16172 *) ac_try_echo=$ac_try;;
16174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16175 (eval "$ac_try") 2>&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); }; }; then
16179 bakefile_compiler_xlc=yes
16181 echo "$as_me: failed program was:" >&5
16182 sed 's/^/| /' conftest.$ac_ext >&5
16184 bakefile_compiler_xlc=no
16187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16188 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
16191 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16192 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16194 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16196 ac_cpp='$CPP $CPPFLAGS'
16197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16206 ac_cpp='$CXXCPP $CPPFLAGS'
16207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16211 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16212 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16213 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16216 cat >conftest.$ac_ext <<_ACEOF
16219 cat confdefs.h >>conftest.$ac_ext
16220 cat >>conftest.$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16234 rm -f conftest.$ac_objext
16235 if { (ac_try="$ac_compile"
16236 case "(($ac_try" in
16237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16238 *) ac_try_echo=$ac_try;;
16240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16241 (eval "$ac_compile") 2>conftest.er1
16243 grep -v '^ *+' conftest.er1 >conftest.err
16245 cat conftest.err >&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } &&
16248 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16249 { (case "(($ac_try" in
16250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16251 *) ac_try_echo=$ac_try;;
16253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16254 (eval "$ac_try") 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; } &&
16258 { ac_try='test -s conftest.$ac_objext'
16259 { (case "(($ac_try" in
16260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16261 *) ac_try_echo=$ac_try;;
16263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16264 (eval "$ac_try") 2>&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }; }; then
16268 bakefile_compiler_mwerks=yes
16270 echo "$as_me: failed program was:" >&5
16271 sed 's/^/| /' conftest.$ac_ext >&5
16273 bakefile_compiler_mwerks=no
16276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16277 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
16280 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
16281 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
16283 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
16285 ac_cpp='$CPP $CPPFLAGS'
16286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16292 ac_cpp='$CXXCPP $CPPFLAGS'
16293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16297 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16298 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16299 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16300 echo $ECHO_N "(cached) $ECHO_C" >&6
16302 cat >conftest.$ac_ext <<_ACEOF
16305 cat confdefs.h >>conftest.$ac_ext
16306 cat >>conftest.$ac_ext <<_ACEOF
16307 /* end confdefs.h. */
16320 rm -f conftest.$ac_objext
16321 if { (ac_try="$ac_compile"
16322 case "(($ac_try" in
16323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16324 *) ac_try_echo=$ac_try;;
16326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16327 (eval "$ac_compile") 2>conftest.er1
16329 grep -v '^ *+' conftest.er1 >conftest.err
16331 cat conftest.err >&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); } &&
16334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16335 { (case "(($ac_try" in
16336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16337 *) ac_try_echo=$ac_try;;
16339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16340 (eval "$ac_try") 2>&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); }; } &&
16344 { ac_try='test -s conftest.$ac_objext'
16345 { (case "(($ac_try" in
16346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16347 *) ac_try_echo=$ac_try;;
16349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16350 (eval "$ac_try") 2>&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; }; then
16354 bakefile_compiler_xlc=yes
16356 echo "$as_me: failed program was:" >&5
16357 sed 's/^/| /' conftest.$ac_ext >&5
16359 bakefile_compiler_xlc=no
16362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16363 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
16366 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16367 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16369 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16371 ac_cpp='$CPP $CPPFLAGS'
16372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16383 ac_cpp='$CXXCPP $CPPFLAGS'
16384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16388 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16389 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16390 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16391 echo $ECHO_N "(cached) $ECHO_C" >&6
16393 cat >conftest.$ac_ext <<_ACEOF
16396 cat confdefs.h >>conftest.$ac_ext
16397 cat >>conftest.$ac_ext <<_ACEOF
16398 /* end confdefs.h. */
16404 #ifndef _SGI_COMPILER_VERSION
16412 rm -f conftest.$ac_objext
16413 if { (ac_try="$ac_compile"
16414 case "(($ac_try" in
16415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16416 *) ac_try_echo=$ac_try;;
16418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16419 (eval "$ac_compile") 2>conftest.er1
16421 grep -v '^ *+' conftest.er1 >conftest.err
16423 cat conftest.err >&5
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); } &&
16426 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16427 { (case "(($ac_try" in
16428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16429 *) ac_try_echo=$ac_try;;
16431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16432 (eval "$ac_try") 2>&5
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); }; } &&
16436 { ac_try='test -s conftest.$ac_objext'
16437 { (case "(($ac_try" in
16438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16439 *) ac_try_echo=$ac_try;;
16441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16442 (eval "$ac_try") 2>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; }; then
16446 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16448 echo "$as_me: failed program was:" >&5
16449 sed 's/^/| /' conftest.$ac_ext >&5
16451 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16459 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16460 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16462 ac_cpp='$CPP $CPPFLAGS'
16463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16467 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16480 ac_cpp='$CXXCPP $CPPFLAGS'
16481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16485 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16486 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16487 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16488 echo $ECHO_N "(cached) $ECHO_C" >&6
16490 cat >conftest.$ac_ext <<_ACEOF
16493 cat confdefs.h >>conftest.$ac_ext
16494 cat >>conftest.$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16509 rm -f conftest.$ac_objext
16510 if { (ac_try="$ac_compile"
16511 case "(($ac_try" in
16512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16513 *) ac_try_echo=$ac_try;;
16515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16516 (eval "$ac_compile") 2>conftest.er1
16518 grep -v '^ *+' conftest.er1 >conftest.err
16520 cat conftest.err >&5
16521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522 (exit $ac_status); } &&
16523 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16524 { (case "(($ac_try" in
16525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16526 *) ac_try_echo=$ac_try;;
16528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16529 (eval "$ac_try") 2>&5
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); }; } &&
16533 { ac_try='test -s conftest.$ac_objext'
16534 { (case "(($ac_try" in
16535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16536 *) ac_try_echo=$ac_try;;
16538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16539 (eval "$ac_try") 2>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); }; }; then
16543 bakefile_cv_cxx_compiler___HP_aCC=yes
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.$ac_ext >&5
16548 bakefile_cv_cxx_compiler___HP_aCC=no
16552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16556 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16557 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16559 ac_cpp='$CPP $CPPFLAGS'
16560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16564 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16577 ac_cpp='$CXXCPP $CPPFLAGS'
16578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16582 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16583 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16584 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16585 echo $ECHO_N "(cached) $ECHO_C" >&6
16587 cat >conftest.$ac_ext <<_ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16606 rm -f conftest.$ac_objext
16607 if { (ac_try="$ac_compile"
16608 case "(($ac_try" in
16609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16610 *) ac_try_echo=$ac_try;;
16612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16613 (eval "$ac_compile") 2>conftest.er1
16615 grep -v '^ *+' conftest.er1 >conftest.err
16617 cat conftest.err >&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); } &&
16620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16621 { (case "(($ac_try" in
16622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16623 *) ac_try_echo=$ac_try;;
16625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16626 (eval "$ac_try") 2>&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; } &&
16630 { ac_try='test -s conftest.$ac_objext'
16631 { (case "(($ac_try" in
16632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16633 *) ac_try_echo=$ac_try;;
16635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16636 (eval "$ac_try") 2>&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); }; }; then
16640 bakefile_cv_cxx_compiler___DECCXX=yes
16642 echo "$as_me: failed program was:" >&5
16643 sed 's/^/| /' conftest.$ac_ext >&5
16645 bakefile_cv_cxx_compiler___DECCXX=no
16649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16653 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16654 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16656 ac_cpp='$CPP $CPPFLAGS'
16657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16661 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16674 ac_cpp='$CXXCPP $CPPFLAGS'
16675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16679 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16680 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16681 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16682 echo $ECHO_N "(cached) $ECHO_C" >&6
16684 cat >conftest.$ac_ext <<_ACEOF
16687 cat confdefs.h >>conftest.$ac_ext
16688 cat >>conftest.$ac_ext <<_ACEOF
16689 /* end confdefs.h. */
16695 #ifndef __SUNPRO_CC
16703 rm -f conftest.$ac_objext
16704 if { (ac_try="$ac_compile"
16705 case "(($ac_try" in
16706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16707 *) ac_try_echo=$ac_try;;
16709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16710 (eval "$ac_compile") 2>conftest.er1
16712 grep -v '^ *+' conftest.er1 >conftest.err
16714 cat conftest.err >&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); } &&
16717 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16718 { (case "(($ac_try" in
16719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16720 *) ac_try_echo=$ac_try;;
16722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16723 (eval "$ac_try") 2>&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; } &&
16727 { ac_try='test -s conftest.$ac_objext'
16728 { (case "(($ac_try" in
16729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16730 *) ac_try_echo=$ac_try;;
16732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16733 (eval "$ac_try") 2>&5
16735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736 (exit $ac_status); }; }; then
16737 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16739 echo "$as_me: failed program was:" >&5
16740 sed 's/^/| /' conftest.$ac_ext >&5
16742 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16750 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16751 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16753 ac_cpp='$CPP $CPPFLAGS'
16754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16758 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16771 if test -n "$ac_tool_prefix"; then
16772 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16773 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16776 if test "${ac_cv_prog_RANLIB+set}" = set; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16779 if test -n "$RANLIB"; then
16780 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16783 for as_dir in $PATH
16786 test -z "$as_dir" && as_dir=.
16787 for ac_exec_ext in '' $ac_executable_extensions; do
16788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16789 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16799 RANLIB=$ac_cv_prog_RANLIB
16800 if test -n "$RANLIB"; then
16801 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16802 echo "${ECHO_T}$RANLIB" >&6; }
16804 { echo "$as_me:$LINENO: result: no" >&5
16805 echo "${ECHO_T}no" >&6; }
16810 if test -z "$ac_cv_prog_RANLIB"; then
16811 ac_ct_RANLIB=$RANLIB
16812 # Extract the first word of "ranlib", so it can be a program name with args.
16813 set dummy ranlib; ac_word=$2
16814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16816 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16819 if test -n "$ac_ct_RANLIB"; then
16820 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16823 for as_dir in $PATH
16826 test -z "$as_dir" && as_dir=.
16827 for ac_exec_ext in '' $ac_executable_extensions; do
16828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16829 ac_cv_prog_ac_ct_RANLIB="ranlib"
16830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16839 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16840 if test -n "$ac_ct_RANLIB"; then
16841 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16842 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16844 { echo "$as_me:$LINENO: result: no" >&5
16845 echo "${ECHO_T}no" >&6; }
16848 if test "x$ac_ct_RANLIB" = x; then
16851 case $cross_compiling:$ac_tool_warned in
16853 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16854 whose name does not start with the host triplet. If you think this
16855 configuration is useful to you, please write to autoconf@gnu.org." >&5
16856 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16857 whose name does not start with the host triplet. If you think this
16858 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16859 ac_tool_warned=yes ;;
16861 RANLIB=$ac_ct_RANLIB
16864 RANLIB="$ac_cv_prog_RANLIB"
16868 if test "x$SUNCXX" != xyes; then
16869 if test -n "$ac_tool_prefix"; then
16870 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16871 set dummy ${ac_tool_prefix}ar; ac_word=$2
16872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16874 if test "${ac_cv_prog_AR+set}" = set; then
16875 echo $ECHO_N "(cached) $ECHO_C" >&6
16877 if test -n "$AR"; then
16878 ac_cv_prog_AR="$AR" # Let the user override the test.
16880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16881 for as_dir in $PATH
16884 test -z "$as_dir" && as_dir=.
16885 for ac_exec_ext in '' $ac_executable_extensions; do
16886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16887 ac_cv_prog_AR="${ac_tool_prefix}ar"
16888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16898 if test -n "$AR"; then
16899 { echo "$as_me:$LINENO: result: $AR" >&5
16900 echo "${ECHO_T}$AR" >&6; }
16902 { echo "$as_me:$LINENO: result: no" >&5
16903 echo "${ECHO_T}no" >&6; }
16908 if test -z "$ac_cv_prog_AR"; then
16910 # Extract the first word of "ar", so it can be a program name with args.
16911 set dummy ar; ac_word=$2
16912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16914 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16917 if test -n "$ac_ct_AR"; then
16918 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16921 for as_dir in $PATH
16924 test -z "$as_dir" && as_dir=.
16925 for ac_exec_ext in '' $ac_executable_extensions; do
16926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16927 ac_cv_prog_ac_ct_AR="ar"
16928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16937 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16938 if test -n "$ac_ct_AR"; then
16939 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16940 echo "${ECHO_T}$ac_ct_AR" >&6; }
16942 { echo "$as_me:$LINENO: result: no" >&5
16943 echo "${ECHO_T}no" >&6; }
16946 if test "x$ac_ct_AR" = x; then
16949 case $cross_compiling:$ac_tool_warned in
16951 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16952 whose name does not start with the host triplet. If you think this
16953 configuration is useful to you, please write to autoconf@gnu.org." >&5
16954 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16955 whose name does not start with the host triplet. If you think this
16956 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16957 ac_tool_warned=yes ;;
16962 AR="$ac_cv_prog_AR"
16965 if test "x$AR" = "x" ; then
16966 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16967 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16968 { (exit 1); exit 1; }; }
16972 # Find a good install program. We prefer a C program (faster),
16973 # so one script is as good as another. But avoid the broken or
16974 # incompatible versions:
16975 # SysV /etc/install, /usr/sbin/install
16976 # SunOS /usr/etc/install
16977 # IRIX /sbin/install
16979 # AmigaOS /C/install, which installs bootblocks on floppy discs
16980 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16981 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16982 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16983 # OS/2's system install, which has a completely different semantic
16984 # ./install, which can be erroneously created by make from ./install.sh.
16985 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16986 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16987 if test -z "$INSTALL"; then
16988 if test "${ac_cv_path_install+set}" = set; then
16989 echo $ECHO_N "(cached) $ECHO_C" >&6
16991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16992 for as_dir in $PATH
16995 test -z "$as_dir" && as_dir=.
16996 # Account for people who put trailing slashes in PATH elements.
16998 ./ | .// | /cC/* | \
16999 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
17000 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
17003 # OSF1 and SCO ODT 3.0 have their own names for install.
17004 # Don't use installbsd from OSF since it installs stuff as root
17006 for ac_prog in ginstall scoinst install; do
17007 for ac_exec_ext in '' $ac_executable_extensions; do
17008 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
17009 if test $ac_prog = install &&
17010 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
17011 # AIX install. It has an incompatible calling convention.
17013 elif test $ac_prog = install &&
17014 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
17015 # program-specific install script used by HP pwplus--don't use.
17018 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
17031 if test "${ac_cv_path_install+set}" = set; then
17032 INSTALL=$ac_cv_path_install
17034 # As a last resort, use the slow shell script. Don't cache a
17035 # value for INSTALL within a source directory, because that will
17036 # break other packages using the cache if that directory is
17037 # removed, or if the value is a relative name.
17038 INSTALL=$ac_install_sh
17041 { echo "$as_me:$LINENO: result: $INSTALL" >&5
17042 echo "${ECHO_T}$INSTALL" >&6; }
17044 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
17045 # It thinks the first close brace ends the variable substitution.
17046 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
17048 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
17050 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
17056 ?:* ) # Drive letter, considered as absolute.
17059 INSTALL=`pwd`/${INSTALL} ;;
17066 INSTALL_PROGRAM="cp -fp"
17067 INSTALL_DATA="cp -fp"
17073 if test -n "$ac_tool_prefix"; then
17074 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
17075 set dummy ${ac_tool_prefix}strip; ac_word=$2
17076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17078 if test "${ac_cv_prog_STRIP+set}" = set; then
17079 echo $ECHO_N "(cached) $ECHO_C" >&6
17081 if test -n "$STRIP"; then
17082 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
17084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17085 for as_dir in $PATH
17088 test -z "$as_dir" && as_dir=.
17089 for ac_exec_ext in '' $ac_executable_extensions; do
17090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17091 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
17092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17101 STRIP=$ac_cv_prog_STRIP
17102 if test -n "$STRIP"; then
17103 { echo "$as_me:$LINENO: result: $STRIP" >&5
17104 echo "${ECHO_T}$STRIP" >&6; }
17106 { echo "$as_me:$LINENO: result: no" >&5
17107 echo "${ECHO_T}no" >&6; }
17112 if test -z "$ac_cv_prog_STRIP"; then
17114 # Extract the first word of "strip", so it can be a program name with args.
17115 set dummy strip; ac_word=$2
17116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17118 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 if test -n "$ac_ct_STRIP"; then
17122 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
17124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17125 for as_dir in $PATH
17128 test -z "$as_dir" && as_dir=.
17129 for ac_exec_ext in '' $ac_executable_extensions; do
17130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17131 ac_cv_prog_ac_ct_STRIP="strip"
17132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17141 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
17142 if test -n "$ac_ct_STRIP"; then
17143 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
17144 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
17146 { echo "$as_me:$LINENO: result: no" >&5
17147 echo "${ECHO_T}no" >&6; }
17150 if test "x$ac_ct_STRIP" = x; then
17153 case $cross_compiling:$ac_tool_warned in
17155 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17156 whose name does not start with the host triplet. If you think this
17157 configuration is useful to you, please write to autoconf@gnu.org." >&5
17158 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17159 whose name does not start with the host triplet. If you think this
17160 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17161 ac_tool_warned=yes ;;
17166 STRIP="$ac_cv_prog_STRIP"
17170 if test "$wxUSE_WINE" = "yes"; then
17171 if test -n "$ac_tool_prefix"; then
17172 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
17173 set dummy ${ac_tool_prefix}wrc; ac_word=$2
17174 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17176 if test "${ac_cv_prog_WINDRES+set}" = set; then
17177 echo $ECHO_N "(cached) $ECHO_C" >&6
17179 if test -n "$WINDRES"; then
17180 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17183 for as_dir in $PATH
17186 test -z "$as_dir" && as_dir=.
17187 for ac_exec_ext in '' $ac_executable_extensions; do
17188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17189 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
17190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17199 WINDRES=$ac_cv_prog_WINDRES
17200 if test -n "$WINDRES"; then
17201 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17202 echo "${ECHO_T}$WINDRES" >&6; }
17204 { echo "$as_me:$LINENO: result: no" >&5
17205 echo "${ECHO_T}no" >&6; }
17210 if test -z "$ac_cv_prog_WINDRES"; then
17211 ac_ct_WINDRES=$WINDRES
17212 # Extract the first word of "wrc", so it can be a program name with args.
17213 set dummy wrc; ac_word=$2
17214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17216 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17217 echo $ECHO_N "(cached) $ECHO_C" >&6
17219 if test -n "$ac_ct_WINDRES"; then
17220 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17223 for as_dir in $PATH
17226 test -z "$as_dir" && as_dir=.
17227 for ac_exec_ext in '' $ac_executable_extensions; do
17228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17229 ac_cv_prog_ac_ct_WINDRES="wrc"
17230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17239 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17240 if test -n "$ac_ct_WINDRES"; then
17241 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17242 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17244 { echo "$as_me:$LINENO: result: no" >&5
17245 echo "${ECHO_T}no" >&6; }
17248 if test "x$ac_ct_WINDRES" = x; then
17251 case $cross_compiling:$ac_tool_warned in
17253 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17254 whose name does not start with the host triplet. If you think this
17255 configuration is useful to you, please write to autoconf@gnu.org." >&5
17256 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17257 whose name does not start with the host triplet. If you think this
17258 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17259 ac_tool_warned=yes ;;
17261 WINDRES=$ac_ct_WINDRES
17264 WINDRES="$ac_cv_prog_WINDRES"
17270 *-*-cygwin* | *-*-mingw32* )
17271 if test -n "$ac_tool_prefix"; then
17272 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17273 set dummy ${ac_tool_prefix}windres; ac_word=$2
17274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17276 if test "${ac_cv_prog_WINDRES+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17279 if test -n "$WINDRES"; then
17280 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17283 for as_dir in $PATH
17286 test -z "$as_dir" && as_dir=.
17287 for ac_exec_ext in '' $ac_executable_extensions; do
17288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17289 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
17290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17299 WINDRES=$ac_cv_prog_WINDRES
17300 if test -n "$WINDRES"; then
17301 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17302 echo "${ECHO_T}$WINDRES" >&6; }
17304 { echo "$as_me:$LINENO: result: no" >&5
17305 echo "${ECHO_T}no" >&6; }
17310 if test -z "$ac_cv_prog_WINDRES"; then
17311 ac_ct_WINDRES=$WINDRES
17312 # Extract the first word of "windres", so it can be a program name with args.
17313 set dummy windres; ac_word=$2
17314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17316 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17317 echo $ECHO_N "(cached) $ECHO_C" >&6
17319 if test -n "$ac_ct_WINDRES"; then
17320 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17323 for as_dir in $PATH
17326 test -z "$as_dir" && as_dir=.
17327 for ac_exec_ext in '' $ac_executable_extensions; do
17328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17329 ac_cv_prog_ac_ct_WINDRES="windres"
17330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17339 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17340 if test -n "$ac_ct_WINDRES"; then
17341 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17342 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17344 { echo "$as_me:$LINENO: result: no" >&5
17345 echo "${ECHO_T}no" >&6; }
17348 if test "x$ac_ct_WINDRES" = x; then
17351 case $cross_compiling:$ac_tool_warned in
17353 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17354 whose name does not start with the host triplet. If you think this
17355 configuration is useful to you, please write to autoconf@gnu.org." >&5
17356 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17357 whose name does not start with the host triplet. If you think this
17358 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17359 ac_tool_warned=yes ;;
17361 WINDRES=$ac_ct_WINDRES
17364 WINDRES="$ac_cv_prog_WINDRES"
17368 if test -n "$ac_tool_prefix"; then
17369 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
17370 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
17371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17373 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17374 echo $ECHO_N "(cached) $ECHO_C" >&6
17376 if test -n "$DLLTOOL"; then
17377 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17380 for as_dir in $PATH
17383 test -z "$as_dir" && as_dir=.
17384 for ac_exec_ext in '' $ac_executable_extensions; do
17385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17386 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
17387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17396 DLLTOOL=$ac_cv_prog_DLLTOOL
17397 if test -n "$DLLTOOL"; then
17398 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17399 echo "${ECHO_T}$DLLTOOL" >&6; }
17401 { echo "$as_me:$LINENO: result: no" >&5
17402 echo "${ECHO_T}no" >&6; }
17407 if test -z "$ac_cv_prog_DLLTOOL"; then
17408 ac_ct_DLLTOOL=$DLLTOOL
17409 # Extract the first word of "dlltool", so it can be a program name with args.
17410 set dummy dlltool; ac_word=$2
17411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17413 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
17414 echo $ECHO_N "(cached) $ECHO_C" >&6
17416 if test -n "$ac_ct_DLLTOOL"; then
17417 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
17419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17420 for as_dir in $PATH
17423 test -z "$as_dir" && as_dir=.
17424 for ac_exec_ext in '' $ac_executable_extensions; do
17425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17426 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
17427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17436 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
17437 if test -n "$ac_ct_DLLTOOL"; then
17438 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
17439 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
17441 { echo "$as_me:$LINENO: result: no" >&5
17442 echo "${ECHO_T}no" >&6; }
17445 if test "x$ac_ct_DLLTOOL" = x; then
17448 case $cross_compiling:$ac_tool_warned in
17450 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17451 whose name does not start with the host triplet. If you think this
17452 configuration is useful to you, please write to autoconf@gnu.org." >&5
17453 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17454 whose name does not start with the host triplet. If you think this
17455 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17456 ac_tool_warned=yes ;;
17458 DLLTOOL=$ac_ct_DLLTOOL
17461 DLLTOOL="$ac_cv_prog_DLLTOOL"
17468 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17469 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17470 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17471 echo $ECHO_N "(cached) $ECHO_C" >&6
17474 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
17475 $EGREP -s GNU > /dev/null); then
17476 wx_cv_prog_makeisgnu="yes"
17478 wx_cv_prog_makeisgnu="no"
17482 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17483 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17485 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17493 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17494 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17495 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17496 if test "${wx_cv_prog_makevpath+set}" = set; then
17497 echo $ECHO_N "(cached) $ECHO_C" >&6
17500 cat - << EOF > confMake
17506 if test ! -d sub ; then
17509 echo dummy > sub/file
17510 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
17512 rm -f sub/file check final_file confMake
17514 if test "$RESULT" = 0; then
17515 wx_cv_prog_makevpath="yes"
17517 wx_cv_prog_makevpath="no"
17521 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17522 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17524 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17525 { { echo "$as_me:$LINENO: error:
17526 You need a make-utility that is able to use the variable
17528 If your version of make does not support VPATH correctly,
17529 please install GNU-make (possibly as gmake), and start
17530 configure with the following command:
17531 export MAKE=gmake; ./configure for sh-type shells
17532 setenv MAKE gmake; ./configure for csh-type shells
17533 Also please do remember to use gmake in this case every time
17534 you are trying to compile.
17536 echo "$as_me: error:
17537 You need a make-utility that is able to use the variable
17539 If your version of make does not support VPATH correctly,
17540 please install GNU-make (possibly as gmake), and start
17541 configure with the following command:
17542 export MAKE=gmake; ./configure for sh-type shells
17543 setenv MAKE gmake; ./configure for csh-type shells
17544 Also please do remember to use gmake in this case every time
17545 you are trying to compile.
17547 { (exit 1); exit 1; }; }
17549 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17550 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17552 if test "$LN_S" = "ln -s"; then
17553 { echo "$as_me:$LINENO: result: yes" >&5
17554 echo "${ECHO_T}yes" >&6; }
17556 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17557 echo "${ECHO_T}no, using $LN_S" >&6; }
17563 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17564 CXXFLAGS="-qunique $CXXFLAGS"
17568 powerpc-*-darwin* )
17569 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17570 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17571 cat >conftest.$ac_ext <<_ACEOF
17574 cat confdefs.h >>conftest.$ac_ext
17575 cat >>conftest.$ac_ext <<_ACEOF
17576 /* end confdefs.h. */
17581 #ifndef __POWERPC__
17582 choke me for lack of PowerPC
17589 rm -f conftest.$ac_objext
17590 if { (ac_try="$ac_compile"
17591 case "(($ac_try" in
17592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17593 *) ac_try_echo=$ac_try;;
17595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17596 (eval "$ac_compile") 2>conftest.er1
17598 grep -v '^ *+' conftest.er1 >conftest.err
17600 cat conftest.err >&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); } &&
17603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17604 { (case "(($ac_try" in
17605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17606 *) ac_try_echo=$ac_try;;
17608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17609 (eval "$ac_try") 2>&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); }; } &&
17613 { ac_try='test -s conftest.$ac_objext'
17614 { (case "(($ac_try" in
17615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17616 *) ac_try_echo=$ac_try;;
17618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17619 (eval "$ac_try") 2>&5
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); }; }; then
17623 { echo "$as_me:$LINENO: result: yes" >&5
17624 echo "${ECHO_T}yes" >&6; }
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.$ac_ext >&5
17629 { echo "$as_me:$LINENO: result: no" >&5
17630 echo "${ECHO_T}no" >&6; }
17631 cat >>confdefs.h <<\_ACEOF
17632 #define __POWERPC__ 1
17638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17644 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17645 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17646 cat >conftest.$ac_ext <<_ACEOF
17649 cat confdefs.h >>conftest.$ac_ext
17650 cat >>conftest.$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17652 #include <CoreFoundation/CFBase.h>
17662 rm -f conftest.$ac_objext
17663 if { (ac_try="$ac_compile"
17664 case "(($ac_try" in
17665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17666 *) ac_try_echo=$ac_try;;
17668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17669 (eval "$ac_compile") 2>conftest.er1
17671 grep -v '^ *+' conftest.er1 >conftest.err
17673 cat conftest.err >&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); } &&
17676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17677 { (case "(($ac_try" in
17678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17679 *) ac_try_echo=$ac_try;;
17681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17682 (eval "$ac_try") 2>&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); }; } &&
17686 { ac_try='test -s conftest.$ac_objext'
17687 { (case "(($ac_try" in
17688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17689 *) ac_try_echo=$ac_try;;
17691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17692 (eval "$ac_try") 2>&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; }; then
17696 { echo "$as_me:$LINENO: result: yes" >&5
17697 echo "${ECHO_T}yes" >&6; }
17699 echo "$as_me: failed program was:" >&5
17700 sed 's/^/| /' conftest.$ac_ext >&5
17702 { echo "$as_me:$LINENO: result: no" >&5
17703 echo "${ECHO_T}no" >&6; }
17704 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17705 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17706 cat >conftest.$ac_ext <<_ACEOF
17709 cat confdefs.h >>conftest.$ac_ext
17710 cat >>conftest.$ac_ext <<_ACEOF
17711 /* end confdefs.h. */
17712 #define __CF_USE_FRAMEWORK_INCLUDES__
17713 #include <CoreFoundation/CFBase.h>
17723 rm -f conftest.$ac_objext
17724 if { (ac_try="$ac_compile"
17725 case "(($ac_try" in
17726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17727 *) ac_try_echo=$ac_try;;
17729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17730 (eval "$ac_compile") 2>conftest.er1
17732 grep -v '^ *+' conftest.er1 >conftest.err
17734 cat conftest.err >&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); } &&
17737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17738 { (case "(($ac_try" in
17739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;;
17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_try") 2>&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); }; } &&
17747 { ac_try='test -s conftest.$ac_objext'
17748 { (case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_try") 2>&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17757 { echo "$as_me:$LINENO: result: yes" >&5
17758 echo "${ECHO_T}yes" >&6; }
17759 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17761 echo "$as_me: failed program was:" >&5
17762 sed 's/^/| /' conftest.$ac_ext >&5
17764 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17765 See \`config.log' for more details." >&5
17766 echo "$as_me: error: no. CoreFoundation not available.
17767 See \`config.log' for more details." >&2;}
17768 { (exit 1); exit 1; }; }
17772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17782 doesnt_want_win32=0
17785 if test "$wxUSE_MSW" = 1 ; then
17788 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17789 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17790 if test "${wx_cv_nocygwin+set}" = set; then
17791 echo $ECHO_N "(cached) $ECHO_C" >&6
17794 cat >conftest.$ac_ext <<_ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17813 rm -f conftest.$ac_objext
17814 if { (ac_try="$ac_compile"
17815 case "(($ac_try" in
17816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17817 *) ac_try_echo=$ac_try;;
17819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17820 (eval "$ac_compile") 2>conftest.er1
17822 grep -v '^ *+' conftest.er1 >conftest.err
17824 cat conftest.err >&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); } &&
17827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17828 { (case "(($ac_try" in
17829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17830 *) ac_try_echo=$ac_try;;
17832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17833 (eval "$ac_try") 2>&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); }; } &&
17837 { ac_try='test -s conftest.$ac_objext'
17838 { (case "(($ac_try" in
17839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17840 *) ac_try_echo=$ac_try;;
17842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17843 (eval "$ac_try") 2>&5
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); }; }; then
17849 echo "$as_me: failed program was:" >&5
17850 sed 's/^/| /' conftest.$ac_ext >&5
17856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17860 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17861 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17863 if test "$wx_cv_nocygwin" = "yes"; then
17866 doesnt_want_win32=1
17869 if test "$wants_win32" = 1 ; then
17870 BAKEFILE_FORCE_PLATFORM=win32
17878 if test "$wxUSE_WINE" = "yes"; then
17880 LDFLAGS_GUI="-mwindows"
17883 if test "$wants_win32" = 1 ; then
17886 cat >>confdefs.h <<\_ACEOF
17887 #define __WIN32__ 1
17890 cat >>confdefs.h <<\_ACEOF
17891 #define __WIN95__ 1
17894 cat >>confdefs.h <<\_ACEOF
17895 #define __WINDOWS__ 1
17898 cat >>confdefs.h <<\_ACEOF
17899 #define __GNUWIN32__ 1
17902 cat >>confdefs.h <<\_ACEOF
17907 if test "$doesnt_want_win32" = 1 ; then
17912 if test "$USE_UNIX" = 1 ; then
17914 cat >>confdefs.h <<\_ACEOF
17921 *-pc-os2_emx | *-pc-os2-emx )
17922 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17923 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17924 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17925 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17926 echo $ECHO_N "(cached) $ECHO_C" >&6
17928 ac_check_lib_save_LIBS=$LIBS
17929 LIBS="-lcExt $LIBS"
17930 cat >conftest.$ac_ext <<_ACEOF
17933 cat confdefs.h >>conftest.$ac_ext
17934 cat >>conftest.$ac_ext <<_ACEOF
17935 /* end confdefs.h. */
17937 /* Override any GCC internal prototype to avoid an error.
17938 Use char because int might match the return type of a GCC
17939 builtin and then its argument prototype would still apply. */
17952 rm -f conftest.$ac_objext conftest$ac_exeext
17953 if { (ac_try="$ac_link"
17954 case "(($ac_try" in
17955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17956 *) ac_try_echo=$ac_try;;
17958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17959 (eval "$ac_link") 2>conftest.er1
17961 grep -v '^ *+' conftest.er1 >conftest.err
17963 cat conftest.err >&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); } &&
17966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17967 { (case "(($ac_try" in
17968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17969 *) ac_try_echo=$ac_try;;
17971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17972 (eval "$ac_try") 2>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); }; } &&
17976 { ac_try='test -s conftest$ac_exeext'
17977 { (case "(($ac_try" in
17978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17979 *) ac_try_echo=$ac_try;;
17981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17982 (eval "$ac_try") 2>&5
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; }; then
17986 ac_cv_lib_cExt_drand48=yes
17988 echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.$ac_ext >&5
17991 ac_cv_lib_cExt_drand48=no
17994 rm -f core conftest.err conftest.$ac_objext \
17995 conftest$ac_exeext conftest.$ac_ext
17996 LIBS=$ac_check_lib_save_LIBS
17998 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17999 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18000 if test $ac_cv_lib_cExt_drand48 = yes; then
18001 LIBS="$LIBS -lcExt"
18005 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18007 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18008 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18009 if test "${wx_cv_gccversion+set}" = set; then
18010 echo $ECHO_N "(cached) $ECHO_C" >&6
18013 if test "$cross_compiling" = yes; then
18014 wx_cv_gccversion="EMX2"
18017 cat >conftest.$ac_ext <<_ACEOF
18020 cat confdefs.h >>conftest.$ac_ext
18021 cat >>conftest.$ac_ext <<_ACEOF
18022 /* end confdefs.h. */
18028 FILE *f=fopen("conftestval", "w");
18033 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18035 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18045 rm -f conftest$ac_exeext
18046 if { (ac_try="$ac_link"
18047 case "(($ac_try" in
18048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18049 *) ac_try_echo=$ac_try;;
18051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18052 (eval "$ac_link") 2>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18056 { (case "(($ac_try" in
18057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18058 *) ac_try_echo=$ac_try;;
18060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18061 (eval "$ac_try") 2>&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); }; }; then
18065 wx_cv_gccversion=`cat conftestval`
18067 echo "$as_me: program exited with status $ac_status" >&5
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.$ac_ext >&5
18071 ( exit $ac_status )
18072 wx_cv_gccversion="EMX2"
18074 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18080 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18081 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18082 if test "$wx_cv_gccversion" = "EMX2"; then
18083 LIBS="$LIBS -lstdcpp"
18084 LDFLAGS="$LDFLAGS -Zsysv-signals"
18086 if test "$wx_cv_gccversion" = "EMX3"; then
18087 LIBS="$LIBS -lstdcxx -lgcc"
18088 LDFLAGS="$LDFLAGS -Zsysv-signals"
18090 LIBS="$LIBS -lstdc++"
18093 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18094 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18095 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18102 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18103 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18104 if test "${ac_cv_string_strcasecmp+set}" = set; then
18105 echo $ECHO_N "(cached) $ECHO_C" >&6
18108 cat >conftest.$ac_ext <<_ACEOF
18111 cat confdefs.h >>conftest.$ac_ext
18112 cat >>conftest.$ac_ext <<_ACEOF
18113 /* end confdefs.h. */
18115 #include <string.h>
18121 strcasecmp("foo", "bar");
18127 rm -f conftest.$ac_objext conftest$ac_exeext
18128 if { (ac_try="$ac_link"
18129 case "(($ac_try" in
18130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18131 *) ac_try_echo=$ac_try;;
18133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18134 (eval "$ac_link") 2>conftest.er1
18136 grep -v '^ *+' conftest.er1 >conftest.err
18138 cat conftest.err >&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); } &&
18141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18142 { (case "(($ac_try" in
18143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18144 *) ac_try_echo=$ac_try;;
18146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18147 (eval "$ac_try") 2>&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); }; } &&
18151 { ac_try='test -s conftest$ac_exeext'
18152 { (case "(($ac_try" in
18153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18154 *) ac_try_echo=$ac_try;;
18156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18157 (eval "$ac_try") 2>&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; }; then
18161 ac_cv_string_strcasecmp=yes
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.$ac_ext >&5
18166 ac_cv_string_strcasecmp=no
18170 rm -f core conftest.err conftest.$ac_objext \
18171 conftest$ac_exeext conftest.$ac_ext
18174 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18175 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18177 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18178 cat >>confdefs.h <<\_ACEOF
18179 #define HAVE_STRCASECMP_IN_STRING_H 1
18183 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18184 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18185 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18186 echo $ECHO_N "(cached) $ECHO_C" >&6
18189 cat >conftest.$ac_ext <<_ACEOF
18192 cat confdefs.h >>conftest.$ac_ext
18193 cat >>conftest.$ac_ext <<_ACEOF
18194 /* end confdefs.h. */
18196 #include <strings.h>
18202 strcasecmp("foo", "bar");
18208 rm -f conftest.$ac_objext conftest$ac_exeext
18209 if { (ac_try="$ac_link"
18210 case "(($ac_try" in
18211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18212 *) ac_try_echo=$ac_try;;
18214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18215 (eval "$ac_link") 2>conftest.er1
18217 grep -v '^ *+' conftest.er1 >conftest.err
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18223 { (case "(($ac_try" in
18224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18225 *) ac_try_echo=$ac_try;;
18227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18228 (eval "$ac_try") 2>&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; } &&
18232 { ac_try='test -s conftest$ac_exeext'
18233 { (case "(($ac_try" in
18234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18235 *) ac_try_echo=$ac_try;;
18237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18238 (eval "$ac_try") 2>&5
18240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18241 (exit $ac_status); }; }; then
18242 ac_cv_strings_strcasecmp=yes
18244 echo "$as_me: failed program was:" >&5
18245 sed 's/^/| /' conftest.$ac_ext >&5
18247 ac_cv_strings_strcasecmp=no
18251 rm -f core conftest.err conftest.$ac_objext \
18252 conftest$ac_exeext conftest.$ac_ext
18255 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18256 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18258 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18259 cat >>confdefs.h <<\_ACEOF
18260 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18264 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18265 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18266 { (exit 1); exit 1; }; }
18274 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18275 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18276 if test "${ac_cv_header_stdc+set}" = set; then
18277 echo $ECHO_N "(cached) $ECHO_C" >&6
18279 cat >conftest.$ac_ext <<_ACEOF
18282 cat confdefs.h >>conftest.$ac_ext
18283 cat >>conftest.$ac_ext <<_ACEOF
18284 /* end confdefs.h. */
18285 #include <stdlib.h>
18286 #include <stdarg.h>
18287 #include <string.h>
18298 rm -f conftest.$ac_objext
18299 if { (ac_try="$ac_compile"
18300 case "(($ac_try" in
18301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18302 *) ac_try_echo=$ac_try;;
18304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18305 (eval "$ac_compile") 2>conftest.er1
18307 grep -v '^ *+' conftest.er1 >conftest.err
18309 cat conftest.err >&5
18310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); } &&
18312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18313 { (case "(($ac_try" in
18314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18315 *) ac_try_echo=$ac_try;;
18317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18318 (eval "$ac_try") 2>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; } &&
18322 { ac_try='test -s conftest.$ac_objext'
18323 { (case "(($ac_try" in
18324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18325 *) ac_try_echo=$ac_try;;
18327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18328 (eval "$ac_try") 2>&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); }; }; then
18332 ac_cv_header_stdc=yes
18334 echo "$as_me: failed program was:" >&5
18335 sed 's/^/| /' conftest.$ac_ext >&5
18337 ac_cv_header_stdc=no
18340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18342 if test $ac_cv_header_stdc = yes; then
18343 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18344 cat >conftest.$ac_ext <<_ACEOF
18347 cat confdefs.h >>conftest.$ac_ext
18348 cat >>conftest.$ac_ext <<_ACEOF
18349 /* end confdefs.h. */
18350 #include <string.h>
18353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18354 $EGREP "memchr" >/dev/null 2>&1; then
18357 ac_cv_header_stdc=no
18363 if test $ac_cv_header_stdc = yes; then
18364 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18365 cat >conftest.$ac_ext <<_ACEOF
18368 cat confdefs.h >>conftest.$ac_ext
18369 cat >>conftest.$ac_ext <<_ACEOF
18370 /* end confdefs.h. */
18371 #include <stdlib.h>
18374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18375 $EGREP "free" >/dev/null 2>&1; then
18378 ac_cv_header_stdc=no
18384 if test $ac_cv_header_stdc = yes; then
18385 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18386 if test "$cross_compiling" = yes; then
18389 cat >conftest.$ac_ext <<_ACEOF
18392 cat confdefs.h >>conftest.$ac_ext
18393 cat >>conftest.$ac_ext <<_ACEOF
18394 /* end confdefs.h. */
18396 #include <stdlib.h>
18397 #if ((' ' & 0x0FF) == 0x020)
18398 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18399 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18401 # define ISLOWER(c) \
18402 (('a' <= (c) && (c) <= 'i') \
18403 || ('j' <= (c) && (c) <= 'r') \
18404 || ('s' <= (c) && (c) <= 'z'))
18405 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18408 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18413 for (i = 0; i < 256; i++)
18414 if (XOR (islower (i), ISLOWER (i))
18415 || toupper (i) != TOUPPER (i))
18420 rm -f conftest$ac_exeext
18421 if { (ac_try="$ac_link"
18422 case "(($ac_try" in
18423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18424 *) ac_try_echo=$ac_try;;
18426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18427 (eval "$ac_link") 2>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18431 { (case "(($ac_try" in
18432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18433 *) ac_try_echo=$ac_try;;
18435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18436 (eval "$ac_try") 2>&5
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); }; }; then
18442 echo "$as_me: program exited with status $ac_status" >&5
18443 echo "$as_me: failed program was:" >&5
18444 sed 's/^/| /' conftest.$ac_ext >&5
18446 ( exit $ac_status )
18447 ac_cv_header_stdc=no
18449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18455 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18456 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18457 if test $ac_cv_header_stdc = yes; then
18459 cat >>confdefs.h <<\_ACEOF
18460 #define STDC_HEADERS 1
18465 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18475 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18476 inttypes.h stdint.h unistd.h
18478 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18479 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18481 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18482 echo $ECHO_N "(cached) $ECHO_C" >&6
18484 cat >conftest.$ac_ext <<_ACEOF
18487 cat confdefs.h >>conftest.$ac_ext
18488 cat >>conftest.$ac_ext <<_ACEOF
18489 /* end confdefs.h. */
18490 $ac_includes_default
18492 #include <$ac_header>
18494 rm -f conftest.$ac_objext
18495 if { (ac_try="$ac_compile"
18496 case "(($ac_try" in
18497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18498 *) ac_try_echo=$ac_try;;
18500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18501 (eval "$ac_compile") 2>conftest.er1
18503 grep -v '^ *+' conftest.er1 >conftest.err
18505 cat conftest.err >&5
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); } &&
18508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18509 { (case "(($ac_try" in
18510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18511 *) ac_try_echo=$ac_try;;
18513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18514 (eval "$ac_try") 2>&5
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); }; } &&
18518 { ac_try='test -s conftest.$ac_objext'
18519 { (case "(($ac_try" in
18520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18521 *) ac_try_echo=$ac_try;;
18523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18524 (eval "$ac_try") 2>&5
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; }; then
18528 eval "$as_ac_Header=yes"
18530 echo "$as_me: failed program was:" >&5
18531 sed 's/^/| /' conftest.$ac_ext >&5
18533 eval "$as_ac_Header=no"
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18538 ac_res=`eval echo '${'$as_ac_Header'}'`
18539 { echo "$as_me:$LINENO: result: $ac_res" >&5
18540 echo "${ECHO_T}$ac_res" >&6; }
18541 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18542 cat >>confdefs.h <<_ACEOF
18543 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18557 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
18559 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18560 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18562 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18563 echo $ECHO_N "(cached) $ECHO_C" >&6
18565 cat >conftest.$ac_ext <<_ACEOF
18568 cat confdefs.h >>conftest.$ac_ext
18569 cat >>conftest.$ac_ext <<_ACEOF
18570 /* end confdefs.h. */
18571 $ac_includes_default
18573 #include <$ac_header>
18575 rm -f conftest.$ac_objext
18576 if { (ac_try="$ac_compile"
18577 case "(($ac_try" in
18578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18579 *) ac_try_echo=$ac_try;;
18581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18582 (eval "$ac_compile") 2>conftest.er1
18584 grep -v '^ *+' conftest.er1 >conftest.err
18586 cat conftest.err >&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); } &&
18589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18590 { (case "(($ac_try" in
18591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18592 *) ac_try_echo=$ac_try;;
18594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18595 (eval "$ac_try") 2>&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; } &&
18599 { ac_try='test -s conftest.$ac_objext'
18600 { (case "(($ac_try" in
18601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18602 *) ac_try_echo=$ac_try;;
18604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18605 (eval "$ac_try") 2>&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; }; then
18609 eval "$as_ac_Header=yes"
18611 echo "$as_me: failed program was:" >&5
18612 sed 's/^/| /' conftest.$ac_ext >&5
18614 eval "$as_ac_Header=no"
18617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18619 ac_res=`eval echo '${'$as_ac_Header'}'`
18620 { echo "$as_me:$LINENO: result: $ac_res" >&5
18621 echo "${ECHO_T}$ac_res" >&6; }
18622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18623 cat >>confdefs.h <<_ACEOF
18624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18632 if test "$ac_cv_header_wchar_h" != "yes"; then
18633 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
18634 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
18635 if test "${ac_cv_header_wcstr_h+set}" = set; then
18636 echo $ECHO_N "(cached) $ECHO_C" >&6
18638 cat >conftest.$ac_ext <<_ACEOF
18641 cat confdefs.h >>conftest.$ac_ext
18642 cat >>conftest.$ac_ext <<_ACEOF
18643 /* end confdefs.h. */
18644 $ac_includes_default
18648 rm -f conftest.$ac_objext
18649 if { (ac_try="$ac_compile"
18650 case "(($ac_try" in
18651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18652 *) ac_try_echo=$ac_try;;
18654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18655 (eval "$ac_compile") 2>conftest.er1
18657 grep -v '^ *+' conftest.er1 >conftest.err
18659 cat conftest.err >&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } &&
18662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18663 { (case "(($ac_try" in
18664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18665 *) ac_try_echo=$ac_try;;
18667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18668 (eval "$ac_try") 2>&5
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); }; } &&
18672 { ac_try='test -s conftest.$ac_objext'
18673 { (case "(($ac_try" in
18674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18675 *) ac_try_echo=$ac_try;;
18677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18678 (eval "$ac_try") 2>&5
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; }; then
18682 ac_cv_header_wcstr_h=yes
18684 echo "$as_me: failed program was:" >&5
18685 sed 's/^/| /' conftest.$ac_ext >&5
18687 ac_cv_header_wcstr_h=no
18690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18692 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
18693 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18699 *-pc-os2_emx | *-pc-os2-emx )
18700 if test $ac_cv_header_langinfo_h = "yes" \
18701 -a \( "$wx_cv_gccversion" = "EMX2" \
18702 -o "$wx_cv_gccversion" = "EMX3" \
18703 -o "$wx_cv_gccversion" = "Innotek5" \); then
18704 LIBS="$LIBS -lintl"
18709 if test "$USE_UNIX" = 1 ; then
18710 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
18711 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
18712 if test "${ac_cv_header_sys_select_h+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18715 cat >conftest.$ac_ext <<_ACEOF
18718 cat confdefs.h >>conftest.$ac_ext
18719 cat >>conftest.$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 $ac_includes_default
18723 #include <sys/select.h>
18725 rm -f conftest.$ac_objext
18726 if { (ac_try="$ac_compile"
18727 case "(($ac_try" in
18728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18729 *) ac_try_echo=$ac_try;;
18731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18732 (eval "$ac_compile") 2>conftest.er1
18734 grep -v '^ *+' conftest.er1 >conftest.err
18736 cat conftest.err >&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); } &&
18739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18740 { (case "(($ac_try" in
18741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18742 *) ac_try_echo=$ac_try;;
18744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18745 (eval "$ac_try") 2>&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); }; } &&
18749 { ac_try='test -s conftest.$ac_objext'
18750 { (case "(($ac_try" in
18751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18752 *) ac_try_echo=$ac_try;;
18754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18755 (eval "$ac_try") 2>&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); }; }; then
18759 ac_cv_header_sys_select_h=yes
18761 echo "$as_me: failed program was:" >&5
18762 sed 's/^/| /' conftest.$ac_ext >&5
18764 ac_cv_header_sys_select_h=no
18767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18769 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18770 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18776 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18777 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18778 if test "${ac_cv_c_const+set}" = set; then
18779 echo $ECHO_N "(cached) $ECHO_C" >&6
18781 cat >conftest.$ac_ext <<_ACEOF
18784 cat confdefs.h >>conftest.$ac_ext
18785 cat >>conftest.$ac_ext <<_ACEOF
18786 /* end confdefs.h. */
18791 /* FIXME: Include the comments suggested by Paul. */
18792 #ifndef __cplusplus
18793 /* Ultrix mips cc rejects this. */
18794 typedef int charset[2];
18796 /* SunOS 4.1.1 cc rejects this. */
18797 char const *const *ccp;
18799 /* NEC SVR4.0.2 mips cc rejects this. */
18800 struct point {int x, y;};
18801 static struct point const zero = {0,0};
18802 /* AIX XL C 1.02.0.0 rejects this.
18803 It does not let you subtract one const X* pointer from another in
18804 an arm of an if-expression whose if-part is not a constant
18806 const char *g = "string";
18807 ccp = &g + (g ? g-g : 0);
18808 /* HPUX 7.0 cc rejects these. */
18811 ccp = (char const *const *) p;
18812 { /* SCO 3.2v4 cc rejects this. */
18814 char const *s = 0 ? (char *) 0 : (char const *) 0;
18819 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18820 int x[] = {25, 17};
18821 const int *foo = &x[0];
18824 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18825 typedef const int *iptr;
18829 { /* AIX XL C 1.02.0.0 rejects this saying
18830 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18831 struct s { int j; const int *ap[3]; };
18832 struct s *b; b->j = 5;
18834 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18835 const int foo = 10;
18836 if (!foo) return 0;
18838 return !x[0] && !zero.x;
18845 rm -f conftest.$ac_objext
18846 if { (ac_try="$ac_compile"
18847 case "(($ac_try" in
18848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18849 *) ac_try_echo=$ac_try;;
18851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18852 (eval "$ac_compile") 2>conftest.er1
18854 grep -v '^ *+' conftest.er1 >conftest.err
18856 cat conftest.err >&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } &&
18859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18860 { (case "(($ac_try" in
18861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18862 *) ac_try_echo=$ac_try;;
18864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18865 (eval "$ac_try") 2>&5
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; } &&
18869 { ac_try='test -s conftest.$ac_objext'
18870 { (case "(($ac_try" in
18871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18872 *) ac_try_echo=$ac_try;;
18874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18875 (eval "$ac_try") 2>&5
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); }; }; then
18881 echo "$as_me: failed program was:" >&5
18882 sed 's/^/| /' conftest.$ac_ext >&5
18887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18889 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18890 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18891 if test $ac_cv_c_const = no; then
18893 cat >>confdefs.h <<\_ACEOF
18899 { echo "$as_me:$LINENO: checking for inline" >&5
18900 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18901 if test "${ac_cv_c_inline+set}" = set; then
18902 echo $ECHO_N "(cached) $ECHO_C" >&6
18905 for ac_kw in inline __inline__ __inline; do
18906 cat >conftest.$ac_ext <<_ACEOF
18909 cat confdefs.h >>conftest.$ac_ext
18910 cat >>conftest.$ac_ext <<_ACEOF
18911 /* end confdefs.h. */
18912 #ifndef __cplusplus
18914 static $ac_kw foo_t static_foo () {return 0; }
18915 $ac_kw foo_t foo () {return 0; }
18919 rm -f conftest.$ac_objext
18920 if { (ac_try="$ac_compile"
18921 case "(($ac_try" in
18922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18923 *) ac_try_echo=$ac_try;;
18925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18926 (eval "$ac_compile") 2>conftest.er1
18928 grep -v '^ *+' conftest.er1 >conftest.err
18930 cat conftest.err >&5
18931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932 (exit $ac_status); } &&
18933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18934 { (case "(($ac_try" in
18935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18936 *) ac_try_echo=$ac_try;;
18938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18939 (eval "$ac_try") 2>&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; } &&
18943 { ac_try='test -s conftest.$ac_objext'
18944 { (case "(($ac_try" in
18945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18946 *) ac_try_echo=$ac_try;;
18948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18949 (eval "$ac_try") 2>&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); }; }; then
18953 ac_cv_c_inline=$ac_kw
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.$ac_ext >&5
18961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18962 test "$ac_cv_c_inline" != no && break
18966 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18967 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18970 case $ac_cv_c_inline in
18973 case $ac_cv_c_inline in
18975 *) ac_val=$ac_cv_c_inline;;
18977 cat >>confdefs.h <<_ACEOF
18978 #ifndef __cplusplus
18979 #define inline $ac_val
18986 { echo "$as_me:$LINENO: checking for short" >&5
18987 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18988 if test "${ac_cv_type_short+set}" = set; then
18989 echo $ECHO_N "(cached) $ECHO_C" >&6
18991 cat >conftest.$ac_ext <<_ACEOF
18994 cat confdefs.h >>conftest.$ac_ext
18995 cat >>conftest.$ac_ext <<_ACEOF
18996 /* end confdefs.h. */
18997 $ac_includes_default
18998 typedef short ac__type_new_;
19002 if ((ac__type_new_ *) 0)
19004 if (sizeof (ac__type_new_))
19010 rm -f conftest.$ac_objext
19011 if { (ac_try="$ac_compile"
19012 case "(($ac_try" in
19013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19014 *) ac_try_echo=$ac_try;;
19016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19017 (eval "$ac_compile") 2>conftest.er1
19019 grep -v '^ *+' conftest.er1 >conftest.err
19021 cat conftest.err >&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); } &&
19024 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19025 { (case "(($ac_try" in
19026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19027 *) ac_try_echo=$ac_try;;
19029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19030 (eval "$ac_try") 2>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; } &&
19034 { ac_try='test -s conftest.$ac_objext'
19035 { (case "(($ac_try" in
19036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19037 *) ac_try_echo=$ac_try;;
19039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19040 (eval "$ac_try") 2>&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); }; }; then
19044 ac_cv_type_short=yes
19046 echo "$as_me: failed program was:" >&5
19047 sed 's/^/| /' conftest.$ac_ext >&5
19049 ac_cv_type_short=no
19052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19054 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19055 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19057 { echo "$as_me:$LINENO: checking size of short" >&5
19058 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19059 if test "${ac_cv_sizeof_short+set}" = set; then
19060 echo $ECHO_N "(cached) $ECHO_C" >&6
19062 if test "$ac_cv_type_short" = yes; then
19063 # The cast to long int works around a bug in the HP C Compiler
19064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19066 # This bug is HP SR number 8606223364.
19067 if test "$cross_compiling" = yes; then
19068 # Depending upon the size, compute the lo and hi bounds.
19069 cat >conftest.$ac_ext <<_ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19075 $ac_includes_default
19076 typedef short ac__type_sizeof_;
19080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19087 rm -f conftest.$ac_objext
19088 if { (ac_try="$ac_compile"
19089 case "(($ac_try" in
19090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19091 *) ac_try_echo=$ac_try;;
19093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19094 (eval "$ac_compile") 2>conftest.er1
19096 grep -v '^ *+' conftest.er1 >conftest.err
19098 cat conftest.err >&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19102 { (case "(($ac_try" in
19103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19104 *) ac_try_echo=$ac_try;;
19106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19107 (eval "$ac_try") 2>&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; } &&
19111 { ac_try='test -s conftest.$ac_objext'
19112 { (case "(($ac_try" in
19113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19114 *) ac_try_echo=$ac_try;;
19116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19117 (eval "$ac_try") 2>&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); }; }; then
19123 cat >conftest.$ac_ext <<_ACEOF
19126 cat confdefs.h >>conftest.$ac_ext
19127 cat >>conftest.$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19129 $ac_includes_default
19130 typedef short ac__type_sizeof_;
19134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19141 rm -f conftest.$ac_objext
19142 if { (ac_try="$ac_compile"
19143 case "(($ac_try" in
19144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19145 *) ac_try_echo=$ac_try;;
19147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19148 (eval "$ac_compile") 2>conftest.er1
19150 grep -v '^ *+' conftest.er1 >conftest.err
19152 cat conftest.err >&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); } &&
19155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19156 { (case "(($ac_try" in
19157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19158 *) ac_try_echo=$ac_try;;
19160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19161 (eval "$ac_try") 2>&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); }; } &&
19165 { ac_try='test -s conftest.$ac_objext'
19166 { (case "(($ac_try" in
19167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19168 *) ac_try_echo=$ac_try;;
19170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19171 (eval "$ac_try") 2>&5
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); }; }; then
19175 ac_hi=$ac_mid; break
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.$ac_ext >&5
19180 ac_lo=`expr $ac_mid + 1`
19181 if test $ac_lo -le $ac_mid; then
19185 ac_mid=`expr 2 '*' $ac_mid + 1`
19188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19191 echo "$as_me: failed program was:" >&5
19192 sed 's/^/| /' conftest.$ac_ext >&5
19194 cat >conftest.$ac_ext <<_ACEOF
19197 cat confdefs.h >>conftest.$ac_ext
19198 cat >>conftest.$ac_ext <<_ACEOF
19199 /* end confdefs.h. */
19200 $ac_includes_default
19201 typedef short ac__type_sizeof_;
19205 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19212 rm -f conftest.$ac_objext
19213 if { (ac_try="$ac_compile"
19214 case "(($ac_try" in
19215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19216 *) ac_try_echo=$ac_try;;
19218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19219 (eval "$ac_compile") 2>conftest.er1
19221 grep -v '^ *+' conftest.er1 >conftest.err
19223 cat conftest.err >&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); } &&
19226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19227 { (case "(($ac_try" in
19228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19229 *) ac_try_echo=$ac_try;;
19231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19232 (eval "$ac_try") 2>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; } &&
19236 { ac_try='test -s conftest.$ac_objext'
19237 { (case "(($ac_try" in
19238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19239 *) ac_try_echo=$ac_try;;
19241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19242 (eval "$ac_try") 2>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; }; then
19248 cat >conftest.$ac_ext <<_ACEOF
19251 cat confdefs.h >>conftest.$ac_ext
19252 cat >>conftest.$ac_ext <<_ACEOF
19253 /* end confdefs.h. */
19254 $ac_includes_default
19255 typedef short ac__type_sizeof_;
19259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19266 rm -f conftest.$ac_objext
19267 if { (ac_try="$ac_compile"
19268 case "(($ac_try" in
19269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19270 *) ac_try_echo=$ac_try;;
19272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19273 (eval "$ac_compile") 2>conftest.er1
19275 grep -v '^ *+' conftest.er1 >conftest.err
19277 cat conftest.err >&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); } &&
19280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19281 { (case "(($ac_try" in
19282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19283 *) ac_try_echo=$ac_try;;
19285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19286 (eval "$ac_try") 2>&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); }; } &&
19290 { ac_try='test -s conftest.$ac_objext'
19291 { (case "(($ac_try" in
19292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19293 *) ac_try_echo=$ac_try;;
19295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_try") 2>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); }; }; then
19300 ac_lo=$ac_mid; break
19302 echo "$as_me: failed program was:" >&5
19303 sed 's/^/| /' conftest.$ac_ext >&5
19305 ac_hi=`expr '(' $ac_mid ')' - 1`
19306 if test $ac_mid -le $ac_hi; then
19310 ac_mid=`expr 2 '*' $ac_mid`
19313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19316 echo "$as_me: failed program was:" >&5
19317 sed 's/^/| /' conftest.$ac_ext >&5
19322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19326 # Binary search between lo and hi bounds.
19327 while test "x$ac_lo" != "x$ac_hi"; do
19328 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19329 cat >conftest.$ac_ext <<_ACEOF
19332 cat confdefs.h >>conftest.$ac_ext
19333 cat >>conftest.$ac_ext <<_ACEOF
19334 /* end confdefs.h. */
19335 $ac_includes_default
19336 typedef short ac__type_sizeof_;
19340 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19347 rm -f conftest.$ac_objext
19348 if { (ac_try="$ac_compile"
19349 case "(($ac_try" in
19350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19351 *) ac_try_echo=$ac_try;;
19353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19354 (eval "$ac_compile") 2>conftest.er1
19356 grep -v '^ *+' conftest.er1 >conftest.err
19358 cat conftest.err >&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19362 { (case "(($ac_try" in
19363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19364 *) ac_try_echo=$ac_try;;
19366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19367 (eval "$ac_try") 2>&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; } &&
19371 { ac_try='test -s conftest.$ac_objext'
19372 { (case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_try") 2>&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; }; then
19383 echo "$as_me: failed program was:" >&5
19384 sed 's/^/| /' conftest.$ac_ext >&5
19386 ac_lo=`expr '(' $ac_mid ')' + 1`
19389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19392 ?*) ac_cv_sizeof_short=$ac_lo;;
19393 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19394 See \`config.log' for more details." >&5
19395 echo "$as_me: error: cannot compute sizeof (short)
19396 See \`config.log' for more details." >&2;}
19397 { (exit 77); exit 77; }; } ;;
19400 cat >conftest.$ac_ext <<_ACEOF
19403 cat confdefs.h >>conftest.$ac_ext
19404 cat >>conftest.$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19406 $ac_includes_default
19407 typedef short ac__type_sizeof_;
19408 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19409 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19411 #include <stdlib.h>
19416 FILE *f = fopen ("conftest.val", "w");
19419 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19421 long int i = longval ();
19422 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19424 fprintf (f, "%ld\n", i);
19428 unsigned long int i = ulongval ();
19429 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19431 fprintf (f, "%lu\n", i);
19433 return ferror (f) || fclose (f) != 0;
19439 rm -f conftest$ac_exeext
19440 if { (ac_try="$ac_link"
19441 case "(($ac_try" in
19442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19443 *) ac_try_echo=$ac_try;;
19445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19446 (eval "$ac_link") 2>&5
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19450 { (case "(($ac_try" in
19451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19452 *) ac_try_echo=$ac_try;;
19454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19455 (eval "$ac_try") 2>&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); }; }; then
19459 ac_cv_sizeof_short=`cat conftest.val`
19461 echo "$as_me: program exited with status $ac_status" >&5
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19465 ( exit $ac_status )
19466 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19467 See \`config.log' for more details." >&5
19468 echo "$as_me: error: cannot compute sizeof (short)
19469 See \`config.log' for more details." >&2;}
19470 { (exit 77); exit 77; }; }
19472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19476 ac_cv_sizeof_short=0
19479 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19480 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19481 cat >>confdefs.h <<_ACEOF
19482 #define SIZEOF_SHORT $ac_cv_sizeof_short
19486 { echo "$as_me:$LINENO: checking for void *" >&5
19487 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19488 if test "${ac_cv_type_void_p+set}" = set; then
19489 echo $ECHO_N "(cached) $ECHO_C" >&6
19491 cat >conftest.$ac_ext <<_ACEOF
19494 cat confdefs.h >>conftest.$ac_ext
19495 cat >>conftest.$ac_ext <<_ACEOF
19496 /* end confdefs.h. */
19497 $ac_includes_default
19498 typedef void * ac__type_new_;
19502 if ((ac__type_new_ *) 0)
19504 if (sizeof (ac__type_new_))
19510 rm -f conftest.$ac_objext
19511 if { (ac_try="$ac_compile"
19512 case "(($ac_try" in
19513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19514 *) ac_try_echo=$ac_try;;
19516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19517 (eval "$ac_compile") 2>conftest.er1
19519 grep -v '^ *+' conftest.er1 >conftest.err
19521 cat conftest.err >&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } &&
19524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19525 { (case "(($ac_try" in
19526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19527 *) ac_try_echo=$ac_try;;
19529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19530 (eval "$ac_try") 2>&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; } &&
19534 { ac_try='test -s conftest.$ac_objext'
19535 { (case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_try") 2>&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; }; then
19544 ac_cv_type_void_p=yes
19546 echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.$ac_ext >&5
19549 ac_cv_type_void_p=no
19552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19554 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19555 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19557 { echo "$as_me:$LINENO: checking size of void *" >&5
19558 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19559 if test "${ac_cv_sizeof_void_p+set}" = set; then
19560 echo $ECHO_N "(cached) $ECHO_C" >&6
19562 if test "$ac_cv_type_void_p" = yes; then
19563 # The cast to long int works around a bug in the HP C Compiler
19564 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19565 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19566 # This bug is HP SR number 8606223364.
19567 if test "$cross_compiling" = yes; then
19568 # Depending upon the size, compute the lo and hi bounds.
19569 cat >conftest.$ac_ext <<_ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 $ac_includes_default
19576 typedef void * ac__type_sizeof_;
19580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19587 rm -f conftest.$ac_objext
19588 if { (ac_try="$ac_compile"
19589 case "(($ac_try" in
19590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19591 *) ac_try_echo=$ac_try;;
19593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19594 (eval "$ac_compile") 2>conftest.er1
19596 grep -v '^ *+' conftest.er1 >conftest.err
19598 cat conftest.err >&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } &&
19601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19602 { (case "(($ac_try" in
19603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19604 *) ac_try_echo=$ac_try;;
19606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19607 (eval "$ac_try") 2>&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; } &&
19611 { ac_try='test -s conftest.$ac_objext'
19612 { (case "(($ac_try" in
19613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19614 *) ac_try_echo=$ac_try;;
19616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19617 (eval "$ac_try") 2>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); }; }; then
19623 cat >conftest.$ac_ext <<_ACEOF
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 $ac_includes_default
19630 typedef void * ac__type_sizeof_;
19634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19641 rm -f conftest.$ac_objext
19642 if { (ac_try="$ac_compile"
19643 case "(($ac_try" in
19644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19645 *) ac_try_echo=$ac_try;;
19647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19648 (eval "$ac_compile") 2>conftest.er1
19650 grep -v '^ *+' conftest.er1 >conftest.err
19652 cat conftest.err >&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); } &&
19655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19656 { (case "(($ac_try" in
19657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19658 *) ac_try_echo=$ac_try;;
19660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19661 (eval "$ac_try") 2>&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); }; } &&
19665 { ac_try='test -s conftest.$ac_objext'
19666 { (case "(($ac_try" in
19667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19668 *) ac_try_echo=$ac_try;;
19670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19671 (eval "$ac_try") 2>&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); }; }; then
19675 ac_hi=$ac_mid; break
19677 echo "$as_me: failed program was:" >&5
19678 sed 's/^/| /' conftest.$ac_ext >&5
19680 ac_lo=`expr $ac_mid + 1`
19681 if test $ac_lo -le $ac_mid; then
19685 ac_mid=`expr 2 '*' $ac_mid + 1`
19688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.$ac_ext >&5
19694 cat >conftest.$ac_ext <<_ACEOF
19697 cat confdefs.h >>conftest.$ac_ext
19698 cat >>conftest.$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19700 $ac_includes_default
19701 typedef void * ac__type_sizeof_;
19705 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19712 rm -f conftest.$ac_objext
19713 if { (ac_try="$ac_compile"
19714 case "(($ac_try" in
19715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19716 *) ac_try_echo=$ac_try;;
19718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19719 (eval "$ac_compile") 2>conftest.er1
19721 grep -v '^ *+' conftest.er1 >conftest.err
19723 cat conftest.err >&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); } &&
19726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19727 { (case "(($ac_try" in
19728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19729 *) ac_try_echo=$ac_try;;
19731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19732 (eval "$ac_try") 2>&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); }; } &&
19736 { ac_try='test -s conftest.$ac_objext'
19737 { (case "(($ac_try" in
19738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19739 *) ac_try_echo=$ac_try;;
19741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19742 (eval "$ac_try") 2>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; }; then
19748 cat >conftest.$ac_ext <<_ACEOF
19751 cat confdefs.h >>conftest.$ac_ext
19752 cat >>conftest.$ac_ext <<_ACEOF
19753 /* end confdefs.h. */
19754 $ac_includes_default
19755 typedef void * ac__type_sizeof_;
19759 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19766 rm -f conftest.$ac_objext
19767 if { (ac_try="$ac_compile"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_compile") 2>conftest.er1
19775 grep -v '^ *+' conftest.er1 >conftest.err
19777 cat conftest.err >&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } &&
19780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19781 { (case "(($ac_try" in
19782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19783 *) ac_try_echo=$ac_try;;
19785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19786 (eval "$ac_try") 2>&5
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); }; } &&
19790 { ac_try='test -s conftest.$ac_objext'
19791 { (case "(($ac_try" in
19792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19793 *) ac_try_echo=$ac_try;;
19795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19796 (eval "$ac_try") 2>&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); }; }; then
19800 ac_lo=$ac_mid; break
19802 echo "$as_me: failed program was:" >&5
19803 sed 's/^/| /' conftest.$ac_ext >&5
19805 ac_hi=`expr '(' $ac_mid ')' - 1`
19806 if test $ac_mid -le $ac_hi; then
19810 ac_mid=`expr 2 '*' $ac_mid`
19813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19816 echo "$as_me: failed program was:" >&5
19817 sed 's/^/| /' conftest.$ac_ext >&5
19822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19826 # Binary search between lo and hi bounds.
19827 while test "x$ac_lo" != "x$ac_hi"; do
19828 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19829 cat >conftest.$ac_ext <<_ACEOF
19832 cat confdefs.h >>conftest.$ac_ext
19833 cat >>conftest.$ac_ext <<_ACEOF
19834 /* end confdefs.h. */
19835 $ac_includes_default
19836 typedef void * ac__type_sizeof_;
19840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19847 rm -f conftest.$ac_objext
19848 if { (ac_try="$ac_compile"
19849 case "(($ac_try" in
19850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19851 *) ac_try_echo=$ac_try;;
19853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19854 (eval "$ac_compile") 2>conftest.er1
19856 grep -v '^ *+' conftest.er1 >conftest.err
19858 cat conftest.err >&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); } &&
19861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19862 { (case "(($ac_try" in
19863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19864 *) ac_try_echo=$ac_try;;
19866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19867 (eval "$ac_try") 2>&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); }; } &&
19871 { ac_try='test -s conftest.$ac_objext'
19872 { (case "(($ac_try" in
19873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19874 *) ac_try_echo=$ac_try;;
19876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19877 (eval "$ac_try") 2>&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); }; }; then
19883 echo "$as_me: failed program was:" >&5
19884 sed 's/^/| /' conftest.$ac_ext >&5
19886 ac_lo=`expr '(' $ac_mid ')' + 1`
19889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19892 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19893 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19894 See \`config.log' for more details." >&5
19895 echo "$as_me: error: cannot compute sizeof (void *)
19896 See \`config.log' for more details." >&2;}
19897 { (exit 77); exit 77; }; } ;;
19900 cat >conftest.$ac_ext <<_ACEOF
19903 cat confdefs.h >>conftest.$ac_ext
19904 cat >>conftest.$ac_ext <<_ACEOF
19905 /* end confdefs.h. */
19906 $ac_includes_default
19907 typedef void * ac__type_sizeof_;
19908 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19909 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19911 #include <stdlib.h>
19916 FILE *f = fopen ("conftest.val", "w");
19919 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19921 long int i = longval ();
19922 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19924 fprintf (f, "%ld\n", i);
19928 unsigned long int i = ulongval ();
19929 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19931 fprintf (f, "%lu\n", i);
19933 return ferror (f) || fclose (f) != 0;
19939 rm -f conftest$ac_exeext
19940 if { (ac_try="$ac_link"
19941 case "(($ac_try" in
19942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19943 *) ac_try_echo=$ac_try;;
19945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19946 (eval "$ac_link") 2>&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19950 { (case "(($ac_try" in
19951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19952 *) ac_try_echo=$ac_try;;
19954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19955 (eval "$ac_try") 2>&5
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); }; }; then
19959 ac_cv_sizeof_void_p=`cat conftest.val`
19961 echo "$as_me: program exited with status $ac_status" >&5
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.$ac_ext >&5
19965 ( exit $ac_status )
19966 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19967 See \`config.log' for more details." >&5
19968 echo "$as_me: error: cannot compute sizeof (void *)
19969 See \`config.log' for more details." >&2;}
19970 { (exit 77); exit 77; }; }
19972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19976 ac_cv_sizeof_void_p=0
19979 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19980 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19981 cat >>confdefs.h <<_ACEOF
19982 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19986 { echo "$as_me:$LINENO: checking for int" >&5
19987 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19988 if test "${ac_cv_type_int+set}" = set; then
19989 echo $ECHO_N "(cached) $ECHO_C" >&6
19991 cat >conftest.$ac_ext <<_ACEOF
19994 cat confdefs.h >>conftest.$ac_ext
19995 cat >>conftest.$ac_ext <<_ACEOF
19996 /* end confdefs.h. */
19997 $ac_includes_default
19998 typedef int ac__type_new_;
20002 if ((ac__type_new_ *) 0)
20004 if (sizeof (ac__type_new_))
20010 rm -f conftest.$ac_objext
20011 if { (ac_try="$ac_compile"
20012 case "(($ac_try" in
20013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20014 *) ac_try_echo=$ac_try;;
20016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20017 (eval "$ac_compile") 2>conftest.er1
20019 grep -v '^ *+' conftest.er1 >conftest.err
20021 cat conftest.err >&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); } &&
20024 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; } &&
20034 { ac_try='test -s conftest.$ac_objext'
20035 { (case "(($ac_try" in
20036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20037 *) ac_try_echo=$ac_try;;
20039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20040 (eval "$ac_try") 2>&5
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; }; then
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.$ac_ext >&5
20052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20054 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20055 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20057 { echo "$as_me:$LINENO: checking size of int" >&5
20058 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20059 if test "${ac_cv_sizeof_int+set}" = set; then
20060 echo $ECHO_N "(cached) $ECHO_C" >&6
20062 if test "$ac_cv_type_int" = yes; then
20063 # The cast to long int works around a bug in the HP C Compiler
20064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20066 # This bug is HP SR number 8606223364.
20067 if test "$cross_compiling" = yes; then
20068 # Depending upon the size, compute the lo and hi bounds.
20069 cat >conftest.$ac_ext <<_ACEOF
20072 cat confdefs.h >>conftest.$ac_ext
20073 cat >>conftest.$ac_ext <<_ACEOF
20074 /* end confdefs.h. */
20075 $ac_includes_default
20076 typedef int ac__type_sizeof_;
20080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20087 rm -f conftest.$ac_objext
20088 if { (ac_try="$ac_compile"
20089 case "(($ac_try" in
20090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20091 *) ac_try_echo=$ac_try;;
20093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20094 (eval "$ac_compile") 2>conftest.er1
20096 grep -v '^ *+' conftest.er1 >conftest.err
20098 cat conftest.err >&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); } &&
20101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20102 { (case "(($ac_try" in
20103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20104 *) ac_try_echo=$ac_try;;
20106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20107 (eval "$ac_try") 2>&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; } &&
20111 { ac_try='test -s conftest.$ac_objext'
20112 { (case "(($ac_try" in
20113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20114 *) ac_try_echo=$ac_try;;
20116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20117 (eval "$ac_try") 2>&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); }; }; then
20123 cat >conftest.$ac_ext <<_ACEOF
20126 cat confdefs.h >>conftest.$ac_ext
20127 cat >>conftest.$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20129 $ac_includes_default
20130 typedef int ac__type_sizeof_;
20134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20141 rm -f conftest.$ac_objext
20142 if { (ac_try="$ac_compile"
20143 case "(($ac_try" in
20144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20145 *) ac_try_echo=$ac_try;;
20147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20148 (eval "$ac_compile") 2>conftest.er1
20150 grep -v '^ *+' conftest.er1 >conftest.err
20152 cat conftest.err >&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); } &&
20155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20156 { (case "(($ac_try" in
20157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20158 *) ac_try_echo=$ac_try;;
20160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20161 (eval "$ac_try") 2>&5
20163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164 (exit $ac_status); }; } &&
20165 { ac_try='test -s conftest.$ac_objext'
20166 { (case "(($ac_try" in
20167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20168 *) ac_try_echo=$ac_try;;
20170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20171 (eval "$ac_try") 2>&5
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); }; }; then
20175 ac_hi=$ac_mid; break
20177 echo "$as_me: failed program was:" >&5
20178 sed 's/^/| /' conftest.$ac_ext >&5
20180 ac_lo=`expr $ac_mid + 1`
20181 if test $ac_lo -le $ac_mid; then
20185 ac_mid=`expr 2 '*' $ac_mid + 1`
20188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20191 echo "$as_me: failed program was:" >&5
20192 sed 's/^/| /' conftest.$ac_ext >&5
20194 cat >conftest.$ac_ext <<_ACEOF
20197 cat confdefs.h >>conftest.$ac_ext
20198 cat >>conftest.$ac_ext <<_ACEOF
20199 /* end confdefs.h. */
20200 $ac_includes_default
20201 typedef int ac__type_sizeof_;
20205 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20212 rm -f conftest.$ac_objext
20213 if { (ac_try="$ac_compile"
20214 case "(($ac_try" in
20215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20216 *) ac_try_echo=$ac_try;;
20218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20219 (eval "$ac_compile") 2>conftest.er1
20221 grep -v '^ *+' conftest.er1 >conftest.err
20223 cat conftest.err >&5
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); } &&
20226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20227 { (case "(($ac_try" in
20228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20229 *) ac_try_echo=$ac_try;;
20231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20232 (eval "$ac_try") 2>&5
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); }; } &&
20236 { ac_try='test -s conftest.$ac_objext'
20237 { (case "(($ac_try" in
20238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20239 *) ac_try_echo=$ac_try;;
20241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20242 (eval "$ac_try") 2>&5
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); }; }; then
20248 cat >conftest.$ac_ext <<_ACEOF
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 $ac_includes_default
20255 typedef int ac__type_sizeof_;
20259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20266 rm -f conftest.$ac_objext
20267 if { (ac_try="$ac_compile"
20268 case "(($ac_try" in
20269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20270 *) ac_try_echo=$ac_try;;
20272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20273 (eval "$ac_compile") 2>conftest.er1
20275 grep -v '^ *+' conftest.er1 >conftest.err
20277 cat conftest.err >&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); } &&
20280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20281 { (case "(($ac_try" in
20282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20283 *) ac_try_echo=$ac_try;;
20285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_try") 2>&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); }; } &&
20290 { ac_try='test -s conftest.$ac_objext'
20291 { (case "(($ac_try" in
20292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20293 *) ac_try_echo=$ac_try;;
20295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20296 (eval "$ac_try") 2>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; }; then
20300 ac_lo=$ac_mid; break
20302 echo "$as_me: failed program was:" >&5
20303 sed 's/^/| /' conftest.$ac_ext >&5
20305 ac_hi=`expr '(' $ac_mid ')' - 1`
20306 if test $ac_mid -le $ac_hi; then
20310 ac_mid=`expr 2 '*' $ac_mid`
20313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20316 echo "$as_me: failed program was:" >&5
20317 sed 's/^/| /' conftest.$ac_ext >&5
20322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20326 # Binary search between lo and hi bounds.
20327 while test "x$ac_lo" != "x$ac_hi"; do
20328 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20329 cat >conftest.$ac_ext <<_ACEOF
20332 cat confdefs.h >>conftest.$ac_ext
20333 cat >>conftest.$ac_ext <<_ACEOF
20334 /* end confdefs.h. */
20335 $ac_includes_default
20336 typedef int ac__type_sizeof_;
20340 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20347 rm -f conftest.$ac_objext
20348 if { (ac_try="$ac_compile"
20349 case "(($ac_try" in
20350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20351 *) ac_try_echo=$ac_try;;
20353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20354 (eval "$ac_compile") 2>conftest.er1
20356 grep -v '^ *+' conftest.er1 >conftest.err
20358 cat conftest.err >&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); } &&
20361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20362 { (case "(($ac_try" in
20363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20364 *) ac_try_echo=$ac_try;;
20366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20367 (eval "$ac_try") 2>&5
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); }; } &&
20371 { ac_try='test -s conftest.$ac_objext'
20372 { (case "(($ac_try" in
20373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20374 *) ac_try_echo=$ac_try;;
20376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20377 (eval "$ac_try") 2>&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); }; }; then
20383 echo "$as_me: failed program was:" >&5
20384 sed 's/^/| /' conftest.$ac_ext >&5
20386 ac_lo=`expr '(' $ac_mid ')' + 1`
20389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20392 ?*) ac_cv_sizeof_int=$ac_lo;;
20393 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20394 See \`config.log' for more details." >&5
20395 echo "$as_me: error: cannot compute sizeof (int)
20396 See \`config.log' for more details." >&2;}
20397 { (exit 77); exit 77; }; } ;;
20400 cat >conftest.$ac_ext <<_ACEOF
20403 cat confdefs.h >>conftest.$ac_ext
20404 cat >>conftest.$ac_ext <<_ACEOF
20405 /* end confdefs.h. */
20406 $ac_includes_default
20407 typedef int ac__type_sizeof_;
20408 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20409 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20411 #include <stdlib.h>
20416 FILE *f = fopen ("conftest.val", "w");
20419 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20421 long int i = longval ();
20422 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20424 fprintf (f, "%ld\n", i);
20428 unsigned long int i = ulongval ();
20429 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20431 fprintf (f, "%lu\n", i);
20433 return ferror (f) || fclose (f) != 0;
20439 rm -f conftest$ac_exeext
20440 if { (ac_try="$ac_link"
20441 case "(($ac_try" in
20442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20443 *) ac_try_echo=$ac_try;;
20445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20446 (eval "$ac_link") 2>&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20450 { (case "(($ac_try" in
20451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20452 *) ac_try_echo=$ac_try;;
20454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20455 (eval "$ac_try") 2>&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); }; }; then
20459 ac_cv_sizeof_int=`cat conftest.val`
20461 echo "$as_me: program exited with status $ac_status" >&5
20462 echo "$as_me: failed program was:" >&5
20463 sed 's/^/| /' conftest.$ac_ext >&5
20465 ( exit $ac_status )
20466 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20467 See \`config.log' for more details." >&5
20468 echo "$as_me: error: cannot compute sizeof (int)
20469 See \`config.log' for more details." >&2;}
20470 { (exit 77); exit 77; }; }
20472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20479 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20480 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20481 cat >>confdefs.h <<_ACEOF
20482 #define SIZEOF_INT $ac_cv_sizeof_int
20486 { echo "$as_me:$LINENO: checking for long" >&5
20487 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20488 if test "${ac_cv_type_long+set}" = set; then
20489 echo $ECHO_N "(cached) $ECHO_C" >&6
20491 cat >conftest.$ac_ext <<_ACEOF
20494 cat confdefs.h >>conftest.$ac_ext
20495 cat >>conftest.$ac_ext <<_ACEOF
20496 /* end confdefs.h. */
20497 $ac_includes_default
20498 typedef long ac__type_new_;
20502 if ((ac__type_new_ *) 0)
20504 if (sizeof (ac__type_new_))
20510 rm -f conftest.$ac_objext
20511 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
20519 grep -v '^ *+' conftest.er1 >conftest.err
20521 cat conftest.err >&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } &&
20524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20525 { (case "(($ac_try" in
20526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20527 *) ac_try_echo=$ac_try;;
20529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20530 (eval "$ac_try") 2>&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); }; } &&
20534 { ac_try='test -s conftest.$ac_objext'
20535 { (case "(($ac_try" in
20536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20537 *) ac_try_echo=$ac_try;;
20539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20540 (eval "$ac_try") 2>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; }; then
20544 ac_cv_type_long=yes
20546 echo "$as_me: failed program was:" >&5
20547 sed 's/^/| /' conftest.$ac_ext >&5
20552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20554 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20555 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20557 { echo "$as_me:$LINENO: checking size of long" >&5
20558 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20559 if test "${ac_cv_sizeof_long+set}" = set; then
20560 echo $ECHO_N "(cached) $ECHO_C" >&6
20562 if test "$ac_cv_type_long" = yes; then
20563 # The cast to long int works around a bug in the HP C Compiler
20564 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20565 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20566 # This bug is HP SR number 8606223364.
20567 if test "$cross_compiling" = yes; then
20568 # Depending upon the size, compute the lo and hi bounds.
20569 cat >conftest.$ac_ext <<_ACEOF
20572 cat confdefs.h >>conftest.$ac_ext
20573 cat >>conftest.$ac_ext <<_ACEOF
20574 /* end confdefs.h. */
20575 $ac_includes_default
20576 typedef long ac__type_sizeof_;
20580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
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 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20602 { (case "(($ac_try" in
20603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20604 *) ac_try_echo=$ac_try;;
20606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20607 (eval "$ac_try") 2>&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); }; } &&
20611 { ac_try='test -s conftest.$ac_objext'
20612 { (case "(($ac_try" in
20613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20614 *) ac_try_echo=$ac_try;;
20616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20617 (eval "$ac_try") 2>&5
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; }; then
20623 cat >conftest.$ac_ext <<_ACEOF
20626 cat confdefs.h >>conftest.$ac_ext
20627 cat >>conftest.$ac_ext <<_ACEOF
20628 /* end confdefs.h. */
20629 $ac_includes_default
20630 typedef long ac__type_sizeof_;
20634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20641 rm -f conftest.$ac_objext
20642 if { (ac_try="$ac_compile"
20643 case "(($ac_try" in
20644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20645 *) ac_try_echo=$ac_try;;
20647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20648 (eval "$ac_compile") 2>conftest.er1
20650 grep -v '^ *+' conftest.er1 >conftest.err
20652 cat conftest.err >&5
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); } &&
20655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20656 { (case "(($ac_try" in
20657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20658 *) ac_try_echo=$ac_try;;
20660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20661 (eval "$ac_try") 2>&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); }; } &&
20665 { ac_try='test -s conftest.$ac_objext'
20666 { (case "(($ac_try" in
20667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20668 *) ac_try_echo=$ac_try;;
20670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20671 (eval "$ac_try") 2>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; }; then
20675 ac_hi=$ac_mid; break
20677 echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20680 ac_lo=`expr $ac_mid + 1`
20681 if test $ac_lo -le $ac_mid; then
20685 ac_mid=`expr 2 '*' $ac_mid + 1`
20688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20691 echo "$as_me: failed program was:" >&5
20692 sed 's/^/| /' conftest.$ac_ext >&5
20694 cat >conftest.$ac_ext <<_ACEOF
20697 cat confdefs.h >>conftest.$ac_ext
20698 cat >>conftest.$ac_ext <<_ACEOF
20699 /* end confdefs.h. */
20700 $ac_includes_default
20701 typedef long ac__type_sizeof_;
20705 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20712 rm -f conftest.$ac_objext
20713 if { (ac_try="$ac_compile"
20714 case "(($ac_try" in
20715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20716 *) ac_try_echo=$ac_try;;
20718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20719 (eval "$ac_compile") 2>conftest.er1
20721 grep -v '^ *+' conftest.er1 >conftest.err
20723 cat conftest.err >&5
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); } &&
20726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20727 { (case "(($ac_try" in
20728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20729 *) ac_try_echo=$ac_try;;
20731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20732 (eval "$ac_try") 2>&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); }; } &&
20736 { ac_try='test -s conftest.$ac_objext'
20737 { (case "(($ac_try" in
20738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20739 *) ac_try_echo=$ac_try;;
20741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20742 (eval "$ac_try") 2>&5
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); }; }; then
20748 cat >conftest.$ac_ext <<_ACEOF
20751 cat confdefs.h >>conftest.$ac_ext
20752 cat >>conftest.$ac_ext <<_ACEOF
20753 /* end confdefs.h. */
20754 $ac_includes_default
20755 typedef long ac__type_sizeof_;
20759 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20766 rm -f conftest.$ac_objext
20767 if { (ac_try="$ac_compile"
20768 case "(($ac_try" in
20769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20770 *) ac_try_echo=$ac_try;;
20772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20773 (eval "$ac_compile") 2>conftest.er1
20775 grep -v '^ *+' conftest.er1 >conftest.err
20777 cat conftest.err >&5
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); } &&
20780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20781 { (case "(($ac_try" in
20782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20783 *) ac_try_echo=$ac_try;;
20785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20786 (eval "$ac_try") 2>&5
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); }; } &&
20790 { ac_try='test -s conftest.$ac_objext'
20791 { (case "(($ac_try" in
20792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20793 *) ac_try_echo=$ac_try;;
20795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20796 (eval "$ac_try") 2>&5
20798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20799 (exit $ac_status); }; }; then
20800 ac_lo=$ac_mid; break
20802 echo "$as_me: failed program was:" >&5
20803 sed 's/^/| /' conftest.$ac_ext >&5
20805 ac_hi=`expr '(' $ac_mid ')' - 1`
20806 if test $ac_mid -le $ac_hi; then
20810 ac_mid=`expr 2 '*' $ac_mid`
20813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20816 echo "$as_me: failed program was:" >&5
20817 sed 's/^/| /' conftest.$ac_ext >&5
20822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20826 # Binary search between lo and hi bounds.
20827 while test "x$ac_lo" != "x$ac_hi"; do
20828 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20829 cat >conftest.$ac_ext <<_ACEOF
20832 cat confdefs.h >>conftest.$ac_ext
20833 cat >>conftest.$ac_ext <<_ACEOF
20834 /* end confdefs.h. */
20835 $ac_includes_default
20836 typedef long ac__type_sizeof_;
20840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20847 rm -f conftest.$ac_objext
20848 if { (ac_try="$ac_compile"
20849 case "(($ac_try" in
20850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20851 *) ac_try_echo=$ac_try;;
20853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20854 (eval "$ac_compile") 2>conftest.er1
20856 grep -v '^ *+' conftest.er1 >conftest.err
20858 cat conftest.err >&5
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); } &&
20861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20862 { (case "(($ac_try" in
20863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20864 *) ac_try_echo=$ac_try;;
20866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20867 (eval "$ac_try") 2>&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); }; } &&
20871 { ac_try='test -s conftest.$ac_objext'
20872 { (case "(($ac_try" in
20873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20874 *) ac_try_echo=$ac_try;;
20876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20877 (eval "$ac_try") 2>&5
20879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880 (exit $ac_status); }; }; then
20883 echo "$as_me: failed program was:" >&5
20884 sed 's/^/| /' conftest.$ac_ext >&5
20886 ac_lo=`expr '(' $ac_mid ')' + 1`
20889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20892 ?*) ac_cv_sizeof_long=$ac_lo;;
20893 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20894 See \`config.log' for more details." >&5
20895 echo "$as_me: error: cannot compute sizeof (long)
20896 See \`config.log' for more details." >&2;}
20897 { (exit 77); exit 77; }; } ;;
20900 cat >conftest.$ac_ext <<_ACEOF
20903 cat confdefs.h >>conftest.$ac_ext
20904 cat >>conftest.$ac_ext <<_ACEOF
20905 /* end confdefs.h. */
20906 $ac_includes_default
20907 typedef long ac__type_sizeof_;
20908 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20909 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20911 #include <stdlib.h>
20916 FILE *f = fopen ("conftest.val", "w");
20919 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20921 long int i = longval ();
20922 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20924 fprintf (f, "%ld\n", i);
20928 unsigned long int i = ulongval ();
20929 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20931 fprintf (f, "%lu\n", i);
20933 return ferror (f) || fclose (f) != 0;
20939 rm -f conftest$ac_exeext
20940 if { (ac_try="$ac_link"
20941 case "(($ac_try" in
20942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20943 *) ac_try_echo=$ac_try;;
20945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20946 (eval "$ac_link") 2>&5
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20950 { (case "(($ac_try" in
20951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20952 *) ac_try_echo=$ac_try;;
20954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20955 (eval "$ac_try") 2>&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); }; }; then
20959 ac_cv_sizeof_long=`cat conftest.val`
20961 echo "$as_me: program exited with status $ac_status" >&5
20962 echo "$as_me: failed program was:" >&5
20963 sed 's/^/| /' conftest.$ac_ext >&5
20965 ( exit $ac_status )
20966 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20967 See \`config.log' for more details." >&5
20968 echo "$as_me: error: cannot compute sizeof (long)
20969 See \`config.log' for more details." >&2;}
20970 { (exit 77); exit 77; }; }
20972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20976 ac_cv_sizeof_long=0
20979 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20980 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20981 cat >>confdefs.h <<_ACEOF
20982 #define SIZEOF_LONG $ac_cv_sizeof_long
20986 { echo "$as_me:$LINENO: checking for size_t" >&5
20987 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20988 if test "${ac_cv_type_size_t+set}" = set; then
20989 echo $ECHO_N "(cached) $ECHO_C" >&6
20991 cat >conftest.$ac_ext <<_ACEOF
20994 cat confdefs.h >>conftest.$ac_ext
20995 cat >>conftest.$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997 $ac_includes_default
20998 typedef size_t ac__type_new_;
21002 if ((ac__type_new_ *) 0)
21004 if (sizeof (ac__type_new_))
21010 rm -f conftest.$ac_objext
21011 if { (ac_try="$ac_compile"
21012 case "(($ac_try" in
21013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21014 *) ac_try_echo=$ac_try;;
21016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21017 (eval "$ac_compile") 2>conftest.er1
21019 grep -v '^ *+' conftest.er1 >conftest.err
21021 cat conftest.err >&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } &&
21024 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21025 { (case "(($ac_try" in
21026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21027 *) ac_try_echo=$ac_try;;
21029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21030 (eval "$ac_try") 2>&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; } &&
21034 { ac_try='test -s conftest.$ac_objext'
21035 { (case "(($ac_try" in
21036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21037 *) ac_try_echo=$ac_try;;
21039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21040 (eval "$ac_try") 2>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; }; then
21044 ac_cv_type_size_t=yes
21046 echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.$ac_ext >&5
21049 ac_cv_type_size_t=no
21052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21054 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21055 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21057 { echo "$as_me:$LINENO: checking size of size_t" >&5
21058 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21059 if test "${ac_cv_sizeof_size_t+set}" = set; then
21060 echo $ECHO_N "(cached) $ECHO_C" >&6
21062 if test "$ac_cv_type_size_t" = yes; then
21063 # The cast to long int works around a bug in the HP C Compiler
21064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21066 # This bug is HP SR number 8606223364.
21067 if test "$cross_compiling" = yes; then
21068 # Depending upon the size, compute the lo and hi bounds.
21069 cat >conftest.$ac_ext <<_ACEOF
21072 cat confdefs.h >>conftest.$ac_ext
21073 cat >>conftest.$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21075 $ac_includes_default
21076 typedef size_t ac__type_sizeof_;
21080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21087 rm -f conftest.$ac_objext
21088 if { (ac_try="$ac_compile"
21089 case "(($ac_try" in
21090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21091 *) ac_try_echo=$ac_try;;
21093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21094 (eval "$ac_compile") 2>conftest.er1
21096 grep -v '^ *+' conftest.er1 >conftest.err
21098 cat conftest.err >&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); } &&
21101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21102 { (case "(($ac_try" in
21103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21104 *) ac_try_echo=$ac_try;;
21106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21107 (eval "$ac_try") 2>&5
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); }; } &&
21111 { ac_try='test -s conftest.$ac_objext'
21112 { (case "(($ac_try" in
21113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21114 *) ac_try_echo=$ac_try;;
21116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21117 (eval "$ac_try") 2>&5
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); }; }; then
21123 cat >conftest.$ac_ext <<_ACEOF
21126 cat confdefs.h >>conftest.$ac_ext
21127 cat >>conftest.$ac_ext <<_ACEOF
21128 /* end confdefs.h. */
21129 $ac_includes_default
21130 typedef size_t ac__type_sizeof_;
21134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21141 rm -f conftest.$ac_objext
21142 if { (ac_try="$ac_compile"
21143 case "(($ac_try" in
21144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21145 *) ac_try_echo=$ac_try;;
21147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21148 (eval "$ac_compile") 2>conftest.er1
21150 grep -v '^ *+' conftest.er1 >conftest.err
21152 cat conftest.err >&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); } &&
21155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21156 { (case "(($ac_try" in
21157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21158 *) ac_try_echo=$ac_try;;
21160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21161 (eval "$ac_try") 2>&5
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); }; } &&
21165 { ac_try='test -s conftest.$ac_objext'
21166 { (case "(($ac_try" in
21167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21168 *) ac_try_echo=$ac_try;;
21170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21171 (eval "$ac_try") 2>&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); }; }; then
21175 ac_hi=$ac_mid; break
21177 echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.$ac_ext >&5
21180 ac_lo=`expr $ac_mid + 1`
21181 if test $ac_lo -le $ac_mid; then
21185 ac_mid=`expr 2 '*' $ac_mid + 1`
21188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21191 echo "$as_me: failed program was:" >&5
21192 sed 's/^/| /' conftest.$ac_ext >&5
21194 cat >conftest.$ac_ext <<_ACEOF
21197 cat confdefs.h >>conftest.$ac_ext
21198 cat >>conftest.$ac_ext <<_ACEOF
21199 /* end confdefs.h. */
21200 $ac_includes_default
21201 typedef size_t ac__type_sizeof_;
21205 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21212 rm -f conftest.$ac_objext
21213 if { (ac_try="$ac_compile"
21214 case "(($ac_try" in
21215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21216 *) ac_try_echo=$ac_try;;
21218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21219 (eval "$ac_compile") 2>conftest.er1
21221 grep -v '^ *+' conftest.er1 >conftest.err
21223 cat conftest.err >&5
21224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21225 (exit $ac_status); } &&
21226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21227 { (case "(($ac_try" in
21228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21229 *) ac_try_echo=$ac_try;;
21231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232 (eval "$ac_try") 2>&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); }; } &&
21236 { ac_try='test -s conftest.$ac_objext'
21237 { (case "(($ac_try" in
21238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21239 *) ac_try_echo=$ac_try;;
21241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_try") 2>&5
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); }; }; then
21248 cat >conftest.$ac_ext <<_ACEOF
21251 cat confdefs.h >>conftest.$ac_ext
21252 cat >>conftest.$ac_ext <<_ACEOF
21253 /* end confdefs.h. */
21254 $ac_includes_default
21255 typedef size_t ac__type_sizeof_;
21259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21266 rm -f conftest.$ac_objext
21267 if { (ac_try="$ac_compile"
21268 case "(($ac_try" in
21269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21270 *) ac_try_echo=$ac_try;;
21272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21273 (eval "$ac_compile") 2>conftest.er1
21275 grep -v '^ *+' conftest.er1 >conftest.err
21277 cat conftest.err >&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); } &&
21280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21281 { (case "(($ac_try" in
21282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21283 *) ac_try_echo=$ac_try;;
21285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21286 (eval "$ac_try") 2>&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); }; } &&
21290 { ac_try='test -s conftest.$ac_objext'
21291 { (case "(($ac_try" in
21292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21293 *) ac_try_echo=$ac_try;;
21295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21296 (eval "$ac_try") 2>&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); }; }; then
21300 ac_lo=$ac_mid; break
21302 echo "$as_me: failed program was:" >&5
21303 sed 's/^/| /' conftest.$ac_ext >&5
21305 ac_hi=`expr '(' $ac_mid ')' - 1`
21306 if test $ac_mid -le $ac_hi; then
21310 ac_mid=`expr 2 '*' $ac_mid`
21313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21316 echo "$as_me: failed program was:" >&5
21317 sed 's/^/| /' conftest.$ac_ext >&5
21322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21326 # Binary search between lo and hi bounds.
21327 while test "x$ac_lo" != "x$ac_hi"; do
21328 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21329 cat >conftest.$ac_ext <<_ACEOF
21332 cat confdefs.h >>conftest.$ac_ext
21333 cat >>conftest.$ac_ext <<_ACEOF
21334 /* end confdefs.h. */
21335 $ac_includes_default
21336 typedef size_t ac__type_sizeof_;
21340 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21347 rm -f conftest.$ac_objext
21348 if { (ac_try="$ac_compile"
21349 case "(($ac_try" in
21350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21351 *) ac_try_echo=$ac_try;;
21353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21354 (eval "$ac_compile") 2>conftest.er1
21356 grep -v '^ *+' conftest.er1 >conftest.err
21358 cat conftest.err >&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); } &&
21361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21362 { (case "(($ac_try" in
21363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21364 *) ac_try_echo=$ac_try;;
21366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21367 (eval "$ac_try") 2>&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; } &&
21371 { ac_try='test -s conftest.$ac_objext'
21372 { (case "(($ac_try" in
21373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21374 *) ac_try_echo=$ac_try;;
21376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21377 (eval "$ac_try") 2>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; }; then
21383 echo "$as_me: failed program was:" >&5
21384 sed 's/^/| /' conftest.$ac_ext >&5
21386 ac_lo=`expr '(' $ac_mid ')' + 1`
21389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21392 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21393 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21394 See \`config.log' for more details." >&5
21395 echo "$as_me: error: cannot compute sizeof (size_t)
21396 See \`config.log' for more details." >&2;}
21397 { (exit 77); exit 77; }; } ;;
21400 cat >conftest.$ac_ext <<_ACEOF
21403 cat confdefs.h >>conftest.$ac_ext
21404 cat >>conftest.$ac_ext <<_ACEOF
21405 /* end confdefs.h. */
21406 $ac_includes_default
21407 typedef size_t ac__type_sizeof_;
21408 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21409 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21411 #include <stdlib.h>
21416 FILE *f = fopen ("conftest.val", "w");
21419 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21421 long int i = longval ();
21422 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21424 fprintf (f, "%ld\n", i);
21428 unsigned long int i = ulongval ();
21429 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21431 fprintf (f, "%lu\n", i);
21433 return ferror (f) || fclose (f) != 0;
21439 rm -f conftest$ac_exeext
21440 if { (ac_try="$ac_link"
21441 case "(($ac_try" in
21442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21443 *) ac_try_echo=$ac_try;;
21445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21446 (eval "$ac_link") 2>&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21450 { (case "(($ac_try" in
21451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21452 *) ac_try_echo=$ac_try;;
21454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21455 (eval "$ac_try") 2>&5
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); }; }; then
21459 ac_cv_sizeof_size_t=`cat conftest.val`
21461 echo "$as_me: program exited with status $ac_status" >&5
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.$ac_ext >&5
21465 ( exit $ac_status )
21466 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21467 See \`config.log' for more details." >&5
21468 echo "$as_me: error: cannot compute sizeof (size_t)
21469 See \`config.log' for more details." >&2;}
21470 { (exit 77); exit 77; }; }
21472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21476 ac_cv_sizeof_size_t=0
21479 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21480 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21481 cat >>confdefs.h <<_ACEOF
21482 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21489 { echo "$as_me:$LINENO: checking for long long" >&5
21490 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21491 if test "${ac_cv_type_long_long+set}" = set; then
21492 echo $ECHO_N "(cached) $ECHO_C" >&6
21494 cat >conftest.$ac_ext <<_ACEOF
21497 cat confdefs.h >>conftest.$ac_ext
21498 cat >>conftest.$ac_ext <<_ACEOF
21499 /* end confdefs.h. */
21500 $ac_includes_default
21501 typedef long long ac__type_new_;
21505 if ((ac__type_new_ *) 0)
21507 if (sizeof (ac__type_new_))
21513 rm -f conftest.$ac_objext
21514 if { (ac_try="$ac_compile"
21515 case "(($ac_try" in
21516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21517 *) ac_try_echo=$ac_try;;
21519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21520 (eval "$ac_compile") 2>conftest.er1
21522 grep -v '^ *+' conftest.er1 >conftest.err
21524 cat conftest.err >&5
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); } &&
21527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21528 { (case "(($ac_try" in
21529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21530 *) ac_try_echo=$ac_try;;
21532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21533 (eval "$ac_try") 2>&5
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); }; } &&
21537 { ac_try='test -s conftest.$ac_objext'
21538 { (case "(($ac_try" in
21539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21540 *) ac_try_echo=$ac_try;;
21542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21543 (eval "$ac_try") 2>&5
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); }; }; then
21547 ac_cv_type_long_long=yes
21549 echo "$as_me: failed program was:" >&5
21550 sed 's/^/| /' conftest.$ac_ext >&5
21552 ac_cv_type_long_long=no
21555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21557 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21558 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21560 { echo "$as_me:$LINENO: checking size of long long" >&5
21561 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21562 if test "${ac_cv_sizeof_long_long+set}" = set; then
21563 echo $ECHO_N "(cached) $ECHO_C" >&6
21565 if test "$ac_cv_type_long_long" = yes; then
21566 # The cast to long int works around a bug in the HP C Compiler
21567 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21568 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21569 # This bug is HP SR number 8606223364.
21570 if test "$cross_compiling" = yes; then
21571 # Depending upon the size, compute the lo and hi bounds.
21572 cat >conftest.$ac_ext <<_ACEOF
21575 cat confdefs.h >>conftest.$ac_ext
21576 cat >>conftest.$ac_ext <<_ACEOF
21577 /* end confdefs.h. */
21578 $ac_includes_default
21579 typedef long long ac__type_sizeof_;
21583 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21590 rm -f conftest.$ac_objext
21591 if { (ac_try="$ac_compile"
21592 case "(($ac_try" in
21593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21594 *) ac_try_echo=$ac_try;;
21596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21597 (eval "$ac_compile") 2>conftest.er1
21599 grep -v '^ *+' conftest.er1 >conftest.err
21601 cat conftest.err >&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); } &&
21604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21605 { (case "(($ac_try" in
21606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21607 *) ac_try_echo=$ac_try;;
21609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21610 (eval "$ac_try") 2>&5
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); }; } &&
21614 { ac_try='test -s conftest.$ac_objext'
21615 { (case "(($ac_try" in
21616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21617 *) ac_try_echo=$ac_try;;
21619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21620 (eval "$ac_try") 2>&5
21622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623 (exit $ac_status); }; }; then
21626 cat >conftest.$ac_ext <<_ACEOF
21629 cat confdefs.h >>conftest.$ac_ext
21630 cat >>conftest.$ac_ext <<_ACEOF
21631 /* end confdefs.h. */
21632 $ac_includes_default
21633 typedef long long ac__type_sizeof_;
21637 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21644 rm -f conftest.$ac_objext
21645 if { (ac_try="$ac_compile"
21646 case "(($ac_try" in
21647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21648 *) ac_try_echo=$ac_try;;
21650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21651 (eval "$ac_compile") 2>conftest.er1
21653 grep -v '^ *+' conftest.er1 >conftest.err
21655 cat conftest.err >&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); } &&
21658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21659 { (case "(($ac_try" in
21660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21661 *) ac_try_echo=$ac_try;;
21663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21664 (eval "$ac_try") 2>&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); }; } &&
21668 { ac_try='test -s conftest.$ac_objext'
21669 { (case "(($ac_try" in
21670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21671 *) ac_try_echo=$ac_try;;
21673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21674 (eval "$ac_try") 2>&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); }; }; then
21678 ac_hi=$ac_mid; break
21680 echo "$as_me: failed program was:" >&5
21681 sed 's/^/| /' conftest.$ac_ext >&5
21683 ac_lo=`expr $ac_mid + 1`
21684 if test $ac_lo -le $ac_mid; then
21688 ac_mid=`expr 2 '*' $ac_mid + 1`
21691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21694 echo "$as_me: failed program was:" >&5
21695 sed 's/^/| /' conftest.$ac_ext >&5
21697 cat >conftest.$ac_ext <<_ACEOF
21700 cat confdefs.h >>conftest.$ac_ext
21701 cat >>conftest.$ac_ext <<_ACEOF
21702 /* end confdefs.h. */
21703 $ac_includes_default
21704 typedef long long ac__type_sizeof_;
21708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21715 rm -f conftest.$ac_objext
21716 if { (ac_try="$ac_compile"
21717 case "(($ac_try" in
21718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21719 *) ac_try_echo=$ac_try;;
21721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21722 (eval "$ac_compile") 2>conftest.er1
21724 grep -v '^ *+' conftest.er1 >conftest.err
21726 cat conftest.err >&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); } &&
21729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21730 { (case "(($ac_try" in
21731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21732 *) ac_try_echo=$ac_try;;
21734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21735 (eval "$ac_try") 2>&5
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); }; } &&
21739 { ac_try='test -s conftest.$ac_objext'
21740 { (case "(($ac_try" in
21741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21742 *) ac_try_echo=$ac_try;;
21744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21745 (eval "$ac_try") 2>&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); }; }; then
21751 cat >conftest.$ac_ext <<_ACEOF
21754 cat confdefs.h >>conftest.$ac_ext
21755 cat >>conftest.$ac_ext <<_ACEOF
21756 /* end confdefs.h. */
21757 $ac_includes_default
21758 typedef long long ac__type_sizeof_;
21762 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21769 rm -f conftest.$ac_objext
21770 if { (ac_try="$ac_compile"
21771 case "(($ac_try" in
21772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21773 *) ac_try_echo=$ac_try;;
21775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21776 (eval "$ac_compile") 2>conftest.er1
21778 grep -v '^ *+' conftest.er1 >conftest.err
21780 cat conftest.err >&5
21781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21782 (exit $ac_status); } &&
21783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21784 { (case "(($ac_try" in
21785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21786 *) ac_try_echo=$ac_try;;
21788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21789 (eval "$ac_try") 2>&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); }; } &&
21793 { ac_try='test -s conftest.$ac_objext'
21794 { (case "(($ac_try" in
21795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21796 *) ac_try_echo=$ac_try;;
21798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21799 (eval "$ac_try") 2>&5
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); }; }; then
21803 ac_lo=$ac_mid; break
21805 echo "$as_me: failed program was:" >&5
21806 sed 's/^/| /' conftest.$ac_ext >&5
21808 ac_hi=`expr '(' $ac_mid ')' - 1`
21809 if test $ac_mid -le $ac_hi; then
21813 ac_mid=`expr 2 '*' $ac_mid`
21816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21819 echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.$ac_ext >&5
21825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21829 # Binary search between lo and hi bounds.
21830 while test "x$ac_lo" != "x$ac_hi"; do
21831 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21832 cat >conftest.$ac_ext <<_ACEOF
21835 cat confdefs.h >>conftest.$ac_ext
21836 cat >>conftest.$ac_ext <<_ACEOF
21837 /* end confdefs.h. */
21838 $ac_includes_default
21839 typedef long long ac__type_sizeof_;
21843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21850 rm -f conftest.$ac_objext
21851 if { (ac_try="$ac_compile"
21852 case "(($ac_try" in
21853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21854 *) ac_try_echo=$ac_try;;
21856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21857 (eval "$ac_compile") 2>conftest.er1
21859 grep -v '^ *+' conftest.er1 >conftest.err
21861 cat conftest.err >&5
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } &&
21864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21865 { (case "(($ac_try" in
21866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21867 *) ac_try_echo=$ac_try;;
21869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21870 (eval "$ac_try") 2>&5
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); }; } &&
21874 { ac_try='test -s conftest.$ac_objext'
21875 { (case "(($ac_try" in
21876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21877 *) ac_try_echo=$ac_try;;
21879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21880 (eval "$ac_try") 2>&5
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); }; }; then
21886 echo "$as_me: failed program was:" >&5
21887 sed 's/^/| /' conftest.$ac_ext >&5
21889 ac_lo=`expr '(' $ac_mid ')' + 1`
21892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21895 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21896 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21897 See \`config.log' for more details." >&5
21898 echo "$as_me: error: cannot compute sizeof (long long)
21899 See \`config.log' for more details." >&2;}
21900 { (exit 77); exit 77; }; } ;;
21903 cat >conftest.$ac_ext <<_ACEOF
21906 cat confdefs.h >>conftest.$ac_ext
21907 cat >>conftest.$ac_ext <<_ACEOF
21908 /* end confdefs.h. */
21909 $ac_includes_default
21910 typedef long long ac__type_sizeof_;
21911 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21912 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21914 #include <stdlib.h>
21919 FILE *f = fopen ("conftest.val", "w");
21922 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21924 long int i = longval ();
21925 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21927 fprintf (f, "%ld\n", i);
21931 unsigned long int i = ulongval ();
21932 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21934 fprintf (f, "%lu\n", i);
21936 return ferror (f) || fclose (f) != 0;
21942 rm -f conftest$ac_exeext
21943 if { (ac_try="$ac_link"
21944 case "(($ac_try" in
21945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21946 *) ac_try_echo=$ac_try;;
21948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21949 (eval "$ac_link") 2>&5
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21953 { (case "(($ac_try" in
21954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21955 *) ac_try_echo=$ac_try;;
21957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21958 (eval "$ac_try") 2>&5
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); }; }; then
21962 ac_cv_sizeof_long_long=`cat conftest.val`
21964 echo "$as_me: program exited with status $ac_status" >&5
21965 echo "$as_me: failed program was:" >&5
21966 sed 's/^/| /' conftest.$ac_ext >&5
21968 ( exit $ac_status )
21969 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21970 See \`config.log' for more details." >&5
21971 echo "$as_me: error: cannot compute sizeof (long long)
21972 See \`config.log' for more details." >&2;}
21973 { (exit 77); exit 77; }; }
21975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21979 ac_cv_sizeof_long_long=0
21982 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21983 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21984 cat >>confdefs.h <<_ACEOF
21985 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21991 { echo "$as_me:$LINENO: checking for long long" >&5
21992 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21993 if test "${ac_cv_type_long_long+set}" = set; then
21994 echo $ECHO_N "(cached) $ECHO_C" >&6
21996 cat >conftest.$ac_ext <<_ACEOF
21999 cat confdefs.h >>conftest.$ac_ext
22000 cat >>conftest.$ac_ext <<_ACEOF
22001 /* end confdefs.h. */
22002 $ac_includes_default
22003 typedef long long ac__type_new_;
22007 if ((ac__type_new_ *) 0)
22009 if (sizeof (ac__type_new_))
22015 rm -f conftest.$ac_objext
22016 if { (ac_try="$ac_compile"
22017 case "(($ac_try" in
22018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22019 *) ac_try_echo=$ac_try;;
22021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22022 (eval "$ac_compile") 2>conftest.er1
22024 grep -v '^ *+' conftest.er1 >conftest.err
22026 cat conftest.err >&5
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); } &&
22029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22030 { (case "(($ac_try" in
22031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22032 *) ac_try_echo=$ac_try;;
22034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22035 (eval "$ac_try") 2>&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); }; } &&
22039 { ac_try='test -s conftest.$ac_objext'
22040 { (case "(($ac_try" in
22041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22042 *) ac_try_echo=$ac_try;;
22044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22045 (eval "$ac_try") 2>&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); }; }; then
22049 ac_cv_type_long_long=yes
22051 echo "$as_me: failed program was:" >&5
22052 sed 's/^/| /' conftest.$ac_ext >&5
22054 ac_cv_type_long_long=no
22057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22059 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22060 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22062 { echo "$as_me:$LINENO: checking size of long long" >&5
22063 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22064 if test "${ac_cv_sizeof_long_long+set}" = set; then
22065 echo $ECHO_N "(cached) $ECHO_C" >&6
22067 if test "$ac_cv_type_long_long" = yes; then
22068 # The cast to long int works around a bug in the HP C Compiler
22069 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22070 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22071 # This bug is HP SR number 8606223364.
22072 if test "$cross_compiling" = yes; then
22073 # Depending upon the size, compute the lo and hi bounds.
22074 cat >conftest.$ac_ext <<_ACEOF
22077 cat confdefs.h >>conftest.$ac_ext
22078 cat >>conftest.$ac_ext <<_ACEOF
22079 /* end confdefs.h. */
22080 $ac_includes_default
22081 typedef long long ac__type_sizeof_;
22085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22092 rm -f conftest.$ac_objext
22093 if { (ac_try="$ac_compile"
22094 case "(($ac_try" in
22095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22096 *) ac_try_echo=$ac_try;;
22098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22099 (eval "$ac_compile") 2>conftest.er1
22101 grep -v '^ *+' conftest.er1 >conftest.err
22103 cat conftest.err >&5
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105 (exit $ac_status); } &&
22106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22107 { (case "(($ac_try" in
22108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22109 *) ac_try_echo=$ac_try;;
22111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22112 (eval "$ac_try") 2>&5
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); }; } &&
22116 { ac_try='test -s conftest.$ac_objext'
22117 { (case "(($ac_try" in
22118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22119 *) ac_try_echo=$ac_try;;
22121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22122 (eval "$ac_try") 2>&5
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); }; }; then
22128 cat >conftest.$ac_ext <<_ACEOF
22131 cat confdefs.h >>conftest.$ac_ext
22132 cat >>conftest.$ac_ext <<_ACEOF
22133 /* end confdefs.h. */
22134 $ac_includes_default
22135 typedef long long ac__type_sizeof_;
22139 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22146 rm -f conftest.$ac_objext
22147 if { (ac_try="$ac_compile"
22148 case "(($ac_try" in
22149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22150 *) ac_try_echo=$ac_try;;
22152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22153 (eval "$ac_compile") 2>conftest.er1
22155 grep -v '^ *+' conftest.er1 >conftest.err
22157 cat conftest.err >&5
22158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159 (exit $ac_status); } &&
22160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22161 { (case "(($ac_try" in
22162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22163 *) ac_try_echo=$ac_try;;
22165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22166 (eval "$ac_try") 2>&5
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); }; } &&
22170 { ac_try='test -s conftest.$ac_objext'
22171 { (case "(($ac_try" in
22172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22173 *) ac_try_echo=$ac_try;;
22175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22176 (eval "$ac_try") 2>&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); }; }; then
22180 ac_hi=$ac_mid; break
22182 echo "$as_me: failed program was:" >&5
22183 sed 's/^/| /' conftest.$ac_ext >&5
22185 ac_lo=`expr $ac_mid + 1`
22186 if test $ac_lo -le $ac_mid; then
22190 ac_mid=`expr 2 '*' $ac_mid + 1`
22193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22196 echo "$as_me: failed program was:" >&5
22197 sed 's/^/| /' conftest.$ac_ext >&5
22199 cat >conftest.$ac_ext <<_ACEOF
22202 cat confdefs.h >>conftest.$ac_ext
22203 cat >>conftest.$ac_ext <<_ACEOF
22204 /* end confdefs.h. */
22205 $ac_includes_default
22206 typedef long long ac__type_sizeof_;
22210 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22217 rm -f conftest.$ac_objext
22218 if { (ac_try="$ac_compile"
22219 case "(($ac_try" in
22220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22221 *) ac_try_echo=$ac_try;;
22223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22224 (eval "$ac_compile") 2>conftest.er1
22226 grep -v '^ *+' conftest.er1 >conftest.err
22228 cat conftest.err >&5
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); } &&
22231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22232 { (case "(($ac_try" in
22233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22234 *) ac_try_echo=$ac_try;;
22236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22237 (eval "$ac_try") 2>&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); }; } &&
22241 { ac_try='test -s conftest.$ac_objext'
22242 { (case "(($ac_try" in
22243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22244 *) ac_try_echo=$ac_try;;
22246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22247 (eval "$ac_try") 2>&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); }; }; then
22253 cat >conftest.$ac_ext <<_ACEOF
22256 cat confdefs.h >>conftest.$ac_ext
22257 cat >>conftest.$ac_ext <<_ACEOF
22258 /* end confdefs.h. */
22259 $ac_includes_default
22260 typedef long long ac__type_sizeof_;
22264 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22271 rm -f conftest.$ac_objext
22272 if { (ac_try="$ac_compile"
22273 case "(($ac_try" in
22274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22275 *) ac_try_echo=$ac_try;;
22277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22278 (eval "$ac_compile") 2>conftest.er1
22280 grep -v '^ *+' conftest.er1 >conftest.err
22282 cat conftest.err >&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); } &&
22285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22286 { (case "(($ac_try" in
22287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22288 *) ac_try_echo=$ac_try;;
22290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22291 (eval "$ac_try") 2>&5
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; } &&
22295 { ac_try='test -s conftest.$ac_objext'
22296 { (case "(($ac_try" in
22297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22298 *) ac_try_echo=$ac_try;;
22300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22301 (eval "$ac_try") 2>&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); }; }; then
22305 ac_lo=$ac_mid; break
22307 echo "$as_me: failed program was:" >&5
22308 sed 's/^/| /' conftest.$ac_ext >&5
22310 ac_hi=`expr '(' $ac_mid ')' - 1`
22311 if test $ac_mid -le $ac_hi; then
22315 ac_mid=`expr 2 '*' $ac_mid`
22318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.$ac_ext >&5
22327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22331 # Binary search between lo and hi bounds.
22332 while test "x$ac_lo" != "x$ac_hi"; do
22333 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22334 cat >conftest.$ac_ext <<_ACEOF
22337 cat confdefs.h >>conftest.$ac_ext
22338 cat >>conftest.$ac_ext <<_ACEOF
22339 /* end confdefs.h. */
22340 $ac_includes_default
22341 typedef long long ac__type_sizeof_;
22345 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22352 rm -f conftest.$ac_objext
22353 if { (ac_try="$ac_compile"
22354 case "(($ac_try" in
22355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22356 *) ac_try_echo=$ac_try;;
22358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22359 (eval "$ac_compile") 2>conftest.er1
22361 grep -v '^ *+' conftest.er1 >conftest.err
22363 cat conftest.err >&5
22364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 (exit $ac_status); } &&
22366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22367 { (case "(($ac_try" in
22368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22369 *) ac_try_echo=$ac_try;;
22371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22372 (eval "$ac_try") 2>&5
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375 (exit $ac_status); }; } &&
22376 { ac_try='test -s conftest.$ac_objext'
22377 { (case "(($ac_try" in
22378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22379 *) ac_try_echo=$ac_try;;
22381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22382 (eval "$ac_try") 2>&5
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); }; }; then
22388 echo "$as_me: failed program was:" >&5
22389 sed 's/^/| /' conftest.$ac_ext >&5
22391 ac_lo=`expr '(' $ac_mid ')' + 1`
22394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22397 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22398 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22399 See \`config.log' for more details." >&5
22400 echo "$as_me: error: cannot compute sizeof (long long)
22401 See \`config.log' for more details." >&2;}
22402 { (exit 77); exit 77; }; } ;;
22405 cat >conftest.$ac_ext <<_ACEOF
22408 cat confdefs.h >>conftest.$ac_ext
22409 cat >>conftest.$ac_ext <<_ACEOF
22410 /* end confdefs.h. */
22411 $ac_includes_default
22412 typedef long long ac__type_sizeof_;
22413 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22414 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22416 #include <stdlib.h>
22421 FILE *f = fopen ("conftest.val", "w");
22424 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22426 long int i = longval ();
22427 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22429 fprintf (f, "%ld\n", i);
22433 unsigned long int i = ulongval ();
22434 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22436 fprintf (f, "%lu\n", i);
22438 return ferror (f) || fclose (f) != 0;
22444 rm -f conftest$ac_exeext
22445 if { (ac_try="$ac_link"
22446 case "(($ac_try" in
22447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22448 *) ac_try_echo=$ac_try;;
22450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22451 (eval "$ac_link") 2>&5
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22455 { (case "(($ac_try" in
22456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22457 *) ac_try_echo=$ac_try;;
22459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22460 (eval "$ac_try") 2>&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); }; }; then
22464 ac_cv_sizeof_long_long=`cat conftest.val`
22466 echo "$as_me: program exited with status $ac_status" >&5
22467 echo "$as_me: failed program was:" >&5
22468 sed 's/^/| /' conftest.$ac_ext >&5
22470 ( exit $ac_status )
22471 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22472 See \`config.log' for more details." >&5
22473 echo "$as_me: error: cannot compute sizeof (long long)
22474 See \`config.log' for more details." >&2;}
22475 { (exit 77); exit 77; }; }
22477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22481 ac_cv_sizeof_long_long=0
22484 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22485 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22486 cat >>confdefs.h <<_ACEOF
22487 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22491 if test "$ac_cv_sizeof_long_long" != "0"; then
22492 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22496 { echo "$as_me:$LINENO: checking for long long" >&5
22497 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22498 if test "${ac_cv_type_long_long+set}" = set; then
22499 echo $ECHO_N "(cached) $ECHO_C" >&6
22501 cat >conftest.$ac_ext <<_ACEOF
22504 cat confdefs.h >>conftest.$ac_ext
22505 cat >>conftest.$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22507 $ac_includes_default
22508 typedef long long ac__type_new_;
22512 if ((ac__type_new_ *) 0)
22514 if (sizeof (ac__type_new_))
22520 rm -f conftest.$ac_objext
22521 if { (ac_try="$ac_compile"
22522 case "(($ac_try" in
22523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22524 *) ac_try_echo=$ac_try;;
22526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22527 (eval "$ac_compile") 2>conftest.er1
22529 grep -v '^ *+' conftest.er1 >conftest.err
22531 cat conftest.err >&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); } &&
22534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22535 { (case "(($ac_try" in
22536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22537 *) ac_try_echo=$ac_try;;
22539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22540 (eval "$ac_try") 2>&5
22542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543 (exit $ac_status); }; } &&
22544 { ac_try='test -s conftest.$ac_objext'
22545 { (case "(($ac_try" in
22546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22547 *) ac_try_echo=$ac_try;;
22549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22550 (eval "$ac_try") 2>&5
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); }; }; then
22554 ac_cv_type_long_long=yes
22556 echo "$as_me: failed program was:" >&5
22557 sed 's/^/| /' conftest.$ac_ext >&5
22559 ac_cv_type_long_long=no
22562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22564 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22565 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22567 { echo "$as_me:$LINENO: checking size of long long" >&5
22568 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22569 if test "${ac_cv_sizeof_long_long+set}" = set; then
22570 echo $ECHO_N "(cached) $ECHO_C" >&6
22572 if test "$ac_cv_type_long_long" = yes; then
22573 # The cast to long int works around a bug in the HP C Compiler
22574 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22575 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22576 # This bug is HP SR number 8606223364.
22577 if test "$cross_compiling" = yes; then
22578 # Depending upon the size, compute the lo and hi bounds.
22579 cat >conftest.$ac_ext <<_ACEOF
22582 cat confdefs.h >>conftest.$ac_ext
22583 cat >>conftest.$ac_ext <<_ACEOF
22584 /* end confdefs.h. */
22585 $ac_includes_default
22586 typedef long long ac__type_sizeof_;
22590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22597 rm -f conftest.$ac_objext
22598 if { (ac_try="$ac_compile"
22599 case "(($ac_try" in
22600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22601 *) ac_try_echo=$ac_try;;
22603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22604 (eval "$ac_compile") 2>conftest.er1
22606 grep -v '^ *+' conftest.er1 >conftest.err
22608 cat conftest.err >&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } &&
22611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22612 { (case "(($ac_try" in
22613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22614 *) ac_try_echo=$ac_try;;
22616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22617 (eval "$ac_try") 2>&5
22619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22620 (exit $ac_status); }; } &&
22621 { ac_try='test -s conftest.$ac_objext'
22622 { (case "(($ac_try" in
22623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22624 *) ac_try_echo=$ac_try;;
22626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22627 (eval "$ac_try") 2>&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; }; then
22633 cat >conftest.$ac_ext <<_ACEOF
22636 cat confdefs.h >>conftest.$ac_ext
22637 cat >>conftest.$ac_ext <<_ACEOF
22638 /* end confdefs.h. */
22639 $ac_includes_default
22640 typedef long long ac__type_sizeof_;
22644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22651 rm -f conftest.$ac_objext
22652 if { (ac_try="$ac_compile"
22653 case "(($ac_try" in
22654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22655 *) ac_try_echo=$ac_try;;
22657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22658 (eval "$ac_compile") 2>conftest.er1
22660 grep -v '^ *+' conftest.er1 >conftest.err
22662 cat conftest.err >&5
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); } &&
22665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22666 { (case "(($ac_try" in
22667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22668 *) ac_try_echo=$ac_try;;
22670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22671 (eval "$ac_try") 2>&5
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); }; } &&
22675 { ac_try='test -s conftest.$ac_objext'
22676 { (case "(($ac_try" in
22677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22678 *) ac_try_echo=$ac_try;;
22680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22681 (eval "$ac_try") 2>&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); }; }; then
22685 ac_hi=$ac_mid; break
22687 echo "$as_me: failed program was:" >&5
22688 sed 's/^/| /' conftest.$ac_ext >&5
22690 ac_lo=`expr $ac_mid + 1`
22691 if test $ac_lo -le $ac_mid; then
22695 ac_mid=`expr 2 '*' $ac_mid + 1`
22698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22701 echo "$as_me: failed program was:" >&5
22702 sed 's/^/| /' conftest.$ac_ext >&5
22704 cat >conftest.$ac_ext <<_ACEOF
22707 cat confdefs.h >>conftest.$ac_ext
22708 cat >>conftest.$ac_ext <<_ACEOF
22709 /* end confdefs.h. */
22710 $ac_includes_default
22711 typedef long long ac__type_sizeof_;
22715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22722 rm -f conftest.$ac_objext
22723 if { (ac_try="$ac_compile"
22724 case "(($ac_try" in
22725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22726 *) ac_try_echo=$ac_try;;
22728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22729 (eval "$ac_compile") 2>conftest.er1
22731 grep -v '^ *+' conftest.er1 >conftest.err
22733 cat conftest.err >&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); } &&
22736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22737 { (case "(($ac_try" in
22738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22739 *) ac_try_echo=$ac_try;;
22741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22742 (eval "$ac_try") 2>&5
22744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745 (exit $ac_status); }; } &&
22746 { ac_try='test -s conftest.$ac_objext'
22747 { (case "(($ac_try" in
22748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22749 *) ac_try_echo=$ac_try;;
22751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22752 (eval "$ac_try") 2>&5
22754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755 (exit $ac_status); }; }; then
22758 cat >conftest.$ac_ext <<_ACEOF
22761 cat confdefs.h >>conftest.$ac_ext
22762 cat >>conftest.$ac_ext <<_ACEOF
22763 /* end confdefs.h. */
22764 $ac_includes_default
22765 typedef long long ac__type_sizeof_;
22769 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22776 rm -f conftest.$ac_objext
22777 if { (ac_try="$ac_compile"
22778 case "(($ac_try" in
22779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22780 *) ac_try_echo=$ac_try;;
22782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22783 (eval "$ac_compile") 2>conftest.er1
22785 grep -v '^ *+' conftest.er1 >conftest.err
22787 cat conftest.err >&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } &&
22790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22791 { (case "(($ac_try" in
22792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22793 *) ac_try_echo=$ac_try;;
22795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22796 (eval "$ac_try") 2>&5
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); }; } &&
22800 { ac_try='test -s conftest.$ac_objext'
22801 { (case "(($ac_try" in
22802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22803 *) ac_try_echo=$ac_try;;
22805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22806 (eval "$ac_try") 2>&5
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); }; }; then
22810 ac_lo=$ac_mid; break
22812 echo "$as_me: failed program was:" >&5
22813 sed 's/^/| /' conftest.$ac_ext >&5
22815 ac_hi=`expr '(' $ac_mid ')' - 1`
22816 if test $ac_mid -le $ac_hi; then
22820 ac_mid=`expr 2 '*' $ac_mid`
22823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22826 echo "$as_me: failed program was:" >&5
22827 sed 's/^/| /' conftest.$ac_ext >&5
22832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22836 # Binary search between lo and hi bounds.
22837 while test "x$ac_lo" != "x$ac_hi"; do
22838 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22839 cat >conftest.$ac_ext <<_ACEOF
22842 cat confdefs.h >>conftest.$ac_ext
22843 cat >>conftest.$ac_ext <<_ACEOF
22844 /* end confdefs.h. */
22845 $ac_includes_default
22846 typedef long long ac__type_sizeof_;
22850 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
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 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22872 { (case "(($ac_try" in
22873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22874 *) ac_try_echo=$ac_try;;
22876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22877 (eval "$ac_try") 2>&5
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); }; } &&
22881 { ac_try='test -s conftest.$ac_objext'
22882 { (case "(($ac_try" in
22883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22884 *) ac_try_echo=$ac_try;;
22886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22887 (eval "$ac_try") 2>&5
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); }; }; then
22893 echo "$as_me: failed program was:" >&5
22894 sed 's/^/| /' conftest.$ac_ext >&5
22896 ac_lo=`expr '(' $ac_mid ')' + 1`
22899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22902 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22903 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22904 See \`config.log' for more details." >&5
22905 echo "$as_me: error: cannot compute sizeof (long long)
22906 See \`config.log' for more details." >&2;}
22907 { (exit 77); exit 77; }; } ;;
22910 cat >conftest.$ac_ext <<_ACEOF
22913 cat confdefs.h >>conftest.$ac_ext
22914 cat >>conftest.$ac_ext <<_ACEOF
22915 /* end confdefs.h. */
22916 $ac_includes_default
22917 typedef long long ac__type_sizeof_;
22918 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22919 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22921 #include <stdlib.h>
22926 FILE *f = fopen ("conftest.val", "w");
22929 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22931 long int i = longval ();
22932 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22934 fprintf (f, "%ld\n", i);
22938 unsigned long int i = ulongval ();
22939 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22941 fprintf (f, "%lu\n", i);
22943 return ferror (f) || fclose (f) != 0;
22949 rm -f conftest$ac_exeext
22950 if { (ac_try="$ac_link"
22951 case "(($ac_try" in
22952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22953 *) ac_try_echo=$ac_try;;
22955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22956 (eval "$ac_link") 2>&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22960 { (case "(($ac_try" in
22961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22962 *) ac_try_echo=$ac_try;;
22964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22965 (eval "$ac_try") 2>&5
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); }; }; then
22969 ac_cv_sizeof_long_long=`cat conftest.val`
22971 echo "$as_me: program exited with status $ac_status" >&5
22972 echo "$as_me: failed program was:" >&5
22973 sed 's/^/| /' conftest.$ac_ext >&5
22975 ( exit $ac_status )
22976 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22977 See \`config.log' for more details." >&5
22978 echo "$as_me: error: cannot compute sizeof (long long)
22979 See \`config.log' for more details." >&2;}
22980 { (exit 77); exit 77; }; }
22982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22986 ac_cv_sizeof_long_long=0
22989 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22990 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22991 cat >>confdefs.h <<_ACEOF
22992 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22998 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22999 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23000 if test "${ac_cv_type_wchar_t+set}" = set; then
23001 echo $ECHO_N "(cached) $ECHO_C" >&6
23003 cat >conftest.$ac_ext <<_ACEOF
23006 cat confdefs.h >>conftest.$ac_ext
23007 cat >>conftest.$ac_ext <<_ACEOF
23008 /* end confdefs.h. */
23010 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23011 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23012 # error "fake wchar_t"
23014 #ifdef HAVE_WCHAR_H
23016 # include <stddef.h>
23018 # include <wchar.h>
23020 #ifdef HAVE_STDLIB_H
23021 # include <stdlib.h>
23027 typedef wchar_t ac__type_new_;
23031 if ((ac__type_new_ *) 0)
23033 if (sizeof (ac__type_new_))
23039 rm -f conftest.$ac_objext
23040 if { (ac_try="$ac_compile"
23041 case "(($ac_try" in
23042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23043 *) ac_try_echo=$ac_try;;
23045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23046 (eval "$ac_compile") 2>conftest.er1
23048 grep -v '^ *+' conftest.er1 >conftest.err
23050 cat conftest.err >&5
23051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23052 (exit $ac_status); } &&
23053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23054 { (case "(($ac_try" in
23055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23056 *) ac_try_echo=$ac_try;;
23058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23059 (eval "$ac_try") 2>&5
23061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23062 (exit $ac_status); }; } &&
23063 { ac_try='test -s conftest.$ac_objext'
23064 { (case "(($ac_try" in
23065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23066 *) ac_try_echo=$ac_try;;
23068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23069 (eval "$ac_try") 2>&5
23071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072 (exit $ac_status); }; }; then
23073 ac_cv_type_wchar_t=yes
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.$ac_ext >&5
23078 ac_cv_type_wchar_t=no
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23083 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23084 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23086 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23087 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23088 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23089 echo $ECHO_N "(cached) $ECHO_C" >&6
23091 if test "$ac_cv_type_wchar_t" = yes; then
23092 # The cast to long int works around a bug in the HP C Compiler
23093 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23094 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23095 # This bug is HP SR number 8606223364.
23096 if test "$cross_compiling" = yes; then
23097 # Depending upon the size, compute the lo and hi bounds.
23098 cat >conftest.$ac_ext <<_ACEOF
23101 cat confdefs.h >>conftest.$ac_ext
23102 cat >>conftest.$ac_ext <<_ACEOF
23103 /* end confdefs.h. */
23105 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23106 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23107 # error "fake wchar_t"
23109 #ifdef HAVE_WCHAR_H
23111 # include <stddef.h>
23113 # include <wchar.h>
23115 #ifdef HAVE_STDLIB_H
23116 # include <stdlib.h>
23122 typedef wchar_t ac__type_sizeof_;
23126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23133 rm -f conftest.$ac_objext
23134 if { (ac_try="$ac_compile"
23135 case "(($ac_try" in
23136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23137 *) ac_try_echo=$ac_try;;
23139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23140 (eval "$ac_compile") 2>conftest.er1
23142 grep -v '^ *+' conftest.er1 >conftest.err
23144 cat conftest.err >&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); } &&
23147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23148 { (case "(($ac_try" in
23149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23150 *) ac_try_echo=$ac_try;;
23152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23153 (eval "$ac_try") 2>&5
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); }; } &&
23157 { ac_try='test -s conftest.$ac_objext'
23158 { (case "(($ac_try" in
23159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23160 *) ac_try_echo=$ac_try;;
23162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23163 (eval "$ac_try") 2>&5
23165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166 (exit $ac_status); }; }; then
23169 cat >conftest.$ac_ext <<_ACEOF
23172 cat confdefs.h >>conftest.$ac_ext
23173 cat >>conftest.$ac_ext <<_ACEOF
23174 /* end confdefs.h. */
23176 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23177 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23178 # error "fake wchar_t"
23180 #ifdef HAVE_WCHAR_H
23182 # include <stddef.h>
23184 # include <wchar.h>
23186 #ifdef HAVE_STDLIB_H
23187 # include <stdlib.h>
23193 typedef wchar_t ac__type_sizeof_;
23197 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23204 rm -f conftest.$ac_objext
23205 if { (ac_try="$ac_compile"
23206 case "(($ac_try" in
23207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23208 *) ac_try_echo=$ac_try;;
23210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23211 (eval "$ac_compile") 2>conftest.er1
23213 grep -v '^ *+' conftest.er1 >conftest.err
23215 cat conftest.err >&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); } &&
23218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23219 { (case "(($ac_try" in
23220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23221 *) ac_try_echo=$ac_try;;
23223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23224 (eval "$ac_try") 2>&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); }; } &&
23228 { ac_try='test -s conftest.$ac_objext'
23229 { (case "(($ac_try" in
23230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23231 *) ac_try_echo=$ac_try;;
23233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23234 (eval "$ac_try") 2>&5
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); }; }; then
23238 ac_hi=$ac_mid; break
23240 echo "$as_me: failed program was:" >&5
23241 sed 's/^/| /' conftest.$ac_ext >&5
23243 ac_lo=`expr $ac_mid + 1`
23244 if test $ac_lo -le $ac_mid; then
23248 ac_mid=`expr 2 '*' $ac_mid + 1`
23251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23254 echo "$as_me: failed program was:" >&5
23255 sed 's/^/| /' conftest.$ac_ext >&5
23257 cat >conftest.$ac_ext <<_ACEOF
23260 cat confdefs.h >>conftest.$ac_ext
23261 cat >>conftest.$ac_ext <<_ACEOF
23262 /* end confdefs.h. */
23264 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23265 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23266 # error "fake wchar_t"
23268 #ifdef HAVE_WCHAR_H
23270 # include <stddef.h>
23272 # include <wchar.h>
23274 #ifdef HAVE_STDLIB_H
23275 # include <stdlib.h>
23281 typedef wchar_t ac__type_sizeof_;
23285 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23292 rm -f conftest.$ac_objext
23293 if { (ac_try="$ac_compile"
23294 case "(($ac_try" in
23295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23296 *) ac_try_echo=$ac_try;;
23298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23299 (eval "$ac_compile") 2>conftest.er1
23301 grep -v '^ *+' conftest.er1 >conftest.err
23303 cat conftest.err >&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); } &&
23306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23307 { (case "(($ac_try" in
23308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23309 *) ac_try_echo=$ac_try;;
23311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23312 (eval "$ac_try") 2>&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); }; } &&
23316 { ac_try='test -s conftest.$ac_objext'
23317 { (case "(($ac_try" in
23318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23319 *) ac_try_echo=$ac_try;;
23321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23322 (eval "$ac_try") 2>&5
23324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23325 (exit $ac_status); }; }; then
23328 cat >conftest.$ac_ext <<_ACEOF
23331 cat confdefs.h >>conftest.$ac_ext
23332 cat >>conftest.$ac_ext <<_ACEOF
23333 /* end confdefs.h. */
23335 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23336 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23337 # error "fake wchar_t"
23339 #ifdef HAVE_WCHAR_H
23341 # include <stddef.h>
23343 # include <wchar.h>
23345 #ifdef HAVE_STDLIB_H
23346 # include <stdlib.h>
23352 typedef wchar_t ac__type_sizeof_;
23356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23363 rm -f conftest.$ac_objext
23364 if { (ac_try="$ac_compile"
23365 case "(($ac_try" in
23366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23367 *) ac_try_echo=$ac_try;;
23369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23370 (eval "$ac_compile") 2>conftest.er1
23372 grep -v '^ *+' conftest.er1 >conftest.err
23374 cat conftest.err >&5
23375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376 (exit $ac_status); } &&
23377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23378 { (case "(($ac_try" in
23379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23380 *) ac_try_echo=$ac_try;;
23382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23383 (eval "$ac_try") 2>&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); }; } &&
23387 { ac_try='test -s conftest.$ac_objext'
23388 { (case "(($ac_try" in
23389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23390 *) ac_try_echo=$ac_try;;
23392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23393 (eval "$ac_try") 2>&5
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); }; }; then
23397 ac_lo=$ac_mid; break
23399 echo "$as_me: failed program was:" >&5
23400 sed 's/^/| /' conftest.$ac_ext >&5
23402 ac_hi=`expr '(' $ac_mid ')' - 1`
23403 if test $ac_mid -le $ac_hi; then
23407 ac_mid=`expr 2 '*' $ac_mid`
23410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23413 echo "$as_me: failed program was:" >&5
23414 sed 's/^/| /' conftest.$ac_ext >&5
23419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23423 # Binary search between lo and hi bounds.
23424 while test "x$ac_lo" != "x$ac_hi"; do
23425 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23426 cat >conftest.$ac_ext <<_ACEOF
23429 cat confdefs.h >>conftest.$ac_ext
23430 cat >>conftest.$ac_ext <<_ACEOF
23431 /* end confdefs.h. */
23433 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23434 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23435 # error "fake wchar_t"
23437 #ifdef HAVE_WCHAR_H
23439 # include <stddef.h>
23441 # include <wchar.h>
23443 #ifdef HAVE_STDLIB_H
23444 # include <stdlib.h>
23450 typedef wchar_t ac__type_sizeof_;
23454 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23461 rm -f conftest.$ac_objext
23462 if { (ac_try="$ac_compile"
23463 case "(($ac_try" in
23464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23465 *) ac_try_echo=$ac_try;;
23467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23468 (eval "$ac_compile") 2>conftest.er1
23470 grep -v '^ *+' conftest.er1 >conftest.err
23472 cat conftest.err >&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); } &&
23475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23476 { (case "(($ac_try" in
23477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23478 *) ac_try_echo=$ac_try;;
23480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23481 (eval "$ac_try") 2>&5
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); }; } &&
23485 { ac_try='test -s conftest.$ac_objext'
23486 { (case "(($ac_try" in
23487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23488 *) ac_try_echo=$ac_try;;
23490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23491 (eval "$ac_try") 2>&5
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); }; }; then
23497 echo "$as_me: failed program was:" >&5
23498 sed 's/^/| /' conftest.$ac_ext >&5
23500 ac_lo=`expr '(' $ac_mid ')' + 1`
23503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23506 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23507 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23508 See \`config.log' for more details." >&5
23509 echo "$as_me: error: cannot compute sizeof (wchar_t)
23510 See \`config.log' for more details." >&2;}
23511 { (exit 77); exit 77; }; } ;;
23514 cat >conftest.$ac_ext <<_ACEOF
23517 cat confdefs.h >>conftest.$ac_ext
23518 cat >>conftest.$ac_ext <<_ACEOF
23519 /* end confdefs.h. */
23521 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23522 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23523 # error "fake wchar_t"
23525 #ifdef HAVE_WCHAR_H
23527 # include <stddef.h>
23529 # include <wchar.h>
23531 #ifdef HAVE_STDLIB_H
23532 # include <stdlib.h>
23538 typedef wchar_t ac__type_sizeof_;
23539 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23540 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23542 #include <stdlib.h>
23547 FILE *f = fopen ("conftest.val", "w");
23550 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23552 long int i = longval ();
23553 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23555 fprintf (f, "%ld\n", i);
23559 unsigned long int i = ulongval ();
23560 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23562 fprintf (f, "%lu\n", i);
23564 return ferror (f) || fclose (f) != 0;
23570 rm -f conftest$ac_exeext
23571 if { (ac_try="$ac_link"
23572 case "(($ac_try" in
23573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23574 *) ac_try_echo=$ac_try;;
23576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23577 (eval "$ac_link") 2>&5
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23581 { (case "(($ac_try" in
23582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23583 *) ac_try_echo=$ac_try;;
23585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23586 (eval "$ac_try") 2>&5
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); }; }; then
23590 ac_cv_sizeof_wchar_t=`cat conftest.val`
23592 echo "$as_me: program exited with status $ac_status" >&5
23593 echo "$as_me: failed program was:" >&5
23594 sed 's/^/| /' conftest.$ac_ext >&5
23596 ( exit $ac_status )
23597 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23598 See \`config.log' for more details." >&5
23599 echo "$as_me: error: cannot compute sizeof (wchar_t)
23600 See \`config.log' for more details." >&2;}
23601 { (exit 77); exit 77; }; }
23603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23607 ac_cv_sizeof_wchar_t=0
23610 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23611 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23612 cat >>confdefs.h <<_ACEOF
23613 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23617 if test "$ac_cv_sizeof_wchar_t" != "0"; then
23623 { echo "$as_me:$LINENO: checking for va_copy" >&5
23624 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23625 if test "${wx_cv_func_va_copy+set}" = set; then
23626 echo $ECHO_N "(cached) $ECHO_C" >&6
23629 cat >conftest.$ac_ext <<_ACEOF
23631 #include <stdarg.h>
23632 void foo(char *f, ...)
23646 rm -f conftest.$ac_objext conftest$ac_exeext
23647 if { (ac_try="$ac_link"
23648 case "(($ac_try" in
23649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23650 *) ac_try_echo=$ac_try;;
23652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23653 (eval "$ac_link") 2>conftest.er1
23655 grep -v '^ *+' conftest.er1 >conftest.err
23657 cat conftest.err >&5
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); } &&
23660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23661 { (case "(($ac_try" in
23662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23663 *) ac_try_echo=$ac_try;;
23665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23666 (eval "$ac_try") 2>&5
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); }; } &&
23670 { ac_try='test -s conftest$ac_exeext'
23671 { (case "(($ac_try" in
23672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23673 *) ac_try_echo=$ac_try;;
23675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23676 (eval "$ac_try") 2>&5
23678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679 (exit $ac_status); }; }; then
23680 wx_cv_func_va_copy=yes
23682 echo "$as_me: failed program was:" >&5
23683 sed 's/^/| /' conftest.$ac_ext >&5
23685 wx_cv_func_va_copy=no
23689 rm -f core conftest.err conftest.$ac_objext \
23690 conftest$ac_exeext conftest.$ac_ext
23694 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23695 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23697 if test $wx_cv_func_va_copy = "yes"; then
23698 cat >>confdefs.h <<\_ACEOF
23699 #define HAVE_VA_COPY 1
23703 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23704 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23705 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23706 echo $ECHO_N "(cached) $ECHO_C" >&6
23709 if test "$cross_compiling" = yes; then
23710 wx_cv_type_va_list_lvalue=yes
23713 cat >conftest.$ac_ext <<_ACEOF
23715 #include <stdarg.h>
23716 int foo(char *f, ...)
23721 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23729 return foo("hi", 17);
23732 rm -f conftest$ac_exeext
23733 if { (ac_try="$ac_link"
23734 case "(($ac_try" in
23735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23736 *) ac_try_echo=$ac_try;;
23738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23739 (eval "$ac_link") 2>&5
23741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23743 { (case "(($ac_try" in
23744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23745 *) ac_try_echo=$ac_try;;
23747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23748 (eval "$ac_try") 2>&5
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); }; }; then
23752 wx_cv_type_va_list_lvalue=yes
23754 echo "$as_me: program exited with status $ac_status" >&5
23755 echo "$as_me: failed program was:" >&5
23756 sed 's/^/| /' conftest.$ac_ext >&5
23758 ( exit $ac_status )
23759 wx_cv_type_va_list_lvalue=no
23761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23768 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23769 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23771 if test $wx_cv_type_va_list_lvalue != "yes"; then
23772 cat >>confdefs.h <<\_ACEOF
23773 #define VA_LIST_IS_ARRAY 1
23779 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23781 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23782 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23783 if test "${wx_cv_have_variadic_macros+set}" = set; then
23784 echo $ECHO_N "(cached) $ECHO_C" >&6
23788 ac_cpp='$CXXCPP $CPPFLAGS'
23789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23793 cat >conftest.$ac_ext <<_ACEOF
23796 cat confdefs.h >>conftest.$ac_ext
23797 cat >>conftest.$ac_ext <<_ACEOF
23798 /* end confdefs.h. */
23801 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23807 test("%s %d %p", "test", 1, 0);
23814 rm -f conftest.$ac_objext
23815 if { (ac_try="$ac_compile"
23816 case "(($ac_try" in
23817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23818 *) ac_try_echo=$ac_try;;
23820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23821 (eval "$ac_compile") 2>conftest.er1
23823 grep -v '^ *+' conftest.er1 >conftest.err
23825 cat conftest.err >&5
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); } &&
23828 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23829 { (case "(($ac_try" in
23830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23831 *) ac_try_echo=$ac_try;;
23833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23834 (eval "$ac_try") 2>&5
23836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23837 (exit $ac_status); }; } &&
23838 { ac_try='test -s conftest.$ac_objext'
23839 { (case "(($ac_try" in
23840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23841 *) ac_try_echo=$ac_try;;
23843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23844 (eval "$ac_try") 2>&5
23846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847 (exit $ac_status); }; }; then
23848 wx_cv_have_variadic_macros=yes
23850 echo "$as_me: failed program was:" >&5
23851 sed 's/^/| /' conftest.$ac_ext >&5
23853 wx_cv_have_variadic_macros=no
23857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23859 ac_cpp='$CPP $CPPFLAGS'
23860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23867 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23868 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23870 if test $wx_cv_have_variadic_macros = "yes"; then
23871 cat >>confdefs.h <<\_ACEOF
23872 #define HAVE_VARIADIC_MACROS 1
23878 # Check whether --enable-largefile was given.
23879 if test "${enable_largefile+set}" = set; then
23880 enableval=$enable_largefile;
23883 if test "$enable_largefile" != no; then
23886 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23887 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23888 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23889 echo $ECHO_N "(cached) $ECHO_C" >&6
23892 cat >conftest.$ac_ext <<_ACEOF
23895 cat confdefs.h >>conftest.$ac_ext
23896 cat >>conftest.$ac_ext <<_ACEOF
23897 /* end confdefs.h. */
23898 #define _FILE_OFFSET_BITS 64
23899 #include <sys/types.h>
23904 unsigned int field: sizeof(off_t) == 8;
23911 rm -f conftest.$ac_objext
23912 if { (ac_try="$ac_compile"
23913 case "(($ac_try" in
23914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23915 *) ac_try_echo=$ac_try;;
23917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23918 (eval "$ac_compile") 2>conftest.er1
23920 grep -v '^ *+' conftest.er1 >conftest.err
23922 cat conftest.err >&5
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); } &&
23925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23926 { (case "(($ac_try" in
23927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23928 *) ac_try_echo=$ac_try;;
23930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23931 (eval "$ac_try") 2>&5
23933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934 (exit $ac_status); }; } &&
23935 { ac_try='test -s conftest.$ac_objext'
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_try") 2>&5
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); }; }; then
23945 ac_cv_sys_file_offset_bits=64
23947 echo "$as_me: failed program was:" >&5
23948 sed 's/^/| /' conftest.$ac_ext >&5
23950 ac_cv_sys_file_offset_bits=no
23953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23957 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23958 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23960 if test "$ac_cv_sys_file_offset_bits" != no; then
23962 cat >>confdefs.h <<_ACEOF
23963 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23968 if test "x$wx_largefile" != "xyes"; then
23970 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23971 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23972 if test "${ac_cv_sys_large_files+set}" = set; then
23973 echo $ECHO_N "(cached) $ECHO_C" >&6
23976 cat >conftest.$ac_ext <<_ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 #define _LARGE_FILES 1
23983 #include <sys/types.h>
23988 unsigned int field: sizeof(off_t) == 8;
23995 rm -f conftest.$ac_objext
23996 if { (ac_try="$ac_compile"
23997 case "(($ac_try" in
23998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23999 *) ac_try_echo=$ac_try;;
24001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24002 (eval "$ac_compile") 2>conftest.er1
24004 grep -v '^ *+' conftest.er1 >conftest.err
24006 cat conftest.err >&5
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); } &&
24009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24010 { (case "(($ac_try" in
24011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24012 *) ac_try_echo=$ac_try;;
24014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24015 (eval "$ac_try") 2>&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); }; } &&
24019 { ac_try='test -s conftest.$ac_objext'
24020 { (case "(($ac_try" in
24021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24022 *) ac_try_echo=$ac_try;;
24024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24025 (eval "$ac_try") 2>&5
24027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24028 (exit $ac_status); }; }; then
24029 ac_cv_sys_large_files=1
24031 echo "$as_me: failed program was:" >&5
24032 sed 's/^/| /' conftest.$ac_ext >&5
24034 ac_cv_sys_large_files=no
24037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24041 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24042 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24044 if test "$ac_cv_sys_large_files" != no; then
24046 cat >>confdefs.h <<_ACEOF
24047 #define _LARGE_FILES $ac_cv_sys_large_files
24054 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24055 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24056 if test "x$wx_largefile" = "xyes"; then
24057 cat >>confdefs.h <<\_ACEOF
24058 #define HAVE_LARGEFILE_SUPPORT 1
24062 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24063 echo "${ECHO_T}$wx_largefile" >&6; }
24067 if test "x$wx_largefile" = "xyes"; then
24068 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
24069 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
24071 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24072 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24073 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24074 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24075 echo $ECHO_N "(cached) $ECHO_C" >&6
24079 ac_cpp='$CXXCPP $CPPFLAGS'
24080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24084 cat >conftest.$ac_ext <<_ACEOF
24087 cat confdefs.h >>conftest.$ac_ext
24088 cat >>conftest.$ac_ext <<_ACEOF
24089 /* end confdefs.h. */
24095 #ifndef __STDC_EXT__
24103 rm -f conftest.$ac_objext
24104 if { (ac_try="$ac_compile"
24105 case "(($ac_try" in
24106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24107 *) ac_try_echo=$ac_try;;
24109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24110 (eval "$ac_compile") 2>conftest.er1
24112 grep -v '^ *+' conftest.er1 >conftest.err
24114 cat conftest.err >&5
24115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24116 (exit $ac_status); } &&
24117 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24118 { (case "(($ac_try" in
24119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24120 *) ac_try_echo=$ac_try;;
24122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24123 (eval "$ac_try") 2>&5
24125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24126 (exit $ac_status); }; } &&
24127 { ac_try='test -s conftest.$ac_objext'
24128 { (case "(($ac_try" in
24129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24130 *) ac_try_echo=$ac_try;;
24132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24133 (eval "$ac_try") 2>&5
24135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); }; }; then
24137 wx_cv_STDC_EXT_required=no
24139 echo "$as_me: failed program was:" >&5
24140 sed 's/^/| /' conftest.$ac_ext >&5
24142 wx_cv_STDC_EXT_required=yes
24146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24148 ac_cpp='$CPP $CPPFLAGS'
24149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24156 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24157 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24158 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24159 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24163 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
24165 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24166 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24167 if test "${ac_cv_sys_largefile_source+set}" = set; then
24168 echo $ECHO_N "(cached) $ECHO_C" >&6
24171 ac_cv_sys_largefile_source=no
24172 cat >conftest.$ac_ext <<_ACEOF
24175 cat confdefs.h >>conftest.$ac_ext
24176 cat >>conftest.$ac_ext <<_ACEOF
24177 /* end confdefs.h. */
24187 rm -f conftest.$ac_objext
24188 if { (ac_try="$ac_compile"
24189 case "(($ac_try" in
24190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24191 *) ac_try_echo=$ac_try;;
24193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24194 (eval "$ac_compile") 2>conftest.er1
24196 grep -v '^ *+' conftest.er1 >conftest.err
24198 cat conftest.err >&5
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); } &&
24201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24202 { (case "(($ac_try" in
24203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24204 *) ac_try_echo=$ac_try;;
24206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24207 (eval "$ac_try") 2>&5
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); }; } &&
24211 { ac_try='test -s conftest.$ac_objext'
24212 { (case "(($ac_try" in
24213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24214 *) ac_try_echo=$ac_try;;
24216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24217 (eval "$ac_try") 2>&5
24219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24220 (exit $ac_status); }; }; then
24223 echo "$as_me: failed program was:" >&5
24224 sed 's/^/| /' conftest.$ac_ext >&5
24229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24230 cat >conftest.$ac_ext <<_ACEOF
24233 cat confdefs.h >>conftest.$ac_ext
24234 cat >>conftest.$ac_ext <<_ACEOF
24235 /* end confdefs.h. */
24236 #define _LARGEFILE_SOURCE 1
24246 rm -f conftest.$ac_objext
24247 if { (ac_try="$ac_compile"
24248 case "(($ac_try" in
24249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24250 *) ac_try_echo=$ac_try;;
24252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24253 (eval "$ac_compile") 2>conftest.er1
24255 grep -v '^ *+' conftest.er1 >conftest.err
24257 cat conftest.err >&5
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); } &&
24260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
24268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269 (exit $ac_status); }; } &&
24270 { ac_try='test -s conftest.$ac_objext'
24271 { (case "(($ac_try" in
24272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24273 *) ac_try_echo=$ac_try;;
24275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24276 (eval "$ac_try") 2>&5
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); }; }; then
24280 ac_cv_sys_largefile_source=1; break
24282 echo "$as_me: failed program was:" >&5
24283 sed 's/^/| /' conftest.$ac_ext >&5
24288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24292 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24293 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24294 if test "$ac_cv_sys_largefile_source" != no; then
24296 cat >>confdefs.h <<_ACEOF
24297 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24303 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24304 # in glibc 2.1.3, but that breaks too many other things.
24305 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24306 { echo "$as_me:$LINENO: checking for fseeko" >&5
24307 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6; }
24308 if test "${ac_cv_func_fseeko+set}" = set; then
24309 echo $ECHO_N "(cached) $ECHO_C" >&6
24311 cat >conftest.$ac_ext <<_ACEOF
24314 cat confdefs.h >>conftest.$ac_ext
24315 cat >>conftest.$ac_ext <<_ACEOF
24316 /* end confdefs.h. */
24321 return fseeko && fseeko (stdin, 0, 0);
24326 rm -f conftest.$ac_objext conftest$ac_exeext
24327 if { (ac_try="$ac_link"
24328 case "(($ac_try" in
24329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24330 *) ac_try_echo=$ac_try;;
24332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24333 (eval "$ac_link") 2>conftest.er1
24335 grep -v '^ *+' conftest.er1 >conftest.err
24337 cat conftest.err >&5
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); } &&
24340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24341 { (case "(($ac_try" in
24342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24343 *) ac_try_echo=$ac_try;;
24345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24346 (eval "$ac_try") 2>&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); }; } &&
24350 { ac_try='test -s conftest$ac_exeext'
24351 { (case "(($ac_try" in
24352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24353 *) ac_try_echo=$ac_try;;
24355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24356 (eval "$ac_try") 2>&5
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); }; }; then
24360 ac_cv_func_fseeko=yes
24362 echo "$as_me: failed program was:" >&5
24363 sed 's/^/| /' conftest.$ac_ext >&5
24365 ac_cv_func_fseeko=no
24368 rm -f core conftest.err conftest.$ac_objext \
24369 conftest$ac_exeext conftest.$ac_ext
24371 { echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
24372 echo "${ECHO_T}$ac_cv_func_fseeko" >&6; }
24373 if test $ac_cv_func_fseeko = yes; then
24375 cat >>confdefs.h <<\_ACEOF
24376 #define HAVE_FSEEKO 1
24381 if test "$ac_cv_sys_largefile_source" != no; then
24382 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24386 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24387 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24388 if test "${ac_cv_c_bigendian+set}" = set; then
24389 echo $ECHO_N "(cached) $ECHO_C" >&6
24391 ac_cv_c_bigendian=unknown
24392 # See if sys/param.h defines the BYTE_ORDER macro.
24393 cat >conftest.$ac_ext <<_ACEOF
24396 cat confdefs.h >>conftest.$ac_ext
24397 cat >>conftest.$ac_ext <<_ACEOF
24398 /* end confdefs.h. */
24399 #include <sys/types.h>
24400 #include <sys/param.h>
24405 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24406 bogus endian macros
24412 rm -f conftest.$ac_objext
24413 if { (ac_try="$ac_compile"
24414 case "(($ac_try" in
24415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24416 *) ac_try_echo=$ac_try;;
24418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24419 (eval "$ac_compile") 2>conftest.er1
24421 grep -v '^ *+' conftest.er1 >conftest.err
24423 cat conftest.err >&5
24424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425 (exit $ac_status); } &&
24426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24427 { (case "(($ac_try" in
24428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24429 *) ac_try_echo=$ac_try;;
24431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24432 (eval "$ac_try") 2>&5
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); }; } &&
24436 { ac_try='test -s conftest.$ac_objext'
24437 { (case "(($ac_try" in
24438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24439 *) ac_try_echo=$ac_try;;
24441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24442 (eval "$ac_try") 2>&5
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); }; }; then
24446 # It does; now see whether it defined to BIG_ENDIAN or not.
24447 cat >conftest.$ac_ext <<_ACEOF
24450 cat confdefs.h >>conftest.$ac_ext
24451 cat >>conftest.$ac_ext <<_ACEOF
24452 /* end confdefs.h. */
24453 #include <sys/types.h>
24454 #include <sys/param.h>
24459 #if BYTE_ORDER != BIG_ENDIAN
24466 rm -f conftest.$ac_objext
24467 if { (ac_try="$ac_compile"
24468 case "(($ac_try" in
24469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24470 *) ac_try_echo=$ac_try;;
24472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24473 (eval "$ac_compile") 2>conftest.er1
24475 grep -v '^ *+' conftest.er1 >conftest.err
24477 cat conftest.err >&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); } &&
24480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24481 { (case "(($ac_try" in
24482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24483 *) ac_try_echo=$ac_try;;
24485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24486 (eval "$ac_try") 2>&5
24488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489 (exit $ac_status); }; } &&
24490 { ac_try='test -s conftest.$ac_objext'
24491 { (case "(($ac_try" in
24492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24493 *) ac_try_echo=$ac_try;;
24495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24496 (eval "$ac_try") 2>&5
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); }; }; then
24500 ac_cv_c_bigendian=yes
24502 echo "$as_me: failed program was:" >&5
24503 sed 's/^/| /' conftest.$ac_ext >&5
24505 ac_cv_c_bigendian=no
24508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24510 echo "$as_me: failed program was:" >&5
24511 sed 's/^/| /' conftest.$ac_ext >&5
24516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24517 if test $ac_cv_c_bigendian = unknown; then
24518 if test "$cross_compiling" = yes; then
24519 ac_cv_c_bigendian=unknown
24521 cat >conftest.$ac_ext <<_ACEOF
24524 cat confdefs.h >>conftest.$ac_ext
24525 cat >>conftest.$ac_ext <<_ACEOF
24526 /* end confdefs.h. */
24528 /* Are we little or big endian? From Harbison&Steele. */
24532 char c[sizeof (long)];
24535 exit (u.c[sizeof (long) - 1] == 1);
24538 rm -f conftest$ac_exeext
24539 if { (ac_try="$ac_link"
24540 case "(($ac_try" in
24541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24542 *) ac_try_echo=$ac_try;;
24544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24545 (eval "$ac_link") 2>&5
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24549 { (case "(($ac_try" in
24550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24551 *) ac_try_echo=$ac_try;;
24553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24554 (eval "$ac_try") 2>&5
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); }; }; then
24558 ac_cv_c_bigendian=no
24560 echo "$as_me: program exited with status $ac_status" >&5
24561 echo "$as_me: failed program was:" >&5
24562 sed 's/^/| /' conftest.$ac_ext >&5
24564 ( exit $ac_status )
24565 ac_cv_c_bigendian=yes
24567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24573 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24574 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24575 if test $ac_cv_c_bigendian = unknown; then
24576 { 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
24577 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;}
24579 if test $ac_cv_c_bigendian = yes; then
24580 cat >>confdefs.h <<\_ACEOF
24581 #define WORDS_BIGENDIAN 1
24590 ac_cpp='$CXXCPP $CPPFLAGS'
24591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24596 { echo "$as_me:$LINENO: checking for iostream" >&5
24597 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
24598 if test "${ac_cv_header_iostream+set}" = set; then
24599 echo $ECHO_N "(cached) $ECHO_C" >&6
24601 cat >conftest.$ac_ext <<_ACEOF
24604 cat confdefs.h >>conftest.$ac_ext
24605 cat >>conftest.$ac_ext <<_ACEOF
24606 /* end confdefs.h. */
24609 #include <iostream>
24611 rm -f conftest.$ac_objext
24612 if { (ac_try="$ac_compile"
24613 case "(($ac_try" in
24614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24615 *) ac_try_echo=$ac_try;;
24617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24618 (eval "$ac_compile") 2>conftest.er1
24620 grep -v '^ *+' conftest.er1 >conftest.err
24622 cat conftest.err >&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); } &&
24625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24626 { (case "(($ac_try" in
24627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24628 *) ac_try_echo=$ac_try;;
24630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24631 (eval "$ac_try") 2>&5
24633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24634 (exit $ac_status); }; } &&
24635 { ac_try='test -s conftest.$ac_objext'
24636 { (case "(($ac_try" in
24637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24638 *) ac_try_echo=$ac_try;;
24640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24641 (eval "$ac_try") 2>&5
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); }; }; then
24645 ac_cv_header_iostream=yes
24647 echo "$as_me: failed program was:" >&5
24648 sed 's/^/| /' conftest.$ac_ext >&5
24650 ac_cv_header_iostream=no
24653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24655 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
24656 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
24660 if test "$ac_cv_header_iostream" = "yes" ; then
24663 cat >>confdefs.h <<\_ACEOF
24664 #define wxUSE_IOSTREAMH 1
24670 ac_cpp='$CPP $CPPFLAGS'
24671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24678 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
24679 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
24680 if test "${wx_cv_cpp_bool+set}" = set; then
24681 echo $ECHO_N "(cached) $ECHO_C" >&6
24686 ac_cpp='$CXXCPP $CPPFLAGS'
24687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24692 cat >conftest.$ac_ext <<_ACEOF
24695 cat confdefs.h >>conftest.$ac_ext
24696 cat >>conftest.$ac_ext <<_ACEOF
24697 /* end confdefs.h. */
24712 rm -f conftest.$ac_objext
24713 if { (ac_try="$ac_compile"
24714 case "(($ac_try" in
24715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24716 *) ac_try_echo=$ac_try;;
24718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24719 (eval "$ac_compile") 2>conftest.er1
24721 grep -v '^ *+' conftest.er1 >conftest.err
24723 cat conftest.err >&5
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); } &&
24726 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24727 { (case "(($ac_try" in
24728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24729 *) ac_try_echo=$ac_try;;
24731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24732 (eval "$ac_try") 2>&5
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); }; } &&
24736 { ac_try='test -s conftest.$ac_objext'
24737 { (case "(($ac_try" in
24738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24739 *) ac_try_echo=$ac_try;;
24741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24742 (eval "$ac_try") 2>&5
24744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24745 (exit $ac_status); }; }; then
24750 echo "$as_me: failed program was:" >&5
24751 sed 's/^/| /' conftest.$ac_ext >&5
24759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24762 ac_cpp='$CPP $CPPFLAGS'
24763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24769 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
24770 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
24772 if test "$wx_cv_cpp_bool" = "yes"; then
24773 cat >>confdefs.h <<\_ACEOF
24774 #define HAVE_BOOL 1
24781 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24782 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24783 if test "${wx_cv_explicit+set}" = set; then
24784 echo $ECHO_N "(cached) $ECHO_C" >&6
24789 ac_cpp='$CXXCPP $CPPFLAGS'
24790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24795 cat >conftest.$ac_ext <<_ACEOF
24798 cat confdefs.h >>conftest.$ac_ext
24799 cat >>conftest.$ac_ext <<_ACEOF
24800 /* end confdefs.h. */
24802 class Foo { public: explicit Foo(int) {} };
24814 rm -f conftest.$ac_objext
24815 if { (ac_try="$ac_compile"
24816 case "(($ac_try" in
24817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24818 *) ac_try_echo=$ac_try;;
24820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24821 (eval "$ac_compile") 2>conftest.er1
24823 grep -v '^ *+' conftest.er1 >conftest.err
24825 cat conftest.err >&5
24826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24827 (exit $ac_status); } &&
24828 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24829 { (case "(($ac_try" in
24830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24831 *) ac_try_echo=$ac_try;;
24833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24834 (eval "$ac_try") 2>&5
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); }; } &&
24838 { ac_try='test -s conftest.$ac_objext'
24839 { (case "(($ac_try" in
24840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24841 *) ac_try_echo=$ac_try;;
24843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24844 (eval "$ac_try") 2>&5
24846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24847 (exit $ac_status); }; }; then
24849 cat >conftest.$ac_ext <<_ACEOF
24852 cat confdefs.h >>conftest.$ac_ext
24853 cat >>conftest.$ac_ext <<_ACEOF
24854 /* end confdefs.h. */
24856 class Foo { public: explicit Foo(int) {} };
24857 static void TakeFoo(const Foo& foo) { }
24870 rm -f conftest.$ac_objext
24871 if { (ac_try="$ac_compile"
24872 case "(($ac_try" in
24873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24874 *) ac_try_echo=$ac_try;;
24876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24877 (eval "$ac_compile") 2>conftest.er1
24879 grep -v '^ *+' conftest.er1 >conftest.err
24881 cat conftest.err >&5
24882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24883 (exit $ac_status); } &&
24884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24885 { (case "(($ac_try" in
24886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24887 *) ac_try_echo=$ac_try;;
24889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24890 (eval "$ac_try") 2>&5
24892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24893 (exit $ac_status); }; } &&
24894 { ac_try='test -s conftest.$ac_objext'
24895 { (case "(($ac_try" in
24896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24897 *) ac_try_echo=$ac_try;;
24899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24900 (eval "$ac_try") 2>&5
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); }; }; then
24906 echo "$as_me: failed program was:" >&5
24907 sed 's/^/| /' conftest.$ac_ext >&5
24913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24916 echo "$as_me: failed program was:" >&5
24917 sed 's/^/| /' conftest.$ac_ext >&5
24923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24926 ac_cpp='$CPP $CPPFLAGS'
24927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24933 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24934 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24936 if test "$wx_cv_explicit" = "yes"; then
24937 cat >>confdefs.h <<\_ACEOF
24938 #define HAVE_EXPLICIT 1
24944 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24945 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24946 if test "${ac_cv_cxx_const_cast+set}" = set; then
24947 echo $ECHO_N "(cached) $ECHO_C" >&6
24951 ac_cpp='$CXXCPP $CPPFLAGS'
24952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24956 cat >conftest.$ac_ext <<_ACEOF
24959 cat confdefs.h >>conftest.$ac_ext
24960 cat >>conftest.$ac_ext <<_ACEOF
24961 /* end confdefs.h. */
24966 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24971 rm -f conftest.$ac_objext
24972 if { (ac_try="$ac_compile"
24973 case "(($ac_try" in
24974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24975 *) ac_try_echo=$ac_try;;
24977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24978 (eval "$ac_compile") 2>conftest.er1
24980 grep -v '^ *+' conftest.er1 >conftest.err
24982 cat conftest.err >&5
24983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984 (exit $ac_status); } &&
24985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24986 { (case "(($ac_try" in
24987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24988 *) ac_try_echo=$ac_try;;
24990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24991 (eval "$ac_try") 2>&5
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); }; } &&
24995 { ac_try='test -s conftest.$ac_objext'
24996 { (case "(($ac_try" in
24997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24998 *) ac_try_echo=$ac_try;;
25000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25001 (eval "$ac_try") 2>&5
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); }; }; then
25005 ac_cv_cxx_const_cast=yes
25007 echo "$as_me: failed program was:" >&5
25008 sed 's/^/| /' conftest.$ac_ext >&5
25010 ac_cv_cxx_const_cast=no
25013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25015 ac_cpp='$CPP $CPPFLAGS'
25016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25022 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
25023 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
25024 if test "$ac_cv_cxx_const_cast" = yes; then
25026 cat >>confdefs.h <<\_ACEOF
25027 #define HAVE_CONST_CAST
25032 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
25033 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
25034 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
25035 echo $ECHO_N "(cached) $ECHO_C" >&6
25039 ac_cpp='$CXXCPP $CPPFLAGS'
25040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25044 cat >conftest.$ac_ext <<_ACEOF
25047 cat confdefs.h >>conftest.$ac_ext
25048 cat >>conftest.$ac_ext <<_ACEOF
25049 /* end confdefs.h. */
25050 #include <typeinfo>
25051 class Base { public : Base () {} virtual void f () = 0;};
25052 class Derived : public Base { public : Derived () {} virtual void f () {} };
25053 class Unrelated { public : Unrelated () {} };
25054 int g (Unrelated&) { return 0; }
25059 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
25064 rm -f conftest.$ac_objext
25065 if { (ac_try="$ac_compile"
25066 case "(($ac_try" in
25067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25068 *) ac_try_echo=$ac_try;;
25070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25071 (eval "$ac_compile") 2>conftest.er1
25073 grep -v '^ *+' conftest.er1 >conftest.err
25075 cat conftest.err >&5
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); } &&
25078 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25079 { (case "(($ac_try" in
25080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25081 *) ac_try_echo=$ac_try;;
25083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25084 (eval "$ac_try") 2>&5
25086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); }; } &&
25088 { ac_try='test -s conftest.$ac_objext'
25089 { (case "(($ac_try" in
25090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25091 *) ac_try_echo=$ac_try;;
25093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25094 (eval "$ac_try") 2>&5
25096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25097 (exit $ac_status); }; }; then
25098 ac_cv_cxx_reinterpret_cast=yes
25100 echo "$as_me: failed program was:" >&5
25101 sed 's/^/| /' conftest.$ac_ext >&5
25103 ac_cv_cxx_reinterpret_cast=no
25106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25108 ac_cpp='$CPP $CPPFLAGS'
25109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25115 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
25116 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
25117 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
25119 cat >>confdefs.h <<\_ACEOF
25120 #define HAVE_REINTERPRET_CAST
25125 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
25126 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
25127 if test "${ac_cv_cxx_static_cast+set}" = set; then
25128 echo $ECHO_N "(cached) $ECHO_C" >&6
25132 ac_cpp='$CXXCPP $CPPFLAGS'
25133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25137 cat >conftest.$ac_ext <<_ACEOF
25140 cat confdefs.h >>conftest.$ac_ext
25141 cat >>conftest.$ac_ext <<_ACEOF
25142 /* end confdefs.h. */
25143 #include <typeinfo>
25144 class Base { public : Base () {} virtual void f () = 0; };
25145 class Derived : public Base { public : Derived () {} virtual void f () {} };
25146 int g (Derived&) { return 0; }
25151 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
25156 rm -f conftest.$ac_objext
25157 if { (ac_try="$ac_compile"
25158 case "(($ac_try" in
25159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25160 *) ac_try_echo=$ac_try;;
25162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25163 (eval "$ac_compile") 2>conftest.er1
25165 grep -v '^ *+' conftest.er1 >conftest.err
25167 cat conftest.err >&5
25168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25169 (exit $ac_status); } &&
25170 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25171 { (case "(($ac_try" in
25172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25173 *) ac_try_echo=$ac_try;;
25175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25176 (eval "$ac_try") 2>&5
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); }; } &&
25180 { ac_try='test -s conftest.$ac_objext'
25181 { (case "(($ac_try" in
25182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25183 *) ac_try_echo=$ac_try;;
25185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25186 (eval "$ac_try") 2>&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); }; }; then
25190 ac_cv_cxx_static_cast=yes
25192 echo "$as_me: failed program was:" >&5
25193 sed 's/^/| /' conftest.$ac_ext >&5
25195 ac_cv_cxx_static_cast=no
25198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25200 ac_cpp='$CPP $CPPFLAGS'
25201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25207 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
25208 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
25209 if test "$ac_cv_cxx_static_cast" = yes; then
25211 cat >>confdefs.h <<\_ACEOF
25212 #define HAVE_STATIC_CAST
25218 if test "x$SUNCXX" = xyes; then
25219 CXXFLAGS="-features=tmplife $CXXFLAGS"
25222 if test "x$SUNCC" = xyes; then
25223 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25226 if test "x$SGICC" = "xyes"; then
25227 CFLAGS="-woff 3970 $CFLAGS"
25229 if test "x$SGICXX" = "xyes"; then
25230 CXXFLAGS="-woff 3970 $CXXFLAGS"
25233 if test "x$HPCC" = "xyes"; then
25234 CFLAGS="+W 2011,2450 $CFLAGS"
25236 if test "x$HPCXX" = "xyes"; then
25237 CXXFLAGS="+W 2340 $CXXFLAGS"
25240 if test "x$COMPAQCXX" = "xyes"; then
25241 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25245 ac_cpp='$CXXCPP $CPPFLAGS'
25246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25251 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25252 if test "$wxUSE_UNICODE" = "yes"; then
25253 std_string="std::wstring"
25254 char_type="wchar_t"
25256 std_string="std::string"
25260 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25261 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25262 if test "${wx_cv_class_stdstring+set}" = set; then
25263 echo $ECHO_N "(cached) $ECHO_C" >&6
25266 cat >conftest.$ac_ext <<_ACEOF
25269 cat confdefs.h >>conftest.$ac_ext
25270 cat >>conftest.$ac_ext <<_ACEOF
25271 /* end confdefs.h. */
25281 rm -f conftest.$ac_objext
25282 if { (ac_try="$ac_compile"
25283 case "(($ac_try" in
25284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25285 *) ac_try_echo=$ac_try;;
25287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25288 (eval "$ac_compile") 2>conftest.er1
25290 grep -v '^ *+' conftest.er1 >conftest.err
25292 cat conftest.err >&5
25293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294 (exit $ac_status); } &&
25295 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25296 { (case "(($ac_try" in
25297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25298 *) ac_try_echo=$ac_try;;
25300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25301 (eval "$ac_try") 2>&5
25303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25304 (exit $ac_status); }; } &&
25305 { ac_try='test -s conftest.$ac_objext'
25306 { (case "(($ac_try" in
25307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25308 *) ac_try_echo=$ac_try;;
25310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25311 (eval "$ac_try") 2>&5
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); }; }; then
25315 wx_cv_class_stdstring=yes
25317 echo "$as_me: failed program was:" >&5
25318 sed 's/^/| /' conftest.$ac_ext >&5
25320 wx_cv_class_stdstring=no
25324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25328 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25329 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25331 if test "$wx_cv_class_stdstring" = yes; then
25332 if test "$wxUSE_UNICODE" = "yes"; then
25333 cat >>confdefs.h <<\_ACEOF
25334 #define HAVE_STD_WSTRING 1
25339 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25340 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25341 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25342 echo $ECHO_N "(cached) $ECHO_C" >&6
25345 cat >conftest.$ac_ext <<_ACEOF
25348 cat confdefs.h >>conftest.$ac_ext
25349 cat >>conftest.$ac_ext <<_ACEOF
25350 /* end confdefs.h. */
25352 #ifdef HAVE_WCHAR_H
25354 # include <stddef.h>
25356 # include <wchar.h>
25358 #ifdef HAVE_STDLIB_H
25359 # include <stdlib.h>
25367 std::basic_string<$char_type> foo;
25368 const $char_type* dummy = foo.c_str();
25373 rm -f conftest.$ac_objext
25374 if { (ac_try="$ac_compile"
25375 case "(($ac_try" in
25376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25377 *) ac_try_echo=$ac_try;;
25379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25380 (eval "$ac_compile") 2>conftest.er1
25382 grep -v '^ *+' conftest.er1 >conftest.err
25384 cat conftest.err >&5
25385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25386 (exit $ac_status); } &&
25387 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25388 { (case "(($ac_try" in
25389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25390 *) ac_try_echo=$ac_try;;
25392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25393 (eval "$ac_try") 2>&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); }; } &&
25397 { ac_try='test -s conftest.$ac_objext'
25398 { (case "(($ac_try" in
25399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25400 *) ac_try_echo=$ac_try;;
25402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25403 (eval "$ac_try") 2>&5
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 (exit $ac_status); }; }; then
25407 wx_cv_class_stdbasicstring=yes
25409 echo "$as_me: failed program was:" >&5
25410 sed 's/^/| /' conftest.$ac_ext >&5
25412 wx_cv_class_stdbasicstring=no
25416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25420 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25421 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25423 if test "$wx_cv_class_stdbasicstring" != yes; then
25424 if test "$wxUSE_STL" = "yes"; then
25425 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25426 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25427 { (exit 1); exit 1; }; }
25428 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
25429 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25430 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25431 { (exit 1); exit 1; }; }
25433 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25434 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25435 wxUSE_STD_STRING=no
25441 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25442 { echo "$as_me:$LINENO: checking for std::istream" >&5
25443 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25444 if test "${ac_cv_type_std__istream+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25447 cat >conftest.$ac_ext <<_ACEOF
25450 cat confdefs.h >>conftest.$ac_ext
25451 cat >>conftest.$ac_ext <<_ACEOF
25452 /* end confdefs.h. */
25453 #include <iostream>
25455 typedef std::istream ac__type_new_;
25459 if ((ac__type_new_ *) 0)
25461 if (sizeof (ac__type_new_))
25467 rm -f conftest.$ac_objext
25468 if { (ac_try="$ac_compile"
25469 case "(($ac_try" in
25470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25471 *) ac_try_echo=$ac_try;;
25473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25474 (eval "$ac_compile") 2>conftest.er1
25476 grep -v '^ *+' conftest.er1 >conftest.err
25478 cat conftest.err >&5
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); } &&
25481 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25482 { (case "(($ac_try" in
25483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25484 *) ac_try_echo=$ac_try;;
25486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25487 (eval "$ac_try") 2>&5
25489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490 (exit $ac_status); }; } &&
25491 { ac_try='test -s conftest.$ac_objext'
25492 { (case "(($ac_try" in
25493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25494 *) ac_try_echo=$ac_try;;
25496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25497 (eval "$ac_try") 2>&5
25499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25500 (exit $ac_status); }; }; then
25501 ac_cv_type_std__istream=yes
25503 echo "$as_me: failed program was:" >&5
25504 sed 's/^/| /' conftest.$ac_ext >&5
25506 ac_cv_type_std__istream=no
25509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25511 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25512 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25513 if test $ac_cv_type_std__istream = yes; then
25515 cat >>confdefs.h <<_ACEOF
25516 #define HAVE_STD__ISTREAM 1
25521 wxUSE_STD_IOSTREAM=no
25523 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25524 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25525 if test "${ac_cv_type_std__ostream+set}" = set; then
25526 echo $ECHO_N "(cached) $ECHO_C" >&6
25528 cat >conftest.$ac_ext <<_ACEOF
25531 cat confdefs.h >>conftest.$ac_ext
25532 cat >>conftest.$ac_ext <<_ACEOF
25533 /* end confdefs.h. */
25534 #include <iostream>
25536 typedef std::ostream ac__type_new_;
25540 if ((ac__type_new_ *) 0)
25542 if (sizeof (ac__type_new_))
25548 rm -f conftest.$ac_objext
25549 if { (ac_try="$ac_compile"
25550 case "(($ac_try" in
25551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25552 *) ac_try_echo=$ac_try;;
25554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25555 (eval "$ac_compile") 2>conftest.er1
25557 grep -v '^ *+' conftest.er1 >conftest.err
25559 cat conftest.err >&5
25560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561 (exit $ac_status); } &&
25562 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25563 { (case "(($ac_try" in
25564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25565 *) ac_try_echo=$ac_try;;
25567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25568 (eval "$ac_try") 2>&5
25570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571 (exit $ac_status); }; } &&
25572 { ac_try='test -s conftest.$ac_objext'
25573 { (case "(($ac_try" in
25574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25575 *) ac_try_echo=$ac_try;;
25577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25578 (eval "$ac_try") 2>&5
25580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25581 (exit $ac_status); }; }; then
25582 ac_cv_type_std__ostream=yes
25584 echo "$as_me: failed program was:" >&5
25585 sed 's/^/| /' conftest.$ac_ext >&5
25587 ac_cv_type_std__ostream=no
25590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25592 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25593 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25594 if test $ac_cv_type_std__ostream = yes; then
25596 cat >>confdefs.h <<_ACEOF
25597 #define HAVE_STD__OSTREAM 1
25602 wxUSE_STD_IOSTREAM=no
25606 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25607 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
25608 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25609 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25610 { (exit 1); exit 1; }; }
25612 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25613 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25618 if test "$wxUSE_STL" = "yes"; then
25619 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25620 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25621 if test "${wx_cv_lib_stl+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 cat >conftest.$ac_ext <<_ACEOF
25627 cat confdefs.h >>conftest.$ac_ext
25628 cat >>conftest.$ac_ext <<_ACEOF
25629 /* end confdefs.h. */
25631 #include <functional>
25632 #include <algorithm>
25638 std::vector<int> moo;
25639 std::list<int> foo;
25640 std::vector<int>::iterator it =
25641 std::find_if(moo.begin(), moo.end(),
25642 std::bind2nd(std::less<int>(), 3));
25647 rm -f conftest.$ac_objext
25648 if { (ac_try="$ac_compile"
25649 case "(($ac_try" in
25650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25651 *) ac_try_echo=$ac_try;;
25653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25654 (eval "$ac_compile") 2>conftest.er1
25656 grep -v '^ *+' conftest.er1 >conftest.err
25658 cat conftest.err >&5
25659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660 (exit $ac_status); } &&
25661 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25662 { (case "(($ac_try" in
25663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25664 *) ac_try_echo=$ac_try;;
25666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25667 (eval "$ac_try") 2>&5
25669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25670 (exit $ac_status); }; } &&
25671 { ac_try='test -s conftest.$ac_objext'
25672 { (case "(($ac_try" in
25673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25674 *) ac_try_echo=$ac_try;;
25676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25677 (eval "$ac_try") 2>&5
25679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25680 (exit $ac_status); }; }; then
25683 echo "$as_me: failed program was:" >&5
25684 sed 's/^/| /' conftest.$ac_ext >&5
25690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25693 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25694 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25696 if test "$wx_cv_lib_stl" != yes; then
25697 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25698 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25699 { (exit 1); exit 1; }; }
25702 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25703 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25704 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25705 echo $ECHO_N "(cached) $ECHO_C" >&6
25707 cat >conftest.$ac_ext <<_ACEOF
25710 cat confdefs.h >>conftest.$ac_ext
25711 cat >>conftest.$ac_ext <<_ACEOF
25712 /* end confdefs.h. */
25717 std::string foo, bar;
25719 foo.compare(1, 1, bar);
25720 foo.compare(1, 1, bar, 1, 1);
25722 foo.compare(1, 1, "");
25723 foo.compare(1, 1, "", 2);
25728 rm -f conftest.$ac_objext
25729 if { (ac_try="$ac_compile"
25730 case "(($ac_try" in
25731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25732 *) ac_try_echo=$ac_try;;
25734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25735 (eval "$ac_compile") 2>conftest.er1
25737 grep -v '^ *+' conftest.er1 >conftest.err
25739 cat conftest.err >&5
25740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25741 (exit $ac_status); } &&
25742 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25743 { (case "(($ac_try" in
25744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25745 *) ac_try_echo=$ac_try;;
25747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25748 (eval "$ac_try") 2>&5
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); }; } &&
25752 { ac_try='test -s conftest.$ac_objext'
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_try") 2>&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); }; }; then
25762 wx_cv_func_stdstring_compare=yes
25764 echo "$as_me: failed program was:" >&5
25765 sed 's/^/| /' conftest.$ac_ext >&5
25767 wx_cv_func_stdstring_compare=no
25771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25774 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25775 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25777 if test "$wx_cv_func_stdstring_compare" = yes; then
25778 cat >>confdefs.h <<\_ACEOF
25779 #define HAVE_STD_STRING_COMPARE 1
25784 { echo "$as_me:$LINENO: checking for hash_map" >&5
25785 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25786 if test "${ac_cv_header_hash_map+set}" = set; then
25787 echo $ECHO_N "(cached) $ECHO_C" >&6
25789 cat >conftest.$ac_ext <<_ACEOF
25792 cat confdefs.h >>conftest.$ac_ext
25793 cat >>conftest.$ac_ext <<_ACEOF
25794 /* end confdefs.h. */
25798 #include <hash_map>
25800 rm -f conftest.$ac_objext
25801 if { (ac_try="$ac_compile"
25802 case "(($ac_try" in
25803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25804 *) ac_try_echo=$ac_try;;
25806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25807 (eval "$ac_compile") 2>conftest.er1
25809 grep -v '^ *+' conftest.er1 >conftest.err
25811 cat conftest.err >&5
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); } &&
25814 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25815 { (case "(($ac_try" in
25816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25817 *) ac_try_echo=$ac_try;;
25819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25820 (eval "$ac_try") 2>&5
25822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823 (exit $ac_status); }; } &&
25824 { ac_try='test -s conftest.$ac_objext'
25825 { (case "(($ac_try" in
25826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25827 *) ac_try_echo=$ac_try;;
25829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25830 (eval "$ac_try") 2>&5
25832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25833 (exit $ac_status); }; }; then
25834 ac_cv_header_hash_map=yes
25836 echo "$as_me: failed program was:" >&5
25837 sed 's/^/| /' conftest.$ac_ext >&5
25839 ac_cv_header_hash_map=no
25842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25844 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25845 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25846 if test $ac_cv_header_hash_map = yes; then
25847 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
25848 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
25849 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25850 echo $ECHO_N "(cached) $ECHO_C" >&6
25852 cat >conftest.$ac_ext <<_ACEOF
25855 cat confdefs.h >>conftest.$ac_ext
25856 cat >>conftest.$ac_ext <<_ACEOF
25857 /* end confdefs.h. */
25858 #include <hash_map>
25859 #include <hash_set>
25863 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25864 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25869 rm -f conftest.$ac_objext
25870 if { (ac_try="$ac_compile"
25871 case "(($ac_try" in
25872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25873 *) ac_try_echo=$ac_try;;
25875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25876 (eval "$ac_compile") 2>conftest.er1
25878 grep -v '^ *+' conftest.er1 >conftest.err
25880 cat conftest.err >&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); } &&
25883 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25884 { (case "(($ac_try" in
25885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25886 *) ac_try_echo=$ac_try;;
25888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25889 (eval "$ac_try") 2>&5
25891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25892 (exit $ac_status); }; } &&
25893 { ac_try='test -s conftest.$ac_objext'
25894 { (case "(($ac_try" in
25895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25896 *) ac_try_echo=$ac_try;;
25898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25899 (eval "$ac_try") 2>&5
25901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25902 (exit $ac_status); }; }; then
25903 wx_cv_class_stdhashmapset=yes
25905 echo "$as_me: failed program was:" >&5
25906 sed 's/^/| /' conftest.$ac_ext >&5
25908 wx_cv_class_stdhashmapset=no
25911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25915 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25916 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25921 if test "$wx_cv_class_stdhashmapset" = yes; then
25922 cat >>confdefs.h <<\_ACEOF
25923 #define HAVE_HASH_MAP 1
25926 cat >>confdefs.h <<\_ACEOF
25927 #define HAVE_STD_HASH_MAP 1
25932 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25933 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25934 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25935 echo $ECHO_N "(cached) $ECHO_C" >&6
25937 cat >conftest.$ac_ext <<_ACEOF
25940 cat confdefs.h >>conftest.$ac_ext
25941 cat >>conftest.$ac_ext <<_ACEOF
25942 /* end confdefs.h. */
25946 #include <ext/hash_map>
25948 rm -f conftest.$ac_objext
25949 if { (ac_try="$ac_compile"
25950 case "(($ac_try" in
25951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25952 *) ac_try_echo=$ac_try;;
25954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25955 (eval "$ac_compile") 2>conftest.er1
25957 grep -v '^ *+' conftest.er1 >conftest.err
25959 cat conftest.err >&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); } &&
25962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25963 { (case "(($ac_try" in
25964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25965 *) ac_try_echo=$ac_try;;
25967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25968 (eval "$ac_try") 2>&5
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); }; } &&
25972 { ac_try='test -s conftest.$ac_objext'
25973 { (case "(($ac_try" in
25974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25975 *) ac_try_echo=$ac_try;;
25977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25978 (eval "$ac_try") 2>&5
25980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25981 (exit $ac_status); }; }; then
25982 ac_cv_header_ext_hash_map=yes
25984 echo "$as_me: failed program was:" >&5
25985 sed 's/^/| /' conftest.$ac_ext >&5
25987 ac_cv_header_ext_hash_map=no
25990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25992 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25993 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25994 if test $ac_cv_header_ext_hash_map = yes; then
25995 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25996 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25997 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25998 echo $ECHO_N "(cached) $ECHO_C" >&6
26000 cat >conftest.$ac_ext <<_ACEOF
26003 cat confdefs.h >>conftest.$ac_ext
26004 cat >>conftest.$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006 #include <ext/hash_map>
26007 #include <ext/hash_set>
26011 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26012 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26017 rm -f conftest.$ac_objext
26018 if { (ac_try="$ac_compile"
26019 case "(($ac_try" in
26020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26021 *) ac_try_echo=$ac_try;;
26023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26024 (eval "$ac_compile") 2>conftest.er1
26026 grep -v '^ *+' conftest.er1 >conftest.err
26028 cat conftest.err >&5
26029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26030 (exit $ac_status); } &&
26031 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26032 { (case "(($ac_try" in
26033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26034 *) ac_try_echo=$ac_try;;
26036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26037 (eval "$ac_try") 2>&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); }; } &&
26041 { ac_try='test -s conftest.$ac_objext'
26042 { (case "(($ac_try" in
26043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26044 *) ac_try_echo=$ac_try;;
26046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26047 (eval "$ac_try") 2>&5
26049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26050 (exit $ac_status); }; }; then
26051 wx_cv_class_gnuhashmapset=yes
26053 echo "$as_me: failed program was:" >&5
26054 sed 's/^/| /' conftest.$ac_ext >&5
26056 wx_cv_class_gnuhashmapset=no
26059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26063 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26064 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26069 if test "$wx_cv_class_gnuhashmapset" = yes; then
26070 cat >>confdefs.h <<\_ACEOF
26071 #define HAVE_EXT_HASH_MAP 1
26074 cat >>confdefs.h <<\_ACEOF
26075 #define HAVE_GNU_CXX_HASH_MAP 1
26082 ac_cpp='$CPP $CPPFLAGS'
26083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26090 /usr/local/include \
26092 /usr/Motif-2.1/include \
26093 /usr/Motif-1.2/include \
26094 /usr/include/Motif1.2 \
26097 /usr/openwin/include \
26101 /usr/X11R6/include \
26102 /usr/X11R6.4/include \
26103 /usr/X11R5/include \
26104 /usr/X11R4/include \
26106 /usr/include/X11R6 \
26107 /usr/include/X11R5 \
26108 /usr/include/X11R4 \
26110 /usr/local/X11R6/include \
26111 /usr/local/X11R5/include \
26112 /usr/local/X11R4/include \
26114 /usr/local/include/X11R6 \
26115 /usr/local/include/X11R5 \
26116 /usr/local/include/X11R4 \
26120 /usr/local/X11/include \
26121 /usr/local/include/X11 \
26123 /usr/XFree86/include/X11 \
26126 /usr/openwin/share/include"
26128 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26129 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26133 if test "${wx_cv_std_libpath+set}" = set; then
26134 echo $ECHO_N "(cached) $ECHO_C" >&6
26137 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26138 for e in a so sl dylib dll.a; do
26140 if test -f $libc; then
26143 cat >conftest.$ac_ext <<_ACEOF
26144 int main() { return 0; }
26146 rm -f conftest.$ac_objext conftest$ac_exeext
26147 if { (ac_try="$ac_link"
26148 case "(($ac_try" in
26149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26150 *) ac_try_echo=$ac_try;;
26152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26153 (eval "$ac_link") 2>conftest.er1
26155 grep -v '^ *+' conftest.er1 >conftest.err
26157 cat conftest.err >&5
26158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26159 (exit $ac_status); } &&
26160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26161 { (case "(($ac_try" in
26162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26163 *) ac_try_echo=$ac_try;;
26165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26166 (eval "$ac_try") 2>&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); }; } &&
26170 { ac_try='test -s conftest$ac_exeext'
26171 { (case "(($ac_try" in
26172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26173 *) ac_try_echo=$ac_try;;
26175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26176 (eval "$ac_try") 2>&5
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); }; }; then
26180 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.$ac_ext >&5
26188 rm -f core conftest.err conftest.$ac_objext \
26189 conftest$ac_exeext conftest.$ac_ext
26191 if test "x$wx_cv_std_libpath" != "x"; then
26197 if test "x$wx_cv_std_libpath" = "x"; then
26198 wx_cv_std_libpath="lib"
26207 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26208 wx_cv_std_libpath="lib/64"
26210 wx_cv_std_libpath="lib"
26215 if test "$ac_cv_sizeof_void_p" = 8 -a \
26216 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26217 wx_cv_std_libpath="lib64"
26219 wx_cv_std_libpath="lib"
26224 wx_cv_std_libpath="lib";
26228 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26229 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26231 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26233 if test "$build" != "$host" -a "$GCC" = yes; then
26234 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26235 cross_root=`dirname $cross_root`
26236 cross_root=`dirname $cross_root`
26238 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26239 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26240 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26242 if test -z "$PKG_CONFIG_PATH"; then
26243 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26244 export PKG_CONFIG_PATH
26247 if test -z "$x_includes" -o "$x_includes" = NONE; then
26250 for ac_dir in $SEARCH_INCLUDE /usr/include;
26252 if test -f "$ac_dir/X11/Intrinsic.h"; then
26253 ac_find_includes=$ac_dir
26258 x_includes=$ac_find_includes
26260 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26263 for ac_dir in $SEARCH_LIB;
26265 for ac_extension in a so sl dylib dll.a; do
26266 if test -f "$ac_dir/libXt.$ac_extension"; then
26267 ac_find_libraries=$ac_dir
26273 x_libraries=$ac_find_libraries
26279 cat >confcache <<\_ACEOF
26280 # This file is a shell script that caches the results of configure
26281 # tests run on this system so they can be shared between configure
26282 # scripts and configure runs, see configure's option --config-cache.
26283 # It is not useful on other systems. If it contains results you don't
26284 # want to keep, you may remove or edit it.
26286 # config.status only pays attention to the cache file if you give it
26287 # the --recheck option to rerun configure.
26289 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26290 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26291 # following values.
26295 # The following way of writing the cache mishandles newlines in values,
26296 # but we know of no workaround that is simple, portable, and efficient.
26297 # So, we kill variables containing newlines.
26298 # Ultrix sh set writes to stderr and can't be redirected directly,
26299 # and sets the high bit in the cache file unless we assign to the vars.
26301 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26302 eval ac_val=\$$ac_var
26306 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26307 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26310 _ | IFS | as_nl) ;; #(
26311 *) $as_unset $ac_var ;;
26317 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26318 *${as_nl}ac_space=\ *)
26319 # `set' does not quote correctly, so add quotes (double-quote
26320 # substitution turns \\\\ into \\, and sed turns \\ into \).
26323 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26326 # `set' quotes correctly as required by POSIX, so do not add quotes.
26327 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26336 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26338 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26340 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26341 if test -w "$cache_file"; then
26342 test "x$cache_file" != "x/dev/null" &&
26343 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26344 echo "$as_me: updating cache $cache_file" >&6;}
26345 cat confcache >$cache_file
26347 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26348 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26353 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26354 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26355 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26356 if test "${wx_cv_lib_glibc21+set}" = set; then
26357 echo $ECHO_N "(cached) $ECHO_C" >&6
26360 cat >conftest.$ac_ext <<_ACEOF
26363 cat confdefs.h >>conftest.$ac_ext
26364 cat >>conftest.$ac_ext <<_ACEOF
26365 /* end confdefs.h. */
26366 #include <features.h>
26371 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26379 rm -f conftest.$ac_objext
26380 if { (ac_try="$ac_compile"
26381 case "(($ac_try" in
26382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26383 *) ac_try_echo=$ac_try;;
26385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26386 (eval "$ac_compile") 2>conftest.er1
26388 grep -v '^ *+' conftest.er1 >conftest.err
26390 cat conftest.err >&5
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); } &&
26393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26394 { (case "(($ac_try" in
26395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26396 *) ac_try_echo=$ac_try;;
26398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26399 (eval "$ac_try") 2>&5
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); }; } &&
26403 { ac_try='test -s conftest.$ac_objext'
26404 { (case "(($ac_try" in
26405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26406 *) ac_try_echo=$ac_try;;
26408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26409 (eval "$ac_try") 2>&5
26411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 (exit $ac_status); }; }; then
26414 wx_cv_lib_glibc21=yes
26417 echo "$as_me: failed program was:" >&5
26418 sed 's/^/| /' conftest.$ac_ext >&5
26421 wx_cv_lib_glibc21=no
26426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26429 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26430 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26431 if test "$wx_cv_lib_glibc21" = "yes"; then
26432 cat >>confdefs.h <<\_ACEOF
26433 #define wxHAVE_GLIBC2 1
26439 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26440 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26441 cat >>confdefs.h <<\_ACEOF
26442 #define _GNU_SOURCE 1
26453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26454 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26456 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26459 cat >conftest.$ac_ext <<_ACEOF
26462 cat confdefs.h >>conftest.$ac_ext
26463 cat >>conftest.$ac_ext <<_ACEOF
26464 /* end confdefs.h. */
26465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26467 #define $ac_func innocuous_$ac_func
26469 /* System header to define __stub macros and hopefully few prototypes,
26470 which can conflict with char $ac_func (); below.
26471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26472 <limits.h> exists even on freestanding compilers. */
26475 # include <limits.h>
26477 # include <assert.h>
26482 /* Override any GCC internal prototype to avoid an error.
26483 Use char because int might match the return type of a GCC
26484 builtin and then its argument prototype would still apply. */
26489 /* The GNU C library defines this for functions which it implements
26490 to always fail with ENOSYS. Some functions are actually named
26491 something starting with __ and the normal name is an alias. */
26492 #if defined __stub_$ac_func || defined __stub___$ac_func
26499 return $ac_func ();
26504 rm -f conftest.$ac_objext conftest$ac_exeext
26505 if { (ac_try="$ac_link"
26506 case "(($ac_try" in
26507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26508 *) ac_try_echo=$ac_try;;
26510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26511 (eval "$ac_link") 2>conftest.er1
26513 grep -v '^ *+' conftest.er1 >conftest.err
26515 cat conftest.err >&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); } &&
26518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26519 { (case "(($ac_try" in
26520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26521 *) ac_try_echo=$ac_try;;
26523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26524 (eval "$ac_try") 2>&5
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); }; } &&
26528 { ac_try='test -s conftest$ac_exeext'
26529 { (case "(($ac_try" in
26530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26531 *) ac_try_echo=$ac_try;;
26533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26534 (eval "$ac_try") 2>&5
26536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26537 (exit $ac_status); }; }; then
26538 eval "$as_ac_var=yes"
26540 echo "$as_me: failed program was:" >&5
26541 sed 's/^/| /' conftest.$ac_ext >&5
26543 eval "$as_ac_var=no"
26546 rm -f core conftest.err conftest.$ac_objext \
26547 conftest$ac_exeext conftest.$ac_ext
26549 ac_res=`eval echo '${'$as_ac_var'}'`
26550 { echo "$as_me:$LINENO: result: $ac_res" >&5
26551 echo "${ECHO_T}$ac_res" >&6; }
26552 if test `eval echo '${'$as_ac_var'}'` = yes; then
26553 cat >>confdefs.h <<_ACEOF
26554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26561 for ac_func in floor
26563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26564 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26566 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26567 echo $ECHO_N "(cached) $ECHO_C" >&6
26569 cat >conftest.$ac_ext <<_ACEOF
26572 cat confdefs.h >>conftest.$ac_ext
26573 cat >>conftest.$ac_ext <<_ACEOF
26574 /* end confdefs.h. */
26575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26577 #define $ac_func innocuous_$ac_func
26579 /* System header to define __stub macros and hopefully few prototypes,
26580 which can conflict with char $ac_func (); below.
26581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26582 <limits.h> exists even on freestanding compilers. */
26585 # include <limits.h>
26587 # include <assert.h>
26592 /* Override any GCC internal prototype to avoid an error.
26593 Use char because int might match the return type of a GCC
26594 builtin and then its argument prototype would still apply. */
26599 /* The GNU C library defines this for functions which it implements
26600 to always fail with ENOSYS. Some functions are actually named
26601 something starting with __ and the normal name is an alias. */
26602 #if defined __stub_$ac_func || defined __stub___$ac_func
26609 return $ac_func ();
26614 rm -f conftest.$ac_objext conftest$ac_exeext
26615 if { (ac_try="$ac_link"
26616 case "(($ac_try" in
26617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26618 *) ac_try_echo=$ac_try;;
26620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26621 (eval "$ac_link") 2>conftest.er1
26623 grep -v '^ *+' conftest.er1 >conftest.err
26625 cat conftest.err >&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); } &&
26628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26629 { (case "(($ac_try" in
26630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26631 *) ac_try_echo=$ac_try;;
26633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26634 (eval "$ac_try") 2>&5
26636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26637 (exit $ac_status); }; } &&
26638 { ac_try='test -s conftest$ac_exeext'
26639 { (case "(($ac_try" in
26640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26641 *) ac_try_echo=$ac_try;;
26643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26644 (eval "$ac_try") 2>&5
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; }; then
26648 eval "$as_ac_var=yes"
26650 echo "$as_me: failed program was:" >&5
26651 sed 's/^/| /' conftest.$ac_ext >&5
26653 eval "$as_ac_var=no"
26656 rm -f core conftest.err conftest.$ac_objext \
26657 conftest$ac_exeext conftest.$ac_ext
26659 ac_res=`eval echo '${'$as_ac_var'}'`
26660 { echo "$as_me:$LINENO: result: $ac_res" >&5
26661 echo "${ECHO_T}$ac_res" >&6; }
26662 if test `eval echo '${'$as_ac_var'}'` = yes; then
26663 cat >>confdefs.h <<_ACEOF
26664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26670 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26671 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26672 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26673 { echo "$as_me:$LINENO: result: yes" >&5
26674 echo "${ECHO_T}yes" >&6; }
26676 { echo "$as_me:$LINENO: result: no" >&5
26677 echo "${ECHO_T}no" >&6; }
26679 # use different functions to avoid configure caching
26685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26686 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26688 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26689 echo $ECHO_N "(cached) $ECHO_C" >&6
26691 cat >conftest.$ac_ext <<_ACEOF
26694 cat confdefs.h >>conftest.$ac_ext
26695 cat >>conftest.$ac_ext <<_ACEOF
26696 /* end confdefs.h. */
26697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26699 #define $ac_func innocuous_$ac_func
26701 /* System header to define __stub macros and hopefully few prototypes,
26702 which can conflict with char $ac_func (); below.
26703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26704 <limits.h> exists even on freestanding compilers. */
26707 # include <limits.h>
26709 # include <assert.h>
26714 /* Override any GCC internal prototype to avoid an error.
26715 Use char because int might match the return type of a GCC
26716 builtin and then its argument prototype would still apply. */
26721 /* The GNU C library defines this for functions which it implements
26722 to always fail with ENOSYS. Some functions are actually named
26723 something starting with __ and the normal name is an alias. */
26724 #if defined __stub_$ac_func || defined __stub___$ac_func
26731 return $ac_func ();
26736 rm -f conftest.$ac_objext conftest$ac_exeext
26737 if { (ac_try="$ac_link"
26738 case "(($ac_try" in
26739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26740 *) ac_try_echo=$ac_try;;
26742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26743 (eval "$ac_link") 2>conftest.er1
26745 grep -v '^ *+' conftest.er1 >conftest.err
26747 cat conftest.err >&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } &&
26750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26751 { (case "(($ac_try" in
26752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26753 *) ac_try_echo=$ac_try;;
26755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26756 (eval "$ac_try") 2>&5
26758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26759 (exit $ac_status); }; } &&
26760 { ac_try='test -s conftest$ac_exeext'
26761 { (case "(($ac_try" in
26762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26763 *) ac_try_echo=$ac_try;;
26765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26766 (eval "$ac_try") 2>&5
26768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26769 (exit $ac_status); }; }; then
26770 eval "$as_ac_var=yes"
26772 echo "$as_me: failed program was:" >&5
26773 sed 's/^/| /' conftest.$ac_ext >&5
26775 eval "$as_ac_var=no"
26778 rm -f core conftest.err conftest.$ac_objext \
26779 conftest$ac_exeext conftest.$ac_ext
26781 ac_res=`eval echo '${'$as_ac_var'}'`
26782 { echo "$as_me:$LINENO: result: $ac_res" >&5
26783 echo "${ECHO_T}$ac_res" >&6; }
26784 if test `eval echo '${'$as_ac_var'}'` = yes; then
26785 cat >>confdefs.h <<_ACEOF
26786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26793 for ac_func in ceil
26795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26798 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26799 echo $ECHO_N "(cached) $ECHO_C" >&6
26801 cat >conftest.$ac_ext <<_ACEOF
26804 cat confdefs.h >>conftest.$ac_ext
26805 cat >>conftest.$ac_ext <<_ACEOF
26806 /* end confdefs.h. */
26807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26809 #define $ac_func innocuous_$ac_func
26811 /* System header to define __stub macros and hopefully few prototypes,
26812 which can conflict with char $ac_func (); below.
26813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26814 <limits.h> exists even on freestanding compilers. */
26817 # include <limits.h>
26819 # include <assert.h>
26824 /* Override any GCC internal prototype to avoid an error.
26825 Use char because int might match the return type of a GCC
26826 builtin and then its argument prototype would still apply. */
26831 /* The GNU C library defines this for functions which it implements
26832 to always fail with ENOSYS. Some functions are actually named
26833 something starting with __ and the normal name is an alias. */
26834 #if defined __stub_$ac_func || defined __stub___$ac_func
26841 return $ac_func ();
26846 rm -f conftest.$ac_objext conftest$ac_exeext
26847 if { (ac_try="$ac_link"
26848 case "(($ac_try" in
26849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26850 *) ac_try_echo=$ac_try;;
26852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26853 (eval "$ac_link") 2>conftest.er1
26855 grep -v '^ *+' conftest.er1 >conftest.err
26857 cat conftest.err >&5
26858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26859 (exit $ac_status); } &&
26860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26861 { (case "(($ac_try" in
26862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26863 *) ac_try_echo=$ac_try;;
26865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26866 (eval "$ac_try") 2>&5
26868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26869 (exit $ac_status); }; } &&
26870 { ac_try='test -s conftest$ac_exeext'
26871 { (case "(($ac_try" in
26872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26873 *) ac_try_echo=$ac_try;;
26875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26876 (eval "$ac_try") 2>&5
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); }; }; then
26880 eval "$as_ac_var=yes"
26882 echo "$as_me: failed program was:" >&5
26883 sed 's/^/| /' conftest.$ac_ext >&5
26885 eval "$as_ac_var=no"
26888 rm -f core conftest.err conftest.$ac_objext \
26889 conftest$ac_exeext conftest.$ac_ext
26891 ac_res=`eval echo '${'$as_ac_var'}'`
26892 { echo "$as_me:$LINENO: result: $ac_res" >&5
26893 echo "${ECHO_T}$ac_res" >&6; }
26894 if test `eval echo '${'$as_ac_var'}'` = yes; then
26895 cat >>confdefs.h <<_ACEOF
26896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26902 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26903 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26904 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26905 { echo "$as_me:$LINENO: result: yes" >&5
26906 echo "${ECHO_T}yes" >&6; }
26908 { echo "$as_me:$LINENO: result: no" >&5
26909 echo "${ECHO_T}no" >&6; }
26910 # not sure we should warn the user, crash, etc.
26915 ac_cpp='$CXXCPP $CPPFLAGS'
26916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26920 if test "wxUSE_UNICODE" = "yes"; then
26922 for wx_func in wcstoull
26924 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26925 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26926 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26927 echo $ECHO_N "(cached) $ECHO_C" >&6
26930 cat >conftest.$ac_ext <<_ACEOF
26934 cat confdefs.h >>conftest.$ac_ext
26935 cat >>conftest.$ac_ext <<_ACEOF
26936 /* end confdefs.h. */
26939 $ac_includes_default
26955 rm -f conftest.$ac_objext conftest$ac_exeext
26956 if { (ac_try="$ac_link"
26957 case "(($ac_try" in
26958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26959 *) ac_try_echo=$ac_try;;
26961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26962 (eval "$ac_link") 2>conftest.er1
26964 grep -v '^ *+' conftest.er1 >conftest.err
26966 cat conftest.err >&5
26967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26968 (exit $ac_status); } &&
26969 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26970 { (case "(($ac_try" in
26971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26972 *) ac_try_echo=$ac_try;;
26974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26975 (eval "$ac_try") 2>&5
26977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26978 (exit $ac_status); }; } &&
26979 { ac_try='test -s conftest$ac_exeext'
26980 { (case "(($ac_try" in
26981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26982 *) ac_try_echo=$ac_try;;
26984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26985 (eval "$ac_try") 2>&5
26987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26988 (exit $ac_status); }; }; then
26989 eval wx_cv_func_$wx_func=yes
26991 echo "$as_me: failed program was:" >&5
26992 sed 's/^/| /' conftest.$ac_ext >&5
26994 eval wx_cv_func_$wx_func=no
26997 rm -f core conftest.err conftest.$ac_objext \
26998 conftest$ac_exeext conftest.$ac_ext
27001 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27002 { echo "$as_me:$LINENO: result: $ac_res" >&5
27003 echo "${ECHO_T}$ac_res" >&6; }
27005 if eval test \$wx_cv_func_$wx_func = yes
27007 cat >>confdefs.h <<_ACEOF
27008 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27020 for wx_func in strtoull
27022 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27023 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27024 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27025 echo $ECHO_N "(cached) $ECHO_C" >&6
27028 cat >conftest.$ac_ext <<_ACEOF
27032 cat confdefs.h >>conftest.$ac_ext
27033 cat >>conftest.$ac_ext <<_ACEOF
27034 /* end confdefs.h. */
27037 $ac_includes_default
27053 rm -f conftest.$ac_objext conftest$ac_exeext
27054 if { (ac_try="$ac_link"
27055 case "(($ac_try" in
27056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27057 *) ac_try_echo=$ac_try;;
27059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27060 (eval "$ac_link") 2>conftest.er1
27062 grep -v '^ *+' conftest.er1 >conftest.err
27064 cat conftest.err >&5
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); } &&
27067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27068 { (case "(($ac_try" in
27069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27070 *) ac_try_echo=$ac_try;;
27072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27073 (eval "$ac_try") 2>&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); }; } &&
27077 { ac_try='test -s conftest$ac_exeext'
27078 { (case "(($ac_try" in
27079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27080 *) ac_try_echo=$ac_try;;
27082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27083 (eval "$ac_try") 2>&5
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); }; }; then
27087 eval wx_cv_func_$wx_func=yes
27089 echo "$as_me: failed program was:" >&5
27090 sed 's/^/| /' conftest.$ac_ext >&5
27092 eval wx_cv_func_$wx_func=no
27095 rm -f core conftest.err conftest.$ac_objext \
27096 conftest$ac_exeext conftest.$ac_ext
27099 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27100 { echo "$as_me:$LINENO: result: $ac_res" >&5
27101 echo "${ECHO_T}$ac_res" >&6; }
27103 if eval test \$wx_cv_func_$wx_func = yes
27105 cat >>confdefs.h <<_ACEOF
27106 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27118 ac_cpp='$CPP $CPPFLAGS'
27119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27126 if test "$wxUSE_REGEX" != "no"; then
27127 cat >>confdefs.h <<\_ACEOF
27128 #define wxUSE_REGEX 1
27132 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27133 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
27134 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
27135 wxUSE_REGEX=builtin
27138 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27139 { echo "$as_me:$LINENO: checking for regex.h" >&5
27140 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27141 if test "${ac_cv_header_regex_h+set}" = set; then
27142 echo $ECHO_N "(cached) $ECHO_C" >&6
27144 cat >conftest.$ac_ext <<_ACEOF
27147 cat confdefs.h >>conftest.$ac_ext
27148 cat >>conftest.$ac_ext <<_ACEOF
27149 /* end confdefs.h. */
27154 rm -f conftest.$ac_objext
27155 if { (ac_try="$ac_compile"
27156 case "(($ac_try" in
27157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27158 *) ac_try_echo=$ac_try;;
27160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27161 (eval "$ac_compile") 2>conftest.er1
27163 grep -v '^ *+' conftest.er1 >conftest.err
27165 cat conftest.err >&5
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); } &&
27168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27169 { (case "(($ac_try" in
27170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27171 *) ac_try_echo=$ac_try;;
27173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27174 (eval "$ac_try") 2>&5
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); }; } &&
27178 { ac_try='test -s conftest.$ac_objext'
27179 { (case "(($ac_try" in
27180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27181 *) ac_try_echo=$ac_try;;
27183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27184 (eval "$ac_try") 2>&5
27186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27187 (exit $ac_status); }; }; then
27188 ac_cv_header_regex_h=yes
27190 echo "$as_me: failed program was:" >&5
27191 sed 's/^/| /' conftest.$ac_ext >&5
27193 ac_cv_header_regex_h=no
27196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27198 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27199 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27200 if test $ac_cv_header_regex_h = yes; then
27203 for ac_func in regcomp re_search
27205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27206 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27208 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27209 echo $ECHO_N "(cached) $ECHO_C" >&6
27211 cat >conftest.$ac_ext <<_ACEOF
27214 cat confdefs.h >>conftest.$ac_ext
27215 cat >>conftest.$ac_ext <<_ACEOF
27216 /* end confdefs.h. */
27217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27219 #define $ac_func innocuous_$ac_func
27221 /* System header to define __stub macros and hopefully few prototypes,
27222 which can conflict with char $ac_func (); below.
27223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27224 <limits.h> exists even on freestanding compilers. */
27227 # include <limits.h>
27229 # include <assert.h>
27234 /* Override any GCC internal prototype to avoid an error.
27235 Use char because int might match the return type of a GCC
27236 builtin and then its argument prototype would still apply. */
27241 /* The GNU C library defines this for functions which it implements
27242 to always fail with ENOSYS. Some functions are actually named
27243 something starting with __ and the normal name is an alias. */
27244 #if defined __stub_$ac_func || defined __stub___$ac_func
27251 return $ac_func ();
27256 rm -f conftest.$ac_objext conftest$ac_exeext
27257 if { (ac_try="$ac_link"
27258 case "(($ac_try" in
27259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27260 *) ac_try_echo=$ac_try;;
27262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27263 (eval "$ac_link") 2>conftest.er1
27265 grep -v '^ *+' conftest.er1 >conftest.err
27267 cat conftest.err >&5
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); } &&
27270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27271 { (case "(($ac_try" in
27272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27273 *) ac_try_echo=$ac_try;;
27275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27276 (eval "$ac_try") 2>&5
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); }; } &&
27280 { ac_try='test -s conftest$ac_exeext'
27281 { (case "(($ac_try" in
27282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27283 *) ac_try_echo=$ac_try;;
27285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27286 (eval "$ac_try") 2>&5
27288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289 (exit $ac_status); }; }; then
27290 eval "$as_ac_var=yes"
27292 echo "$as_me: failed program was:" >&5
27293 sed 's/^/| /' conftest.$ac_ext >&5
27295 eval "$as_ac_var=no"
27298 rm -f core conftest.err conftest.$ac_objext \
27299 conftest$ac_exeext conftest.$ac_ext
27301 ac_res=`eval echo '${'$as_ac_var'}'`
27302 { echo "$as_me:$LINENO: result: $ac_res" >&5
27303 echo "${ECHO_T}$ac_res" >&6; }
27304 if test `eval echo '${'$as_ac_var'}'` = yes; then
27305 cat >>confdefs.h <<_ACEOF
27306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27316 if test "x$ac_cv_func_regcomp" != "xyes"; then
27317 if test "$wxUSE_REGEX" = "sys" ; then
27318 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27319 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27320 { (exit 1); exit 1; }; }
27322 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27323 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27324 wxUSE_REGEX=builtin
27328 cat >>confdefs.h <<\_ACEOF
27329 #define WX_NO_REGEX_ADVANCED 1
27338 if test "$wxUSE_ZLIB" != "no" ; then
27339 cat >>confdefs.h <<\_ACEOF
27340 #define wxUSE_ZLIB 1
27344 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27345 if test "$USE_DARWIN" = 1; then
27346 system_zlib_h_ok="yes"
27348 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27349 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27350 if test "${ac_cv_header_zlib_h+set}" = set; then
27351 echo $ECHO_N "(cached) $ECHO_C" >&6
27353 if test "$cross_compiling" = yes; then
27354 unset ac_cv_header_zlib_h
27357 cat >conftest.$ac_ext <<_ACEOF
27360 cat confdefs.h >>conftest.$ac_ext
27361 cat >>conftest.$ac_ext <<_ACEOF
27362 /* end confdefs.h. */
27369 FILE *f=fopen("conftestval", "w");
27372 ZLIB_VERSION[0] == '1' &&
27373 (ZLIB_VERSION[2] > '1' ||
27374 (ZLIB_VERSION[2] == '1' &&
27375 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27380 rm -f conftest$ac_exeext
27381 if { (ac_try="$ac_link"
27382 case "(($ac_try" in
27383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27384 *) ac_try_echo=$ac_try;;
27386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27387 (eval "$ac_link") 2>&5
27389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27390 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27391 { (case "(($ac_try" in
27392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27393 *) ac_try_echo=$ac_try;;
27395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27396 (eval "$ac_try") 2>&5
27398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27399 (exit $ac_status); }; }; then
27400 ac_cv_header_zlib_h=`cat conftestval`
27402 echo "$as_me: program exited with status $ac_status" >&5
27403 echo "$as_me: failed program was:" >&5
27404 sed 's/^/| /' conftest.$ac_ext >&5
27406 ( exit $ac_status )
27407 ac_cv_header_zlib_h=no
27409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27415 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27416 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27417 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27418 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27419 if test "${ac_cv_header_zlib_h+set}" = set; then
27420 echo $ECHO_N "(cached) $ECHO_C" >&6
27422 cat >conftest.$ac_ext <<_ACEOF
27425 cat confdefs.h >>conftest.$ac_ext
27426 cat >>conftest.$ac_ext <<_ACEOF
27427 /* end confdefs.h. */
27432 rm -f conftest.$ac_objext
27433 if { (ac_try="$ac_compile"
27434 case "(($ac_try" in
27435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27436 *) ac_try_echo=$ac_try;;
27438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27439 (eval "$ac_compile") 2>conftest.er1
27441 grep -v '^ *+' conftest.er1 >conftest.err
27443 cat conftest.err >&5
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); } &&
27446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27447 { (case "(($ac_try" in
27448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27449 *) ac_try_echo=$ac_try;;
27451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27452 (eval "$ac_try") 2>&5
27454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455 (exit $ac_status); }; } &&
27456 { ac_try='test -s conftest.$ac_objext'
27457 { (case "(($ac_try" in
27458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27459 *) ac_try_echo=$ac_try;;
27461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27462 (eval "$ac_try") 2>&5
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); }; }; then
27466 ac_cv_header_zlib_h=yes
27468 echo "$as_me: failed program was:" >&5
27469 sed 's/^/| /' conftest.$ac_ext >&5
27471 ac_cv_header_zlib_h=no
27474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27476 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27477 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27481 system_zlib_h_ok=$ac_cv_header_zlib_h
27484 if test "$system_zlib_h_ok" = "yes"; then
27485 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27486 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27487 if test "${ac_cv_lib_z_deflate+set}" = set; then
27488 echo $ECHO_N "(cached) $ECHO_C" >&6
27490 ac_check_lib_save_LIBS=$LIBS
27492 cat >conftest.$ac_ext <<_ACEOF
27495 cat confdefs.h >>conftest.$ac_ext
27496 cat >>conftest.$ac_ext <<_ACEOF
27497 /* end confdefs.h. */
27499 /* Override any GCC internal prototype to avoid an error.
27500 Use char because int might match the return type of a GCC
27501 builtin and then its argument prototype would still apply. */
27514 rm -f conftest.$ac_objext conftest$ac_exeext
27515 if { (ac_try="$ac_link"
27516 case "(($ac_try" in
27517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27518 *) ac_try_echo=$ac_try;;
27520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27521 (eval "$ac_link") 2>conftest.er1
27523 grep -v '^ *+' conftest.er1 >conftest.err
27525 cat conftest.err >&5
27526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527 (exit $ac_status); } &&
27528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27529 { (case "(($ac_try" in
27530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27531 *) ac_try_echo=$ac_try;;
27533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27534 (eval "$ac_try") 2>&5
27536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27537 (exit $ac_status); }; } &&
27538 { ac_try='test -s conftest$ac_exeext'
27539 { (case "(($ac_try" in
27540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27541 *) ac_try_echo=$ac_try;;
27543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27544 (eval "$ac_try") 2>&5
27546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27547 (exit $ac_status); }; }; then
27548 ac_cv_lib_z_deflate=yes
27550 echo "$as_me: failed program was:" >&5
27551 sed 's/^/| /' conftest.$ac_ext >&5
27553 ac_cv_lib_z_deflate=no
27556 rm -f core conftest.err conftest.$ac_objext \
27557 conftest$ac_exeext conftest.$ac_ext
27558 LIBS=$ac_check_lib_save_LIBS
27560 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27561 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27562 if test $ac_cv_lib_z_deflate = yes; then
27568 if test "x$ZLIB_LINK" = "x" ; then
27569 if test "$wxUSE_ZLIB" = "sys" ; then
27570 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27571 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27572 { (exit 1); exit 1; }; }
27574 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27575 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27586 if test "$wxUSE_LIBPNG" != "no" ; then
27587 cat >>confdefs.h <<\_ACEOF
27588 #define wxUSE_LIBPNG 1
27592 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27593 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27594 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27598 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27599 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27600 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27601 wxUSE_LIBPNG=builtin
27604 if test "$wxUSE_MGL" != 1 ; then
27605 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27606 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27607 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27608 if test "${ac_cv_header_png_h+set}" = set; then
27609 echo $ECHO_N "(cached) $ECHO_C" >&6
27611 if test "$cross_compiling" = yes; then
27612 unset ac_cv_header_png_h
27615 cat >conftest.$ac_ext <<_ACEOF
27618 cat confdefs.h >>conftest.$ac_ext
27619 cat >>conftest.$ac_ext <<_ACEOF
27620 /* end confdefs.h. */
27627 FILE *f=fopen("conftestval", "w");
27630 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27635 rm -f conftest$ac_exeext
27636 if { (ac_try="$ac_link"
27637 case "(($ac_try" in
27638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27639 *) ac_try_echo=$ac_try;;
27641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27642 (eval "$ac_link") 2>&5
27644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27646 { (case "(($ac_try" in
27647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27648 *) ac_try_echo=$ac_try;;
27650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27651 (eval "$ac_try") 2>&5
27653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27654 (exit $ac_status); }; }; then
27655 ac_cv_header_png_h=`cat conftestval`
27657 echo "$as_me: program exited with status $ac_status" >&5
27658 echo "$as_me: failed program was:" >&5
27659 sed 's/^/| /' conftest.$ac_ext >&5
27661 ( exit $ac_status )
27662 ac_cv_header_png_h=no
27664 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27670 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27671 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27672 { echo "$as_me:$LINENO: checking for png.h" >&5
27673 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27674 if test "${ac_cv_header_png_h+set}" = set; then
27675 echo $ECHO_N "(cached) $ECHO_C" >&6
27677 cat >conftest.$ac_ext <<_ACEOF
27680 cat confdefs.h >>conftest.$ac_ext
27681 cat >>conftest.$ac_ext <<_ACEOF
27682 /* end confdefs.h. */
27687 rm -f conftest.$ac_objext
27688 if { (ac_try="$ac_compile"
27689 case "(($ac_try" in
27690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27691 *) ac_try_echo=$ac_try;;
27693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27694 (eval "$ac_compile") 2>conftest.er1
27696 grep -v '^ *+' conftest.er1 >conftest.err
27698 cat conftest.err >&5
27699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27700 (exit $ac_status); } &&
27701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27702 { (case "(($ac_try" in
27703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27704 *) ac_try_echo=$ac_try;;
27706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27707 (eval "$ac_try") 2>&5
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); }; } &&
27711 { ac_try='test -s conftest.$ac_objext'
27712 { (case "(($ac_try" in
27713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27714 *) ac_try_echo=$ac_try;;
27716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27717 (eval "$ac_try") 2>&5
27719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720 (exit $ac_status); }; }; then
27721 ac_cv_header_png_h=yes
27723 echo "$as_me: failed program was:" >&5
27724 sed 's/^/| /' conftest.$ac_ext >&5
27726 ac_cv_header_png_h=no
27729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27731 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27732 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27736 if test "$ac_cv_header_png_h" = "yes"; then
27737 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27738 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
27739 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27740 echo $ECHO_N "(cached) $ECHO_C" >&6
27742 ac_check_lib_save_LIBS=$LIBS
27743 LIBS="-lpng -lz -lm $LIBS"
27744 cat >conftest.$ac_ext <<_ACEOF
27747 cat confdefs.h >>conftest.$ac_ext
27748 cat >>conftest.$ac_ext <<_ACEOF
27749 /* end confdefs.h. */
27751 /* Override any GCC internal prototype to avoid an error.
27752 Use char because int might match the return type of a GCC
27753 builtin and then its argument prototype would still apply. */
27757 char png_check_sig ();
27761 return png_check_sig ();
27766 rm -f conftest.$ac_objext conftest$ac_exeext
27767 if { (ac_try="$ac_link"
27768 case "(($ac_try" in
27769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27770 *) ac_try_echo=$ac_try;;
27772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27773 (eval "$ac_link") 2>conftest.er1
27775 grep -v '^ *+' conftest.er1 >conftest.err
27777 cat conftest.err >&5
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); } &&
27780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27781 { (case "(($ac_try" in
27782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27783 *) ac_try_echo=$ac_try;;
27785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27786 (eval "$ac_try") 2>&5
27788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27789 (exit $ac_status); }; } &&
27790 { ac_try='test -s conftest$ac_exeext'
27791 { (case "(($ac_try" in
27792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27793 *) ac_try_echo=$ac_try;;
27795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27796 (eval "$ac_try") 2>&5
27798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27799 (exit $ac_status); }; }; then
27800 ac_cv_lib_png_png_check_sig=yes
27802 echo "$as_me: failed program was:" >&5
27803 sed 's/^/| /' conftest.$ac_ext >&5
27805 ac_cv_lib_png_png_check_sig=no
27808 rm -f core conftest.err conftest.$ac_objext \
27809 conftest$ac_exeext conftest.$ac_ext
27810 LIBS=$ac_check_lib_save_LIBS
27812 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27813 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27814 if test $ac_cv_lib_png_png_check_sig = yes; then
27815 PNG_LINK=" -lpng -lz"
27820 if test "x$PNG_LINK" = "x" ; then
27821 if test "$wxUSE_LIBPNG" = "sys" ; then
27822 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27823 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27824 { (exit 1); exit 1; }; }
27826 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27827 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27828 wxUSE_LIBPNG=builtin
27836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
27841 if test "$wxUSE_LIBJPEG" != "no" ; then
27842 cat >>confdefs.h <<\_ACEOF
27843 #define wxUSE_LIBJPEG 1
27847 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27848 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27849 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27853 if test "$wxUSE_MGL" != 1 ; then
27854 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27855 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27856 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27857 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27858 echo $ECHO_N "(cached) $ECHO_C" >&6
27860 cat >conftest.$ac_ext <<_ACEOF
27863 cat confdefs.h >>conftest.$ac_ext
27864 cat >>conftest.$ac_ext <<_ACEOF
27865 /* end confdefs.h. */
27867 #undef HAVE_STDLIB_H
27869 #include <jpeglib.h>
27880 rm -f conftest.$ac_objext
27881 if { (ac_try="$ac_compile"
27882 case "(($ac_try" in
27883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27884 *) ac_try_echo=$ac_try;;
27886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27887 (eval "$ac_compile") 2>conftest.er1
27889 grep -v '^ *+' conftest.er1 >conftest.err
27891 cat conftest.err >&5
27892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27893 (exit $ac_status); } &&
27894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27895 { (case "(($ac_try" in
27896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27897 *) ac_try_echo=$ac_try;;
27899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27900 (eval "$ac_try") 2>&5
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); }; } &&
27904 { ac_try='test -s conftest.$ac_objext'
27905 { (case "(($ac_try" in
27906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27907 *) ac_try_echo=$ac_try;;
27909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27910 (eval "$ac_try") 2>&5
27912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27913 (exit $ac_status); }; }; then
27914 ac_cv_header_jpeglib_h=yes
27916 echo "$as_me: failed program was:" >&5
27917 sed 's/^/| /' conftest.$ac_ext >&5
27919 ac_cv_header_jpeglib_h=no
27923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27927 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27928 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27930 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27931 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27932 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27933 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27934 echo $ECHO_N "(cached) $ECHO_C" >&6
27936 ac_check_lib_save_LIBS=$LIBS
27937 LIBS="-ljpeg $LIBS"
27938 cat >conftest.$ac_ext <<_ACEOF
27941 cat confdefs.h >>conftest.$ac_ext
27942 cat >>conftest.$ac_ext <<_ACEOF
27943 /* end confdefs.h. */
27945 /* Override any GCC internal prototype to avoid an error.
27946 Use char because int might match the return type of a GCC
27947 builtin and then its argument prototype would still apply. */
27951 char jpeg_read_header ();
27955 return jpeg_read_header ();
27960 rm -f conftest.$ac_objext conftest$ac_exeext
27961 if { (ac_try="$ac_link"
27962 case "(($ac_try" in
27963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27964 *) ac_try_echo=$ac_try;;
27966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27967 (eval "$ac_link") 2>conftest.er1
27969 grep -v '^ *+' conftest.er1 >conftest.err
27971 cat conftest.err >&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); } &&
27974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27975 { (case "(($ac_try" in
27976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27977 *) ac_try_echo=$ac_try;;
27979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27980 (eval "$ac_try") 2>&5
27982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27983 (exit $ac_status); }; } &&
27984 { ac_try='test -s conftest$ac_exeext'
27985 { (case "(($ac_try" in
27986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27987 *) ac_try_echo=$ac_try;;
27989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27990 (eval "$ac_try") 2>&5
27992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27993 (exit $ac_status); }; }; then
27994 ac_cv_lib_jpeg_jpeg_read_header=yes
27996 echo "$as_me: failed program was:" >&5
27997 sed 's/^/| /' conftest.$ac_ext >&5
27999 ac_cv_lib_jpeg_jpeg_read_header=no
28002 rm -f core conftest.err conftest.$ac_objext \
28003 conftest$ac_exeext conftest.$ac_ext
28004 LIBS=$ac_check_lib_save_LIBS
28006 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28007 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28008 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28009 JPEG_LINK=" -ljpeg"
28014 if test "x$JPEG_LINK" = "x" ; then
28015 if test "$wxUSE_LIBJPEG" = "sys" ; then
28016 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28017 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28018 { (exit 1); exit 1; }; }
28020 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28021 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28022 wxUSE_LIBJPEG=builtin
28027 if test "$wxUSE_MSW" = 1; then
28028 { echo "$as_me:$LINENO: checking for boolean" >&5
28029 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28030 if test "${ac_cv_type_boolean+set}" = set; then
28031 echo $ECHO_N "(cached) $ECHO_C" >&6
28033 cat >conftest.$ac_ext <<_ACEOF
28036 cat confdefs.h >>conftest.$ac_ext
28037 cat >>conftest.$ac_ext <<_ACEOF
28038 /* end confdefs.h. */
28039 #include <windows.h>
28041 typedef boolean ac__type_new_;
28045 if ((ac__type_new_ *) 0)
28047 if (sizeof (ac__type_new_))
28053 rm -f conftest.$ac_objext
28054 if { (ac_try="$ac_compile"
28055 case "(($ac_try" in
28056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28057 *) ac_try_echo=$ac_try;;
28059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28060 (eval "$ac_compile") 2>conftest.er1
28062 grep -v '^ *+' conftest.er1 >conftest.err
28064 cat conftest.err >&5
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); } &&
28067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28068 { (case "(($ac_try" in
28069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28070 *) ac_try_echo=$ac_try;;
28072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28073 (eval "$ac_try") 2>&5
28075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28076 (exit $ac_status); }; } &&
28077 { ac_try='test -s conftest.$ac_objext'
28078 { (case "(($ac_try" in
28079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28080 *) ac_try_echo=$ac_try;;
28082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28083 (eval "$ac_try") 2>&5
28085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086 (exit $ac_status); }; }; then
28087 ac_cv_type_boolean=yes
28089 echo "$as_me: failed program was:" >&5
28090 sed 's/^/| /' conftest.$ac_ext >&5
28092 ac_cv_type_boolean=no
28095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28097 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28098 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28099 if test $ac_cv_type_boolean = yes; then
28101 cat >>confdefs.h <<_ACEOF
28102 #define HAVE_BOOLEAN 1
28106 { echo "$as_me:$LINENO: checking for boolean" >&5
28107 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28108 if test "${ac_cv_type_boolean+set}" = set; then
28109 echo $ECHO_N "(cached) $ECHO_C" >&6
28111 cat >conftest.$ac_ext <<_ACEOF
28114 cat confdefs.h >>conftest.$ac_ext
28115 cat >>conftest.$ac_ext <<_ACEOF
28116 /* end confdefs.h. */
28118 #undef HAVE_BOOLEAN
28120 #include <jpeglib.h>
28123 typedef boolean ac__type_new_;
28127 if ((ac__type_new_ *) 0)
28129 if (sizeof (ac__type_new_))
28135 rm -f conftest.$ac_objext
28136 if { (ac_try="$ac_compile"
28137 case "(($ac_try" in
28138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28139 *) ac_try_echo=$ac_try;;
28141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28142 (eval "$ac_compile") 2>conftest.er1
28144 grep -v '^ *+' conftest.er1 >conftest.err
28146 cat conftest.err >&5
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); } &&
28149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28150 { (case "(($ac_try" in
28151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28152 *) ac_try_echo=$ac_try;;
28154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28155 (eval "$ac_try") 2>&5
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); }; } &&
28159 { ac_try='test -s conftest.$ac_objext'
28160 { (case "(($ac_try" in
28161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28162 *) ac_try_echo=$ac_try;;
28164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28165 (eval "$ac_try") 2>&5
28167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 (exit $ac_status); }; }; then
28169 ac_cv_type_boolean=yes
28171 echo "$as_me: failed program was:" >&5
28172 sed 's/^/| /' conftest.$ac_ext >&5
28174 ac_cv_type_boolean=no
28177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28179 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28180 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28182 { echo "$as_me:$LINENO: checking size of boolean" >&5
28183 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28184 if test "${ac_cv_sizeof_boolean+set}" = set; then
28185 echo $ECHO_N "(cached) $ECHO_C" >&6
28187 if test "$ac_cv_type_boolean" = yes; then
28188 # The cast to long int works around a bug in the HP C Compiler
28189 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28190 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28191 # This bug is HP SR number 8606223364.
28192 if test "$cross_compiling" = yes; then
28193 # Depending upon the size, compute the lo and hi bounds.
28194 cat >conftest.$ac_ext <<_ACEOF
28197 cat confdefs.h >>conftest.$ac_ext
28198 cat >>conftest.$ac_ext <<_ACEOF
28199 /* end confdefs.h. */
28201 #undef HAVE_BOOLEAN
28203 #include <jpeglib.h>
28206 typedef boolean ac__type_sizeof_;
28210 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28217 rm -f conftest.$ac_objext
28218 if { (ac_try="$ac_compile"
28219 case "(($ac_try" in
28220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28221 *) ac_try_echo=$ac_try;;
28223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28224 (eval "$ac_compile") 2>conftest.er1
28226 grep -v '^ *+' conftest.er1 >conftest.err
28228 cat conftest.err >&5
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); } &&
28231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28232 { (case "(($ac_try" in
28233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28234 *) ac_try_echo=$ac_try;;
28236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28237 (eval "$ac_try") 2>&5
28239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28240 (exit $ac_status); }; } &&
28241 { ac_try='test -s conftest.$ac_objext'
28242 { (case "(($ac_try" in
28243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28244 *) ac_try_echo=$ac_try;;
28246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28247 (eval "$ac_try") 2>&5
28249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28250 (exit $ac_status); }; }; then
28253 cat >conftest.$ac_ext <<_ACEOF
28256 cat confdefs.h >>conftest.$ac_ext
28257 cat >>conftest.$ac_ext <<_ACEOF
28258 /* end confdefs.h. */
28260 #undef HAVE_BOOLEAN
28262 #include <jpeglib.h>
28265 typedef boolean ac__type_sizeof_;
28269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28276 rm -f conftest.$ac_objext
28277 if { (ac_try="$ac_compile"
28278 case "(($ac_try" in
28279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28280 *) ac_try_echo=$ac_try;;
28282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28283 (eval "$ac_compile") 2>conftest.er1
28285 grep -v '^ *+' conftest.er1 >conftest.err
28287 cat conftest.err >&5
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); } &&
28290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28291 { (case "(($ac_try" in
28292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28293 *) ac_try_echo=$ac_try;;
28295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28296 (eval "$ac_try") 2>&5
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); }; } &&
28300 { ac_try='test -s conftest.$ac_objext'
28301 { (case "(($ac_try" in
28302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28303 *) ac_try_echo=$ac_try;;
28305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28306 (eval "$ac_try") 2>&5
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); }; }; then
28310 ac_hi=$ac_mid; break
28312 echo "$as_me: failed program was:" >&5
28313 sed 's/^/| /' conftest.$ac_ext >&5
28315 ac_lo=`expr $ac_mid + 1`
28316 if test $ac_lo -le $ac_mid; then
28320 ac_mid=`expr 2 '*' $ac_mid + 1`
28323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28326 echo "$as_me: failed program was:" >&5
28327 sed 's/^/| /' conftest.$ac_ext >&5
28329 cat >conftest.$ac_ext <<_ACEOF
28332 cat confdefs.h >>conftest.$ac_ext
28333 cat >>conftest.$ac_ext <<_ACEOF
28334 /* end confdefs.h. */
28336 #undef HAVE_BOOLEAN
28338 #include <jpeglib.h>
28341 typedef boolean ac__type_sizeof_;
28345 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28352 rm -f conftest.$ac_objext
28353 if { (ac_try="$ac_compile"
28354 case "(($ac_try" in
28355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28356 *) ac_try_echo=$ac_try;;
28358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28359 (eval "$ac_compile") 2>conftest.er1
28361 grep -v '^ *+' conftest.er1 >conftest.err
28363 cat conftest.err >&5
28364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28365 (exit $ac_status); } &&
28366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28367 { (case "(($ac_try" in
28368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28369 *) ac_try_echo=$ac_try;;
28371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28372 (eval "$ac_try") 2>&5
28374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375 (exit $ac_status); }; } &&
28376 { ac_try='test -s conftest.$ac_objext'
28377 { (case "(($ac_try" in
28378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28379 *) ac_try_echo=$ac_try;;
28381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28382 (eval "$ac_try") 2>&5
28384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28385 (exit $ac_status); }; }; then
28388 cat >conftest.$ac_ext <<_ACEOF
28391 cat confdefs.h >>conftest.$ac_ext
28392 cat >>conftest.$ac_ext <<_ACEOF
28393 /* end confdefs.h. */
28395 #undef HAVE_BOOLEAN
28397 #include <jpeglib.h>
28400 typedef boolean ac__type_sizeof_;
28404 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28411 rm -f conftest.$ac_objext
28412 if { (ac_try="$ac_compile"
28413 case "(($ac_try" in
28414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28415 *) ac_try_echo=$ac_try;;
28417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28418 (eval "$ac_compile") 2>conftest.er1
28420 grep -v '^ *+' conftest.er1 >conftest.err
28422 cat conftest.err >&5
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); } &&
28425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28426 { (case "(($ac_try" in
28427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28428 *) ac_try_echo=$ac_try;;
28430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28431 (eval "$ac_try") 2>&5
28433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28434 (exit $ac_status); }; } &&
28435 { ac_try='test -s conftest.$ac_objext'
28436 { (case "(($ac_try" in
28437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28438 *) ac_try_echo=$ac_try;;
28440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28441 (eval "$ac_try") 2>&5
28443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444 (exit $ac_status); }; }; then
28445 ac_lo=$ac_mid; break
28447 echo "$as_me: failed program was:" >&5
28448 sed 's/^/| /' conftest.$ac_ext >&5
28450 ac_hi=`expr '(' $ac_mid ')' - 1`
28451 if test $ac_mid -le $ac_hi; then
28455 ac_mid=`expr 2 '*' $ac_mid`
28458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28461 echo "$as_me: failed program was:" >&5
28462 sed 's/^/| /' conftest.$ac_ext >&5
28467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28471 # Binary search between lo and hi bounds.
28472 while test "x$ac_lo" != "x$ac_hi"; do
28473 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28474 cat >conftest.$ac_ext <<_ACEOF
28477 cat confdefs.h >>conftest.$ac_ext
28478 cat >>conftest.$ac_ext <<_ACEOF
28479 /* end confdefs.h. */
28481 #undef HAVE_BOOLEAN
28483 #include <jpeglib.h>
28486 typedef boolean ac__type_sizeof_;
28490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28497 rm -f conftest.$ac_objext
28498 if { (ac_try="$ac_compile"
28499 case "(($ac_try" in
28500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28501 *) ac_try_echo=$ac_try;;
28503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28504 (eval "$ac_compile") 2>conftest.er1
28506 grep -v '^ *+' conftest.er1 >conftest.err
28508 cat conftest.err >&5
28509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28510 (exit $ac_status); } &&
28511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28512 { (case "(($ac_try" in
28513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28514 *) ac_try_echo=$ac_try;;
28516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28517 (eval "$ac_try") 2>&5
28519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28520 (exit $ac_status); }; } &&
28521 { ac_try='test -s conftest.$ac_objext'
28522 { (case "(($ac_try" in
28523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28524 *) ac_try_echo=$ac_try;;
28526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28527 (eval "$ac_try") 2>&5
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); }; }; then
28533 echo "$as_me: failed program was:" >&5
28534 sed 's/^/| /' conftest.$ac_ext >&5
28536 ac_lo=`expr '(' $ac_mid ')' + 1`
28539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28542 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28543 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28544 See \`config.log' for more details." >&5
28545 echo "$as_me: error: cannot compute sizeof (boolean)
28546 See \`config.log' for more details." >&2;}
28547 { (exit 77); exit 77; }; } ;;
28550 cat >conftest.$ac_ext <<_ACEOF
28553 cat confdefs.h >>conftest.$ac_ext
28554 cat >>conftest.$ac_ext <<_ACEOF
28555 /* end confdefs.h. */
28557 #undef HAVE_BOOLEAN
28559 #include <jpeglib.h>
28562 typedef boolean ac__type_sizeof_;
28563 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28564 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28566 #include <stdlib.h>
28571 FILE *f = fopen ("conftest.val", "w");
28574 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28576 long int i = longval ();
28577 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28579 fprintf (f, "%ld\n", i);
28583 unsigned long int i = ulongval ();
28584 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28586 fprintf (f, "%lu\n", i);
28588 return ferror (f) || fclose (f) != 0;
28594 rm -f conftest$ac_exeext
28595 if { (ac_try="$ac_link"
28596 case "(($ac_try" in
28597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28598 *) ac_try_echo=$ac_try;;
28600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28601 (eval "$ac_link") 2>&5
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28605 { (case "(($ac_try" in
28606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28607 *) ac_try_echo=$ac_try;;
28609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28610 (eval "$ac_try") 2>&5
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); }; }; then
28614 ac_cv_sizeof_boolean=`cat conftest.val`
28616 echo "$as_me: program exited with status $ac_status" >&5
28617 echo "$as_me: failed program was:" >&5
28618 sed 's/^/| /' conftest.$ac_ext >&5
28620 ( exit $ac_status )
28621 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28622 See \`config.log' for more details." >&5
28623 echo "$as_me: error: cannot compute sizeof (boolean)
28624 See \`config.log' for more details." >&2;}
28625 { (exit 77); exit 77; }; }
28627 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28631 ac_cv_sizeof_boolean=0
28634 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28635 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28636 cat >>confdefs.h <<_ACEOF
28637 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28641 cat >>confdefs.h <<_ACEOF
28642 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28656 TIFF_PREREQ_LINKS=-lm
28657 if test "$wxUSE_LIBTIFF" != "no" ; then
28658 cat >>confdefs.h <<\_ACEOF
28659 #define wxUSE_LIBTIFF 1
28663 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28664 if test "$wxUSE_LIBJPEG" = "sys"; then
28665 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28667 if test "$wxUSE_ZLIB" = "sys"; then
28668 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28670 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28671 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28672 if test "${ac_cv_header_tiffio_h+set}" = set; then
28673 echo $ECHO_N "(cached) $ECHO_C" >&6
28675 cat >conftest.$ac_ext <<_ACEOF
28678 cat confdefs.h >>conftest.$ac_ext
28679 cat >>conftest.$ac_ext <<_ACEOF
28680 /* end confdefs.h. */
28684 #include <tiffio.h>
28686 rm -f conftest.$ac_objext
28687 if { (ac_try="$ac_compile"
28688 case "(($ac_try" in
28689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28690 *) ac_try_echo=$ac_try;;
28692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28693 (eval "$ac_compile") 2>conftest.er1
28695 grep -v '^ *+' conftest.er1 >conftest.err
28697 cat conftest.err >&5
28698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28699 (exit $ac_status); } &&
28700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28701 { (case "(($ac_try" in
28702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28703 *) ac_try_echo=$ac_try;;
28705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28706 (eval "$ac_try") 2>&5
28708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28709 (exit $ac_status); }; } &&
28710 { ac_try='test -s conftest.$ac_objext'
28711 { (case "(($ac_try" in
28712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28713 *) ac_try_echo=$ac_try;;
28715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28716 (eval "$ac_try") 2>&5
28718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28719 (exit $ac_status); }; }; then
28720 ac_cv_header_tiffio_h=yes
28722 echo "$as_me: failed program was:" >&5
28723 sed 's/^/| /' conftest.$ac_ext >&5
28725 ac_cv_header_tiffio_h=no
28728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28730 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28731 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28732 if test $ac_cv_header_tiffio_h = yes; then
28734 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28735 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28736 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28737 echo $ECHO_N "(cached) $ECHO_C" >&6
28739 ac_check_lib_save_LIBS=$LIBS
28740 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28741 cat >conftest.$ac_ext <<_ACEOF
28744 cat confdefs.h >>conftest.$ac_ext
28745 cat >>conftest.$ac_ext <<_ACEOF
28746 /* end confdefs.h. */
28748 /* Override any GCC internal prototype to avoid an error.
28749 Use char because int might match the return type of a GCC
28750 builtin and then its argument prototype would still apply. */
28758 return TIFFError ();
28763 rm -f conftest.$ac_objext conftest$ac_exeext
28764 if { (ac_try="$ac_link"
28765 case "(($ac_try" in
28766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28767 *) ac_try_echo=$ac_try;;
28769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28770 (eval "$ac_link") 2>conftest.er1
28772 grep -v '^ *+' conftest.er1 >conftest.err
28774 cat conftest.err >&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); } &&
28777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28778 { (case "(($ac_try" in
28779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28780 *) ac_try_echo=$ac_try;;
28782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28783 (eval "$ac_try") 2>&5
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); }; } &&
28787 { ac_try='test -s conftest$ac_exeext'
28788 { (case "(($ac_try" in
28789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28790 *) ac_try_echo=$ac_try;;
28792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28793 (eval "$ac_try") 2>&5
28795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28796 (exit $ac_status); }; }; then
28797 ac_cv_lib_tiff_TIFFError=yes
28799 echo "$as_me: failed program was:" >&5
28800 sed 's/^/| /' conftest.$ac_ext >&5
28802 ac_cv_lib_tiff_TIFFError=no
28805 rm -f core conftest.err conftest.$ac_objext \
28806 conftest$ac_exeext conftest.$ac_ext
28807 LIBS=$ac_check_lib_save_LIBS
28809 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28810 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28811 if test $ac_cv_lib_tiff_TIFFError = yes; then
28812 TIFF_LINK=" -ltiff"
28820 if test "x$TIFF_LINK" = "x" ; then
28821 if test "$wxUSE_LIBTIFF" = "sys" ; then
28822 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28823 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28824 { (exit 1); exit 1; }; }
28826 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28827 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28828 wxUSE_LIBTIFF=builtin
28837 if test "$wxUSE_WCHAR_T" != "yes"; then
28838 if test "$wxUSE_EXPAT" != "no"; then
28839 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28840 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28843 if test "$wxUSE_XML" != "no"; then
28844 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28845 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28850 if test "$wxUSE_EXPAT" != "no"; then
28852 cat >>confdefs.h <<\_ACEOF
28853 #define wxUSE_EXPAT 1
28856 cat >>confdefs.h <<\_ACEOF
28857 #define wxUSE_XML 1
28861 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28862 { echo "$as_me:$LINENO: checking for expat.h" >&5
28863 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28864 if test "${ac_cv_header_expat_h+set}" = set; then
28865 echo $ECHO_N "(cached) $ECHO_C" >&6
28867 cat >conftest.$ac_ext <<_ACEOF
28870 cat confdefs.h >>conftest.$ac_ext
28871 cat >>conftest.$ac_ext <<_ACEOF
28872 /* end confdefs.h. */
28877 rm -f conftest.$ac_objext
28878 if { (ac_try="$ac_compile"
28879 case "(($ac_try" in
28880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28881 *) ac_try_echo=$ac_try;;
28883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28884 (eval "$ac_compile") 2>conftest.er1
28886 grep -v '^ *+' conftest.er1 >conftest.err
28888 cat conftest.err >&5
28889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28890 (exit $ac_status); } &&
28891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28892 { (case "(($ac_try" in
28893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28894 *) ac_try_echo=$ac_try;;
28896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28897 (eval "$ac_try") 2>&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); }; } &&
28901 { ac_try='test -s conftest.$ac_objext'
28902 { (case "(($ac_try" in
28903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28904 *) ac_try_echo=$ac_try;;
28906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28907 (eval "$ac_try") 2>&5
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); }; }; then
28911 ac_cv_header_expat_h=yes
28913 echo "$as_me: failed program was:" >&5
28914 sed 's/^/| /' conftest.$ac_ext >&5
28916 ac_cv_header_expat_h=no
28919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28921 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28922 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28923 if test $ac_cv_header_expat_h = yes; then
28928 if test "x$found_expat_h" = "x1"; then
28929 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28930 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28931 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28932 echo $ECHO_N "(cached) $ECHO_C" >&6
28936 ac_cpp='$CXXCPP $CPPFLAGS'
28937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28941 cat >conftest.$ac_ext <<_ACEOF
28944 cat confdefs.h >>conftest.$ac_ext
28945 cat >>conftest.$ac_ext <<_ACEOF
28946 /* end confdefs.h. */
28956 rm -f conftest.$ac_objext
28957 if { (ac_try="$ac_compile"
28958 case "(($ac_try" in
28959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28960 *) ac_try_echo=$ac_try;;
28962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28963 (eval "$ac_compile") 2>conftest.er1
28965 grep -v '^ *+' conftest.er1 >conftest.err
28967 cat conftest.err >&5
28968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); } &&
28970 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28971 { (case "(($ac_try" in
28972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28973 *) ac_try_echo=$ac_try;;
28975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28976 (eval "$ac_try") 2>&5
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); }; } &&
28980 { ac_try='test -s conftest.$ac_objext'
28981 { (case "(($ac_try" in
28982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28983 *) ac_try_echo=$ac_try;;
28985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28986 (eval "$ac_try") 2>&5
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); }; }; then
28990 wx_cv_expat_is_not_broken=yes
28992 echo "$as_me: failed program was:" >&5
28993 sed 's/^/| /' conftest.$ac_ext >&5
28995 wx_cv_expat_is_not_broken=no
28999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29001 ac_cpp='$CPP $CPPFLAGS'
29002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29009 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29010 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29011 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29012 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29013 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29014 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29015 echo $ECHO_N "(cached) $ECHO_C" >&6
29017 ac_check_lib_save_LIBS=$LIBS
29018 LIBS="-lexpat $LIBS"
29019 cat >conftest.$ac_ext <<_ACEOF
29022 cat confdefs.h >>conftest.$ac_ext
29023 cat >>conftest.$ac_ext <<_ACEOF
29024 /* end confdefs.h. */
29026 /* Override any GCC internal prototype to avoid an error.
29027 Use char because int might match the return type of a GCC
29028 builtin and then its argument prototype would still apply. */
29032 char XML_ParserCreate ();
29036 return XML_ParserCreate ();
29041 rm -f conftest.$ac_objext conftest$ac_exeext
29042 if { (ac_try="$ac_link"
29043 case "(($ac_try" in
29044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29045 *) ac_try_echo=$ac_try;;
29047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29048 (eval "$ac_link") 2>conftest.er1
29050 grep -v '^ *+' conftest.er1 >conftest.err
29052 cat conftest.err >&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); } &&
29055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29056 { (case "(($ac_try" in
29057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29058 *) ac_try_echo=$ac_try;;
29060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29061 (eval "$ac_try") 2>&5
29063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064 (exit $ac_status); }; } &&
29065 { ac_try='test -s conftest$ac_exeext'
29066 { (case "(($ac_try" in
29067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29068 *) ac_try_echo=$ac_try;;
29070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29071 (eval "$ac_try") 2>&5
29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074 (exit $ac_status); }; }; then
29075 ac_cv_lib_expat_XML_ParserCreate=yes
29077 echo "$as_me: failed program was:" >&5
29078 sed 's/^/| /' conftest.$ac_ext >&5
29080 ac_cv_lib_expat_XML_ParserCreate=no
29083 rm -f core conftest.err conftest.$ac_objext \
29084 conftest$ac_exeext conftest.$ac_ext
29085 LIBS=$ac_check_lib_save_LIBS
29087 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29088 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29089 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29090 EXPAT_LINK=" -lexpat"
29095 if test "x$EXPAT_LINK" = "x" ; then
29096 if test "$wxUSE_EXPAT" = "sys" ; then
29097 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29098 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29099 { (exit 1); exit 1; }; }
29101 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29102 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29103 wxUSE_EXPAT=builtin
29109 if test "$wxUSE_EXPAT" = "builtin" ; then
29110 subdirs="$subdirs src/expat"
29117 if test "$wxUSE_LIBMSPACK" != "no"; then
29118 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29119 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29120 if test "${ac_cv_header_mspack_h+set}" = set; then
29121 echo $ECHO_N "(cached) $ECHO_C" >&6
29123 cat >conftest.$ac_ext <<_ACEOF
29126 cat confdefs.h >>conftest.$ac_ext
29127 cat >>conftest.$ac_ext <<_ACEOF
29128 /* end confdefs.h. */
29131 #include <mspack.h>
29133 rm -f conftest.$ac_objext
29134 if { (ac_try="$ac_compile"
29135 case "(($ac_try" in
29136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29137 *) ac_try_echo=$ac_try;;
29139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29140 (eval "$ac_compile") 2>conftest.er1
29142 grep -v '^ *+' conftest.er1 >conftest.err
29144 cat conftest.err >&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); } &&
29147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29148 { (case "(($ac_try" in
29149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29150 *) ac_try_echo=$ac_try;;
29152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29153 (eval "$ac_try") 2>&5
29155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29156 (exit $ac_status); }; } &&
29157 { ac_try='test -s conftest.$ac_objext'
29158 { (case "(($ac_try" in
29159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29160 *) ac_try_echo=$ac_try;;
29162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29163 (eval "$ac_try") 2>&5
29165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29166 (exit $ac_status); }; }; then
29167 ac_cv_header_mspack_h=yes
29169 echo "$as_me: failed program was:" >&5
29170 sed 's/^/| /' conftest.$ac_ext >&5
29172 ac_cv_header_mspack_h=no
29175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29177 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29178 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29179 if test $ac_cv_header_mspack_h = yes; then
29184 if test "x$found_mspack_h" = "x1"; then
29185 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29186 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29187 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29188 echo $ECHO_N "(cached) $ECHO_C" >&6
29190 ac_check_lib_save_LIBS=$LIBS
29191 LIBS="-lmspack $LIBS"
29192 cat >conftest.$ac_ext <<_ACEOF
29195 cat confdefs.h >>conftest.$ac_ext
29196 cat >>conftest.$ac_ext <<_ACEOF
29197 /* end confdefs.h. */
29199 /* Override any GCC internal prototype to avoid an error.
29200 Use char because int might match the return type of a GCC
29201 builtin and then its argument prototype would still apply. */
29205 char mspack_create_chm_decompressor ();
29209 return mspack_create_chm_decompressor ();
29214 rm -f conftest.$ac_objext conftest$ac_exeext
29215 if { (ac_try="$ac_link"
29216 case "(($ac_try" in
29217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29218 *) ac_try_echo=$ac_try;;
29220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29221 (eval "$ac_link") 2>conftest.er1
29223 grep -v '^ *+' conftest.er1 >conftest.err
29225 cat conftest.err >&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); } &&
29228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29229 { (case "(($ac_try" in
29230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29231 *) ac_try_echo=$ac_try;;
29233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29234 (eval "$ac_try") 2>&5
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); }; } &&
29238 { ac_try='test -s conftest$ac_exeext'
29239 { (case "(($ac_try" in
29240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29241 *) ac_try_echo=$ac_try;;
29243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29244 (eval "$ac_try") 2>&5
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); }; }; then
29248 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29250 echo "$as_me: failed program was:" >&5
29251 sed 's/^/| /' conftest.$ac_ext >&5
29253 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29256 rm -f core conftest.err conftest.$ac_objext \
29257 conftest$ac_exeext conftest.$ac_ext
29258 LIBS=$ac_check_lib_save_LIBS
29260 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29261 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29262 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29263 MSPACK_LINK=" -lmspack"
29267 if test "x$MSPACK_LINK" = "x" ; then
29272 if test "$wxUSE_LIBMSPACK" != "no"; then
29273 cat >>confdefs.h <<\_ACEOF
29274 #define wxUSE_LIBMSPACK 1
29288 if test "$USE_WIN32" = 1 ; then
29289 { echo "$as_me:$LINENO: checking for w32api.h" >&5
29290 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
29291 if test "${ac_cv_header_w32api_h+set}" = set; then
29292 echo $ECHO_N "(cached) $ECHO_C" >&6
29294 cat >conftest.$ac_ext <<_ACEOF
29297 cat confdefs.h >>conftest.$ac_ext
29298 cat >>conftest.$ac_ext <<_ACEOF
29299 /* end confdefs.h. */
29302 #include <w32api.h>
29304 rm -f conftest.$ac_objext
29305 if { (ac_try="$ac_compile"
29306 case "(($ac_try" in
29307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29308 *) ac_try_echo=$ac_try;;
29310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29311 (eval "$ac_compile") 2>conftest.er1
29313 grep -v '^ *+' conftest.er1 >conftest.err
29315 cat conftest.err >&5
29316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317 (exit $ac_status); } &&
29318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29319 { (case "(($ac_try" in
29320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29321 *) ac_try_echo=$ac_try;;
29323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29324 (eval "$ac_try") 2>&5
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); }; } &&
29328 { ac_try='test -s conftest.$ac_objext'
29329 { (case "(($ac_try" in
29330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29331 *) ac_try_echo=$ac_try;;
29333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29334 (eval "$ac_try") 2>&5
29336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29337 (exit $ac_status); }; }; then
29338 ac_cv_header_w32api_h=yes
29340 echo "$as_me: failed program was:" >&5
29341 sed 's/^/| /' conftest.$ac_ext >&5
29343 ac_cv_header_w32api_h=no
29346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29348 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
29349 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
29352 { echo "$as_me:$LINENO: checking for windows.h" >&5
29353 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29354 if test "${ac_cv_header_windows_h+set}" = set; then
29355 echo $ECHO_N "(cached) $ECHO_C" >&6
29357 cat >conftest.$ac_ext <<_ACEOF
29360 cat confdefs.h >>conftest.$ac_ext
29361 cat >>conftest.$ac_ext <<_ACEOF
29362 /* end confdefs.h. */
29365 #include <windows.h>
29367 rm -f conftest.$ac_objext
29368 if { (ac_try="$ac_compile"
29369 case "(($ac_try" in
29370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29371 *) ac_try_echo=$ac_try;;
29373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29374 (eval "$ac_compile") 2>conftest.er1
29376 grep -v '^ *+' conftest.er1 >conftest.err
29378 cat conftest.err >&5
29379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29380 (exit $ac_status); } &&
29381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29382 { (case "(($ac_try" in
29383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29384 *) ac_try_echo=$ac_try;;
29386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29387 (eval "$ac_try") 2>&5
29389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29390 (exit $ac_status); }; } &&
29391 { ac_try='test -s conftest.$ac_objext'
29392 { (case "(($ac_try" in
29393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29394 *) ac_try_echo=$ac_try;;
29396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29397 (eval "$ac_try") 2>&5
29399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29400 (exit $ac_status); }; }; then
29401 ac_cv_header_windows_h=yes
29403 echo "$as_me: failed program was:" >&5
29404 sed 's/^/| /' conftest.$ac_ext >&5
29406 ac_cv_header_windows_h=no
29409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29411 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29412 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29413 if test $ac_cv_header_windows_h = yes; then
29417 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29418 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29419 { (exit 1); exit 1; }; }
29425 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29427 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29428 LIBS="$LIBS -loleacc"
29433 LIBS="$LIBS -lkernel32 -luser32"
29436 if test "$wxUSE_ODBC" = "sys" ; then
29439 if test "$wxUSE_ODBC" = "yes" ; then
29440 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29441 cat >>confdefs.h <<\_ACEOF
29442 #define wxUSE_ODBC 1
29447 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29448 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29450 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29452 WIN32INSTALL=win32install
29454 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29455 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29456 if test "${ac_cv_header_pbt_h+set}" = set; then
29457 echo $ECHO_N "(cached) $ECHO_C" >&6
29459 cat >conftest.$ac_ext <<_ACEOF
29462 cat confdefs.h >>conftest.$ac_ext
29463 cat >>conftest.$ac_ext <<_ACEOF
29464 /* end confdefs.h. */
29469 rm -f conftest.$ac_objext
29470 if { (ac_try="$ac_compile"
29471 case "(($ac_try" in
29472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29473 *) ac_try_echo=$ac_try;;
29475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29476 (eval "$ac_compile") 2>conftest.er1
29478 grep -v '^ *+' conftest.er1 >conftest.err
29480 cat conftest.err >&5
29481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29482 (exit $ac_status); } &&
29483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29484 { (case "(($ac_try" in
29485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29486 *) ac_try_echo=$ac_try;;
29488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29489 (eval "$ac_try") 2>&5
29491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492 (exit $ac_status); }; } &&
29493 { ac_try='test -s conftest.$ac_objext'
29494 { (case "(($ac_try" in
29495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29496 *) ac_try_echo=$ac_try;;
29498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29499 (eval "$ac_try") 2>&5
29501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29502 (exit $ac_status); }; }; then
29503 ac_cv_header_pbt_h=yes
29505 echo "$as_me: failed program was:" >&5
29506 sed 's/^/| /' conftest.$ac_ext >&5
29508 ac_cv_header_pbt_h=no
29511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29513 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29514 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29515 if test $ac_cv_header_pbt_h = yes; then
29518 cat >>confdefs.h <<\_ACEOF
29519 #define NEED_PBT_H 1
29527 if test "$wxUSE_GUI" = "yes"; then
29537 if test "$wxUSE_COCOA" = 1 ; then
29538 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29539 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29540 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29541 wxUSE_PRINTING_ARCHITECTURE=no
29543 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29544 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29545 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29546 wxUSE_DRAG_AND_DROP=no
29548 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29549 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29550 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29555 if test "$wxUSE_MSW" = 1 ; then
29561 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29565 if test "$wxUSE_GTK" = 1; then
29566 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29567 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29569 gtk_version_cached=1
29570 if test "${wx_cv_lib_gtk+set}" = set; then
29571 echo $ECHO_N "(cached) $ECHO_C" >&6
29574 gtk_version_cached=0
29575 { echo "$as_me:$LINENO: result: " >&5
29576 echo "${ECHO_T}" >&6; }
29579 if test "$wxUSE_THREADS" = "yes"; then
29580 GTK_MODULES=gthread
29584 if test "x$wxGTK_VERSION" != "x1"
29588 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29593 # Check whether --enable-gtktest was given.
29594 if test "${enable_gtktest+set}" = set; then
29595 enableval=$enable_gtktest;
29601 pkg_config_args=gtk+-2.0
29602 for module in . $GTK_MODULES
29606 pkg_config_args="$pkg_config_args gthread-2.0"
29613 # Extract the first word of "pkg-config", so it can be a program name with args.
29614 set dummy pkg-config; ac_word=$2
29615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29617 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29618 echo $ECHO_N "(cached) $ECHO_C" >&6
29620 case $PKG_CONFIG in
29622 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29626 for as_dir in $PATH
29629 test -z "$as_dir" && as_dir=.
29630 for ac_exec_ext in '' $ac_executable_extensions; do
29631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
29632 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29640 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29644 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29645 if test -n "$PKG_CONFIG"; then
29646 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29647 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29649 { echo "$as_me:$LINENO: result: no" >&5
29650 echo "${ECHO_T}no" >&6; }
29655 if test x$PKG_CONFIG != xno ; then
29656 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29659 echo "*** pkg-config too old; version 0.7 or better required."
29667 min_gtk_version=2.0.0
29668 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29669 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29671 if test x$PKG_CONFIG != xno ; then
29672 ## don't try to run the test against uninstalled libtool libs
29673 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29674 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29678 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29685 if test x"$no_gtk" = x ; then
29686 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29687 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29688 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29689 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29690 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29691 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29692 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29693 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29694 if test "x$enable_gtktest" = "xyes" ; then
29695 ac_save_CFLAGS="$CFLAGS"
29696 ac_save_LIBS="$LIBS"
29697 CFLAGS="$CFLAGS $GTK_CFLAGS"
29698 LIBS="$GTK_LIBS $LIBS"
29700 if test "$cross_compiling" = yes; then
29701 echo $ac_n "cross compiling; assumed OK... $ac_c"
29703 cat >conftest.$ac_ext <<_ACEOF
29706 cat confdefs.h >>conftest.$ac_ext
29707 cat >>conftest.$ac_ext <<_ACEOF
29708 /* end confdefs.h. */
29710 #include <gtk/gtk.h>
29712 #include <stdlib.h>
29717 int major, minor, micro;
29720 system ("touch conf.gtktest");
29722 /* HP/UX 9 (%@#!) writes to sscanf strings */
29723 tmp_version = g_strdup("$min_gtk_version");
29724 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29725 printf("%s, bad version string\n", "$min_gtk_version");
29729 if ((gtk_major_version != $gtk_config_major_version) ||
29730 (gtk_minor_version != $gtk_config_minor_version) ||
29731 (gtk_micro_version != $gtk_config_micro_version))
29733 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29734 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29735 gtk_major_version, gtk_minor_version, gtk_micro_version);
29736 printf ("*** was found! If pkg-config was correct, then it is best\n");
29737 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29738 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29739 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29740 printf("*** required on your system.\n");
29741 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29742 printf("*** to point to the correct configuration files\n");
29744 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29745 (gtk_minor_version != GTK_MINOR_VERSION) ||
29746 (gtk_micro_version != GTK_MICRO_VERSION))
29748 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29749 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29750 printf("*** library (version %d.%d.%d)\n",
29751 gtk_major_version, gtk_minor_version, gtk_micro_version);
29755 if ((gtk_major_version > major) ||
29756 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29757 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29763 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29764 gtk_major_version, gtk_minor_version, gtk_micro_version);
29765 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29766 major, minor, micro);
29767 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29769 printf("*** If you have already installed a sufficiently new version, this error\n");
29770 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29771 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29772 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29773 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29774 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29775 printf("*** so that the correct libraries are found at run-time))\n");
29782 rm -f conftest$ac_exeext
29783 if { (ac_try="$ac_link"
29784 case "(($ac_try" in
29785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29786 *) ac_try_echo=$ac_try;;
29788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29789 (eval "$ac_link") 2>&5
29791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29792 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29793 { (case "(($ac_try" in
29794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29795 *) ac_try_echo=$ac_try;;
29797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29798 (eval "$ac_try") 2>&5
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); }; }; then
29804 echo "$as_me: program exited with status $ac_status" >&5
29805 echo "$as_me: failed program was:" >&5
29806 sed 's/^/| /' conftest.$ac_ext >&5
29808 ( exit $ac_status )
29811 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29815 CFLAGS="$ac_save_CFLAGS"
29816 LIBS="$ac_save_LIBS"
29819 if test "x$no_gtk" = x ; then
29820 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29821 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29824 { echo "$as_me:$LINENO: result: no" >&5
29825 echo "${ECHO_T}no" >&6; }
29826 if test "$PKG_CONFIG" = "no" ; then
29827 echo "*** A new enough version of pkg-config was not found."
29828 echo "*** See http://pkgconfig.sourceforge.net"
29830 if test -f conf.gtktest ; then
29833 echo "*** Could not run GTK+ test program, checking why..."
29834 ac_save_CFLAGS="$CFLAGS"
29835 ac_save_LIBS="$LIBS"
29836 CFLAGS="$CFLAGS $GTK_CFLAGS"
29837 LIBS="$LIBS $GTK_LIBS"
29838 cat >conftest.$ac_ext <<_ACEOF
29841 cat confdefs.h >>conftest.$ac_ext
29842 cat >>conftest.$ac_ext <<_ACEOF
29843 /* end confdefs.h. */
29845 #include <gtk/gtk.h>
29851 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29856 rm -f conftest.$ac_objext conftest$ac_exeext
29857 if { (ac_try="$ac_link"
29858 case "(($ac_try" in
29859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29860 *) ac_try_echo=$ac_try;;
29862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29863 (eval "$ac_link") 2>conftest.er1
29865 grep -v '^ *+' conftest.er1 >conftest.err
29867 cat conftest.err >&5
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); } &&
29870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29871 { (case "(($ac_try" in
29872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29873 *) ac_try_echo=$ac_try;;
29875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29876 (eval "$ac_try") 2>&5
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); }; } &&
29880 { ac_try='test -s conftest$ac_exeext'
29881 { (case "(($ac_try" in
29882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29883 *) ac_try_echo=$ac_try;;
29885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29886 (eval "$ac_try") 2>&5
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; }; then
29890 echo "*** The test program compiled, but did not run. This usually means"
29891 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29892 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29893 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29894 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29895 echo "*** is required on your system"
29897 echo "*** If you have an old version installed, it is best to remove it, although"
29898 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29900 echo "$as_me: failed program was:" >&5
29901 sed 's/^/| /' conftest.$ac_ext >&5
29903 echo "*** The test program failed to compile or link. See the file config.log for the"
29904 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29907 rm -f core conftest.err conftest.$ac_objext \
29908 conftest$ac_exeext conftest.$ac_ext
29909 CFLAGS="$ac_save_CFLAGS"
29910 LIBS="$ac_save_LIBS"
29924 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29925 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
29926 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
29928 if test "$wxUSE_SHARED" != "yes"; then
29929 GTK_LIBS="$GTK_LIBS -lX11"
29934 if test -z "$wx_cv_lib_gtk"; then
29935 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29937 # Check whether --with-gtk-prefix was given.
29938 if test "${with_gtk_prefix+set}" = set; then
29939 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29941 gtk_config_prefix=""
29945 # Check whether --with-gtk-exec-prefix was given.
29946 if test "${with_gtk_exec_prefix+set}" = set; then
29947 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29949 gtk_config_exec_prefix=""
29952 # Check whether --enable-gtktest was given.
29953 if test "${enable_gtktest+set}" = set; then
29954 enableval=$enable_gtktest;
29960 for module in . $GTK_MODULES
29964 gtk_config_args="$gtk_config_args gthread"
29969 if test x$gtk_config_exec_prefix != x ; then
29970 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29971 if test x${GTK_CONFIG+set} != xset ; then
29972 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29975 if test x$gtk_config_prefix != x ; then
29976 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29977 if test x${GTK_CONFIG+set} != xset ; then
29978 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29982 # Extract the first word of "gtk-config", so it can be a program name with args.
29983 set dummy gtk-config; ac_word=$2
29984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29986 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29987 echo $ECHO_N "(cached) $ECHO_C" >&6
29989 case $GTK_CONFIG in
29991 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29995 for as_dir in $PATH
29998 test -z "$as_dir" && as_dir=.
29999 for ac_exec_ext in '' $ac_executable_extensions; do
30000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
30001 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30009 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30013 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30014 if test -n "$GTK_CONFIG"; then
30015 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30016 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30018 { echo "$as_me:$LINENO: result: no" >&5
30019 echo "${ECHO_T}no" >&6; }
30023 min_gtk_version=1.2.7
30024 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30025 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30027 if test "$GTK_CONFIG" = "no" ; then
30030 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30031 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30032 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30034 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30036 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30038 if test "x$enable_gtktest" = "xyes" ; then
30039 ac_save_CFLAGS="$CFLAGS"
30040 ac_save_LIBS="$LIBS"
30041 CFLAGS="$CFLAGS $GTK_CFLAGS"
30042 LIBS="$GTK_LIBS $LIBS"
30044 if test "$cross_compiling" = yes; then
30045 echo $ac_n "cross compiling; assumed OK... $ac_c"
30047 cat >conftest.$ac_ext <<_ACEOF
30050 cat confdefs.h >>conftest.$ac_ext
30051 cat >>conftest.$ac_ext <<_ACEOF
30052 /* end confdefs.h. */
30054 #include <gtk/gtk.h>
30056 #include <stdlib.h>
30061 int major, minor, micro;
30064 system ("touch conf.gtktest");
30066 /* HP/UX 9 (%@#!) writes to sscanf strings */
30067 tmp_version = g_strdup("$min_gtk_version");
30068 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30069 printf("%s, bad version string\n", "$min_gtk_version");
30073 if ((gtk_major_version != $gtk_config_major_version) ||
30074 (gtk_minor_version != $gtk_config_minor_version) ||
30075 (gtk_micro_version != $gtk_config_micro_version))
30077 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30078 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30079 gtk_major_version, gtk_minor_version, gtk_micro_version);
30080 printf ("*** was found! If gtk-config was correct, then it is best\n");
30081 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30082 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30083 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30084 printf("*** required on your system.\n");
30085 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30086 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30087 printf("*** before re-running configure\n");
30089 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30090 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30091 (gtk_minor_version != GTK_MINOR_VERSION) ||
30092 (gtk_micro_version != GTK_MICRO_VERSION))
30094 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30095 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30096 printf("*** library (version %d.%d.%d)\n",
30097 gtk_major_version, gtk_minor_version, gtk_micro_version);
30099 #endif /* defined (GTK_MAJOR_VERSION) ... */
30102 if ((gtk_major_version > major) ||
30103 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30104 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30110 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30111 gtk_major_version, gtk_minor_version, gtk_micro_version);
30112 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30113 major, minor, micro);
30114 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30116 printf("*** If you have already installed a sufficiently new version, this error\n");
30117 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30118 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30119 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30120 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30121 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30122 printf("*** so that the correct libraries are found at run-time))\n");
30129 rm -f conftest$ac_exeext
30130 if { (ac_try="$ac_link"
30131 case "(($ac_try" in
30132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30133 *) ac_try_echo=$ac_try;;
30135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30136 (eval "$ac_link") 2>&5
30138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30140 { (case "(($ac_try" in
30141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30142 *) ac_try_echo=$ac_try;;
30144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30145 (eval "$ac_try") 2>&5
30147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30148 (exit $ac_status); }; }; then
30151 echo "$as_me: program exited with status $ac_status" >&5
30152 echo "$as_me: failed program was:" >&5
30153 sed 's/^/| /' conftest.$ac_ext >&5
30155 ( exit $ac_status )
30158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30162 CFLAGS="$ac_save_CFLAGS"
30163 LIBS="$ac_save_LIBS"
30166 if test "x$no_gtk" = x ; then
30167 { echo "$as_me:$LINENO: result: yes" >&5
30168 echo "${ECHO_T}yes" >&6; }
30169 wx_cv_lib_gtk=1.2.7
30171 { echo "$as_me:$LINENO: result: no" >&5
30172 echo "${ECHO_T}no" >&6; }
30173 if test "$GTK_CONFIG" = "no" ; then
30174 echo "*** The gtk-config script installed by GTK could not be found"
30175 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30176 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30177 echo "*** full path to gtk-config."
30179 if test -f conf.gtktest ; then
30182 echo "*** Could not run GTK test program, checking why..."
30183 CFLAGS="$CFLAGS $GTK_CFLAGS"
30184 LIBS="$LIBS $GTK_LIBS"
30185 cat >conftest.$ac_ext <<_ACEOF
30188 cat confdefs.h >>conftest.$ac_ext
30189 cat >>conftest.$ac_ext <<_ACEOF
30190 /* end confdefs.h. */
30192 #include <gtk/gtk.h>
30198 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30203 rm -f conftest.$ac_objext conftest$ac_exeext
30204 if { (ac_try="$ac_link"
30205 case "(($ac_try" in
30206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30207 *) ac_try_echo=$ac_try;;
30209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30210 (eval "$ac_link") 2>conftest.er1
30212 grep -v '^ *+' conftest.er1 >conftest.err
30214 cat conftest.err >&5
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); } &&
30217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30218 { (case "(($ac_try" in
30219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30220 *) ac_try_echo=$ac_try;;
30222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30223 (eval "$ac_try") 2>&5
30225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30226 (exit $ac_status); }; } &&
30227 { ac_try='test -s conftest$ac_exeext'
30228 { (case "(($ac_try" in
30229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30230 *) ac_try_echo=$ac_try;;
30232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30233 (eval "$ac_try") 2>&5
30235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30236 (exit $ac_status); }; }; then
30237 echo "*** The test program compiled, but did not run. This usually means"
30238 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30239 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30240 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30241 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30242 echo "*** is required on your system"
30244 echo "*** If you have an old version installed, it is best to remove it, although"
30245 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30247 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30248 echo "*** came with the system with the command"
30250 echo "*** rpm --erase --nodeps gtk gtk-devel"
30252 echo "$as_me: failed program was:" >&5
30253 sed 's/^/| /' conftest.$ac_ext >&5
30255 echo "*** The test program failed to compile or link. See the file config.log for the"
30256 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30257 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30258 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30261 rm -f core conftest.err conftest.$ac_objext \
30262 conftest$ac_exeext conftest.$ac_ext
30263 CFLAGS="$ac_save_CFLAGS"
30264 LIBS="$ac_save_LIBS"
30276 if test -z "$wx_cv_lib_gtk"; then
30278 # Check whether --with-gtk-prefix was given.
30279 if test "${with_gtk_prefix+set}" = set; then
30280 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30282 gtk_config_prefix=""
30286 # Check whether --with-gtk-exec-prefix was given.
30287 if test "${with_gtk_exec_prefix+set}" = set; then
30288 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30290 gtk_config_exec_prefix=""
30293 # Check whether --enable-gtktest was given.
30294 if test "${enable_gtktest+set}" = set; then
30295 enableval=$enable_gtktest;
30301 for module in . $GTK_MODULES
30305 gtk_config_args="$gtk_config_args gthread"
30310 if test x$gtk_config_exec_prefix != x ; then
30311 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30312 if test x${GTK_CONFIG+set} != xset ; then
30313 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30316 if test x$gtk_config_prefix != x ; then
30317 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30318 if test x${GTK_CONFIG+set} != xset ; then
30319 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30323 # Extract the first word of "gtk-config", so it can be a program name with args.
30324 set dummy gtk-config; ac_word=$2
30325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30327 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30328 echo $ECHO_N "(cached) $ECHO_C" >&6
30330 case $GTK_CONFIG in
30332 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30336 for as_dir in $PATH
30339 test -z "$as_dir" && as_dir=.
30340 for ac_exec_ext in '' $ac_executable_extensions; do
30341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
30342 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30350 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30354 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30355 if test -n "$GTK_CONFIG"; then
30356 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30357 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30359 { echo "$as_me:$LINENO: result: no" >&5
30360 echo "${ECHO_T}no" >&6; }
30364 min_gtk_version=1.2.3
30365 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30366 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30368 if test "$GTK_CONFIG" = "no" ; then
30371 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30372 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30373 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30375 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30377 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30379 if test "x$enable_gtktest" = "xyes" ; then
30380 ac_save_CFLAGS="$CFLAGS"
30381 ac_save_LIBS="$LIBS"
30382 CFLAGS="$CFLAGS $GTK_CFLAGS"
30383 LIBS="$GTK_LIBS $LIBS"
30385 if test "$cross_compiling" = yes; then
30386 echo $ac_n "cross compiling; assumed OK... $ac_c"
30388 cat >conftest.$ac_ext <<_ACEOF
30391 cat confdefs.h >>conftest.$ac_ext
30392 cat >>conftest.$ac_ext <<_ACEOF
30393 /* end confdefs.h. */
30395 #include <gtk/gtk.h>
30397 #include <stdlib.h>
30402 int major, minor, micro;
30405 system ("touch conf.gtktest");
30407 /* HP/UX 9 (%@#!) writes to sscanf strings */
30408 tmp_version = g_strdup("$min_gtk_version");
30409 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30410 printf("%s, bad version string\n", "$min_gtk_version");
30414 if ((gtk_major_version != $gtk_config_major_version) ||
30415 (gtk_minor_version != $gtk_config_minor_version) ||
30416 (gtk_micro_version != $gtk_config_micro_version))
30418 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30419 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30420 gtk_major_version, gtk_minor_version, gtk_micro_version);
30421 printf ("*** was found! If gtk-config was correct, then it is best\n");
30422 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30423 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30424 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30425 printf("*** required on your system.\n");
30426 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30427 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30428 printf("*** before re-running configure\n");
30430 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30431 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30432 (gtk_minor_version != GTK_MINOR_VERSION) ||
30433 (gtk_micro_version != GTK_MICRO_VERSION))
30435 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30436 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30437 printf("*** library (version %d.%d.%d)\n",
30438 gtk_major_version, gtk_minor_version, gtk_micro_version);
30440 #endif /* defined (GTK_MAJOR_VERSION) ... */
30443 if ((gtk_major_version > major) ||
30444 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30445 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30451 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30452 gtk_major_version, gtk_minor_version, gtk_micro_version);
30453 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30454 major, minor, micro);
30455 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30457 printf("*** If you have already installed a sufficiently new version, this error\n");
30458 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30459 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30460 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30461 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30462 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30463 printf("*** so that the correct libraries are found at run-time))\n");
30470 rm -f conftest$ac_exeext
30471 if { (ac_try="$ac_link"
30472 case "(($ac_try" in
30473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30474 *) ac_try_echo=$ac_try;;
30476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30477 (eval "$ac_link") 2>&5
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30481 { (case "(($ac_try" in
30482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30483 *) ac_try_echo=$ac_try;;
30485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30486 (eval "$ac_try") 2>&5
30488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30489 (exit $ac_status); }; }; then
30492 echo "$as_me: program exited with status $ac_status" >&5
30493 echo "$as_me: failed program was:" >&5
30494 sed 's/^/| /' conftest.$ac_ext >&5
30496 ( exit $ac_status )
30499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30503 CFLAGS="$ac_save_CFLAGS"
30504 LIBS="$ac_save_LIBS"
30507 if test "x$no_gtk" = x ; then
30508 { echo "$as_me:$LINENO: result: yes" >&5
30509 echo "${ECHO_T}yes" >&6; }
30510 wx_cv_lib_gtk=1.2.3
30512 { echo "$as_me:$LINENO: result: no" >&5
30513 echo "${ECHO_T}no" >&6; }
30514 if test "$GTK_CONFIG" = "no" ; then
30515 echo "*** The gtk-config script installed by GTK could not be found"
30516 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30517 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30518 echo "*** full path to gtk-config."
30520 if test -f conf.gtktest ; then
30523 echo "*** Could not run GTK test program, checking why..."
30524 CFLAGS="$CFLAGS $GTK_CFLAGS"
30525 LIBS="$LIBS $GTK_LIBS"
30526 cat >conftest.$ac_ext <<_ACEOF
30529 cat confdefs.h >>conftest.$ac_ext
30530 cat >>conftest.$ac_ext <<_ACEOF
30531 /* end confdefs.h. */
30533 #include <gtk/gtk.h>
30539 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30544 rm -f conftest.$ac_objext conftest$ac_exeext
30545 if { (ac_try="$ac_link"
30546 case "(($ac_try" in
30547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30548 *) ac_try_echo=$ac_try;;
30550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30551 (eval "$ac_link") 2>conftest.er1
30553 grep -v '^ *+' conftest.er1 >conftest.err
30555 cat conftest.err >&5
30556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30557 (exit $ac_status); } &&
30558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30559 { (case "(($ac_try" in
30560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30561 *) ac_try_echo=$ac_try;;
30563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30564 (eval "$ac_try") 2>&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); }; } &&
30568 { ac_try='test -s conftest$ac_exeext'
30569 { (case "(($ac_try" in
30570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30571 *) ac_try_echo=$ac_try;;
30573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30574 (eval "$ac_try") 2>&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); }; }; then
30578 echo "*** The test program compiled, but did not run. This usually means"
30579 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30580 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30581 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30582 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30583 echo "*** is required on your system"
30585 echo "*** If you have an old version installed, it is best to remove it, although"
30586 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30588 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30589 echo "*** came with the system with the command"
30591 echo "*** rpm --erase --nodeps gtk gtk-devel"
30593 echo "$as_me: failed program was:" >&5
30594 sed 's/^/| /' conftest.$ac_ext >&5
30596 echo "*** The test program failed to compile or link. See the file config.log for the"
30597 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30598 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30599 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30602 rm -f core conftest.err conftest.$ac_objext \
30603 conftest$ac_exeext conftest.$ac_ext
30604 CFLAGS="$ac_save_CFLAGS"
30605 LIBS="$ac_save_LIBS"
30620 if test -z "$wx_cv_lib_gtk"; then
30623 wx_cv_cflags_gtk=$GTK_CFLAGS
30624 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30631 if test "$gtk_version_cached" = 1; then
30632 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30633 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30636 case "$wx_cv_lib_gtk" in
30645 *) { { echo "$as_me:$LINENO: error:
30646 The development files for GTK+ were not found. For GTK+ 2, please
30647 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30648 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30649 and that the version is 1.2.3 or above. Also check that the
30650 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30651 --libs' are in the LD_LIBRARY_PATH or equivalent.
30653 echo "$as_me: error:
30654 The development files for GTK+ were not found. For GTK+ 2, please
30655 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30656 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30657 and that the version is 1.2.3 or above. Also check that the
30658 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30659 --libs' are in the LD_LIBRARY_PATH or equivalent.
30661 { (exit 1); exit 1; }; }
30665 if test "$WXGTK20" = 1; then
30666 save_CFLAGS="$CFLAGS"
30668 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30669 LIBS="$LIBS $wx_cv_libs_gtk"
30671 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
30672 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
30673 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
30674 echo $ECHO_N "(cached) $ECHO_C" >&6
30676 cat >conftest.$ac_ext <<_ACEOF
30679 cat confdefs.h >>conftest.$ac_ext
30680 cat >>conftest.$ac_ext <<_ACEOF
30681 /* end confdefs.h. */
30682 #include <gtk/gtk.h>
30687 #ifndef gtk_icon_size_lookup
30688 char *p = (char *) gtk_icon_size_lookup;
30696 rm -f conftest.$ac_objext
30697 if { (ac_try="$ac_compile"
30698 case "(($ac_try" in
30699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30700 *) ac_try_echo=$ac_try;;
30702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30703 (eval "$ac_compile") 2>conftest.er1
30705 grep -v '^ *+' conftest.er1 >conftest.err
30707 cat conftest.err >&5
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); } &&
30710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30711 { (case "(($ac_try" in
30712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30713 *) ac_try_echo=$ac_try;;
30715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30716 (eval "$ac_try") 2>&5
30718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30719 (exit $ac_status); }; } &&
30720 { ac_try='test -s conftest.$ac_objext'
30721 { (case "(($ac_try" in
30722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30723 *) ac_try_echo=$ac_try;;
30725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30726 (eval "$ac_try") 2>&5
30728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729 (exit $ac_status); }; }; then
30730 ac_cv_have_decl_gtk_icon_size_lookup=yes
30732 echo "$as_me: failed program was:" >&5
30733 sed 's/^/| /' conftest.$ac_ext >&5
30735 ac_cv_have_decl_gtk_icon_size_lookup=no
30738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30740 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
30741 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
30742 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
30744 cat >>confdefs.h <<_ACEOF
30745 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
30750 cat >>confdefs.h <<_ACEOF
30751 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
30754 cat >>confdefs.h <<\_ACEOF
30755 #define NEED_GTK_ICON_SIZE_LOOKUP 1
30763 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30764 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30765 cat >conftest.$ac_ext <<_ACEOF
30768 cat confdefs.h >>conftest.$ac_ext
30769 cat >>conftest.$ac_ext <<_ACEOF
30770 /* end confdefs.h. */
30772 #include <gtk/gtk.h>
30778 #if !GTK_CHECK_VERSION(2,10,0)
30786 rm -f conftest.$ac_objext
30787 if { (ac_try="$ac_compile"
30788 case "(($ac_try" in
30789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30790 *) ac_try_echo=$ac_try;;
30792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30793 (eval "$ac_compile") 2>conftest.er1
30795 grep -v '^ *+' conftest.er1 >conftest.err
30797 cat conftest.err >&5
30798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30799 (exit $ac_status); } &&
30800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30801 { (case "(($ac_try" in
30802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30803 *) ac_try_echo=$ac_try;;
30805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30806 (eval "$ac_try") 2>&5
30808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30809 (exit $ac_status); }; } &&
30810 { ac_try='test -s conftest.$ac_objext'
30811 { (case "(($ac_try" in
30812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30813 *) ac_try_echo=$ac_try;;
30815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30816 (eval "$ac_try") 2>&5
30818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819 (exit $ac_status); }; }; then
30821 cat >>confdefs.h <<\_ACEOF
30822 #define __WXGTK210__ 1
30825 cat >>confdefs.h <<\_ACEOF
30826 #define __WXGTK26__ 1
30829 cat >>confdefs.h <<\_ACEOF
30830 #define __WXGTK24__ 1
30833 { echo "$as_me:$LINENO: result: yes" >&5
30834 echo "${ECHO_T}yes" >&6; }
30838 echo "$as_me: failed program was:" >&5
30839 sed 's/^/| /' conftest.$ac_ext >&5
30842 { echo "$as_me:$LINENO: result: no" >&5
30843 echo "${ECHO_T}no" >&6; }
30848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30850 if test "$ac_wxgtk210" = 0; then
30851 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30852 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30853 cat >conftest.$ac_ext <<_ACEOF
30856 cat confdefs.h >>conftest.$ac_ext
30857 cat >>conftest.$ac_ext <<_ACEOF
30858 /* end confdefs.h. */
30860 #include <gtk/gtk.h>
30866 #if !GTK_CHECK_VERSION(2,6,0)
30874 rm -f conftest.$ac_objext
30875 if { (ac_try="$ac_compile"
30876 case "(($ac_try" in
30877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30878 *) ac_try_echo=$ac_try;;
30880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30881 (eval "$ac_compile") 2>conftest.er1
30883 grep -v '^ *+' conftest.er1 >conftest.err
30885 cat conftest.err >&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } &&
30888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30889 { (case "(($ac_try" in
30890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30891 *) ac_try_echo=$ac_try;;
30893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30894 (eval "$ac_try") 2>&5
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); }; } &&
30898 { ac_try='test -s conftest.$ac_objext'
30899 { (case "(($ac_try" in
30900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30901 *) ac_try_echo=$ac_try;;
30903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30904 (eval "$ac_try") 2>&5
30906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30907 (exit $ac_status); }; }; then
30909 cat >>confdefs.h <<\_ACEOF
30910 #define __WXGTK26__ 1
30913 cat >>confdefs.h <<\_ACEOF
30914 #define __WXGTK24__ 1
30917 { echo "$as_me:$LINENO: result: yes" >&5
30918 echo "${ECHO_T}yes" >&6; }
30922 echo "$as_me: failed program was:" >&5
30923 sed 's/^/| /' conftest.$ac_ext >&5
30926 { echo "$as_me:$LINENO: result: no" >&5
30927 echo "${ECHO_T}no" >&6; }
30932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30935 if test "$ac_wxgtk26" = 0; then
30936 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
30937 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
30938 cat >conftest.$ac_ext <<_ACEOF
30941 cat confdefs.h >>conftest.$ac_ext
30942 cat >>conftest.$ac_ext <<_ACEOF
30943 /* end confdefs.h. */
30945 #include <gtk/gtk.h>
30951 #if !GTK_CHECK_VERSION(2,4,0)
30959 rm -f conftest.$ac_objext
30960 if { (ac_try="$ac_compile"
30961 case "(($ac_try" in
30962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30963 *) ac_try_echo=$ac_try;;
30965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30966 (eval "$ac_compile") 2>conftest.er1
30968 grep -v '^ *+' conftest.er1 >conftest.err
30970 cat conftest.err >&5
30971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30972 (exit $ac_status); } &&
30973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30974 { (case "(($ac_try" in
30975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30976 *) ac_try_echo=$ac_try;;
30978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30979 (eval "$ac_try") 2>&5
30981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30982 (exit $ac_status); }; } &&
30983 { ac_try='test -s conftest.$ac_objext'
30984 { (case "(($ac_try" in
30985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30986 *) ac_try_echo=$ac_try;;
30988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30989 (eval "$ac_try") 2>&5
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); }; }; then
30994 cat >>confdefs.h <<\_ACEOF
30995 #define __WXGTK24__ 1
30998 { echo "$as_me:$LINENO: result: yes" >&5
30999 echo "${ECHO_T}yes" >&6; }
31002 echo "$as_me: failed program was:" >&5
31003 sed 's/^/| /' conftest.$ac_ext >&5
31006 { echo "$as_me:$LINENO: result: no" >&5
31007 echo "${ECHO_T}no" >&6; }
31011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31014 CFLAGS="$save_CFLAGS"
31017 if test "$wxUSE_UNICODE" = "yes"; then
31018 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31019 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31023 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31024 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31025 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31026 echo $ECHO_N "(cached) $ECHO_C" >&6
31028 ac_check_lib_save_LIBS=$LIBS
31030 cat >conftest.$ac_ext <<_ACEOF
31033 cat confdefs.h >>conftest.$ac_ext
31034 cat >>conftest.$ac_ext <<_ACEOF
31035 /* end confdefs.h. */
31037 /* Override any GCC internal prototype to avoid an error.
31038 Use char because int might match the return type of a GCC
31039 builtin and then its argument prototype would still apply. */
31043 char gdk_im_open ();
31047 return gdk_im_open ();
31052 rm -f conftest.$ac_objext conftest$ac_exeext
31053 if { (ac_try="$ac_link"
31054 case "(($ac_try" in
31055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31056 *) ac_try_echo=$ac_try;;
31058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31059 (eval "$ac_link") 2>conftest.er1
31061 grep -v '^ *+' conftest.er1 >conftest.err
31063 cat conftest.err >&5
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); } &&
31066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31067 { (case "(($ac_try" in
31068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31069 *) ac_try_echo=$ac_try;;
31071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31072 (eval "$ac_try") 2>&5
31074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31075 (exit $ac_status); }; } &&
31076 { ac_try='test -s conftest$ac_exeext'
31077 { (case "(($ac_try" in
31078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31079 *) ac_try_echo=$ac_try;;
31081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31082 (eval "$ac_try") 2>&5
31084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31085 (exit $ac_status); }; }; then
31086 ac_cv_lib_gdk_gdk_im_open=yes
31088 echo "$as_me: failed program was:" >&5
31089 sed 's/^/| /' conftest.$ac_ext >&5
31091 ac_cv_lib_gdk_gdk_im_open=no
31094 rm -f core conftest.err conftest.$ac_objext \
31095 conftest$ac_exeext conftest.$ac_ext
31096 LIBS=$ac_check_lib_save_LIBS
31098 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31099 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31100 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31101 cat >>confdefs.h <<\_ACEOF
31108 if test "$USE_DARWIN" != 1; then
31110 for ac_func in poll
31112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31113 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31115 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31116 echo $ECHO_N "(cached) $ECHO_C" >&6
31118 cat >conftest.$ac_ext <<_ACEOF
31121 cat confdefs.h >>conftest.$ac_ext
31122 cat >>conftest.$ac_ext <<_ACEOF
31123 /* end confdefs.h. */
31124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31126 #define $ac_func innocuous_$ac_func
31128 /* System header to define __stub macros and hopefully few prototypes,
31129 which can conflict with char $ac_func (); below.
31130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31131 <limits.h> exists even on freestanding compilers. */
31134 # include <limits.h>
31136 # include <assert.h>
31141 /* Override any GCC internal prototype to avoid an error.
31142 Use char because int might match the return type of a GCC
31143 builtin and then its argument prototype would still apply. */
31148 /* The GNU C library defines this for functions which it implements
31149 to always fail with ENOSYS. Some functions are actually named
31150 something starting with __ and the normal name is an alias. */
31151 #if defined __stub_$ac_func || defined __stub___$ac_func
31158 return $ac_func ();
31163 rm -f conftest.$ac_objext conftest$ac_exeext
31164 if { (ac_try="$ac_link"
31165 case "(($ac_try" in
31166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31167 *) ac_try_echo=$ac_try;;
31169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31170 (eval "$ac_link") 2>conftest.er1
31172 grep -v '^ *+' conftest.er1 >conftest.err
31174 cat conftest.err >&5
31175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176 (exit $ac_status); } &&
31177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31178 { (case "(($ac_try" in
31179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31180 *) ac_try_echo=$ac_try;;
31182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31183 (eval "$ac_try") 2>&5
31185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31186 (exit $ac_status); }; } &&
31187 { ac_try='test -s conftest$ac_exeext'
31188 { (case "(($ac_try" in
31189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31190 *) ac_try_echo=$ac_try;;
31192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31193 (eval "$ac_try") 2>&5
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); }; }; then
31197 eval "$as_ac_var=yes"
31199 echo "$as_me: failed program was:" >&5
31200 sed 's/^/| /' conftest.$ac_ext >&5
31202 eval "$as_ac_var=no"
31205 rm -f core conftest.err conftest.$ac_objext \
31206 conftest$ac_exeext conftest.$ac_ext
31208 ac_res=`eval echo '${'$as_ac_var'}'`
31209 { echo "$as_me:$LINENO: result: $ac_res" >&5
31210 echo "${ECHO_T}$ac_res" >&6; }
31211 if test `eval echo '${'$as_ac_var'}'` = yes; then
31212 cat >>confdefs.h <<_ACEOF
31213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31222 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31223 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31225 AFMINSTALL=afminstall
31229 if test "$wxUSE_GPE" = "yes"; then
31230 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31231 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31234 for ac_dir in $SEARCH_LIB;
31236 for ac_extension in a so sl dylib dll.a; do
31237 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31238 ac_find_libraries=$ac_dir
31244 if test "$ac_find_libraries" != "" ; then
31246 if test "$ac_find_libraries" = "default location"; then
31249 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31251 if test $result = 0; then
31254 ac_path_to_link=" -L$ac_find_libraries"
31258 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31260 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31261 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31263 { echo "$as_me:$LINENO: result: not found" >&5
31264 echo "${ECHO_T}not found" >&6; }
31270 if test "$wxUSE_MGL" = 1; then
31271 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31272 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31273 if test "x$MGL_ROOT" = x ; then
31274 { echo "$as_me:$LINENO: result: not found" >&5
31275 echo "${ECHO_T}not found" >&6; }
31276 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31277 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31278 { (exit 1); exit 1; }; }
31280 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31281 echo "${ECHO_T}$MGL_ROOT" >&6; }
31284 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31285 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31288 if test "x$wxUSE_SHARED" = xyes ; then
31289 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31291 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31295 mgl_os_candidates="dos32/dj2"
31298 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31299 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31300 { (exit 1); exit 1; }; }
31306 for mgl_os_i in $mgl_os_candidates ; do
31307 if test "x$mgl_os" = x ; then
31308 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31309 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31310 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31315 if test "x$mgl_lib_type" = x ; then
31316 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31317 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31318 mgl_lib_type=release
31325 if test "x$mgl_os" = x ; then
31326 { echo "$as_me:$LINENO: result: not found" >&5
31327 echo "${ECHO_T}not found" >&6; }
31328 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31329 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31330 { (exit 1); exit 1; }; }
31332 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31333 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31335 wxUSE_UNIVERSAL="yes"
31337 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31338 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31340 AFMINSTALL=afminstall
31345 if test "$wxUSE_DFB" = 1; then
31348 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31349 if test -n "$ac_tool_prefix"; then
31350 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31351 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31354 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31355 echo $ECHO_N "(cached) $ECHO_C" >&6
31357 case $PKG_CONFIG in
31359 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31363 for as_dir in $PATH
31366 test -z "$as_dir" && as_dir=.
31367 for ac_exec_ext in '' $ac_executable_extensions; do
31368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
31369 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31380 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31381 if test -n "$PKG_CONFIG"; then
31382 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31383 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31385 { echo "$as_me:$LINENO: result: no" >&5
31386 echo "${ECHO_T}no" >&6; }
31391 if test -z "$ac_cv_path_PKG_CONFIG"; then
31392 ac_pt_PKG_CONFIG=$PKG_CONFIG
31393 # Extract the first word of "pkg-config", so it can be a program name with args.
31394 set dummy pkg-config; ac_word=$2
31395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31397 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31398 echo $ECHO_N "(cached) $ECHO_C" >&6
31400 case $ac_pt_PKG_CONFIG in
31402 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31406 for as_dir in $PATH
31409 test -z "$as_dir" && as_dir=.
31410 for ac_exec_ext in '' $ac_executable_extensions; do
31411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
31412 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31423 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31424 if test -n "$ac_pt_PKG_CONFIG"; then
31425 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31426 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31428 { echo "$as_me:$LINENO: result: no" >&5
31429 echo "${ECHO_T}no" >&6; }
31432 if test "x$ac_pt_PKG_CONFIG" = x; then
31435 case $cross_compiling:$ac_tool_warned in
31437 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31438 whose name does not start with the host triplet. If you think this
31439 configuration is useful to you, please write to autoconf@gnu.org." >&5
31440 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31441 whose name does not start with the host triplet. If you think this
31442 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31443 ac_tool_warned=yes ;;
31445 PKG_CONFIG=$ac_pt_PKG_CONFIG
31448 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31452 if test -n "$PKG_CONFIG"; then
31453 _pkg_min_version=0.9.0
31454 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31455 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31456 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31457 { echo "$as_me:$LINENO: result: yes" >&5
31458 echo "${ECHO_T}yes" >&6; }
31460 { echo "$as_me:$LINENO: result: no" >&5
31461 echo "${ECHO_T}no" >&6; }
31469 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31470 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31472 if test -n "$PKG_CONFIG"; then
31473 if test -n "$DIRECTFB_CFLAGS"; then
31474 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31476 if test -n "$PKG_CONFIG" && \
31477 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31478 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); }; then
31482 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31490 if test -n "$PKG_CONFIG"; then
31491 if test -n "$DIRECTFB_LIBS"; then
31492 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31494 if test -n "$PKG_CONFIG" && \
31495 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31496 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); }; then
31500 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31511 if test $pkg_failed = yes; then
31513 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31514 _pkg_short_errors_supported=yes
31516 _pkg_short_errors_supported=no
31518 if test $_pkg_short_errors_supported = yes; then
31519 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31521 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31523 # Put the nasty error message in config.log where it belongs
31524 echo "$DIRECTFB_PKG_ERRORS" >&5
31527 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31528 echo "$as_me: error: DirectFB not found." >&2;}
31529 { (exit 1); exit 1; }; }
31532 elif test $pkg_failed = untried; then
31534 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31535 echo "$as_me: error: DirectFB not found." >&2;}
31536 { (exit 1); exit 1; }; }
31540 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31541 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31542 { echo "$as_me:$LINENO: result: yes" >&5
31543 echo "${ECHO_T}yes" >&6; }
31545 wxUSE_UNIVERSAL="yes"
31546 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31547 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31554 if test "$wxUSE_MICROWIN" = 1; then
31555 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31556 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31557 if test "x$MICROWINDOWS" = x ; then
31558 { echo "$as_me:$LINENO: result: not found" >&5
31559 echo "${ECHO_T}not found" >&6; }
31560 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31561 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31562 { (exit 1); exit 1; }; }
31564 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31565 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31568 if test -f $MICROWINDOWS/lib/libmwin.a; then
31569 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31570 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31572 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31573 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31574 { (exit 1); exit 1; }; }
31577 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31578 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31580 wxUSE_UNIVERSAL="yes"
31582 AFMINSTALL=afminstall
31584 GUIDIST=MICROWIN_DIST
31586 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31589 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31590 { echo "$as_me:$LINENO: checking for X" >&5
31591 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31594 # Check whether --with-x was given.
31595 if test "${with_x+set}" = set; then
31599 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31600 if test "x$with_x" = xno; then
31601 # The user explicitly disabled X.
31604 case $x_includes,$x_libraries in #(
31605 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31606 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31607 { (exit 1); exit 1; }; };; #(
31608 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31609 echo $ECHO_N "(cached) $ECHO_C" >&6
31611 # One or both of the vars are not set, and there is no cached value.
31612 ac_x_includes=no ac_x_libraries=no
31613 rm -f -r conftest.dir
31614 if mkdir conftest.dir; then
31616 cat >Imakefile <<'_ACEOF'
31618 @echo incroot='${INCROOT}'
31620 @echo usrlibdir='${USRLIBDIR}'
31622 @echo libdir='${LIBDIR}'
31624 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31625 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31626 for ac_var in incroot usrlibdir libdir; do
31627 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31629 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31630 for ac_extension in a so sl; do
31631 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31632 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31633 ac_im_usrlibdir=$ac_im_libdir; break
31636 # Screen out bogus values from the imake configuration. They are
31637 # bogus both because they are the default anyway, and because
31638 # using them would break gcc on systems where it needs fixed includes.
31639 case $ac_im_incroot in
31640 /usr/include) ac_x_includes= ;;
31641 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31643 case $ac_im_usrlibdir in
31644 /usr/lib | /lib) ;;
31645 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31649 rm -f -r conftest.dir
31652 # Standard set of common directories for X headers.
31653 # Check X11 before X11Rn because it is often a symlink to the current release.
31665 /usr/local/X11/include
31666 /usr/local/X11R6/include
31667 /usr/local/X11R5/include
31668 /usr/local/X11R4/include
31670 /usr/local/include/X11
31671 /usr/local/include/X11R6
31672 /usr/local/include/X11R5
31673 /usr/local/include/X11R4
31677 /usr/XFree86/include/X11
31681 /usr/unsupported/include
31682 /usr/athena/include
31683 /usr/local/x11r5/include
31684 /usr/lpp/Xamples/include
31686 /usr/openwin/include
31687 /usr/openwin/share/include'
31689 if test "$ac_x_includes" = no; then
31690 # Guess where to find include files, by looking for Xlib.h.
31691 # First, try using that file with no special directory specified.
31692 cat >conftest.$ac_ext <<_ACEOF
31695 cat confdefs.h >>conftest.$ac_ext
31696 cat >>conftest.$ac_ext <<_ACEOF
31697 /* end confdefs.h. */
31698 #include <X11/Xlib.h>
31700 if { (ac_try="$ac_cpp conftest.$ac_ext"
31701 case "(($ac_try" in
31702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31703 *) ac_try_echo=$ac_try;;
31705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31706 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31708 grep -v '^ *+' conftest.er1 >conftest.err
31710 cat conftest.err >&5
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); } >/dev/null; then
31713 if test -s conftest.err; then
31714 ac_cpp_err=$ac_c_preproc_warn_flag
31715 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31722 if test -z "$ac_cpp_err"; then
31723 # We can compile using X headers with no special include directory.
31726 echo "$as_me: failed program was:" >&5
31727 sed 's/^/| /' conftest.$ac_ext >&5
31729 for ac_dir in $ac_x_header_dirs; do
31730 if test -r "$ac_dir/X11/Xlib.h"; then
31731 ac_x_includes=$ac_dir
31737 rm -f conftest.err conftest.$ac_ext
31738 fi # $ac_x_includes = no
31740 if test "$ac_x_libraries" = no; then
31741 # Check for the libraries.
31742 # See if we find them without any special options.
31743 # Don't add to $LIBS permanently.
31746 cat >conftest.$ac_ext <<_ACEOF
31749 cat confdefs.h >>conftest.$ac_ext
31750 cat >>conftest.$ac_ext <<_ACEOF
31751 /* end confdefs.h. */
31752 #include <X11/Xlib.h>
31761 rm -f conftest.$ac_objext conftest$ac_exeext
31762 if { (ac_try="$ac_link"
31763 case "(($ac_try" in
31764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31765 *) ac_try_echo=$ac_try;;
31767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31768 (eval "$ac_link") 2>conftest.er1
31770 grep -v '^ *+' conftest.er1 >conftest.err
31772 cat conftest.err >&5
31773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31774 (exit $ac_status); } &&
31775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31776 { (case "(($ac_try" in
31777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31778 *) ac_try_echo=$ac_try;;
31780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31781 (eval "$ac_try") 2>&5
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); }; } &&
31785 { ac_try='test -s conftest$ac_exeext'
31786 { (case "(($ac_try" in
31787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31788 *) ac_try_echo=$ac_try;;
31790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31791 (eval "$ac_try") 2>&5
31793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31794 (exit $ac_status); }; }; then
31796 # We can link X programs with no special library path.
31799 echo "$as_me: failed program was:" >&5
31800 sed 's/^/| /' conftest.$ac_ext >&5
31803 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31805 # Don't even attempt the hair of trying to link an X program!
31806 for ac_extension in a so sl; do
31807 if test -r "$ac_dir/libXt.$ac_extension"; then
31808 ac_x_libraries=$ac_dir
31815 rm -f core conftest.err conftest.$ac_objext \
31816 conftest$ac_exeext conftest.$ac_ext
31817 fi # $ac_x_libraries = no
31819 case $ac_x_includes,$ac_x_libraries in #(
31820 no,* | *,no | *\'*)
31821 # Didn't find X, or a directory has "'" in its name.
31822 ac_cv_have_x="have_x=no";; #(
31824 # Record where we found X for the cache.
31825 ac_cv_have_x="have_x=yes\
31826 ac_x_includes='$ac_x_includes'\
31827 ac_x_libraries='$ac_x_libraries'"
31833 eval "$ac_cv_have_x"
31836 if test "$have_x" != yes; then
31837 { echo "$as_me:$LINENO: result: $have_x" >&5
31838 echo "${ECHO_T}$have_x" >&6; }
31841 # If each of the values was on the command line, it overrides each guess.
31842 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31843 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31844 # Update the cache value to reflect the command line values.
31845 ac_cv_have_x="have_x=yes\
31846 ac_x_includes='$x_includes'\
31847 ac_x_libraries='$x_libraries'"
31848 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31849 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31852 if test "$no_x" = yes; then
31853 # Not all programs may use this symbol, but it does not hurt to define it.
31855 cat >>confdefs.h <<\_ACEOF
31856 #define X_DISPLAY_MISSING 1
31859 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31861 if test -n "$x_includes"; then
31862 X_CFLAGS="$X_CFLAGS -I$x_includes"
31865 # It would also be nice to do this for all -L options, not just this one.
31866 if test -n "$x_libraries"; then
31867 X_LIBS="$X_LIBS -L$x_libraries"
31868 # For Solaris; some versions of Sun CC require a space after -R and
31869 # others require no space. Words are not sufficient . . . .
31870 case `(uname -sr) 2>/dev/null` in
31872 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31873 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31874 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31875 cat >conftest.$ac_ext <<_ACEOF
31878 cat confdefs.h >>conftest.$ac_ext
31879 cat >>conftest.$ac_ext <<_ACEOF
31880 /* end confdefs.h. */
31890 rm -f conftest.$ac_objext conftest$ac_exeext
31891 if { (ac_try="$ac_link"
31892 case "(($ac_try" in
31893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31894 *) ac_try_echo=$ac_try;;
31896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31897 (eval "$ac_link") 2>conftest.er1
31899 grep -v '^ *+' conftest.er1 >conftest.err
31901 cat conftest.err >&5
31902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31903 (exit $ac_status); } &&
31904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31905 { (case "(($ac_try" in
31906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31907 *) ac_try_echo=$ac_try;;
31909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31910 (eval "$ac_try") 2>&5
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); }; } &&
31914 { ac_try='test -s conftest$ac_exeext'
31915 { (case "(($ac_try" in
31916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31917 *) ac_try_echo=$ac_try;;
31919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31920 (eval "$ac_try") 2>&5
31922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31923 (exit $ac_status); }; }; then
31926 echo "$as_me: failed program was:" >&5
31927 sed 's/^/| /' conftest.$ac_ext >&5
31932 rm -f core conftest.err conftest.$ac_objext \
31933 conftest$ac_exeext conftest.$ac_ext
31934 if test $ac_R_nospace = yes; then
31935 { echo "$as_me:$LINENO: result: no" >&5
31936 echo "${ECHO_T}no" >&6; }
31937 X_LIBS="$X_LIBS -R$x_libraries"
31939 LIBS="$ac_xsave_LIBS -R $x_libraries"
31940 cat >conftest.$ac_ext <<_ACEOF
31943 cat confdefs.h >>conftest.$ac_ext
31944 cat >>conftest.$ac_ext <<_ACEOF
31945 /* end confdefs.h. */
31955 rm -f conftest.$ac_objext conftest$ac_exeext
31956 if { (ac_try="$ac_link"
31957 case "(($ac_try" in
31958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31959 *) ac_try_echo=$ac_try;;
31961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31962 (eval "$ac_link") 2>conftest.er1
31964 grep -v '^ *+' conftest.er1 >conftest.err
31966 cat conftest.err >&5
31967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31968 (exit $ac_status); } &&
31969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31970 { (case "(($ac_try" in
31971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31972 *) ac_try_echo=$ac_try;;
31974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31975 (eval "$ac_try") 2>&5
31977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31978 (exit $ac_status); }; } &&
31979 { ac_try='test -s conftest$ac_exeext'
31980 { (case "(($ac_try" in
31981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31982 *) ac_try_echo=$ac_try;;
31984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31985 (eval "$ac_try") 2>&5
31987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31988 (exit $ac_status); }; }; then
31991 echo "$as_me: failed program was:" >&5
31992 sed 's/^/| /' conftest.$ac_ext >&5
31997 rm -f core conftest.err conftest.$ac_objext \
31998 conftest$ac_exeext conftest.$ac_ext
31999 if test $ac_R_space = yes; then
32000 { echo "$as_me:$LINENO: result: yes" >&5
32001 echo "${ECHO_T}yes" >&6; }
32002 X_LIBS="$X_LIBS -R $x_libraries"
32004 { echo "$as_me:$LINENO: result: neither works" >&5
32005 echo "${ECHO_T}neither works" >&6; }
32008 LIBS=$ac_xsave_LIBS
32012 # Check for system-dependent libraries X programs must link with.
32013 # Do this before checking for the system-independent R6 libraries
32014 # (-lICE), since we may need -lsocket or whatever for X linking.
32016 if test "$ISC" = yes; then
32017 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32019 # Martyn Johnson says this is needed for Ultrix, if the X
32020 # libraries were built with DECnet support. And Karl Berry says
32021 # the Alpha needs dnet_stub (dnet does not exist).
32022 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32023 cat >conftest.$ac_ext <<_ACEOF
32026 cat confdefs.h >>conftest.$ac_ext
32027 cat >>conftest.$ac_ext <<_ACEOF
32028 /* end confdefs.h. */
32030 /* Override any GCC internal prototype to avoid an error.
32031 Use char because int might match the return type of a GCC
32032 builtin and then its argument prototype would still apply. */
32036 char XOpenDisplay ();
32040 return XOpenDisplay ();
32045 rm -f conftest.$ac_objext conftest$ac_exeext
32046 if { (ac_try="$ac_link"
32047 case "(($ac_try" in
32048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32049 *) ac_try_echo=$ac_try;;
32051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32052 (eval "$ac_link") 2>conftest.er1
32054 grep -v '^ *+' conftest.er1 >conftest.err
32056 cat conftest.err >&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); } &&
32059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32060 { (case "(($ac_try" in
32061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32062 *) ac_try_echo=$ac_try;;
32064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32065 (eval "$ac_try") 2>&5
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); }; } &&
32069 { ac_try='test -s conftest$ac_exeext'
32070 { (case "(($ac_try" in
32071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32072 *) ac_try_echo=$ac_try;;
32074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32075 (eval "$ac_try") 2>&5
32077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32078 (exit $ac_status); }; }; then
32081 echo "$as_me: failed program was:" >&5
32082 sed 's/^/| /' conftest.$ac_ext >&5
32084 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32085 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32086 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32087 echo $ECHO_N "(cached) $ECHO_C" >&6
32089 ac_check_lib_save_LIBS=$LIBS
32090 LIBS="-ldnet $LIBS"
32091 cat >conftest.$ac_ext <<_ACEOF
32094 cat confdefs.h >>conftest.$ac_ext
32095 cat >>conftest.$ac_ext <<_ACEOF
32096 /* end confdefs.h. */
32098 /* Override any GCC internal prototype to avoid an error.
32099 Use char because int might match the return type of a GCC
32100 builtin and then its argument prototype would still apply. */
32108 return dnet_ntoa ();
32113 rm -f conftest.$ac_objext conftest$ac_exeext
32114 if { (ac_try="$ac_link"
32115 case "(($ac_try" in
32116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32117 *) ac_try_echo=$ac_try;;
32119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32120 (eval "$ac_link") 2>conftest.er1
32122 grep -v '^ *+' conftest.er1 >conftest.err
32124 cat conftest.err >&5
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); } &&
32127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32128 { (case "(($ac_try" in
32129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32130 *) ac_try_echo=$ac_try;;
32132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32133 (eval "$ac_try") 2>&5
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); }; } &&
32137 { ac_try='test -s conftest$ac_exeext'
32138 { (case "(($ac_try" in
32139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32140 *) ac_try_echo=$ac_try;;
32142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32143 (eval "$ac_try") 2>&5
32145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146 (exit $ac_status); }; }; then
32147 ac_cv_lib_dnet_dnet_ntoa=yes
32149 echo "$as_me: failed program was:" >&5
32150 sed 's/^/| /' conftest.$ac_ext >&5
32152 ac_cv_lib_dnet_dnet_ntoa=no
32155 rm -f core conftest.err conftest.$ac_objext \
32156 conftest$ac_exeext conftest.$ac_ext
32157 LIBS=$ac_check_lib_save_LIBS
32159 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32160 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32161 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32162 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32165 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32166 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32167 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32168 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32171 ac_check_lib_save_LIBS=$LIBS
32172 LIBS="-ldnet_stub $LIBS"
32173 cat >conftest.$ac_ext <<_ACEOF
32176 cat confdefs.h >>conftest.$ac_ext
32177 cat >>conftest.$ac_ext <<_ACEOF
32178 /* end confdefs.h. */
32180 /* Override any GCC internal prototype to avoid an error.
32181 Use char because int might match the return type of a GCC
32182 builtin and then its argument prototype would still apply. */
32190 return dnet_ntoa ();
32195 rm -f conftest.$ac_objext conftest$ac_exeext
32196 if { (ac_try="$ac_link"
32197 case "(($ac_try" in
32198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32199 *) ac_try_echo=$ac_try;;
32201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32202 (eval "$ac_link") 2>conftest.er1
32204 grep -v '^ *+' conftest.er1 >conftest.err
32206 cat conftest.err >&5
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); } &&
32209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32210 { (case "(($ac_try" in
32211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32212 *) ac_try_echo=$ac_try;;
32214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32215 (eval "$ac_try") 2>&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); }; } &&
32219 { ac_try='test -s conftest$ac_exeext'
32220 { (case "(($ac_try" in
32221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32222 *) ac_try_echo=$ac_try;;
32224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32225 (eval "$ac_try") 2>&5
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); }; }; then
32229 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32231 echo "$as_me: failed program was:" >&5
32232 sed 's/^/| /' conftest.$ac_ext >&5
32234 ac_cv_lib_dnet_stub_dnet_ntoa=no
32237 rm -f core conftest.err conftest.$ac_objext \
32238 conftest$ac_exeext conftest.$ac_ext
32239 LIBS=$ac_check_lib_save_LIBS
32241 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32242 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32243 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32244 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32250 rm -f core conftest.err conftest.$ac_objext \
32251 conftest$ac_exeext conftest.$ac_ext
32252 LIBS="$ac_xsave_LIBS"
32254 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32255 # to get the SysV transport functions.
32256 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32258 # The nsl library prevents programs from opening the X display
32259 # on Irix 5.2, according to T.E. Dickey.
32260 # The functions gethostbyname, getservbyname, and inet_addr are
32261 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32262 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32263 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32264 if test "${ac_cv_func_gethostbyname+set}" = set; then
32265 echo $ECHO_N "(cached) $ECHO_C" >&6
32267 cat >conftest.$ac_ext <<_ACEOF
32270 cat confdefs.h >>conftest.$ac_ext
32271 cat >>conftest.$ac_ext <<_ACEOF
32272 /* end confdefs.h. */
32273 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32275 #define gethostbyname innocuous_gethostbyname
32277 /* System header to define __stub macros and hopefully few prototypes,
32278 which can conflict with char gethostbyname (); below.
32279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32280 <limits.h> exists even on freestanding compilers. */
32283 # include <limits.h>
32285 # include <assert.h>
32288 #undef gethostbyname
32290 /* Override any GCC internal prototype to avoid an error.
32291 Use char because int might match the return type of a GCC
32292 builtin and then its argument prototype would still apply. */
32296 char gethostbyname ();
32297 /* The GNU C library defines this for functions which it implements
32298 to always fail with ENOSYS. Some functions are actually named
32299 something starting with __ and the normal name is an alias. */
32300 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32307 return gethostbyname ();
32312 rm -f conftest.$ac_objext conftest$ac_exeext
32313 if { (ac_try="$ac_link"
32314 case "(($ac_try" in
32315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32316 *) ac_try_echo=$ac_try;;
32318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32319 (eval "$ac_link") 2>conftest.er1
32321 grep -v '^ *+' conftest.er1 >conftest.err
32323 cat conftest.err >&5
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); } &&
32326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32327 { (case "(($ac_try" in
32328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32329 *) ac_try_echo=$ac_try;;
32331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32332 (eval "$ac_try") 2>&5
32334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32335 (exit $ac_status); }; } &&
32336 { ac_try='test -s conftest$ac_exeext'
32337 { (case "(($ac_try" in
32338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32339 *) ac_try_echo=$ac_try;;
32341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32342 (eval "$ac_try") 2>&5
32344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32345 (exit $ac_status); }; }; then
32346 ac_cv_func_gethostbyname=yes
32348 echo "$as_me: failed program was:" >&5
32349 sed 's/^/| /' conftest.$ac_ext >&5
32351 ac_cv_func_gethostbyname=no
32354 rm -f core conftest.err conftest.$ac_objext \
32355 conftest$ac_exeext conftest.$ac_ext
32357 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32358 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32360 if test $ac_cv_func_gethostbyname = no; then
32361 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32362 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32363 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32364 echo $ECHO_N "(cached) $ECHO_C" >&6
32366 ac_check_lib_save_LIBS=$LIBS
32368 cat >conftest.$ac_ext <<_ACEOF
32371 cat confdefs.h >>conftest.$ac_ext
32372 cat >>conftest.$ac_ext <<_ACEOF
32373 /* end confdefs.h. */
32375 /* Override any GCC internal prototype to avoid an error.
32376 Use char because int might match the return type of a GCC
32377 builtin and then its argument prototype would still apply. */
32381 char gethostbyname ();
32385 return gethostbyname ();
32390 rm -f conftest.$ac_objext conftest$ac_exeext
32391 if { (ac_try="$ac_link"
32392 case "(($ac_try" in
32393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32394 *) ac_try_echo=$ac_try;;
32396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32397 (eval "$ac_link") 2>conftest.er1
32399 grep -v '^ *+' conftest.er1 >conftest.err
32401 cat conftest.err >&5
32402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403 (exit $ac_status); } &&
32404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32405 { (case "(($ac_try" in
32406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32407 *) ac_try_echo=$ac_try;;
32409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32410 (eval "$ac_try") 2>&5
32412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32413 (exit $ac_status); }; } &&
32414 { ac_try='test -s conftest$ac_exeext'
32415 { (case "(($ac_try" in
32416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32417 *) ac_try_echo=$ac_try;;
32419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32420 (eval "$ac_try") 2>&5
32422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423 (exit $ac_status); }; }; then
32424 ac_cv_lib_nsl_gethostbyname=yes
32426 echo "$as_me: failed program was:" >&5
32427 sed 's/^/| /' conftest.$ac_ext >&5
32429 ac_cv_lib_nsl_gethostbyname=no
32432 rm -f core conftest.err conftest.$ac_objext \
32433 conftest$ac_exeext conftest.$ac_ext
32434 LIBS=$ac_check_lib_save_LIBS
32436 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32437 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32438 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32439 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32442 if test $ac_cv_lib_nsl_gethostbyname = no; then
32443 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32444 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32445 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32446 echo $ECHO_N "(cached) $ECHO_C" >&6
32448 ac_check_lib_save_LIBS=$LIBS
32450 cat >conftest.$ac_ext <<_ACEOF
32453 cat confdefs.h >>conftest.$ac_ext
32454 cat >>conftest.$ac_ext <<_ACEOF
32455 /* end confdefs.h. */
32457 /* Override any GCC internal prototype to avoid an error.
32458 Use char because int might match the return type of a GCC
32459 builtin and then its argument prototype would still apply. */
32463 char gethostbyname ();
32467 return gethostbyname ();
32472 rm -f conftest.$ac_objext conftest$ac_exeext
32473 if { (ac_try="$ac_link"
32474 case "(($ac_try" in
32475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32476 *) ac_try_echo=$ac_try;;
32478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32479 (eval "$ac_link") 2>conftest.er1
32481 grep -v '^ *+' conftest.er1 >conftest.err
32483 cat conftest.err >&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); } &&
32486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32487 { (case "(($ac_try" in
32488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32489 *) ac_try_echo=$ac_try;;
32491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32492 (eval "$ac_try") 2>&5
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); }; } &&
32496 { ac_try='test -s conftest$ac_exeext'
32497 { (case "(($ac_try" in
32498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32499 *) ac_try_echo=$ac_try;;
32501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32502 (eval "$ac_try") 2>&5
32504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32505 (exit $ac_status); }; }; then
32506 ac_cv_lib_bsd_gethostbyname=yes
32508 echo "$as_me: failed program was:" >&5
32509 sed 's/^/| /' conftest.$ac_ext >&5
32511 ac_cv_lib_bsd_gethostbyname=no
32514 rm -f core conftest.err conftest.$ac_objext \
32515 conftest$ac_exeext conftest.$ac_ext
32516 LIBS=$ac_check_lib_save_LIBS
32518 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32519 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32520 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32521 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32527 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32528 # socket/setsockopt and other routines are undefined under SCO ODT
32529 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32530 # on later versions), says Simon Leinen: it contains gethostby*
32531 # variants that don't use the name server (or something). -lsocket
32532 # must be given before -lnsl if both are needed. We assume that
32533 # if connect needs -lnsl, so does gethostbyname.
32534 { echo "$as_me:$LINENO: checking for connect" >&5
32535 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32536 if test "${ac_cv_func_connect+set}" = set; then
32537 echo $ECHO_N "(cached) $ECHO_C" >&6
32539 cat >conftest.$ac_ext <<_ACEOF
32542 cat confdefs.h >>conftest.$ac_ext
32543 cat >>conftest.$ac_ext <<_ACEOF
32544 /* end confdefs.h. */
32545 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32547 #define connect innocuous_connect
32549 /* System header to define __stub macros and hopefully few prototypes,
32550 which can conflict with char connect (); below.
32551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32552 <limits.h> exists even on freestanding compilers. */
32555 # include <limits.h>
32557 # include <assert.h>
32562 /* Override any GCC internal prototype to avoid an error.
32563 Use char because int might match the return type of a GCC
32564 builtin and then its argument prototype would still apply. */
32569 /* The GNU C library defines this for functions which it implements
32570 to always fail with ENOSYS. Some functions are actually named
32571 something starting with __ and the normal name is an alias. */
32572 #if defined __stub_connect || defined __stub___connect
32584 rm -f conftest.$ac_objext conftest$ac_exeext
32585 if { (ac_try="$ac_link"
32586 case "(($ac_try" in
32587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32588 *) ac_try_echo=$ac_try;;
32590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32591 (eval "$ac_link") 2>conftest.er1
32593 grep -v '^ *+' conftest.er1 >conftest.err
32595 cat conftest.err >&5
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); } &&
32598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32599 { (case "(($ac_try" in
32600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32601 *) ac_try_echo=$ac_try;;
32603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32604 (eval "$ac_try") 2>&5
32606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); }; } &&
32608 { ac_try='test -s conftest$ac_exeext'
32609 { (case "(($ac_try" in
32610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32611 *) ac_try_echo=$ac_try;;
32613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32614 (eval "$ac_try") 2>&5
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); }; }; then
32618 ac_cv_func_connect=yes
32620 echo "$as_me: failed program was:" >&5
32621 sed 's/^/| /' conftest.$ac_ext >&5
32623 ac_cv_func_connect=no
32626 rm -f core conftest.err conftest.$ac_objext \
32627 conftest$ac_exeext conftest.$ac_ext
32629 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32630 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32632 if test $ac_cv_func_connect = no; then
32633 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32634 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32635 if test "${ac_cv_lib_socket_connect+set}" = set; then
32636 echo $ECHO_N "(cached) $ECHO_C" >&6
32638 ac_check_lib_save_LIBS=$LIBS
32639 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32640 cat >conftest.$ac_ext <<_ACEOF
32643 cat confdefs.h >>conftest.$ac_ext
32644 cat >>conftest.$ac_ext <<_ACEOF
32645 /* end confdefs.h. */
32647 /* Override any GCC internal prototype to avoid an error.
32648 Use char because int might match the return type of a GCC
32649 builtin and then its argument prototype would still apply. */
32662 rm -f conftest.$ac_objext conftest$ac_exeext
32663 if { (ac_try="$ac_link"
32664 case "(($ac_try" in
32665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32666 *) ac_try_echo=$ac_try;;
32668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32669 (eval "$ac_link") 2>conftest.er1
32671 grep -v '^ *+' conftest.er1 >conftest.err
32673 cat conftest.err >&5
32674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675 (exit $ac_status); } &&
32676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32677 { (case "(($ac_try" in
32678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32679 *) ac_try_echo=$ac_try;;
32681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32682 (eval "$ac_try") 2>&5
32684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32685 (exit $ac_status); }; } &&
32686 { ac_try='test -s conftest$ac_exeext'
32687 { (case "(($ac_try" in
32688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32689 *) ac_try_echo=$ac_try;;
32691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32692 (eval "$ac_try") 2>&5
32694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695 (exit $ac_status); }; }; then
32696 ac_cv_lib_socket_connect=yes
32698 echo "$as_me: failed program was:" >&5
32699 sed 's/^/| /' conftest.$ac_ext >&5
32701 ac_cv_lib_socket_connect=no
32704 rm -f core conftest.err conftest.$ac_objext \
32705 conftest$ac_exeext conftest.$ac_ext
32706 LIBS=$ac_check_lib_save_LIBS
32708 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32709 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32710 if test $ac_cv_lib_socket_connect = yes; then
32711 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32716 # Guillermo Gomez says -lposix is necessary on A/UX.
32717 { echo "$as_me:$LINENO: checking for remove" >&5
32718 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32719 if test "${ac_cv_func_remove+set}" = set; then
32720 echo $ECHO_N "(cached) $ECHO_C" >&6
32722 cat >conftest.$ac_ext <<_ACEOF
32725 cat confdefs.h >>conftest.$ac_ext
32726 cat >>conftest.$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32728 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32730 #define remove innocuous_remove
32732 /* System header to define __stub macros and hopefully few prototypes,
32733 which can conflict with char remove (); below.
32734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32735 <limits.h> exists even on freestanding compilers. */
32738 # include <limits.h>
32740 # include <assert.h>
32745 /* Override any GCC internal prototype to avoid an error.
32746 Use char because int might match the return type of a GCC
32747 builtin and then its argument prototype would still apply. */
32752 /* The GNU C library defines this for functions which it implements
32753 to always fail with ENOSYS. Some functions are actually named
32754 something starting with __ and the normal name is an alias. */
32755 #if defined __stub_remove || defined __stub___remove
32767 rm -f conftest.$ac_objext conftest$ac_exeext
32768 if { (ac_try="$ac_link"
32769 case "(($ac_try" in
32770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32771 *) ac_try_echo=$ac_try;;
32773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32774 (eval "$ac_link") 2>conftest.er1
32776 grep -v '^ *+' conftest.er1 >conftest.err
32778 cat conftest.err >&5
32779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32780 (exit $ac_status); } &&
32781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32782 { (case "(($ac_try" in
32783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32784 *) ac_try_echo=$ac_try;;
32786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32787 (eval "$ac_try") 2>&5
32789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32790 (exit $ac_status); }; } &&
32791 { ac_try='test -s conftest$ac_exeext'
32792 { (case "(($ac_try" in
32793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32794 *) ac_try_echo=$ac_try;;
32796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32797 (eval "$ac_try") 2>&5
32799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800 (exit $ac_status); }; }; then
32801 ac_cv_func_remove=yes
32803 echo "$as_me: failed program was:" >&5
32804 sed 's/^/| /' conftest.$ac_ext >&5
32806 ac_cv_func_remove=no
32809 rm -f core conftest.err conftest.$ac_objext \
32810 conftest$ac_exeext conftest.$ac_ext
32812 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32813 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32815 if test $ac_cv_func_remove = no; then
32816 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32817 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32818 if test "${ac_cv_lib_posix_remove+set}" = set; then
32819 echo $ECHO_N "(cached) $ECHO_C" >&6
32821 ac_check_lib_save_LIBS=$LIBS
32822 LIBS="-lposix $LIBS"
32823 cat >conftest.$ac_ext <<_ACEOF
32826 cat confdefs.h >>conftest.$ac_ext
32827 cat >>conftest.$ac_ext <<_ACEOF
32828 /* end confdefs.h. */
32830 /* Override any GCC internal prototype to avoid an error.
32831 Use char because int might match the return type of a GCC
32832 builtin and then its argument prototype would still apply. */
32845 rm -f conftest.$ac_objext conftest$ac_exeext
32846 if { (ac_try="$ac_link"
32847 case "(($ac_try" in
32848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32849 *) ac_try_echo=$ac_try;;
32851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32852 (eval "$ac_link") 2>conftest.er1
32854 grep -v '^ *+' conftest.er1 >conftest.err
32856 cat conftest.err >&5
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); } &&
32859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32860 { (case "(($ac_try" in
32861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32862 *) ac_try_echo=$ac_try;;
32864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32865 (eval "$ac_try") 2>&5
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); }; } &&
32869 { ac_try='test -s conftest$ac_exeext'
32870 { (case "(($ac_try" in
32871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32872 *) ac_try_echo=$ac_try;;
32874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32875 (eval "$ac_try") 2>&5
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); }; }; then
32879 ac_cv_lib_posix_remove=yes
32881 echo "$as_me: failed program was:" >&5
32882 sed 's/^/| /' conftest.$ac_ext >&5
32884 ac_cv_lib_posix_remove=no
32887 rm -f core conftest.err conftest.$ac_objext \
32888 conftest$ac_exeext conftest.$ac_ext
32889 LIBS=$ac_check_lib_save_LIBS
32891 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32892 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32893 if test $ac_cv_lib_posix_remove = yes; then
32894 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32899 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32900 { echo "$as_me:$LINENO: checking for shmat" >&5
32901 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32902 if test "${ac_cv_func_shmat+set}" = set; then
32903 echo $ECHO_N "(cached) $ECHO_C" >&6
32905 cat >conftest.$ac_ext <<_ACEOF
32908 cat confdefs.h >>conftest.$ac_ext
32909 cat >>conftest.$ac_ext <<_ACEOF
32910 /* end confdefs.h. */
32911 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32913 #define shmat innocuous_shmat
32915 /* System header to define __stub macros and hopefully few prototypes,
32916 which can conflict with char shmat (); below.
32917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32918 <limits.h> exists even on freestanding compilers. */
32921 # include <limits.h>
32923 # include <assert.h>
32928 /* Override any GCC internal prototype to avoid an error.
32929 Use char because int might match the return type of a GCC
32930 builtin and then its argument prototype would still apply. */
32935 /* The GNU C library defines this for functions which it implements
32936 to always fail with ENOSYS. Some functions are actually named
32937 something starting with __ and the normal name is an alias. */
32938 #if defined __stub_shmat || defined __stub___shmat
32950 rm -f conftest.$ac_objext conftest$ac_exeext
32951 if { (ac_try="$ac_link"
32952 case "(($ac_try" in
32953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32954 *) ac_try_echo=$ac_try;;
32956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32957 (eval "$ac_link") 2>conftest.er1
32959 grep -v '^ *+' conftest.er1 >conftest.err
32961 cat conftest.err >&5
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 (exit $ac_status); } &&
32964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32965 { (case "(($ac_try" in
32966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32967 *) ac_try_echo=$ac_try;;
32969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32970 (eval "$ac_try") 2>&5
32972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32973 (exit $ac_status); }; } &&
32974 { ac_try='test -s conftest$ac_exeext'
32975 { (case "(($ac_try" in
32976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32977 *) ac_try_echo=$ac_try;;
32979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32980 (eval "$ac_try") 2>&5
32982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32983 (exit $ac_status); }; }; then
32984 ac_cv_func_shmat=yes
32986 echo "$as_me: failed program was:" >&5
32987 sed 's/^/| /' conftest.$ac_ext >&5
32989 ac_cv_func_shmat=no
32992 rm -f core conftest.err conftest.$ac_objext \
32993 conftest$ac_exeext conftest.$ac_ext
32995 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32996 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32998 if test $ac_cv_func_shmat = no; then
32999 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33000 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33001 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33002 echo $ECHO_N "(cached) $ECHO_C" >&6
33004 ac_check_lib_save_LIBS=$LIBS
33006 cat >conftest.$ac_ext <<_ACEOF
33009 cat confdefs.h >>conftest.$ac_ext
33010 cat >>conftest.$ac_ext <<_ACEOF
33011 /* end confdefs.h. */
33013 /* Override any GCC internal prototype to avoid an error.
33014 Use char because int might match the return type of a GCC
33015 builtin and then its argument prototype would still apply. */
33028 rm -f conftest.$ac_objext conftest$ac_exeext
33029 if { (ac_try="$ac_link"
33030 case "(($ac_try" in
33031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33032 *) ac_try_echo=$ac_try;;
33034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33035 (eval "$ac_link") 2>conftest.er1
33037 grep -v '^ *+' conftest.er1 >conftest.err
33039 cat conftest.err >&5
33040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33041 (exit $ac_status); } &&
33042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33043 { (case "(($ac_try" in
33044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33045 *) ac_try_echo=$ac_try;;
33047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33048 (eval "$ac_try") 2>&5
33050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33051 (exit $ac_status); }; } &&
33052 { ac_try='test -s conftest$ac_exeext'
33053 { (case "(($ac_try" in
33054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33055 *) ac_try_echo=$ac_try;;
33057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33058 (eval "$ac_try") 2>&5
33060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33061 (exit $ac_status); }; }; then
33062 ac_cv_lib_ipc_shmat=yes
33064 echo "$as_me: failed program was:" >&5
33065 sed 's/^/| /' conftest.$ac_ext >&5
33067 ac_cv_lib_ipc_shmat=no
33070 rm -f core conftest.err conftest.$ac_objext \
33071 conftest$ac_exeext conftest.$ac_ext
33072 LIBS=$ac_check_lib_save_LIBS
33074 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33075 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33076 if test $ac_cv_lib_ipc_shmat = yes; then
33077 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33083 # Check for libraries that X11R6 Xt/Xaw programs need.
33084 ac_save_LDFLAGS=$LDFLAGS
33085 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33086 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33087 # check for ICE first), but we must link in the order -lSM -lICE or
33088 # we get undefined symbols. So assume we have SM if we have ICE.
33089 # These have to be linked with before -lX11, unlike the other
33090 # libraries we check for below, so use a different variable.
33091 # John Interrante, Karl Berry
33092 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33093 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33094 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33095 echo $ECHO_N "(cached) $ECHO_C" >&6
33097 ac_check_lib_save_LIBS=$LIBS
33098 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33099 cat >conftest.$ac_ext <<_ACEOF
33102 cat confdefs.h >>conftest.$ac_ext
33103 cat >>conftest.$ac_ext <<_ACEOF
33104 /* end confdefs.h. */
33106 /* Override any GCC internal prototype to avoid an error.
33107 Use char because int might match the return type of a GCC
33108 builtin and then its argument prototype would still apply. */
33112 char IceConnectionNumber ();
33116 return IceConnectionNumber ();
33121 rm -f conftest.$ac_objext conftest$ac_exeext
33122 if { (ac_try="$ac_link"
33123 case "(($ac_try" in
33124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33125 *) ac_try_echo=$ac_try;;
33127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33128 (eval "$ac_link") 2>conftest.er1
33130 grep -v '^ *+' conftest.er1 >conftest.err
33132 cat conftest.err >&5
33133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33134 (exit $ac_status); } &&
33135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33136 { (case "(($ac_try" in
33137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33138 *) ac_try_echo=$ac_try;;
33140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33141 (eval "$ac_try") 2>&5
33143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144 (exit $ac_status); }; } &&
33145 { ac_try='test -s conftest$ac_exeext'
33146 { (case "(($ac_try" in
33147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33148 *) ac_try_echo=$ac_try;;
33150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33151 (eval "$ac_try") 2>&5
33153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154 (exit $ac_status); }; }; then
33155 ac_cv_lib_ICE_IceConnectionNumber=yes
33157 echo "$as_me: failed program was:" >&5
33158 sed 's/^/| /' conftest.$ac_ext >&5
33160 ac_cv_lib_ICE_IceConnectionNumber=no
33163 rm -f core conftest.err conftest.$ac_objext \
33164 conftest$ac_exeext conftest.$ac_ext
33165 LIBS=$ac_check_lib_save_LIBS
33167 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33168 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33169 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33170 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33173 LDFLAGS=$ac_save_LDFLAGS
33178 if test "$no_x" = "yes"; then
33179 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33180 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33181 { (exit 1); exit 1; }; }
33184 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33185 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33186 AFMINSTALL=afminstall
33187 COMPILED_X_PROGRAM=0
33191 if test "$wxUSE_X11" = 1; then
33192 if test "$wxUSE_NANOX" = "yes"; then
33193 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33194 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33195 if test "x$MICROWIN" = x ; then
33196 { echo "$as_me:$LINENO: result: not found" >&5
33197 echo "${ECHO_T}not found" >&6; }
33198 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33199 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33200 { (exit 1); exit 1; }; }
33202 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33203 echo "${ECHO_T}$MICROWIN" >&6; }
33204 cat >>confdefs.h <<\_ACEOF
33205 #define wxUSE_NANOX 1
33211 if test "$wxUSE_UNICODE" = "yes"; then
33214 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33215 if test -n "$ac_tool_prefix"; then
33216 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33217 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33220 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33221 echo $ECHO_N "(cached) $ECHO_C" >&6
33223 case $PKG_CONFIG in
33225 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33229 for as_dir in $PATH
33232 test -z "$as_dir" && as_dir=.
33233 for ac_exec_ext in '' $ac_executable_extensions; do
33234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33235 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33246 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33247 if test -n "$PKG_CONFIG"; then
33248 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33249 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33251 { echo "$as_me:$LINENO: result: no" >&5
33252 echo "${ECHO_T}no" >&6; }
33257 if test -z "$ac_cv_path_PKG_CONFIG"; then
33258 ac_pt_PKG_CONFIG=$PKG_CONFIG
33259 # Extract the first word of "pkg-config", so it can be a program name with args.
33260 set dummy pkg-config; ac_word=$2
33261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33263 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33264 echo $ECHO_N "(cached) $ECHO_C" >&6
33266 case $ac_pt_PKG_CONFIG in
33268 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33272 for as_dir in $PATH
33275 test -z "$as_dir" && as_dir=.
33276 for ac_exec_ext in '' $ac_executable_extensions; do
33277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33278 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33289 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33290 if test -n "$ac_pt_PKG_CONFIG"; then
33291 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33292 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33294 { echo "$as_me:$LINENO: result: no" >&5
33295 echo "${ECHO_T}no" >&6; }
33298 if test "x$ac_pt_PKG_CONFIG" = x; then
33301 case $cross_compiling:$ac_tool_warned in
33303 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33304 whose name does not start with the host triplet. If you think this
33305 configuration is useful to you, please write to autoconf@gnu.org." >&5
33306 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33307 whose name does not start with the host triplet. If you think this
33308 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33309 ac_tool_warned=yes ;;
33311 PKG_CONFIG=$ac_pt_PKG_CONFIG
33314 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33318 if test -n "$PKG_CONFIG"; then
33319 _pkg_min_version=0.9.0
33320 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33321 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33322 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33323 { echo "$as_me:$LINENO: result: yes" >&5
33324 echo "${ECHO_T}yes" >&6; }
33326 { echo "$as_me:$LINENO: result: no" >&5
33327 echo "${ECHO_T}no" >&6; }
33335 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33336 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33338 if test -n "$PKG_CONFIG"; then
33339 if test -n "$PANGOX_CFLAGS"; then
33340 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33342 if test -n "$PKG_CONFIG" && \
33343 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33344 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); }; then
33348 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33356 if test -n "$PKG_CONFIG"; then
33357 if test -n "$PANGOX_LIBS"; then
33358 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33360 if test -n "$PKG_CONFIG" && \
33361 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33362 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33365 (exit $ac_status); }; then
33366 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33377 if test $pkg_failed = yes; then
33379 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33380 _pkg_short_errors_supported=yes
33382 _pkg_short_errors_supported=no
33384 if test $_pkg_short_errors_supported = yes; then
33385 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33387 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33389 # Put the nasty error message in config.log where it belongs
33390 echo "$PANGOX_PKG_ERRORS" >&5
33393 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33394 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33395 { (exit 1); exit 1; }; }
33398 elif test $pkg_failed = untried; then
33400 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33401 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33402 { (exit 1); exit 1; }; }
33406 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33407 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33408 { echo "$as_me:$LINENO: result: yes" >&5
33409 echo "${ECHO_T}yes" >&6; }
33411 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33412 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33413 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33418 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33419 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33421 if test -n "$PKG_CONFIG"; then
33422 if test -n "$PANGOFT2_CFLAGS"; then
33423 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33425 if test -n "$PKG_CONFIG" && \
33426 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33427 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33430 (exit $ac_status); }; then
33431 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33439 if test -n "$PKG_CONFIG"; then
33440 if test -n "$PANGOFT2_LIBS"; then
33441 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33443 if test -n "$PKG_CONFIG" && \
33444 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33445 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); }; then
33449 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33460 if test $pkg_failed = yes; then
33462 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33463 _pkg_short_errors_supported=yes
33465 _pkg_short_errors_supported=no
33467 if test $_pkg_short_errors_supported = yes; then
33468 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33470 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33472 # Put the nasty error message in config.log where it belongs
33473 echo "$PANGOFT2_PKG_ERRORS" >&5
33476 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33477 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33478 wxUSE_PRINTING_ARCHITECTURE="no"
33481 elif test $pkg_failed = untried; then
33483 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33484 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33485 wxUSE_PRINTING_ARCHITECTURE="no"
33489 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33490 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33491 { echo "$as_me:$LINENO: result: yes" >&5
33492 echo "${ECHO_T}yes" >&6; }
33494 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33495 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33496 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33501 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33502 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33504 if test -n "$PKG_CONFIG"; then
33505 if test -n "$PANGOXFT_CFLAGS"; then
33506 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33508 if test -n "$PKG_CONFIG" && \
33509 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33510 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33513 (exit $ac_status); }; then
33514 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33522 if test -n "$PKG_CONFIG"; then
33523 if test -n "$PANGOXFT_LIBS"; then
33524 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33526 if test -n "$PKG_CONFIG" && \
33527 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33528 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33531 (exit $ac_status); }; then
33532 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33543 if test $pkg_failed = yes; then
33545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33546 _pkg_short_errors_supported=yes
33548 _pkg_short_errors_supported=no
33550 if test $_pkg_short_errors_supported = yes; then
33551 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33553 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33555 # Put the nasty error message in config.log where it belongs
33556 echo "$PANGOXFT_PKG_ERRORS" >&5
33559 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33560 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33563 elif test $pkg_failed = untried; then
33565 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33566 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33570 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33571 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33572 { echo "$as_me:$LINENO: result: yes" >&5
33573 echo "${ECHO_T}yes" >&6; }
33575 cat >>confdefs.h <<\_ACEOF
33576 #define HAVE_PANGO_XFT 1
33579 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33580 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33581 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33585 LIBS="$LIBS $PANGOX_LIBS"
33587 for ac_func in pango_font_family_is_monospace
33589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33590 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33592 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33593 echo $ECHO_N "(cached) $ECHO_C" >&6
33595 cat >conftest.$ac_ext <<_ACEOF
33598 cat confdefs.h >>conftest.$ac_ext
33599 cat >>conftest.$ac_ext <<_ACEOF
33600 /* end confdefs.h. */
33601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33603 #define $ac_func innocuous_$ac_func
33605 /* System header to define __stub macros and hopefully few prototypes,
33606 which can conflict with char $ac_func (); below.
33607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33608 <limits.h> exists even on freestanding compilers. */
33611 # include <limits.h>
33613 # include <assert.h>
33618 /* Override any GCC internal prototype to avoid an error.
33619 Use char because int might match the return type of a GCC
33620 builtin and then its argument prototype would still apply. */
33625 /* The GNU C library defines this for functions which it implements
33626 to always fail with ENOSYS. Some functions are actually named
33627 something starting with __ and the normal name is an alias. */
33628 #if defined __stub_$ac_func || defined __stub___$ac_func
33635 return $ac_func ();
33640 rm -f conftest.$ac_objext conftest$ac_exeext
33641 if { (ac_try="$ac_link"
33642 case "(($ac_try" in
33643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33644 *) ac_try_echo=$ac_try;;
33646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33647 (eval "$ac_link") 2>conftest.er1
33649 grep -v '^ *+' conftest.er1 >conftest.err
33651 cat conftest.err >&5
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); } &&
33654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33655 { (case "(($ac_try" in
33656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33657 *) ac_try_echo=$ac_try;;
33659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33660 (eval "$ac_try") 2>&5
33662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33663 (exit $ac_status); }; } &&
33664 { ac_try='test -s conftest$ac_exeext'
33665 { (case "(($ac_try" in
33666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33667 *) ac_try_echo=$ac_try;;
33669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33670 (eval "$ac_try") 2>&5
33672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33673 (exit $ac_status); }; }; then
33674 eval "$as_ac_var=yes"
33676 echo "$as_me: failed program was:" >&5
33677 sed 's/^/| /' conftest.$ac_ext >&5
33679 eval "$as_ac_var=no"
33682 rm -f core conftest.err conftest.$ac_objext \
33683 conftest$ac_exeext conftest.$ac_ext
33685 ac_res=`eval echo '${'$as_ac_var'}'`
33686 { echo "$as_me:$LINENO: result: $ac_res" >&5
33687 echo "${ECHO_T}$ac_res" >&6; }
33688 if test `eval echo '${'$as_ac_var'}'` = yes; then
33689 cat >>confdefs.h <<_ACEOF
33690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33699 wxUSE_UNIVERSAL="yes"
33701 if test "$wxUSE_NANOX" = "yes"; then
33702 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33703 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"
33704 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33706 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33713 if test "$wxUSE_MOTIF" = 1; then
33714 if test "$wxUSE_UNICODE" = "yes"; then
33715 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33716 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33717 { (exit 1); exit 1; }; }
33720 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33721 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33724 for ac_dir in $SEARCH_INCLUDE /usr/include;
33726 if test -f "$ac_dir/Xm/Xm.h"; then
33727 ac_find_includes=$ac_dir
33732 if test "$ac_find_includes" != "" ; then
33733 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33734 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33736 if test "x$ac_find_includes" = "x/usr/include"; then
33737 ac_path_to_include=""
33739 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33741 if test $result = 0; then
33742 ac_path_to_include=""
33744 ac_path_to_include=" -I$ac_find_includes"
33748 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33750 save_CFLAGS=$CFLAGS
33751 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33753 cat >conftest.$ac_ext <<_ACEOF
33756 cat confdefs.h >>conftest.$ac_ext
33757 cat >>conftest.$ac_ext <<_ACEOF
33758 /* end confdefs.h. */
33767 version = xmUseVersion;
33773 rm -f conftest.$ac_objext
33774 if { (ac_try="$ac_compile"
33775 case "(($ac_try" in
33776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33777 *) ac_try_echo=$ac_try;;
33779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33780 (eval "$ac_compile") 2>conftest.er1
33782 grep -v '^ *+' conftest.er1 >conftest.err
33784 cat conftest.err >&5
33785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33786 (exit $ac_status); } &&
33787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33788 { (case "(($ac_try" in
33789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33790 *) ac_try_echo=$ac_try;;
33792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33793 (eval "$ac_try") 2>&5
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); }; } &&
33797 { ac_try='test -s conftest.$ac_objext'
33798 { (case "(($ac_try" in
33799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33800 *) ac_try_echo=$ac_try;;
33802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33803 (eval "$ac_try") 2>&5
33805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33806 (exit $ac_status); }; }; then
33808 { echo "$as_me:$LINENO: result: found in default search path" >&5
33809 echo "${ECHO_T}found in default search path" >&6; }
33810 COMPILED_X_PROGRAM=1
33813 echo "$as_me: failed program was:" >&5
33814 sed 's/^/| /' conftest.$ac_ext >&5
33817 { echo "$as_me:$LINENO: result: no" >&5
33818 echo "${ECHO_T}no" >&6; }
33819 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33820 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33821 { (exit 1); exit 1; }; }
33826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33828 CFLAGS=$save_CFLAGS
33832 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33833 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33836 for ac_dir in $SEARCH_LIB;
33838 for ac_extension in a so sl dylib dll.a; do
33839 if test -f "$ac_dir/libXm.$ac_extension"; then
33840 ac_find_libraries=$ac_dir
33847 if test "x$ac_find_libraries" != "x" ; then
33848 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33849 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33852 if test "$ac_find_libraries" = "default location"; then
33855 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33857 if test $result = 0; then
33860 ac_path_to_link=" -L$ac_find_libraries"
33864 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33866 save_CFLAGS=$CFLAGS
33867 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33869 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33871 cat >conftest.$ac_ext <<_ACEOF
33874 cat confdefs.h >>conftest.$ac_ext
33875 cat >>conftest.$ac_ext <<_ACEOF
33876 /* end confdefs.h. */
33885 version = xmUseVersion;
33891 rm -f conftest.$ac_objext conftest$ac_exeext
33892 if { (ac_try="$ac_link"
33893 case "(($ac_try" in
33894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33895 *) ac_try_echo=$ac_try;;
33897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33898 (eval "$ac_link") 2>conftest.er1
33900 grep -v '^ *+' conftest.er1 >conftest.err
33902 cat conftest.err >&5
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); } &&
33905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33906 { (case "(($ac_try" in
33907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33908 *) ac_try_echo=$ac_try;;
33910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33911 (eval "$ac_try") 2>&5
33913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33914 (exit $ac_status); }; } &&
33915 { ac_try='test -s conftest$ac_exeext'
33916 { (case "(($ac_try" in
33917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33918 *) ac_try_echo=$ac_try;;
33920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33921 (eval "$ac_try") 2>&5
33923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33924 (exit $ac_status); }; }; then
33926 { echo "$as_me:$LINENO: result: found in default search path" >&5
33927 echo "${ECHO_T}found in default search path" >&6; }
33928 COMPILED_X_PROGRAM=1
33931 echo "$as_me: failed program was:" >&5
33932 sed 's/^/| /' conftest.$ac_ext >&5
33935 { echo "$as_me:$LINENO: result: no" >&5
33936 echo "${ECHO_T}no" >&6; }
33937 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33938 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33939 { (exit 1); exit 1; }; }
33944 rm -f core conftest.err conftest.$ac_objext \
33945 conftest$ac_exeext conftest.$ac_ext
33947 CFLAGS=$save_CFLAGS
33951 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33952 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33956 for libp in "" " -lXp"; do
33957 if test "$libs_found" = "0"; then
33958 for libsm_ice in "" " -lSM -lICE"; do
33959 if test "$libs_found" = "0"; then
33961 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33962 save_CFLAGS=$CFLAGS
33963 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33965 cat >conftest.$ac_ext <<_ACEOF
33968 cat confdefs.h >>conftest.$ac_ext
33969 cat >>conftest.$ac_ext <<_ACEOF
33970 /* end confdefs.h. */
33973 #include <Xm/List.h>
33979 XmString string = NULL;
33982 XmListAddItem(w, string, position);
33988 rm -f conftest.$ac_objext conftest$ac_exeext
33989 if { (ac_try="$ac_link"
33990 case "(($ac_try" in
33991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33992 *) ac_try_echo=$ac_try;;
33994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33995 (eval "$ac_link") 2>conftest.er1
33997 grep -v '^ *+' conftest.er1 >conftest.err
33999 cat conftest.err >&5
34000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34001 (exit $ac_status); } &&
34002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34003 { (case "(($ac_try" in
34004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34005 *) ac_try_echo=$ac_try;;
34007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34008 (eval "$ac_try") 2>&5
34010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34011 (exit $ac_status); }; } &&
34012 { ac_try='test -s conftest$ac_exeext'
34013 { (case "(($ac_try" in
34014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34015 *) ac_try_echo=$ac_try;;
34017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34018 (eval "$ac_try") 2>&5
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); }; }; then
34024 libsm_ice_link="$libsm_ice"
34025 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34026 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34030 echo "$as_me: failed program was:" >&5
34031 sed 's/^/| /' conftest.$ac_ext >&5
34037 rm -f core conftest.err conftest.$ac_objext \
34038 conftest$ac_exeext conftest.$ac_ext
34041 CFLAGS=$save_CFLAGS
34047 if test "$libs_found" = "0"; then
34048 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34049 echo "${ECHO_T}can't find the right libraries" >&6; }
34050 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34051 echo "$as_me: error: can't link a simple motif program" >&2;}
34052 { (exit 1); exit 1; }; }
34055 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34056 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34057 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34058 echo $ECHO_N "(cached) $ECHO_C" >&6
34060 ac_check_lib_save_LIBS=$LIBS
34062 cat >conftest.$ac_ext <<_ACEOF
34065 cat confdefs.h >>conftest.$ac_ext
34066 cat >>conftest.$ac_ext <<_ACEOF
34067 /* end confdefs.h. */
34069 /* Override any GCC internal prototype to avoid an error.
34070 Use char because int might match the return type of a GCC
34071 builtin and then its argument prototype would still apply. */
34075 char SgCreateList ();
34079 return SgCreateList ();
34084 rm -f conftest.$ac_objext conftest$ac_exeext
34085 if { (ac_try="$ac_link"
34086 case "(($ac_try" in
34087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34088 *) ac_try_echo=$ac_try;;
34090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34091 (eval "$ac_link") 2>conftest.er1
34093 grep -v '^ *+' conftest.er1 >conftest.err
34095 cat conftest.err >&5
34096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34097 (exit $ac_status); } &&
34098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34099 { (case "(($ac_try" in
34100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34101 *) ac_try_echo=$ac_try;;
34103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34104 (eval "$ac_try") 2>&5
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); }; } &&
34108 { ac_try='test -s conftest$ac_exeext'
34109 { (case "(($ac_try" in
34110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34111 *) ac_try_echo=$ac_try;;
34113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34114 (eval "$ac_try") 2>&5
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); }; }; then
34118 ac_cv_lib_Sgm_SgCreateList=yes
34120 echo "$as_me: failed program was:" >&5
34121 sed 's/^/| /' conftest.$ac_ext >&5
34123 ac_cv_lib_Sgm_SgCreateList=no
34126 rm -f core conftest.err conftest.$ac_objext \
34127 conftest$ac_exeext conftest.$ac_ext
34128 LIBS=$ac_check_lib_save_LIBS
34130 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34131 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34132 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34133 libsgm_link=" -lSgm"
34137 save_CFLAGS=$CFLAGS
34138 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34140 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34141 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34142 if test "${wx_cv_lib_motif2+set}" = set; then
34143 echo $ECHO_N "(cached) $ECHO_C" >&6
34145 cat >conftest.$ac_ext <<_ACEOF
34148 cat confdefs.h >>conftest.$ac_ext
34149 cat >>conftest.$ac_ext <<_ACEOF
34150 /* end confdefs.h. */
34158 #if XmVersion < 2000
34166 rm -f conftest.$ac_objext
34167 if { (ac_try="$ac_compile"
34168 case "(($ac_try" in
34169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34170 *) ac_try_echo=$ac_try;;
34172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34173 (eval "$ac_compile") 2>conftest.er1
34175 grep -v '^ *+' conftest.er1 >conftest.err
34177 cat conftest.err >&5
34178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34179 (exit $ac_status); } &&
34180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34181 { (case "(($ac_try" in
34182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34183 *) ac_try_echo=$ac_try;;
34185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34186 (eval "$ac_try") 2>&5
34188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34189 (exit $ac_status); }; } &&
34190 { ac_try='test -s conftest.$ac_objext'
34191 { (case "(($ac_try" in
34192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34193 *) ac_try_echo=$ac_try;;
34195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34196 (eval "$ac_try") 2>&5
34198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34199 (exit $ac_status); }; }; then
34200 wx_cv_lib_motif2="yes"
34202 echo "$as_me: failed program was:" >&5
34203 sed 's/^/| /' conftest.$ac_ext >&5
34205 wx_cv_lib_motif2="no"
34208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34210 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34211 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34212 if test "$wx_cv_lib_motif2" = "yes"; then
34213 cat >>confdefs.h <<\_ACEOF
34214 #define __WXMOTIF20__ 1
34218 cat >>confdefs.h <<\_ACEOF
34219 #define __WXMOTIF20__ 0
34224 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34225 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34226 if test "${wx_cv_lib_lesstif+set}" = set; then
34227 echo $ECHO_N "(cached) $ECHO_C" >&6
34229 cat >conftest.$ac_ext <<_ACEOF
34232 cat confdefs.h >>conftest.$ac_ext
34233 cat >>conftest.$ac_ext <<_ACEOF
34234 /* end confdefs.h. */
34242 #if !defined(LesstifVersion) || LesstifVersion <= 0
34250 rm -f conftest.$ac_objext
34251 if { (ac_try="$ac_compile"
34252 case "(($ac_try" in
34253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34254 *) ac_try_echo=$ac_try;;
34256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34257 (eval "$ac_compile") 2>conftest.er1
34259 grep -v '^ *+' conftest.er1 >conftest.err
34261 cat conftest.err >&5
34262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 (exit $ac_status); } &&
34264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34265 { (case "(($ac_try" in
34266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34267 *) ac_try_echo=$ac_try;;
34269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34270 (eval "$ac_try") 2>&5
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); }; } &&
34274 { ac_try='test -s conftest.$ac_objext'
34275 { (case "(($ac_try" in
34276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34277 *) ac_try_echo=$ac_try;;
34279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34280 (eval "$ac_try") 2>&5
34282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34283 (exit $ac_status); }; }; then
34284 wx_cv_lib_lesstif="yes"
34286 echo "$as_me: failed program was:" >&5
34287 sed 's/^/| /' conftest.$ac_ext >&5
34289 wx_cv_lib_lesstif="no"
34292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34295 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34296 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34297 if test "$wx_cv_lib_lesstif" = "yes"; then
34298 cat >>confdefs.h <<\_ACEOF
34299 #define __WXLESSTIF__ 1
34303 cat >>confdefs.h <<\_ACEOF
34304 #define __WXLESSTIF__ 0
34309 CFLAGS=$save_CFLAGS
34311 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34316 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34317 if test "$wxUSE_LIBXPM" = "sys"; then
34318 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34319 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34322 for ac_dir in $SEARCH_LIB;
34324 for ac_extension in a so sl dylib dll.a; do
34325 if test -f "$ac_dir/libXpm.$ac_extension"; then
34326 ac_find_libraries=$ac_dir
34332 if test "$ac_find_libraries" != "" ; then
34334 if test "$ac_find_libraries" = "default location"; then
34337 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34339 if test $result = 0; then
34342 ac_path_to_link=" -L$ac_find_libraries"
34346 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34347 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34348 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34350 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34351 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34352 if test "${wx_cv_x11_xpm_h+set}" = set; then
34353 echo $ECHO_N "(cached) $ECHO_C" >&6
34356 save_CFLAGS=$CFLAGS
34357 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34359 cat >conftest.$ac_ext <<_ACEOF
34362 cat confdefs.h >>conftest.$ac_ext
34363 cat >>conftest.$ac_ext <<_ACEOF
34364 /* end confdefs.h. */
34366 #include <X11/xpm.h>
34373 version = XpmLibraryVersion();
34379 rm -f conftest.$ac_objext
34380 if { (ac_try="$ac_compile"
34381 case "(($ac_try" in
34382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34383 *) ac_try_echo=$ac_try;;
34385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34386 (eval "$ac_compile") 2>conftest.er1
34388 grep -v '^ *+' conftest.er1 >conftest.err
34390 cat conftest.err >&5
34391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34392 (exit $ac_status); } &&
34393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34394 { (case "(($ac_try" in
34395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34396 *) ac_try_echo=$ac_try;;
34398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34399 (eval "$ac_try") 2>&5
34401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34402 (exit $ac_status); }; } &&
34403 { ac_try='test -s conftest.$ac_objext'
34404 { (case "(($ac_try" in
34405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34406 *) ac_try_echo=$ac_try;;
34408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34409 (eval "$ac_try") 2>&5
34411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34412 (exit $ac_status); }; }; then
34413 wx_cv_x11_xpm_h=yes
34415 echo "$as_me: failed program was:" >&5
34416 sed 's/^/| /' conftest.$ac_ext >&5
34422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34424 CFLAGS=$save_CFLAGS
34428 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34429 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34431 if test $wx_cv_x11_xpm_h = "yes"; then
34432 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34433 cat >>confdefs.h <<\_ACEOF
34434 #define wxHAVE_LIB_XPM 1
34438 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34439 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34445 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34446 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34447 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34448 echo $ECHO_N "(cached) $ECHO_C" >&6
34450 ac_check_lib_save_LIBS=$LIBS
34451 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34452 cat >conftest.$ac_ext <<_ACEOF
34455 cat confdefs.h >>conftest.$ac_ext
34456 cat >>conftest.$ac_ext <<_ACEOF
34457 /* end confdefs.h. */
34459 /* Override any GCC internal prototype to avoid an error.
34460 Use char because int might match the return type of a GCC
34461 builtin and then its argument prototype would still apply. */
34465 char XShapeQueryExtension ();
34469 return XShapeQueryExtension ();
34474 rm -f conftest.$ac_objext conftest$ac_exeext
34475 if { (ac_try="$ac_link"
34476 case "(($ac_try" in
34477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34478 *) ac_try_echo=$ac_try;;
34480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34481 (eval "$ac_link") 2>conftest.er1
34483 grep -v '^ *+' conftest.er1 >conftest.err
34485 cat conftest.err >&5
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); } &&
34488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34489 { (case "(($ac_try" in
34490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34491 *) ac_try_echo=$ac_try;;
34493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34494 (eval "$ac_try") 2>&5
34496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34497 (exit $ac_status); }; } &&
34498 { ac_try='test -s conftest$ac_exeext'
34499 { (case "(($ac_try" in
34500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34501 *) ac_try_echo=$ac_try;;
34503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34504 (eval "$ac_try") 2>&5
34506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34507 (exit $ac_status); }; }; then
34508 ac_cv_lib_Xext_XShapeQueryExtension=yes
34510 echo "$as_me: failed program was:" >&5
34511 sed 's/^/| /' conftest.$ac_ext >&5
34513 ac_cv_lib_Xext_XShapeQueryExtension=no
34516 rm -f core conftest.err conftest.$ac_objext \
34517 conftest$ac_exeext conftest.$ac_ext
34518 LIBS=$ac_check_lib_save_LIBS
34520 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34521 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34522 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34524 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34530 if test "$wxHAVE_XEXT_LIB" = 1; then
34531 save_CFLAGS="$CFLAGS"
34532 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34534 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34535 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34536 cat >conftest.$ac_ext <<_ACEOF
34539 cat confdefs.h >>conftest.$ac_ext
34540 cat >>conftest.$ac_ext <<_ACEOF
34541 /* end confdefs.h. */
34543 #include <X11/Xlib.h>
34544 #include <X11/extensions/shape.h>
34550 int dummy1, dummy2;
34551 XShapeQueryExtension((Display*)NULL,
34552 (int*)NULL, (int*)NULL);
34558 rm -f conftest.$ac_objext
34559 if { (ac_try="$ac_compile"
34560 case "(($ac_try" in
34561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34562 *) ac_try_echo=$ac_try;;
34564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34565 (eval "$ac_compile") 2>conftest.er1
34567 grep -v '^ *+' conftest.er1 >conftest.err
34569 cat conftest.err >&5
34570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34571 (exit $ac_status); } &&
34572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34573 { (case "(($ac_try" in
34574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34575 *) ac_try_echo=$ac_try;;
34577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34578 (eval "$ac_try") 2>&5
34580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34581 (exit $ac_status); }; } &&
34582 { ac_try='test -s conftest.$ac_objext'
34583 { (case "(($ac_try" in
34584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34585 *) ac_try_echo=$ac_try;;
34587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34588 (eval "$ac_try") 2>&5
34590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591 (exit $ac_status); }; }; then
34593 cat >>confdefs.h <<\_ACEOF
34594 #define HAVE_XSHAPE 1
34597 { echo "$as_me:$LINENO: result: found" >&5
34598 echo "${ECHO_T}found" >&6; }
34601 echo "$as_me: failed program was:" >&5
34602 sed 's/^/| /' conftest.$ac_ext >&5
34605 { echo "$as_me:$LINENO: result: not found" >&5
34606 echo "${ECHO_T}not found" >&6; }
34610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34611 CFLAGS="$save_CFLAGS"
34616 if test "$wxUSE_MAC" = 1; then
34617 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34618 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34619 if test "$GCC" = yes; then
34620 { echo "$as_me:$LINENO: result: gcc" >&5
34621 echo "${ECHO_T}gcc" >&6; }
34622 CPPFLAGS_PASCAL="-fpascal-strings"
34623 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34624 { echo "$as_me:$LINENO: result: xlc" >&5
34625 echo "${ECHO_T}xlc" >&6; }
34626 CPPFLAGS_PASCAL="-qmacpstr"
34628 { echo "$as_me:$LINENO: result: none" >&5
34629 echo "${ECHO_T}none" >&6; }
34632 if test "x$wxUSE_UNIX" = "xyes"; then
34633 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34635 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34640 WXBASEPORT="_carbon"
34643 if test "$wxUSE_COCOA" = 1; then
34648 if test "$wxUSE_PM" = 1; then
34651 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34652 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34653 if test "${wx_cv_spbcdata+set}" = set; then
34654 echo $ECHO_N "(cached) $ECHO_C" >&6
34657 cat >conftest.$ac_ext <<_ACEOF
34660 cat confdefs.h >>conftest.$ac_ext
34661 cat >>conftest.$ac_ext <<_ACEOF
34662 /* end confdefs.h. */
34677 rm -f conftest.$ac_objext
34678 if { (ac_try="$ac_compile"
34679 case "(($ac_try" in
34680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34681 *) ac_try_echo=$ac_try;;
34683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34684 (eval "$ac_compile") 2>conftest.er1
34686 grep -v '^ *+' conftest.er1 >conftest.err
34688 cat conftest.err >&5
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); } &&
34691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34692 { (case "(($ac_try" in
34693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34694 *) ac_try_echo=$ac_try;;
34696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34697 (eval "$ac_try") 2>&5
34699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34700 (exit $ac_status); }; } &&
34701 { ac_try='test -s conftest.$ac_objext'
34702 { (case "(($ac_try" in
34703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34704 *) ac_try_echo=$ac_try;;
34706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34707 (eval "$ac_try") 2>&5
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); }; }; then
34713 echo "$as_me: failed program was:" >&5
34714 sed 's/^/| /' conftest.$ac_ext >&5
34720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34724 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34725 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34727 if test $wx_cv_spbcdata = "yes"; then
34728 cat >>confdefs.h <<\_ACEOF
34729 #define HAVE_SPBCDATA 1
34735 if test "$TOOLKIT" = "PM" ; then
34738 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34741 if test "$wxUSE_UNIVERSAL" = "yes"; then
34742 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34746 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34747 DISTDIR="wx\$(TOOLKIT)"
34753 if test "$USE_WIN32" = 1 ; then
34757 GUIDIST="BASE_DIST"
34762 if test "$wxUSE_GUI" = "yes"; then
34763 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34764 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
34765 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
34766 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
34767 echo $ECHO_N "(cached) $ECHO_C" >&6
34769 cat >conftest.$ac_ext <<_ACEOF
34772 cat confdefs.h >>conftest.$ac_ext
34773 cat >>conftest.$ac_ext <<_ACEOF
34774 /* end confdefs.h. */
34777 #include <X11/Xlib.h>
34779 rm -f conftest.$ac_objext
34780 if { (ac_try="$ac_compile"
34781 case "(($ac_try" in
34782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34783 *) ac_try_echo=$ac_try;;
34785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34786 (eval "$ac_compile") 2>conftest.er1
34788 grep -v '^ *+' conftest.er1 >conftest.err
34790 cat conftest.err >&5
34791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34792 (exit $ac_status); } &&
34793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34794 { (case "(($ac_try" in
34795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34796 *) ac_try_echo=$ac_try;;
34798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34799 (eval "$ac_try") 2>&5
34801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34802 (exit $ac_status); }; } &&
34803 { ac_try='test -s conftest.$ac_objext'
34804 { (case "(($ac_try" in
34805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34806 *) ac_try_echo=$ac_try;;
34808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34809 (eval "$ac_try") 2>&5
34811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34812 (exit $ac_status); }; }; then
34813 ac_cv_header_X11_Xlib_h=yes
34815 echo "$as_me: failed program was:" >&5
34816 sed 's/^/| /' conftest.$ac_ext >&5
34818 ac_cv_header_X11_Xlib_h=no
34821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34823 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
34824 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
34827 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
34828 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
34829 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
34830 echo $ECHO_N "(cached) $ECHO_C" >&6
34832 cat >conftest.$ac_ext <<_ACEOF
34835 cat confdefs.h >>conftest.$ac_ext
34836 cat >>conftest.$ac_ext <<_ACEOF
34837 /* end confdefs.h. */
34839 #if HAVE_X11_XLIB_H
34840 #include <X11/Xlib.h>
34844 #include <X11/XKBlib.h>
34846 rm -f conftest.$ac_objext
34847 if { (ac_try="$ac_compile"
34848 case "(($ac_try" in
34849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34850 *) ac_try_echo=$ac_try;;
34852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34853 (eval "$ac_compile") 2>conftest.er1
34855 grep -v '^ *+' conftest.er1 >conftest.err
34857 cat conftest.err >&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); } &&
34860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34861 { (case "(($ac_try" in
34862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34863 *) ac_try_echo=$ac_try;;
34865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34866 (eval "$ac_try") 2>&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); }; } &&
34870 { ac_try='test -s conftest.$ac_objext'
34871 { (case "(($ac_try" in
34872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34873 *) ac_try_echo=$ac_try;;
34875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34876 (eval "$ac_try") 2>&5
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); }; }; then
34880 ac_cv_header_X11_XKBlib_h=yes
34882 echo "$as_me: failed program was:" >&5
34883 sed 's/^/| /' conftest.$ac_ext >&5
34885 ac_cv_header_X11_XKBlib_h=no
34888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34890 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
34891 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
34902 if test "$TOOLKIT" != "MSW" ; then
34904 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34906 { echo "$as_me:$LINENO: checking for sql.h" >&5
34907 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34908 if test "${ac_cv_header_sql_h+set}" = set; then
34909 echo $ECHO_N "(cached) $ECHO_C" >&6
34911 cat >conftest.$ac_ext <<_ACEOF
34914 cat confdefs.h >>conftest.$ac_ext
34915 cat >>conftest.$ac_ext <<_ACEOF
34916 /* end confdefs.h. */
34921 rm -f conftest.$ac_objext
34922 if { (ac_try="$ac_compile"
34923 case "(($ac_try" in
34924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34925 *) ac_try_echo=$ac_try;;
34927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34928 (eval "$ac_compile") 2>conftest.er1
34930 grep -v '^ *+' conftest.er1 >conftest.err
34932 cat conftest.err >&5
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); } &&
34935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34936 { (case "(($ac_try" in
34937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34938 *) ac_try_echo=$ac_try;;
34940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34941 (eval "$ac_try") 2>&5
34943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34944 (exit $ac_status); }; } &&
34945 { ac_try='test -s conftest.$ac_objext'
34946 { (case "(($ac_try" in
34947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34948 *) ac_try_echo=$ac_try;;
34950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34951 (eval "$ac_try") 2>&5
34953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34954 (exit $ac_status); }; }; then
34955 ac_cv_header_sql_h=yes
34957 echo "$as_me: failed program was:" >&5
34958 sed 's/^/| /' conftest.$ac_ext >&5
34960 ac_cv_header_sql_h=no
34963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34965 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34966 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34967 if test $ac_cv_header_sql_h = yes; then
34972 if test "x$found_sql_h" = "x1" ; then
34973 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34974 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34975 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34976 echo $ECHO_N "(cached) $ECHO_C" >&6
34978 ac_check_lib_save_LIBS=$LIBS
34979 LIBS="-liodbc $LIBS"
34980 cat >conftest.$ac_ext <<_ACEOF
34983 cat confdefs.h >>conftest.$ac_ext
34984 cat >>conftest.$ac_ext <<_ACEOF
34985 /* end confdefs.h. */
34987 /* Override any GCC internal prototype to avoid an error.
34988 Use char because int might match the return type of a GCC
34989 builtin and then its argument prototype would still apply. */
34993 char SQLAllocEnv ();
34997 return SQLAllocEnv ();
35002 rm -f conftest.$ac_objext conftest$ac_exeext
35003 if { (ac_try="$ac_link"
35004 case "(($ac_try" in
35005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35006 *) ac_try_echo=$ac_try;;
35008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35009 (eval "$ac_link") 2>conftest.er1
35011 grep -v '^ *+' conftest.er1 >conftest.err
35013 cat conftest.err >&5
35014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35015 (exit $ac_status); } &&
35016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35017 { (case "(($ac_try" in
35018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35019 *) ac_try_echo=$ac_try;;
35021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35022 (eval "$ac_try") 2>&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); }; } &&
35026 { ac_try='test -s conftest$ac_exeext'
35027 { (case "(($ac_try" in
35028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35029 *) ac_try_echo=$ac_try;;
35031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35032 (eval "$ac_try") 2>&5
35034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35035 (exit $ac_status); }; }; then
35036 ac_cv_lib_iodbc_SQLAllocEnv=yes
35038 echo "$as_me: failed program was:" >&5
35039 sed 's/^/| /' conftest.$ac_ext >&5
35041 ac_cv_lib_iodbc_SQLAllocEnv=no
35044 rm -f core conftest.err conftest.$ac_objext \
35045 conftest$ac_exeext conftest.$ac_ext
35046 LIBS=$ac_check_lib_save_LIBS
35048 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35049 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35050 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35051 ODBC_LINK=" -liodbc"
35054 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35055 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35056 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35057 echo $ECHO_N "(cached) $ECHO_C" >&6
35059 ac_check_lib_save_LIBS=$LIBS
35060 LIBS="-lunixodbc $LIBS"
35061 cat >conftest.$ac_ext <<_ACEOF
35064 cat confdefs.h >>conftest.$ac_ext
35065 cat >>conftest.$ac_ext <<_ACEOF
35066 /* end confdefs.h. */
35068 /* Override any GCC internal prototype to avoid an error.
35069 Use char because int might match the return type of a GCC
35070 builtin and then its argument prototype would still apply. */
35074 char SQLAllocEnv ();
35078 return SQLAllocEnv ();
35083 rm -f conftest.$ac_objext conftest$ac_exeext
35084 if { (ac_try="$ac_link"
35085 case "(($ac_try" in
35086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35087 *) ac_try_echo=$ac_try;;
35089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35090 (eval "$ac_link") 2>conftest.er1
35092 grep -v '^ *+' conftest.er1 >conftest.err
35094 cat conftest.err >&5
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); } &&
35097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35098 { (case "(($ac_try" in
35099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35100 *) ac_try_echo=$ac_try;;
35102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35103 (eval "$ac_try") 2>&5
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); }; } &&
35107 { ac_try='test -s conftest$ac_exeext'
35108 { (case "(($ac_try" in
35109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35110 *) ac_try_echo=$ac_try;;
35112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35113 (eval "$ac_try") 2>&5
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); }; }; then
35117 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35119 echo "$as_me: failed program was:" >&5
35120 sed 's/^/| /' conftest.$ac_ext >&5
35122 ac_cv_lib_unixodbc_SQLAllocEnv=no
35125 rm -f core conftest.err conftest.$ac_objext \
35126 conftest$ac_exeext conftest.$ac_ext
35127 LIBS=$ac_check_lib_save_LIBS
35129 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35130 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35131 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35132 ODBC_LINK=" -lunixodbc"
35135 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35136 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35137 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35138 echo $ECHO_N "(cached) $ECHO_C" >&6
35140 ac_check_lib_save_LIBS=$LIBS
35141 LIBS="-lodbc $LIBS"
35142 cat >conftest.$ac_ext <<_ACEOF
35145 cat confdefs.h >>conftest.$ac_ext
35146 cat >>conftest.$ac_ext <<_ACEOF
35147 /* end confdefs.h. */
35149 /* Override any GCC internal prototype to avoid an error.
35150 Use char because int might match the return type of a GCC
35151 builtin and then its argument prototype would still apply. */
35155 char SQLAllocEnv ();
35159 return SQLAllocEnv ();
35164 rm -f conftest.$ac_objext conftest$ac_exeext
35165 if { (ac_try="$ac_link"
35166 case "(($ac_try" in
35167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35168 *) ac_try_echo=$ac_try;;
35170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35171 (eval "$ac_link") 2>conftest.er1
35173 grep -v '^ *+' conftest.er1 >conftest.err
35175 cat conftest.err >&5
35176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35177 (exit $ac_status); } &&
35178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35179 { (case "(($ac_try" in
35180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35181 *) ac_try_echo=$ac_try;;
35183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35184 (eval "$ac_try") 2>&5
35186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187 (exit $ac_status); }; } &&
35188 { ac_try='test -s conftest$ac_exeext'
35189 { (case "(($ac_try" in
35190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35191 *) ac_try_echo=$ac_try;;
35193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35194 (eval "$ac_try") 2>&5
35196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197 (exit $ac_status); }; }; then
35198 ac_cv_lib_odbc_SQLAllocEnv=yes
35200 echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.$ac_ext >&5
35203 ac_cv_lib_odbc_SQLAllocEnv=no
35206 rm -f core conftest.err conftest.$ac_objext \
35207 conftest$ac_exeext conftest.$ac_ext
35208 LIBS=$ac_check_lib_save_LIBS
35210 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35211 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35212 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35213 ODBC_LINK=" -lodbc"
35223 if test "x$ODBC_LINK" = "x" ; then
35224 if test "$wxUSE_ODBC" = "sys" ; then
35225 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35226 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35227 { (exit 1); exit 1; }; }
35229 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35230 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35238 if test "$wxUSE_ODBC" = "builtin" ; then
35239 cat >>confdefs.h <<\_ACEOF
35240 #define wxUSE_BUILTIN_IODBC 1
35246 if test "$wxUSE_ODBC" != "no" ; then
35247 cat >>confdefs.h <<\_ACEOF
35248 #define wxUSE_ODBC 1
35251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35253 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35257 if test "$wxUSE_DISPLAY" = "yes"; then
35258 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35259 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35260 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35263 for ac_dir in $SEARCH_LIB;
35265 for ac_extension in a so sl dylib dll.a; do
35266 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35267 ac_find_libraries=$ac_dir
35273 if test "$ac_find_libraries" != "" ; then
35275 if test "$ac_find_libraries" = "default location"; then
35278 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35280 if test $result = 0; then
35283 ac_path_to_link=" -L$ac_find_libraries"
35287 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35288 LDFLAGS="$LDFLAGS $ac_path_to_link"
35290 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35291 { echo "$as_me:$LINENO: result: yes" >&5
35292 echo "${ECHO_T}yes" >&6; }
35294 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35295 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35298 for ac_dir in $SEARCH_LIB;
35300 for ac_extension in a so sl dylib dll.a; do
35301 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35302 ac_find_libraries=$ac_dir
35308 if test "$ac_find_libraries" != "" ; then
35309 { echo "$as_me:$LINENO: result: yes" >&5
35310 echo "${ECHO_T}yes" >&6; }
35311 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
35312 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
35313 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
35314 echo $ECHO_N "(cached) $ECHO_C" >&6
35316 cat >conftest.$ac_ext <<_ACEOF
35319 cat confdefs.h >>conftest.$ac_ext
35320 cat >>conftest.$ac_ext <<_ACEOF
35321 /* end confdefs.h. */
35323 #if HAVE_X11_XLIB_H
35324 #include <X11/Xlib.h>
35328 #include <X11/extensions/xf86vmode.h>
35330 rm -f conftest.$ac_objext
35331 if { (ac_try="$ac_compile"
35332 case "(($ac_try" in
35333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35334 *) ac_try_echo=$ac_try;;
35336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35337 (eval "$ac_compile") 2>conftest.er1
35339 grep -v '^ *+' conftest.er1 >conftest.err
35341 cat conftest.err >&5
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); } &&
35344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35345 { (case "(($ac_try" in
35346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35347 *) ac_try_echo=$ac_try;;
35349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35350 (eval "$ac_try") 2>&5
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); }; } &&
35354 { ac_try='test -s conftest.$ac_objext'
35355 { (case "(($ac_try" in
35356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35357 *) ac_try_echo=$ac_try;;
35359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35360 (eval "$ac_try") 2>&5
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); }; }; then
35364 ac_cv_header_X11_extensions_xf86vmode_h=yes
35366 echo "$as_me: failed program was:" >&5
35367 sed 's/^/| /' conftest.$ac_ext >&5
35369 ac_cv_header_X11_extensions_xf86vmode_h=no
35372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35374 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
35375 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
35376 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
35378 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35384 { echo "$as_me:$LINENO: result: no" >&5
35385 echo "${ECHO_T}no" >&6; }
35389 { echo "$as_me:$LINENO: result: no" >&5
35390 echo "${ECHO_T}no" >&6; }
35391 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35392 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35395 elif test "$wxUSE_MSW" = 1; then
35396 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35397 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35398 if test "${ac_cv_header_ddraw_h+set}" = set; then
35399 echo $ECHO_N "(cached) $ECHO_C" >&6
35401 cat >conftest.$ac_ext <<_ACEOF
35404 cat confdefs.h >>conftest.$ac_ext
35405 cat >>conftest.$ac_ext <<_ACEOF
35406 /* end confdefs.h. */
35407 #include <windows.h>
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 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35426 { (case "(($ac_try" in
35427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35428 *) ac_try_echo=$ac_try;;
35430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35431 (eval "$ac_try") 2>&5
35433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35434 (exit $ac_status); }; } &&
35435 { ac_try='test -s conftest.$ac_objext'
35436 { (case "(($ac_try" in
35437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35438 *) ac_try_echo=$ac_try;;
35440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35441 (eval "$ac_try") 2>&5
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); }; }; then
35445 ac_cv_header_ddraw_h=yes
35447 echo "$as_me: failed program was:" >&5
35448 sed 's/^/| /' conftest.$ac_ext >&5
35450 ac_cv_header_ddraw_h=no
35453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35455 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35456 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35462 if test "$wxUSE_DETECT_SM" = "yes"; then
35463 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35464 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35465 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35468 for ac_dir in $SEARCH_LIB;
35470 for ac_extension in a so sl dylib dll.a; do
35471 if test -f "$ac_dir/libSM.$ac_extension"; then
35472 ac_find_libraries=$ac_dir
35478 if test "$ac_find_libraries" != "" ; then
35480 if test "$ac_find_libraries" = "default location"; then
35483 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35485 if test $result = 0; then
35488 ac_path_to_link=" -L$ac_find_libraries"
35492 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35493 LDFLAGS="$LDFLAGS $ac_path_to_link"
35495 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35496 { echo "$as_me:$LINENO: result: yes" >&5
35497 echo "${ECHO_T}yes" >&6; }
35499 { echo "$as_me:$LINENO: result: no" >&5
35500 echo "${ECHO_T}no" >&6; }
35501 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35502 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35503 wxUSE_DETECT_SM="no"
35506 wxUSE_DETECT_SM="no"
35513 if test "$wxUSE_OPENGL" = "yes"; then
35514 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35515 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35516 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35518 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35519 OPENGL_LIBS="-framework OpenGL -framework AGL"
35520 elif test "$wxUSE_MSW" = 1; then
35521 OPENGL_LIBS="-lopengl32 -lglu32"
35523 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35524 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35527 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35529 if test -f "$ac_dir/GL/gl.h"; then
35530 ac_find_includes=$ac_dir
35535 if test "$ac_find_includes" != "" ; then
35536 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35537 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35539 if test "x$ac_find_includes" = "x/usr/include"; then
35540 ac_path_to_include=""
35542 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35544 if test $result = 0; then
35545 ac_path_to_include=""
35547 ac_path_to_include=" -I$ac_find_includes"
35551 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35553 { echo "$as_me:$LINENO: result: not found" >&5
35554 echo "${ECHO_T}not found" >&6; }
35557 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35558 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35559 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35560 echo $ECHO_N "(cached) $ECHO_C" >&6
35562 cat >conftest.$ac_ext <<_ACEOF
35565 cat confdefs.h >>conftest.$ac_ext
35566 cat >>conftest.$ac_ext <<_ACEOF
35567 /* end confdefs.h. */
35572 rm -f conftest.$ac_objext
35573 if { (ac_try="$ac_compile"
35574 case "(($ac_try" in
35575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35576 *) ac_try_echo=$ac_try;;
35578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35579 (eval "$ac_compile") 2>conftest.er1
35581 grep -v '^ *+' conftest.er1 >conftest.err
35583 cat conftest.err >&5
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); } &&
35586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35587 { (case "(($ac_try" in
35588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35589 *) ac_try_echo=$ac_try;;
35591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35592 (eval "$ac_try") 2>&5
35594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35595 (exit $ac_status); }; } &&
35596 { ac_try='test -s conftest.$ac_objext'
35597 { (case "(($ac_try" in
35598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35599 *) ac_try_echo=$ac_try;;
35601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35602 (eval "$ac_try") 2>&5
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); }; }; then
35606 ac_cv_header_GL_gl_h=yes
35608 echo "$as_me: failed program was:" >&5
35609 sed 's/^/| /' conftest.$ac_ext >&5
35611 ac_cv_header_GL_gl_h=no
35614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35616 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35617 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35618 if test $ac_cv_header_GL_gl_h = yes; then
35620 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35621 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35622 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35623 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35624 echo $ECHO_N "(cached) $ECHO_C" >&6
35626 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35627 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35629 # Is the header compilable?
35630 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35631 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35632 cat >conftest.$ac_ext <<_ACEOF
35635 cat confdefs.h >>conftest.$ac_ext
35636 cat >>conftest.$ac_ext <<_ACEOF
35637 /* end confdefs.h. */
35638 $ac_includes_default
35639 #include <GL/glu.h>
35641 rm -f conftest.$ac_objext
35642 if { (ac_try="$ac_compile"
35643 case "(($ac_try" in
35644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35645 *) ac_try_echo=$ac_try;;
35647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35648 (eval "$ac_compile") 2>conftest.er1
35650 grep -v '^ *+' conftest.er1 >conftest.err
35652 cat conftest.err >&5
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); } &&
35655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35656 { (case "(($ac_try" in
35657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35658 *) ac_try_echo=$ac_try;;
35660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35661 (eval "$ac_try") 2>&5
35663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35664 (exit $ac_status); }; } &&
35665 { ac_try='test -s conftest.$ac_objext'
35666 { (case "(($ac_try" in
35667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35668 *) ac_try_echo=$ac_try;;
35670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35671 (eval "$ac_try") 2>&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); }; }; then
35675 ac_header_compiler=yes
35677 echo "$as_me: failed program was:" >&5
35678 sed 's/^/| /' conftest.$ac_ext >&5
35680 ac_header_compiler=no
35683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35684 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35685 echo "${ECHO_T}$ac_header_compiler" >&6; }
35687 # Is the header present?
35688 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35689 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35690 cat >conftest.$ac_ext <<_ACEOF
35693 cat confdefs.h >>conftest.$ac_ext
35694 cat >>conftest.$ac_ext <<_ACEOF
35695 /* end confdefs.h. */
35696 #include <GL/glu.h>
35698 if { (ac_try="$ac_cpp conftest.$ac_ext"
35699 case "(($ac_try" in
35700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35701 *) ac_try_echo=$ac_try;;
35703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35704 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35706 grep -v '^ *+' conftest.er1 >conftest.err
35708 cat conftest.err >&5
35709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35710 (exit $ac_status); } >/dev/null; then
35711 if test -s conftest.err; then
35712 ac_cpp_err=$ac_c_preproc_warn_flag
35713 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35720 if test -z "$ac_cpp_err"; then
35721 ac_header_preproc=yes
35723 echo "$as_me: failed program was:" >&5
35724 sed 's/^/| /' conftest.$ac_ext >&5
35726 ac_header_preproc=no
35729 rm -f conftest.err conftest.$ac_ext
35730 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35731 echo "${ECHO_T}$ac_header_preproc" >&6; }
35733 # So? What about this header?
35734 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35736 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35737 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35738 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35739 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35740 ac_header_preproc=yes
35743 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35744 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35745 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35746 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35747 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35748 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35749 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35750 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35751 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35752 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35753 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35754 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35756 ## ----------------------------------------- ##
35757 ## Report this to wx-dev@lists.wxwidgets.org ##
35758 ## ----------------------------------------- ##
35760 ) | sed "s/^/$as_me: WARNING: /" >&2
35763 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35764 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35765 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35766 echo $ECHO_N "(cached) $ECHO_C" >&6
35768 ac_cv_header_GL_glu_h=$ac_header_preproc
35770 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35771 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35774 if test $ac_cv_header_GL_glu_h = yes; then
35778 { echo "$as_me:$LINENO: checking for -lGL" >&5
35779 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35782 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35784 for ac_extension in a so sl dylib dll.a; do
35785 if test -f "$ac_dir/libGL.$ac_extension"; then
35786 ac_find_libraries=$ac_dir
35792 if test "$ac_find_libraries" != "" ; then
35793 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35794 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35797 if test "$ac_find_libraries" = "default location"; then
35800 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35802 if test $result = 0; then
35805 ac_path_to_link=" -L$ac_find_libraries"
35809 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35810 LDFLAGS_GL="$ac_path_to_link"
35813 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35814 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35817 for ac_dir in $SEARCH_LIB;
35819 for ac_extension in a so sl dylib dll.a; do
35820 if test -f "$ac_dir/libGLU.$ac_extension"; then
35821 ac_find_libraries=$ac_dir
35827 if test "$ac_find_libraries" != "" ; then
35829 if test "$ac_find_libraries" = "default location"; then
35832 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35834 if test $result = 0; then
35837 ac_path_to_link=" -L$ac_find_libraries"
35841 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35842 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35843 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35847 OPENGL_LIBS="-lGL -lGLU"
35848 { echo "$as_me:$LINENO: result: yes" >&5
35849 echo "${ECHO_T}yes" >&6; }
35851 { echo "$as_me:$LINENO: result: no" >&5
35852 echo "${ECHO_T}no" >&6; }
35855 { echo "$as_me:$LINENO: result: no" >&5
35856 echo "${ECHO_T}no" >&6; }
35859 if test "$found_gl" != 1; then
35860 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35861 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35864 for ac_dir in $SEARCH_LIB;
35866 for ac_extension in a so sl dylib dll.a; do
35867 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35868 ac_find_libraries=$ac_dir
35874 if test "$ac_find_libraries" != "" ; then
35876 if test "$ac_find_libraries" = "default location"; then
35879 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35881 if test $result = 0; then
35884 ac_path_to_link=" -L$ac_find_libraries"
35888 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35889 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35890 { echo "$as_me:$LINENO: result: yes" >&5
35891 echo "${ECHO_T}yes" >&6; }
35893 { echo "$as_me:$LINENO: result: no" >&5
35894 echo "${ECHO_T}no" >&6; }
35906 if test "x$OPENGL_LIBS" = "x"; then
35907 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35908 echo "$as_me: error: OpenGL libraries not available" >&2;}
35909 { (exit 1); exit 1; }; }
35913 if test "$wxUSE_OPENGL" = "yes"; then
35915 cat >>confdefs.h <<\_ACEOF
35916 #define wxUSE_OPENGL 1
35919 cat >>confdefs.h <<\_ACEOF
35920 #define wxUSE_GLCANVAS 1
35923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35928 if test -n "$TOOLKIT" ; then
35929 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35934 if test "$wxUSE_SHARED" = "yes"; then
35938 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35939 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35944 if test "$wxUSE_SHARED" = "yes"; then
35948 *-*-cygwin* | *-*-mingw* )
35949 wx_cv_version_script=no
35953 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35954 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35955 if test "${wx_cv_version_script+set}" = set; then
35956 echo $ECHO_N "(cached) $ECHO_C" >&6
35959 echo "VER_1 { *; };" >conftest.sym
35960 echo "int main() { return 0; }" >conftest.cpp
35963 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35964 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35966 (eval $ac_try) 2>&5
35968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35969 (exit $ac_status); }; } ; then
35970 if test -s conftest.stderr ; then
35971 wx_cv_version_script=no
35973 wx_cv_version_script=yes
35976 wx_cv_version_script=no
35979 if test $wx_cv_version_script = yes
35981 echo "struct B { virtual ~B() { } }; \
35982 struct D : public B { }; \
35983 void F() { D d; }" > conftest.cpp
35986 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35987 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35989 (eval $ac_try) 2>&5
35991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35992 (exit $ac_status); }; } &&
35994 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35995 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35997 (eval $ac_try) 2>&5
35999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36000 (exit $ac_status); }; }
36003 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36004 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36006 (eval $ac_try) 2>&5
36008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36009 (exit $ac_status); }; }
36011 wx_cv_version_script=yes
36013 wx_cv_version_script=no
36018 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36019 rm -f conftest1.output conftest2.output conftest3.output
36022 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36023 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36025 if test $wx_cv_version_script = yes ; then
36026 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36033 *-*-linux* | *-*-gnu* )
36034 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36035 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36039 if test "$GCC" = yes ; then
36040 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36042 saveLdflags="$LDFLAGS"
36043 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36044 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36045 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36046 cat >conftest.$ac_ext <<_ACEOF
36049 cat confdefs.h >>conftest.$ac_ext
36050 cat >>conftest.$ac_ext <<_ACEOF
36051 /* end confdefs.h. */
36061 rm -f conftest.$ac_objext conftest$ac_exeext
36062 if { (ac_try="$ac_link"
36063 case "(($ac_try" in
36064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36065 *) ac_try_echo=$ac_try;;
36067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36068 (eval "$ac_link") 2>conftest.er1
36070 grep -v '^ *+' conftest.er1 >conftest.err
36072 cat conftest.err >&5
36073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36074 (exit $ac_status); } &&
36075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36076 { (case "(($ac_try" in
36077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36078 *) ac_try_echo=$ac_try;;
36080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36081 (eval "$ac_try") 2>&5
36083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084 (exit $ac_status); }; } &&
36085 { ac_try='test -s conftest$ac_exeext'
36086 { (case "(($ac_try" in
36087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36088 *) ac_try_echo=$ac_try;;
36090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36091 (eval "$ac_try") 2>&5
36093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36094 (exit $ac_status); }; }; then
36096 { echo "$as_me:$LINENO: result: yes" >&5
36097 echo "${ECHO_T}yes" >&6; }
36098 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36099 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36102 echo "$as_me: failed program was:" >&5
36103 sed 's/^/| /' conftest.$ac_ext >&5
36106 { echo "$as_me:$LINENO: result: no" >&5
36107 echo "${ECHO_T}no" >&6; }
36108 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36109 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36110 LDFLAGS="$saveLdflags -Wl,-R,/"
36111 cat >conftest.$ac_ext <<_ACEOF
36114 cat confdefs.h >>conftest.$ac_ext
36115 cat >>conftest.$ac_ext <<_ACEOF
36116 /* end confdefs.h. */
36126 rm -f conftest.$ac_objext conftest$ac_exeext
36127 if { (ac_try="$ac_link"
36128 case "(($ac_try" in
36129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36130 *) ac_try_echo=$ac_try;;
36132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36133 (eval "$ac_link") 2>conftest.er1
36135 grep -v '^ *+' conftest.er1 >conftest.err
36137 cat conftest.err >&5
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); } &&
36140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36141 { (case "(($ac_try" in
36142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36143 *) ac_try_echo=$ac_try;;
36145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36146 (eval "$ac_try") 2>&5
36148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36149 (exit $ac_status); }; } &&
36150 { ac_try='test -s conftest$ac_exeext'
36151 { (case "(($ac_try" in
36152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36153 *) ac_try_echo=$ac_try;;
36155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36156 (eval "$ac_try") 2>&5
36158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159 (exit $ac_status); }; }; then
36161 { echo "$as_me:$LINENO: result: yes" >&5
36162 echo "${ECHO_T}yes" >&6; }
36163 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36164 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36167 echo "$as_me: failed program was:" >&5
36168 sed 's/^/| /' conftest.$ac_ext >&5
36171 { echo "$as_me:$LINENO: result: no" >&5
36172 echo "${ECHO_T}no" >&6; }
36176 rm -f core conftest.err conftest.$ac_objext \
36177 conftest$ac_exeext conftest.$ac_ext
36181 rm -f core conftest.err conftest.$ac_objext \
36182 conftest$ac_exeext conftest.$ac_ext
36183 LDFLAGS="$saveLdflags"
36185 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36186 WXCONFIG_RPATH="-R\$libdir"
36191 install_name_tool=`which install_name_tool`
36192 if test "$install_name_tool" -a -x "$install_name_tool"; then
36193 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36194 cat <<EOF >change-install-names
36196 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36197 inst_cmd="install_name_tool "
36198 for i in \${libnames} ; do
36199 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36203 chmod +x change-install-names
36207 *-*-cygwin* | *-*-mingw32* )
36208 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36212 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36213 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36218 if test $wxUSE_RPATH = "no"; then
36219 SAMPLES_RPATH_FLAG=''
36220 SAMPLES_RPATH_POSTLINK=''
36228 config_linkage_component="-static"
36235 lib_unicode_suffix=
36237 if test "$wxUSE_UNICODE" = "yes"; then
36238 lib_unicode_suffix=u
36239 WX_CHARTYPE="unicode"
36244 WX_DEBUGTYPE="release"
36246 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36248 WX_DEBUGTYPE="debug"
36252 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36253 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36256 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36260 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36262 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36264 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36266 if test "$cross_compiling" = "yes"; then
36267 HOST_SUFFIX="-$host_alias"
36268 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36269 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36272 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36273 if test "${TOOLKIT_DIR}" = "os2"; then
36274 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36276 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36281 if test "$wxUSE_COCOA" = 1; then
36284 ac_cpp='$CPP $CPPFLAGS'
36285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36291 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36292 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36293 cat >conftest.$ac_ext <<_ACEOF
36296 cat confdefs.h >>conftest.$ac_ext
36297 cat >>conftest.$ac_ext <<_ACEOF
36298 /* end confdefs.h. */
36299 #include <AppKit/NSEvent.h>
36300 #include <CoreFoundation/CoreFoundation.h>
36310 rm -f conftest.$ac_objext
36311 if { (ac_try="$ac_compile"
36312 case "(($ac_try" in
36313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36314 *) ac_try_echo=$ac_try;;
36316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36317 (eval "$ac_compile") 2>conftest.er1
36319 grep -v '^ *+' conftest.er1 >conftest.err
36321 cat conftest.err >&5
36322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36323 (exit $ac_status); } &&
36324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36325 { (case "(($ac_try" in
36326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36327 *) ac_try_echo=$ac_try;;
36329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36330 (eval "$ac_try") 2>&5
36332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36333 (exit $ac_status); }; } &&
36334 { ac_try='test -s conftest.$ac_objext'
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_try") 2>&5
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); }; }; then
36344 { echo "$as_me:$LINENO: result: no" >&5
36345 echo "${ECHO_T}no" >&6; }
36347 echo "$as_me: failed program was:" >&5
36348 sed 's/^/| /' conftest.$ac_ext >&5
36350 { echo "$as_me:$LINENO: result: yes" >&5
36351 echo "${ECHO_T}yes" >&6; }
36352 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36353 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36354 cat >conftest.$ac_ext <<_ACEOF
36357 cat confdefs.h >>conftest.$ac_ext
36358 cat >>conftest.$ac_ext <<_ACEOF
36359 /* end confdefs.h. */
36360 #define __Point__ 1
36361 #include <AppKit/NSEvent.h>
36362 #include <CoreFoundation/CoreFoundation.h>
36372 rm -f conftest.$ac_objext
36373 if { (ac_try="$ac_compile"
36374 case "(($ac_try" in
36375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36376 *) ac_try_echo=$ac_try;;
36378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36379 (eval "$ac_compile") 2>conftest.er1
36381 grep -v '^ *+' conftest.er1 >conftest.err
36383 cat conftest.err >&5
36384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36385 (exit $ac_status); } &&
36386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36387 { (case "(($ac_try" in
36388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36389 *) ac_try_echo=$ac_try;;
36391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36392 (eval "$ac_try") 2>&5
36394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36395 (exit $ac_status); }; } &&
36396 { ac_try='test -s conftest.$ac_objext'
36397 { (case "(($ac_try" in
36398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36399 *) ac_try_echo=$ac_try;;
36401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36402 (eval "$ac_try") 2>&5
36404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36405 (exit $ac_status); }; }; then
36406 { echo "$as_me:$LINENO: result: yes" >&5
36407 echo "${ECHO_T}yes" >&6; }
36408 cat >>confdefs.h <<\_ACEOF
36409 #define __Point__ 1
36414 echo "$as_me: failed program was:" >&5
36415 sed 's/^/| /' conftest.$ac_ext >&5
36417 { { echo "$as_me:$LINENO: error: no
36418 See \`config.log' for more details." >&5
36419 echo "$as_me: error: no
36420 See \`config.log' for more details." >&2;}
36421 { (exit 1); exit 1; }; }
36425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36431 ac_cpp='$CPP $CPPFLAGS'
36432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36438 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36439 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36440 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36442 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36444 # Extract the first word of "Rez", so it can be a program name with args.
36445 set dummy Rez; ac_word=$2
36446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36448 if test "${ac_cv_prog_REZ+set}" = set; then
36449 echo $ECHO_N "(cached) $ECHO_C" >&6
36451 if test -n "$REZ"; then
36452 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36455 for as_dir in $PATH
36458 test -z "$as_dir" && as_dir=.
36459 for ac_exec_ext in '' $ac_executable_extensions; do
36460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
36461 ac_cv_prog_REZ="Rez"
36462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36469 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36472 REZ=$ac_cv_prog_REZ
36473 if test -n "$REZ"; then
36474 { echo "$as_me:$LINENO: result: $REZ" >&5
36475 echo "${ECHO_T}$REZ" >&6; }
36477 { echo "$as_me:$LINENO: result: no" >&5
36478 echo "${ECHO_T}no" >&6; }
36482 # Extract the first word of "DeRez", so it can be a program name with args.
36483 set dummy DeRez; ac_word=$2
36484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36486 if test "${ac_cv_prog_DEREZ+set}" = set; then
36487 echo $ECHO_N "(cached) $ECHO_C" >&6
36489 if test -n "$DEREZ"; then
36490 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36493 for as_dir in $PATH
36496 test -z "$as_dir" && as_dir=.
36497 for ac_exec_ext in '' $ac_executable_extensions; do
36498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
36499 ac_cv_prog_DEREZ="DeRez"
36500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36507 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36510 DEREZ=$ac_cv_prog_DEREZ
36511 if test -n "$DEREZ"; then
36512 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36513 echo "${ECHO_T}$DEREZ" >&6; }
36515 { echo "$as_me:$LINENO: result: no" >&5
36516 echo "${ECHO_T}no" >&6; }
36520 # Extract the first word of "SetFile", so it can be a program name with args.
36521 set dummy SetFile; ac_word=$2
36522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36524 if test "${ac_cv_prog_SETFILE+set}" = set; then
36525 echo $ECHO_N "(cached) $ECHO_C" >&6
36527 if test -n "$SETFILE"; then
36528 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36531 for as_dir in $PATH
36534 test -z "$as_dir" && as_dir=.
36535 for ac_exec_ext in '' $ac_executable_extensions; do
36536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
36537 ac_cv_prog_SETFILE="SetFile"
36538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36545 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36548 SETFILE=$ac_cv_prog_SETFILE
36549 if test -n "$SETFILE"; then
36550 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36551 echo "${ECHO_T}$SETFILE" >&6; }
36553 { echo "$as_me:$LINENO: result: no" >&5
36554 echo "${ECHO_T}no" >&6; }
36559 MACSETFILE="\$(SETFILE)"
36561 if test "$wxUSE_MAC" = 1; then
36562 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36564 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36566 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36567 RESCOMP="echo -n \| $REZ"
36568 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36574 if test "$wxUSE_PM" = 1; then
36576 WXCONFIG_RESFLAGS="-ep"
36578 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36580 POSTLINK_COMMAND="@true"
36587 { echo "$as_me:$LINENO: checking for mode_t" >&5
36588 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36589 if test "${ac_cv_type_mode_t+set}" = set; then
36590 echo $ECHO_N "(cached) $ECHO_C" >&6
36592 cat >conftest.$ac_ext <<_ACEOF
36595 cat confdefs.h >>conftest.$ac_ext
36596 cat >>conftest.$ac_ext <<_ACEOF
36597 /* end confdefs.h. */
36598 $ac_includes_default
36599 typedef mode_t ac__type_new_;
36603 if ((ac__type_new_ *) 0)
36605 if (sizeof (ac__type_new_))
36611 rm -f conftest.$ac_objext
36612 if { (ac_try="$ac_compile"
36613 case "(($ac_try" in
36614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36615 *) ac_try_echo=$ac_try;;
36617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36618 (eval "$ac_compile") 2>conftest.er1
36620 grep -v '^ *+' conftest.er1 >conftest.err
36622 cat conftest.err >&5
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); } &&
36625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36626 { (case "(($ac_try" in
36627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36628 *) ac_try_echo=$ac_try;;
36630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36631 (eval "$ac_try") 2>&5
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); }; } &&
36635 { ac_try='test -s conftest.$ac_objext'
36636 { (case "(($ac_try" in
36637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36638 *) ac_try_echo=$ac_try;;
36640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36641 (eval "$ac_try") 2>&5
36643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36644 (exit $ac_status); }; }; then
36645 ac_cv_type_mode_t=yes
36647 echo "$as_me: failed program was:" >&5
36648 sed 's/^/| /' conftest.$ac_ext >&5
36650 ac_cv_type_mode_t=no
36653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36655 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36656 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36657 if test $ac_cv_type_mode_t = yes; then
36661 cat >>confdefs.h <<_ACEOF
36667 { echo "$as_me:$LINENO: checking for off_t" >&5
36668 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36669 if test "${ac_cv_type_off_t+set}" = set; then
36670 echo $ECHO_N "(cached) $ECHO_C" >&6
36672 cat >conftest.$ac_ext <<_ACEOF
36675 cat confdefs.h >>conftest.$ac_ext
36676 cat >>conftest.$ac_ext <<_ACEOF
36677 /* end confdefs.h. */
36678 $ac_includes_default
36679 typedef off_t ac__type_new_;
36683 if ((ac__type_new_ *) 0)
36685 if (sizeof (ac__type_new_))
36691 rm -f conftest.$ac_objext
36692 if { (ac_try="$ac_compile"
36693 case "(($ac_try" in
36694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36695 *) ac_try_echo=$ac_try;;
36697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36698 (eval "$ac_compile") 2>conftest.er1
36700 grep -v '^ *+' conftest.er1 >conftest.err
36702 cat conftest.err >&5
36703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36704 (exit $ac_status); } &&
36705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36706 { (case "(($ac_try" in
36707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36708 *) ac_try_echo=$ac_try;;
36710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36711 (eval "$ac_try") 2>&5
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); }; } &&
36715 { ac_try='test -s conftest.$ac_objext'
36716 { (case "(($ac_try" in
36717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36718 *) ac_try_echo=$ac_try;;
36720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36721 (eval "$ac_try") 2>&5
36723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36724 (exit $ac_status); }; }; then
36725 ac_cv_type_off_t=yes
36727 echo "$as_me: failed program was:" >&5
36728 sed 's/^/| /' conftest.$ac_ext >&5
36730 ac_cv_type_off_t=no
36733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36735 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36736 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36737 if test $ac_cv_type_off_t = yes; then
36741 cat >>confdefs.h <<_ACEOF
36742 #define off_t long int
36747 { echo "$as_me:$LINENO: checking for pid_t" >&5
36748 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36749 if test "${ac_cv_type_pid_t+set}" = set; then
36750 echo $ECHO_N "(cached) $ECHO_C" >&6
36752 cat >conftest.$ac_ext <<_ACEOF
36755 cat confdefs.h >>conftest.$ac_ext
36756 cat >>conftest.$ac_ext <<_ACEOF
36757 /* end confdefs.h. */
36758 $ac_includes_default
36759 typedef pid_t ac__type_new_;
36763 if ((ac__type_new_ *) 0)
36765 if (sizeof (ac__type_new_))
36771 rm -f conftest.$ac_objext
36772 if { (ac_try="$ac_compile"
36773 case "(($ac_try" in
36774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36775 *) ac_try_echo=$ac_try;;
36777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36778 (eval "$ac_compile") 2>conftest.er1
36780 grep -v '^ *+' conftest.er1 >conftest.err
36782 cat conftest.err >&5
36783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36784 (exit $ac_status); } &&
36785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36786 { (case "(($ac_try" in
36787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36788 *) ac_try_echo=$ac_try;;
36790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36791 (eval "$ac_try") 2>&5
36793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36794 (exit $ac_status); }; } &&
36795 { ac_try='test -s conftest.$ac_objext'
36796 { (case "(($ac_try" in
36797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36798 *) ac_try_echo=$ac_try;;
36800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36801 (eval "$ac_try") 2>&5
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); }; }; then
36805 ac_cv_type_pid_t=yes
36807 echo "$as_me: failed program was:" >&5
36808 sed 's/^/| /' conftest.$ac_ext >&5
36810 ac_cv_type_pid_t=no
36813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36815 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36816 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36817 if test $ac_cv_type_pid_t = yes; then
36821 cat >>confdefs.h <<_ACEOF
36827 { echo "$as_me:$LINENO: checking for size_t" >&5
36828 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36829 if test "${ac_cv_type_size_t+set}" = set; then
36830 echo $ECHO_N "(cached) $ECHO_C" >&6
36832 cat >conftest.$ac_ext <<_ACEOF
36835 cat confdefs.h >>conftest.$ac_ext
36836 cat >>conftest.$ac_ext <<_ACEOF
36837 /* end confdefs.h. */
36838 $ac_includes_default
36839 typedef size_t ac__type_new_;
36843 if ((ac__type_new_ *) 0)
36845 if (sizeof (ac__type_new_))
36851 rm -f conftest.$ac_objext
36852 if { (ac_try="$ac_compile"
36853 case "(($ac_try" in
36854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36855 *) ac_try_echo=$ac_try;;
36857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36858 (eval "$ac_compile") 2>conftest.er1
36860 grep -v '^ *+' conftest.er1 >conftest.err
36862 cat conftest.err >&5
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); } &&
36865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36866 { (case "(($ac_try" in
36867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36868 *) ac_try_echo=$ac_try;;
36870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36871 (eval "$ac_try") 2>&5
36873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36874 (exit $ac_status); }; } &&
36875 { ac_try='test -s conftest.$ac_objext'
36876 { (case "(($ac_try" in
36877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36878 *) ac_try_echo=$ac_try;;
36880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36881 (eval "$ac_try") 2>&5
36883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36884 (exit $ac_status); }; }; then
36885 ac_cv_type_size_t=yes
36887 echo "$as_me: failed program was:" >&5
36888 sed 's/^/| /' conftest.$ac_ext >&5
36890 ac_cv_type_size_t=no
36893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36895 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36896 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36897 if test $ac_cv_type_size_t = yes; then
36901 cat >>confdefs.h <<_ACEOF
36902 #define size_t unsigned int
36907 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36908 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36909 if test "${ac_cv_type_uid_t+set}" = set; then
36910 echo $ECHO_N "(cached) $ECHO_C" >&6
36912 cat >conftest.$ac_ext <<_ACEOF
36915 cat confdefs.h >>conftest.$ac_ext
36916 cat >>conftest.$ac_ext <<_ACEOF
36917 /* end confdefs.h. */
36918 #include <sys/types.h>
36921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36922 $EGREP "uid_t" >/dev/null 2>&1; then
36923 ac_cv_type_uid_t=yes
36925 ac_cv_type_uid_t=no
36930 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36931 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36932 if test $ac_cv_type_uid_t = no; then
36934 cat >>confdefs.h <<\_ACEOF
36939 cat >>confdefs.h <<\_ACEOF
36946 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36947 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36948 if test "${ac_cv_type_ssize_t+set}" = set; then
36949 echo $ECHO_N "(cached) $ECHO_C" >&6
36951 cat >conftest.$ac_ext <<_ACEOF
36954 cat confdefs.h >>conftest.$ac_ext
36955 cat >>conftest.$ac_ext <<_ACEOF
36956 /* end confdefs.h. */
36957 $ac_includes_default
36958 typedef ssize_t ac__type_new_;
36962 if ((ac__type_new_ *) 0)
36964 if (sizeof (ac__type_new_))
36970 rm -f conftest.$ac_objext
36971 if { (ac_try="$ac_compile"
36972 case "(($ac_try" in
36973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36974 *) ac_try_echo=$ac_try;;
36976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36977 (eval "$ac_compile") 2>conftest.er1
36979 grep -v '^ *+' conftest.er1 >conftest.err
36981 cat conftest.err >&5
36982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36983 (exit $ac_status); } &&
36984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36985 { (case "(($ac_try" in
36986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36987 *) ac_try_echo=$ac_try;;
36989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36990 (eval "$ac_try") 2>&5
36992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993 (exit $ac_status); }; } &&
36994 { ac_try='test -s conftest.$ac_objext'
36995 { (case "(($ac_try" in
36996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36997 *) ac_try_echo=$ac_try;;
36999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37000 (eval "$ac_try") 2>&5
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); }; }; then
37004 ac_cv_type_ssize_t=yes
37006 echo "$as_me: failed program was:" >&5
37007 sed 's/^/| /' conftest.$ac_ext >&5
37009 ac_cv_type_ssize_t=no
37012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37014 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37015 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37016 if test $ac_cv_type_ssize_t = yes; then
37018 cat >>confdefs.h <<_ACEOF
37019 #define HAVE_SSIZE_T 1
37027 ac_cpp='$CXXCPP $CPPFLAGS'
37028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37031 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37032 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37033 if test "${wx_cv_size_t_is_uint+set}" = set; then
37034 echo $ECHO_N "(cached) $ECHO_C" >&6
37037 cat >conftest.$ac_ext <<_ACEOF
37040 cat confdefs.h >>conftest.$ac_ext
37041 cat >>conftest.$ac_ext <<_ACEOF
37042 /* end confdefs.h. */
37043 #include <stddef.h>
37050 struct Foo { void foo(size_t); void foo(unsigned int); };
37058 rm -f conftest.$ac_objext
37059 if { (ac_try="$ac_compile"
37060 case "(($ac_try" in
37061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37062 *) ac_try_echo=$ac_try;;
37064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37065 (eval "$ac_compile") 2>conftest.er1
37067 grep -v '^ *+' conftest.er1 >conftest.err
37069 cat conftest.err >&5
37070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37071 (exit $ac_status); } &&
37072 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37073 { (case "(($ac_try" in
37074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37075 *) ac_try_echo=$ac_try;;
37077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37078 (eval "$ac_try") 2>&5
37080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37081 (exit $ac_status); }; } &&
37082 { ac_try='test -s conftest.$ac_objext'
37083 { (case "(($ac_try" in
37084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37085 *) ac_try_echo=$ac_try;;
37087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37088 (eval "$ac_try") 2>&5
37090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); }; }; then
37092 wx_cv_size_t_is_uint=no
37094 echo "$as_me: failed program was:" >&5
37095 sed 's/^/| /' conftest.$ac_ext >&5
37097 wx_cv_size_t_is_uint=yes
37101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37105 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37106 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37108 if test "$wx_cv_size_t_is_uint" = "yes"; then
37109 cat >>confdefs.h <<\_ACEOF
37110 #define wxSIZE_T_IS_UINT 1
37114 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37115 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37116 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37117 echo $ECHO_N "(cached) $ECHO_C" >&6
37119 cat >conftest.$ac_ext <<_ACEOF
37122 cat confdefs.h >>conftest.$ac_ext
37123 cat >>conftest.$ac_ext <<_ACEOF
37124 /* end confdefs.h. */
37125 #include <stddef.h>
37132 struct Foo { void foo(size_t); void foo(unsigned long); };
37140 rm -f conftest.$ac_objext
37141 if { (ac_try="$ac_compile"
37142 case "(($ac_try" in
37143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37144 *) ac_try_echo=$ac_try;;
37146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37147 (eval "$ac_compile") 2>conftest.er1
37149 grep -v '^ *+' conftest.er1 >conftest.err
37151 cat conftest.err >&5
37152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37153 (exit $ac_status); } &&
37154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37155 { (case "(($ac_try" in
37156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37157 *) ac_try_echo=$ac_try;;
37159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37160 (eval "$ac_try") 2>&5
37162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37163 (exit $ac_status); }; } &&
37164 { ac_try='test -s conftest.$ac_objext'
37165 { (case "(($ac_try" in
37166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37167 *) ac_try_echo=$ac_try;;
37169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37170 (eval "$ac_try") 2>&5
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); }; }; then
37174 wx_cv_size_t_is_ulong=no
37176 echo "$as_me: failed program was:" >&5
37177 sed 's/^/| /' conftest.$ac_ext >&5
37179 wx_cv_size_t_is_ulong=yes
37183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37186 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37187 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37189 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37190 cat >>confdefs.h <<\_ACEOF
37191 #define wxSIZE_T_IS_ULONG 1
37198 ac_cpp='$CPP $CPPFLAGS'
37199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37204 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37205 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37206 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37207 echo $ECHO_N "(cached) $ECHO_C" >&6
37210 cat >conftest.$ac_ext <<_ACEOF
37213 cat confdefs.h >>conftest.$ac_ext
37214 cat >>conftest.$ac_ext <<_ACEOF
37215 /* end confdefs.h. */
37229 rm -f conftest.$ac_objext
37230 if { (ac_try="$ac_compile"
37231 case "(($ac_try" in
37232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37233 *) ac_try_echo=$ac_try;;
37235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37236 (eval "$ac_compile") 2>conftest.er1
37238 grep -v '^ *+' conftest.er1 >conftest.err
37240 cat conftest.err >&5
37241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37242 (exit $ac_status); } &&
37243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37244 { (case "(($ac_try" in
37245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37246 *) ac_try_echo=$ac_try;;
37248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37249 (eval "$ac_try") 2>&5
37251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37252 (exit $ac_status); }; } &&
37253 { ac_try='test -s conftest.$ac_objext'
37254 { (case "(($ac_try" in
37255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37256 *) ac_try_echo=$ac_try;;
37258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37259 (eval "$ac_try") 2>&5
37261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37262 (exit $ac_status); }; }; then
37264 wx_cv_struct_pw_gecos=yes
37267 echo "$as_me: failed program was:" >&5
37268 sed 's/^/| /' conftest.$ac_ext >&5
37271 wx_cv_struct_pw_gecos=no
37276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37280 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37281 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37283 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37284 cat >>confdefs.h <<\_ACEOF
37285 #define HAVE_PW_GECOS 1
37291 if test "$wxUSE_WCHAR_T" = "yes"; then
37292 cat >>confdefs.h <<\_ACEOF
37293 #define wxUSE_WCHAR_T 1
37300 for ac_func in wcslen
37302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37303 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37305 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37306 echo $ECHO_N "(cached) $ECHO_C" >&6
37308 cat >conftest.$ac_ext <<_ACEOF
37311 cat confdefs.h >>conftest.$ac_ext
37312 cat >>conftest.$ac_ext <<_ACEOF
37313 /* end confdefs.h. */
37314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37316 #define $ac_func innocuous_$ac_func
37318 /* System header to define __stub macros and hopefully few prototypes,
37319 which can conflict with char $ac_func (); below.
37320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37321 <limits.h> exists even on freestanding compilers. */
37324 # include <limits.h>
37326 # include <assert.h>
37331 /* Override any GCC internal prototype to avoid an error.
37332 Use char because int might match the return type of a GCC
37333 builtin and then its argument prototype would still apply. */
37338 /* The GNU C library defines this for functions which it implements
37339 to always fail with ENOSYS. Some functions are actually named
37340 something starting with __ and the normal name is an alias. */
37341 #if defined __stub_$ac_func || defined __stub___$ac_func
37348 return $ac_func ();
37353 rm -f conftest.$ac_objext conftest$ac_exeext
37354 if { (ac_try="$ac_link"
37355 case "(($ac_try" in
37356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37357 *) ac_try_echo=$ac_try;;
37359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37360 (eval "$ac_link") 2>conftest.er1
37362 grep -v '^ *+' conftest.er1 >conftest.err
37364 cat conftest.err >&5
37365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37366 (exit $ac_status); } &&
37367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37368 { (case "(($ac_try" in
37369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37370 *) ac_try_echo=$ac_try;;
37372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37373 (eval "$ac_try") 2>&5
37375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376 (exit $ac_status); }; } &&
37377 { ac_try='test -s conftest$ac_exeext'
37378 { (case "(($ac_try" in
37379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37380 *) ac_try_echo=$ac_try;;
37382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37383 (eval "$ac_try") 2>&5
37385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37386 (exit $ac_status); }; }; then
37387 eval "$as_ac_var=yes"
37389 echo "$as_me: failed program was:" >&5
37390 sed 's/^/| /' conftest.$ac_ext >&5
37392 eval "$as_ac_var=no"
37395 rm -f core conftest.err conftest.$ac_objext \
37396 conftest$ac_exeext conftest.$ac_ext
37398 ac_res=`eval echo '${'$as_ac_var'}'`
37399 { echo "$as_me:$LINENO: result: $ac_res" >&5
37400 echo "${ECHO_T}$ac_res" >&6; }
37401 if test `eval echo '${'$as_ac_var'}'` = yes; then
37402 cat >>confdefs.h <<_ACEOF
37403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37410 if test "$WCSLEN_FOUND" = 0; then
37411 if test "$TOOLKIT" = "MSW"; then
37412 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37413 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37414 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37415 echo $ECHO_N "(cached) $ECHO_C" >&6
37417 ac_check_lib_save_LIBS=$LIBS
37418 LIBS="-lmsvcrt $LIBS"
37419 cat >conftest.$ac_ext <<_ACEOF
37422 cat confdefs.h >>conftest.$ac_ext
37423 cat >>conftest.$ac_ext <<_ACEOF
37424 /* end confdefs.h. */
37426 /* Override any GCC internal prototype to avoid an error.
37427 Use char because int might match the return type of a GCC
37428 builtin and then its argument prototype would still apply. */
37441 rm -f conftest.$ac_objext conftest$ac_exeext
37442 if { (ac_try="$ac_link"
37443 case "(($ac_try" in
37444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37445 *) ac_try_echo=$ac_try;;
37447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37448 (eval "$ac_link") 2>conftest.er1
37450 grep -v '^ *+' conftest.er1 >conftest.err
37452 cat conftest.err >&5
37453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37454 (exit $ac_status); } &&
37455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37456 { (case "(($ac_try" in
37457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37458 *) ac_try_echo=$ac_try;;
37460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37461 (eval "$ac_try") 2>&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); }; } &&
37465 { ac_try='test -s conftest$ac_exeext'
37466 { (case "(($ac_try" in
37467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37468 *) ac_try_echo=$ac_try;;
37470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37471 (eval "$ac_try") 2>&5
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); }; }; then
37475 ac_cv_lib_msvcrt_wcslen=yes
37477 echo "$as_me: failed program was:" >&5
37478 sed 's/^/| /' conftest.$ac_ext >&5
37480 ac_cv_lib_msvcrt_wcslen=no
37483 rm -f core conftest.err conftest.$ac_objext \
37484 conftest$ac_exeext conftest.$ac_ext
37485 LIBS=$ac_check_lib_save_LIBS
37487 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37488 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37489 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37494 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37495 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37496 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37497 echo $ECHO_N "(cached) $ECHO_C" >&6
37499 ac_check_lib_save_LIBS=$LIBS
37501 cat >conftest.$ac_ext <<_ACEOF
37504 cat confdefs.h >>conftest.$ac_ext
37505 cat >>conftest.$ac_ext <<_ACEOF
37506 /* end confdefs.h. */
37508 /* Override any GCC internal prototype to avoid an error.
37509 Use char because int might match the return type of a GCC
37510 builtin and then its argument prototype would still apply. */
37523 rm -f conftest.$ac_objext conftest$ac_exeext
37524 if { (ac_try="$ac_link"
37525 case "(($ac_try" in
37526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37527 *) ac_try_echo=$ac_try;;
37529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37530 (eval "$ac_link") 2>conftest.er1
37532 grep -v '^ *+' conftest.er1 >conftest.err
37534 cat conftest.err >&5
37535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37536 (exit $ac_status); } &&
37537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37538 { (case "(($ac_try" in
37539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37540 *) ac_try_echo=$ac_try;;
37542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37543 (eval "$ac_try") 2>&5
37545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546 (exit $ac_status); }; } &&
37547 { ac_try='test -s conftest$ac_exeext'
37548 { (case "(($ac_try" in
37549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37550 *) ac_try_echo=$ac_try;;
37552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37553 (eval "$ac_try") 2>&5
37555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37556 (exit $ac_status); }; }; then
37557 ac_cv_lib_w_wcslen=yes
37559 echo "$as_me: failed program was:" >&5
37560 sed 's/^/| /' conftest.$ac_ext >&5
37562 ac_cv_lib_w_wcslen=no
37565 rm -f core conftest.err conftest.$ac_objext \
37566 conftest$ac_exeext conftest.$ac_ext
37567 LIBS=$ac_check_lib_save_LIBS
37569 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37570 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37571 if test $ac_cv_lib_w_wcslen = yes; then
37581 if test "$WCSLEN_FOUND" = 1; then
37582 cat >>confdefs.h <<\_ACEOF
37583 #define HAVE_WCSLEN 1
37588 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37589 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37592 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37593 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37594 if test "${ac_cv_type_mbstate_t+set}" = set; then
37595 echo $ECHO_N "(cached) $ECHO_C" >&6
37597 cat >conftest.$ac_ext <<_ACEOF
37600 cat confdefs.h >>conftest.$ac_ext
37601 cat >>conftest.$ac_ext <<_ACEOF
37602 /* end confdefs.h. */
37605 typedef mbstate_t ac__type_new_;
37609 if ((ac__type_new_ *) 0)
37611 if (sizeof (ac__type_new_))
37617 rm -f conftest.$ac_objext
37618 if { (ac_try="$ac_compile"
37619 case "(($ac_try" in
37620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37621 *) ac_try_echo=$ac_try;;
37623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37624 (eval "$ac_compile") 2>conftest.er1
37626 grep -v '^ *+' conftest.er1 >conftest.err
37628 cat conftest.err >&5
37629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37630 (exit $ac_status); } &&
37631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37632 { (case "(($ac_try" in
37633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37634 *) ac_try_echo=$ac_try;;
37636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37637 (eval "$ac_try") 2>&5
37639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37640 (exit $ac_status); }; } &&
37641 { ac_try='test -s conftest.$ac_objext'
37642 { (case "(($ac_try" in
37643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37644 *) ac_try_echo=$ac_try;;
37646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37647 (eval "$ac_try") 2>&5
37649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650 (exit $ac_status); }; }; then
37651 ac_cv_type_mbstate_t=yes
37653 echo "$as_me: failed program was:" >&5
37654 sed 's/^/| /' conftest.$ac_ext >&5
37656 ac_cv_type_mbstate_t=no
37659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37661 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37662 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37663 if test $ac_cv_type_mbstate_t = yes; then
37665 cat >>confdefs.h <<_ACEOF
37666 #define HAVE_MBSTATE_T 1
37670 for ac_func in wcsrtombs
37672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37673 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37675 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37676 echo $ECHO_N "(cached) $ECHO_C" >&6
37678 cat >conftest.$ac_ext <<_ACEOF
37681 cat confdefs.h >>conftest.$ac_ext
37682 cat >>conftest.$ac_ext <<_ACEOF
37683 /* end confdefs.h. */
37684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37686 #define $ac_func innocuous_$ac_func
37688 /* System header to define __stub macros and hopefully few prototypes,
37689 which can conflict with char $ac_func (); below.
37690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37691 <limits.h> exists even on freestanding compilers. */
37694 # include <limits.h>
37696 # include <assert.h>
37701 /* Override any GCC internal prototype to avoid an error.
37702 Use char because int might match the return type of a GCC
37703 builtin and then its argument prototype would still apply. */
37708 /* The GNU C library defines this for functions which it implements
37709 to always fail with ENOSYS. Some functions are actually named
37710 something starting with __ and the normal name is an alias. */
37711 #if defined __stub_$ac_func || defined __stub___$ac_func
37718 return $ac_func ();
37723 rm -f conftest.$ac_objext conftest$ac_exeext
37724 if { (ac_try="$ac_link"
37725 case "(($ac_try" in
37726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37727 *) ac_try_echo=$ac_try;;
37729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37730 (eval "$ac_link") 2>conftest.er1
37732 grep -v '^ *+' conftest.er1 >conftest.err
37734 cat conftest.err >&5
37735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37736 (exit $ac_status); } &&
37737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37738 { (case "(($ac_try" in
37739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37740 *) ac_try_echo=$ac_try;;
37742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37743 (eval "$ac_try") 2>&5
37745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37746 (exit $ac_status); }; } &&
37747 { ac_try='test -s conftest$ac_exeext'
37748 { (case "(($ac_try" in
37749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37750 *) ac_try_echo=$ac_try;;
37752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37753 (eval "$ac_try") 2>&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); }; }; then
37757 eval "$as_ac_var=yes"
37759 echo "$as_me: failed program was:" >&5
37760 sed 's/^/| /' conftest.$ac_ext >&5
37762 eval "$as_ac_var=no"
37765 rm -f core conftest.err conftest.$ac_objext \
37766 conftest$ac_exeext conftest.$ac_ext
37768 ac_res=`eval echo '${'$as_ac_var'}'`
37769 { echo "$as_me:$LINENO: result: $ac_res" >&5
37770 echo "${ECHO_T}$ac_res" >&6; }
37771 if test `eval echo '${'$as_ac_var'}'` = yes; then
37772 cat >>confdefs.h <<_ACEOF
37773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37782 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37783 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37788 for ac_func in snprintf vsnprintf
37790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37791 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37793 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37794 echo $ECHO_N "(cached) $ECHO_C" >&6
37796 cat >conftest.$ac_ext <<_ACEOF
37799 cat confdefs.h >>conftest.$ac_ext
37800 cat >>conftest.$ac_ext <<_ACEOF
37801 /* end confdefs.h. */
37802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37804 #define $ac_func innocuous_$ac_func
37806 /* System header to define __stub macros and hopefully few prototypes,
37807 which can conflict with char $ac_func (); below.
37808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37809 <limits.h> exists even on freestanding compilers. */
37812 # include <limits.h>
37814 # include <assert.h>
37819 /* Override any GCC internal prototype to avoid an error.
37820 Use char because int might match the return type of a GCC
37821 builtin and then its argument prototype would still apply. */
37826 /* The GNU C library defines this for functions which it implements
37827 to always fail with ENOSYS. Some functions are actually named
37828 something starting with __ and the normal name is an alias. */
37829 #if defined __stub_$ac_func || defined __stub___$ac_func
37836 return $ac_func ();
37841 rm -f conftest.$ac_objext conftest$ac_exeext
37842 if { (ac_try="$ac_link"
37843 case "(($ac_try" in
37844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37845 *) ac_try_echo=$ac_try;;
37847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37848 (eval "$ac_link") 2>conftest.er1
37850 grep -v '^ *+' conftest.er1 >conftest.err
37852 cat conftest.err >&5
37853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854 (exit $ac_status); } &&
37855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37856 { (case "(($ac_try" in
37857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37858 *) ac_try_echo=$ac_try;;
37860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37861 (eval "$ac_try") 2>&5
37863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37864 (exit $ac_status); }; } &&
37865 { ac_try='test -s conftest$ac_exeext'
37866 { (case "(($ac_try" in
37867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37868 *) ac_try_echo=$ac_try;;
37870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37871 (eval "$ac_try") 2>&5
37873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37874 (exit $ac_status); }; }; then
37875 eval "$as_ac_var=yes"
37877 echo "$as_me: failed program was:" >&5
37878 sed 's/^/| /' conftest.$ac_ext >&5
37880 eval "$as_ac_var=no"
37883 rm -f core conftest.err conftest.$ac_objext \
37884 conftest$ac_exeext conftest.$ac_ext
37886 ac_res=`eval echo '${'$as_ac_var'}'`
37887 { echo "$as_me:$LINENO: result: $ac_res" >&5
37888 echo "${ECHO_T}$ac_res" >&6; }
37889 if test `eval echo '${'$as_ac_var'}'` = yes; then
37890 cat >>confdefs.h <<_ACEOF
37891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37898 if test "$ac_cv_func_vsnprintf" = "yes"; then
37899 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37900 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37901 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37902 echo $ECHO_N "(cached) $ECHO_C" >&6
37905 cat >conftest.$ac_ext <<_ACEOF
37908 cat confdefs.h >>conftest.$ac_ext
37909 cat >>conftest.$ac_ext <<_ACEOF
37910 /* end confdefs.h. */
37913 #include <stdarg.h>
37915 #if __MSL__ >= 0x6000
37917 using namespace std;
37927 vsnprintf(buf, 10u, "%s", ap);
37933 rm -f conftest.$ac_objext
37934 if { (ac_try="$ac_compile"
37935 case "(($ac_try" in
37936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37937 *) ac_try_echo=$ac_try;;
37939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37940 (eval "$ac_compile") 2>conftest.er1
37942 grep -v '^ *+' conftest.er1 >conftest.err
37944 cat conftest.err >&5
37945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37946 (exit $ac_status); } &&
37947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37948 { (case "(($ac_try" in
37949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37950 *) ac_try_echo=$ac_try;;
37952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37953 (eval "$ac_try") 2>&5
37955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37956 (exit $ac_status); }; } &&
37957 { ac_try='test -s conftest.$ac_objext'
37958 { (case "(($ac_try" in
37959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37960 *) ac_try_echo=$ac_try;;
37962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37963 (eval "$ac_try") 2>&5
37965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966 (exit $ac_status); }; }; then
37967 wx_cv_func_vsnprintf_decl=yes
37969 echo "$as_me: failed program was:" >&5
37970 sed 's/^/| /' conftest.$ac_ext >&5
37972 wx_cv_func_vsnprintf_decl=no
37976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37980 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37981 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37983 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37984 cat >>confdefs.h <<\_ACEOF
37985 #define HAVE_VSNPRINTF_DECL 1
37989 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37990 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37991 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37992 echo $ECHO_N "(cached) $ECHO_C" >&6
37995 cat >conftest.$ac_ext <<_ACEOF
37998 cat confdefs.h >>conftest.$ac_ext
37999 cat >>conftest.$ac_ext <<_ACEOF
38000 /* end confdefs.h. */
38003 #include <stdarg.h>
38005 #if __MSL__ >= 0x6000
38007 using namespace std;
38017 const char *fmt = "%s";
38018 vsnprintf(buf, 10u, fmt, ap);
38024 rm -f conftest.$ac_objext
38025 if { (ac_try="$ac_compile"
38026 case "(($ac_try" in
38027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38028 *) ac_try_echo=$ac_try;;
38030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38031 (eval "$ac_compile") 2>conftest.er1
38033 grep -v '^ *+' conftest.er1 >conftest.err
38035 cat conftest.err >&5
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); } &&
38038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38039 { (case "(($ac_try" in
38040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38041 *) ac_try_echo=$ac_try;;
38043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38044 (eval "$ac_try") 2>&5
38046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38047 (exit $ac_status); }; } &&
38048 { ac_try='test -s conftest.$ac_objext'
38049 { (case "(($ac_try" in
38050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38051 *) ac_try_echo=$ac_try;;
38053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38054 (eval "$ac_try") 2>&5
38056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38057 (exit $ac_status); }; }; then
38058 wx_cv_func_broken_vsnprintf_decl=no
38060 echo "$as_me: failed program was:" >&5
38061 sed 's/^/| /' conftest.$ac_ext >&5
38063 wx_cv_func_broken_vsnprintf_decl=yes
38067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38071 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38072 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38074 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38075 cat >>confdefs.h <<\_ACEOF
38076 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38083 if test "$ac_cv_func_snprintf" = "yes"; then
38084 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38085 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38086 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38087 echo $ECHO_N "(cached) $ECHO_C" >&6
38090 cat >conftest.$ac_ext <<_ACEOF
38093 cat confdefs.h >>conftest.$ac_ext
38094 cat >>conftest.$ac_ext <<_ACEOF
38095 /* end confdefs.h. */
38098 #include <stdarg.h>
38100 #if __MSL__ >= 0x6000
38102 using namespace std;
38111 snprintf(buf, 10u, "%s", "wx");
38117 rm -f conftest.$ac_objext
38118 if { (ac_try="$ac_compile"
38119 case "(($ac_try" in
38120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38121 *) ac_try_echo=$ac_try;;
38123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38124 (eval "$ac_compile") 2>conftest.er1
38126 grep -v '^ *+' conftest.er1 >conftest.err
38128 cat conftest.err >&5
38129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38130 (exit $ac_status); } &&
38131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38132 { (case "(($ac_try" in
38133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38134 *) ac_try_echo=$ac_try;;
38136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38137 (eval "$ac_try") 2>&5
38139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38140 (exit $ac_status); }; } &&
38141 { ac_try='test -s conftest.$ac_objext'
38142 { (case "(($ac_try" in
38143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38144 *) ac_try_echo=$ac_try;;
38146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38147 (eval "$ac_try") 2>&5
38149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38150 (exit $ac_status); }; }; then
38151 wx_cv_func_snprintf_decl=yes
38153 echo "$as_me: failed program was:" >&5
38154 sed 's/^/| /' conftest.$ac_ext >&5
38156 wx_cv_func_snprintf_decl=no
38160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38164 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38165 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38167 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38168 cat >>confdefs.h <<\_ACEOF
38169 #define HAVE_SNPRINTF_DECL 1
38173 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38174 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38175 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38176 echo $ECHO_N "(cached) $ECHO_C" >&6
38179 cat >conftest.$ac_ext <<_ACEOF
38182 cat confdefs.h >>conftest.$ac_ext
38183 cat >>conftest.$ac_ext <<_ACEOF
38184 /* end confdefs.h. */
38187 #include <stdarg.h>
38189 #if __MSL__ >= 0x6000
38191 using namespace std;
38200 const char *fmt = "%s";
38201 snprintf(buf, 10u, fmt, "wx");
38207 rm -f conftest.$ac_objext
38208 if { (ac_try="$ac_compile"
38209 case "(($ac_try" in
38210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38211 *) ac_try_echo=$ac_try;;
38213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38214 (eval "$ac_compile") 2>conftest.er1
38216 grep -v '^ *+' conftest.er1 >conftest.err
38218 cat conftest.err >&5
38219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38220 (exit $ac_status); } &&
38221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38222 { (case "(($ac_try" in
38223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38224 *) ac_try_echo=$ac_try;;
38226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38227 (eval "$ac_try") 2>&5
38229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38230 (exit $ac_status); }; } &&
38231 { ac_try='test -s conftest.$ac_objext'
38232 { (case "(($ac_try" in
38233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38234 *) ac_try_echo=$ac_try;;
38236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38237 (eval "$ac_try") 2>&5
38239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38240 (exit $ac_status); }; }; then
38241 wx_cv_func_broken_snprintf_decl=no
38243 echo "$as_me: failed program was:" >&5
38244 sed 's/^/| /' conftest.$ac_ext >&5
38246 wx_cv_func_broken_snprintf_decl=yes
38250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38254 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38255 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38257 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38258 cat >>confdefs.h <<\_ACEOF
38259 #define HAVE_BROKEN_SNPRINTF_DECL 1
38265 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38267 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38268 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38269 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38270 echo $ECHO_N "(cached) $ECHO_C" >&6
38273 if test "$cross_compiling" = yes; then
38275 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38276 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38277 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38278 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38279 wx_cv_func_snprintf_pos_params=no
38283 cat >conftest.$ac_ext <<_ACEOF
38286 cat confdefs.h >>conftest.$ac_ext
38287 cat >>conftest.$ac_ext <<_ACEOF
38288 /* end confdefs.h. */
38295 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38296 if (strcmp ("2 3 1", buffer) == 0)
38302 rm -f conftest$ac_exeext
38303 if { (ac_try="$ac_link"
38304 case "(($ac_try" in
38305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38306 *) ac_try_echo=$ac_try;;
38308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38309 (eval "$ac_link") 2>&5
38311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38313 { (case "(($ac_try" in
38314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38315 *) ac_try_echo=$ac_try;;
38317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38318 (eval "$ac_try") 2>&5
38320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38321 (exit $ac_status); }; }; then
38322 wx_cv_func_snprintf_pos_params=no
38324 echo "$as_me: program exited with status $ac_status" >&5
38325 echo "$as_me: failed program was:" >&5
38326 sed 's/^/| /' conftest.$ac_ext >&5
38328 ( exit $ac_status )
38329 wx_cv_func_snprintf_pos_params=yes
38331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38338 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38339 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38341 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38342 cat >>confdefs.h <<\_ACEOF
38343 #define HAVE_UNIX98_PRINTF 1
38350 if test "$wxUSE_UNICODE" = yes; then
38353 for ac_func in swprintf
38355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38359 echo $ECHO_N "(cached) $ECHO_C" >&6
38361 cat >conftest.$ac_ext <<_ACEOF
38364 cat confdefs.h >>conftest.$ac_ext
38365 cat >>conftest.$ac_ext <<_ACEOF
38366 /* end confdefs.h. */
38367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38369 #define $ac_func innocuous_$ac_func
38371 /* System header to define __stub macros and hopefully few prototypes,
38372 which can conflict with char $ac_func (); below.
38373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38374 <limits.h> exists even on freestanding compilers. */
38377 # include <limits.h>
38379 # include <assert.h>
38384 /* Override any GCC internal prototype to avoid an error.
38385 Use char because int might match the return type of a GCC
38386 builtin and then its argument prototype would still apply. */
38391 /* The GNU C library defines this for functions which it implements
38392 to always fail with ENOSYS. Some functions are actually named
38393 something starting with __ and the normal name is an alias. */
38394 #if defined __stub_$ac_func || defined __stub___$ac_func
38401 return $ac_func ();
38406 rm -f conftest.$ac_objext conftest$ac_exeext
38407 if { (ac_try="$ac_link"
38408 case "(($ac_try" in
38409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38410 *) ac_try_echo=$ac_try;;
38412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38413 (eval "$ac_link") 2>conftest.er1
38415 grep -v '^ *+' conftest.er1 >conftest.err
38417 cat conftest.err >&5
38418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38419 (exit $ac_status); } &&
38420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38421 { (case "(($ac_try" in
38422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38423 *) ac_try_echo=$ac_try;;
38425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38426 (eval "$ac_try") 2>&5
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); }; } &&
38430 { ac_try='test -s conftest$ac_exeext'
38431 { (case "(($ac_try" in
38432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38433 *) ac_try_echo=$ac_try;;
38435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38436 (eval "$ac_try") 2>&5
38438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38439 (exit $ac_status); }; }; then
38440 eval "$as_ac_var=yes"
38442 echo "$as_me: failed program was:" >&5
38443 sed 's/^/| /' conftest.$ac_ext >&5
38445 eval "$as_ac_var=no"
38448 rm -f core conftest.err conftest.$ac_objext \
38449 conftest$ac_exeext conftest.$ac_ext
38451 ac_res=`eval echo '${'$as_ac_var'}'`
38452 { echo "$as_me:$LINENO: result: $ac_res" >&5
38453 echo "${ECHO_T}$ac_res" >&6; }
38454 if test `eval echo '${'$as_ac_var'}'` = yes; then
38455 cat >>confdefs.h <<_ACEOF
38456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38463 if test "$ac_cv_func_swprintf" = "yes"; then
38464 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38465 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38466 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38467 echo $ECHO_N "(cached) $ECHO_C" >&6
38470 cat >conftest.$ac_ext <<_ACEOF
38473 cat confdefs.h >>conftest.$ac_ext
38474 cat >>conftest.$ac_ext <<_ACEOF
38475 /* end confdefs.h. */
38478 #include <stdarg.h>
38486 const wchar_t *fmt = L"test";
38487 swprintf(buf, 10u, fmt);
38493 rm -f conftest.$ac_objext
38494 if { (ac_try="$ac_compile"
38495 case "(($ac_try" in
38496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38497 *) ac_try_echo=$ac_try;;
38499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38500 (eval "$ac_compile") 2>conftest.er1
38502 grep -v '^ *+' conftest.er1 >conftest.err
38504 cat conftest.err >&5
38505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38506 (exit $ac_status); } &&
38507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38508 { (case "(($ac_try" in
38509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38510 *) ac_try_echo=$ac_try;;
38512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38513 (eval "$ac_try") 2>&5
38515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38516 (exit $ac_status); }; } &&
38517 { ac_try='test -s conftest.$ac_objext'
38518 { (case "(($ac_try" in
38519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38520 *) ac_try_echo=$ac_try;;
38522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38523 (eval "$ac_try") 2>&5
38525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38526 (exit $ac_status); }; }; then
38527 wx_cv_func_broken_swprintf_decl=no
38529 echo "$as_me: failed program was:" >&5
38530 sed 's/^/| /' conftest.$ac_ext >&5
38532 wx_cv_func_broken_swprintf_decl=yes
38536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38540 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38541 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38543 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38544 cat >>confdefs.h <<\_ACEOF
38545 #define HAVE_BROKEN_SWPRINTF_DECL 1
38551 wchar_headers="#include <stdio.h>
38552 #include <wchar.h>"
38555 { echo "$as_me:$LINENO: checking for widec.h" >&5
38556 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
38557 if test "${ac_cv_header_widec_h+set}" = set; then
38558 echo $ECHO_N "(cached) $ECHO_C" >&6
38560 cat >conftest.$ac_ext <<_ACEOF
38563 cat confdefs.h >>conftest.$ac_ext
38564 cat >>conftest.$ac_ext <<_ACEOF
38565 /* end confdefs.h. */
38566 $ac_includes_default
38570 rm -f conftest.$ac_objext
38571 if { (ac_try="$ac_compile"
38572 case "(($ac_try" in
38573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38574 *) ac_try_echo=$ac_try;;
38576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38577 (eval "$ac_compile") 2>conftest.er1
38579 grep -v '^ *+' conftest.er1 >conftest.err
38581 cat conftest.err >&5
38582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38583 (exit $ac_status); } &&
38584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38585 { (case "(($ac_try" in
38586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38587 *) ac_try_echo=$ac_try;;
38589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38590 (eval "$ac_try") 2>&5
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); }; } &&
38594 { ac_try='test -s conftest.$ac_objext'
38595 { (case "(($ac_try" in
38596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38597 *) ac_try_echo=$ac_try;;
38599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38600 (eval "$ac_try") 2>&5
38602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38603 (exit $ac_status); }; }; then
38604 ac_cv_header_widec_h=yes
38606 echo "$as_me: failed program was:" >&5
38607 sed 's/^/| /' conftest.$ac_ext >&5
38609 ac_cv_header_widec_h=no
38612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38614 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
38615 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
38618 if test "$ac_cv_header_widec_h" = "yes"; then
38619 wchar_headers="$wchar_headers
38620 #include <widec.h>"
38625 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38627 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38628 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38629 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38630 echo $ECHO_N "(cached) $ECHO_C" >&6
38633 cat >conftest.$ac_ext <<_ACEOF
38637 cat confdefs.h >>conftest.$ac_ext
38638 cat >>conftest.$ac_ext <<_ACEOF
38639 /* end confdefs.h. */
38642 $ac_includes_default
38658 rm -f conftest.$ac_objext conftest$ac_exeext
38659 if { (ac_try="$ac_link"
38660 case "(($ac_try" in
38661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38662 *) ac_try_echo=$ac_try;;
38664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38665 (eval "$ac_link") 2>conftest.er1
38667 grep -v '^ *+' conftest.er1 >conftest.err
38669 cat conftest.err >&5
38670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38671 (exit $ac_status); } &&
38672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38673 { (case "(($ac_try" in
38674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38675 *) ac_try_echo=$ac_try;;
38677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38678 (eval "$ac_try") 2>&5
38680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38681 (exit $ac_status); }; } &&
38682 { ac_try='test -s conftest$ac_exeext'
38683 { (case "(($ac_try" in
38684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38685 *) ac_try_echo=$ac_try;;
38687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38688 (eval "$ac_try") 2>&5
38690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38691 (exit $ac_status); }; }; then
38692 eval wx_cv_func_$wx_func=yes
38694 echo "$as_me: failed program was:" >&5
38695 sed 's/^/| /' conftest.$ac_ext >&5
38697 eval wx_cv_func_$wx_func=no
38700 rm -f core conftest.err conftest.$ac_objext \
38701 conftest$ac_exeext conftest.$ac_ext
38704 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38705 { echo "$as_me:$LINENO: result: $ac_res" >&5
38706 echo "${ECHO_T}$ac_res" >&6; }
38708 if eval test \$wx_cv_func_$wx_func = yes
38710 cat >>confdefs.h <<_ACEOF
38711 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38722 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38723 echo $ECHO_N "checking for _vsnwprintf... $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. */
38739 rm -f conftest.$ac_objext
38740 if { (ac_try="$ac_compile"
38741 case "(($ac_try" in
38742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38743 *) ac_try_echo=$ac_try;;
38745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38746 (eval "$ac_compile") 2>conftest.er1
38748 grep -v '^ *+' conftest.er1 >conftest.err
38750 cat conftest.err >&5
38751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38752 (exit $ac_status); } &&
38753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38754 { (case "(($ac_try" in
38755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38756 *) ac_try_echo=$ac_try;;
38758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38759 (eval "$ac_try") 2>&5
38761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38762 (exit $ac_status); }; } &&
38763 { ac_try='test -s conftest.$ac_objext'
38764 { (case "(($ac_try" in
38765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38766 *) ac_try_echo=$ac_try;;
38768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38769 (eval "$ac_try") 2>&5
38771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38772 (exit $ac_status); }; }; then
38773 { echo "$as_me:$LINENO: result: yes" >&5
38774 echo "${ECHO_T}yes" >&6; }
38775 cat >>confdefs.h <<\_ACEOF
38776 #define HAVE__VSNWPRINTF 1
38780 echo "$as_me: failed program was:" >&5
38781 sed 's/^/| /' conftest.$ac_ext >&5
38783 { echo "$as_me:$LINENO: result: no" >&5
38784 echo "${ECHO_T}no" >&6; }
38787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38790 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38792 for wx_func in fnmatch
38794 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38795 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38796 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38797 echo $ECHO_N "(cached) $ECHO_C" >&6
38800 cat >conftest.$ac_ext <<_ACEOF
38804 cat confdefs.h >>conftest.$ac_ext
38805 cat >>conftest.$ac_ext <<_ACEOF
38806 /* end confdefs.h. */
38808 #include <fnmatch.h>
38809 $ac_includes_default
38825 rm -f conftest.$ac_objext conftest$ac_exeext
38826 if { (ac_try="$ac_link"
38827 case "(($ac_try" in
38828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38829 *) ac_try_echo=$ac_try;;
38831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38832 (eval "$ac_link") 2>conftest.er1
38834 grep -v '^ *+' conftest.er1 >conftest.err
38836 cat conftest.err >&5
38837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38838 (exit $ac_status); } &&
38839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38840 { (case "(($ac_try" in
38841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38842 *) ac_try_echo=$ac_try;;
38844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38845 (eval "$ac_try") 2>&5
38847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38848 (exit $ac_status); }; } &&
38849 { ac_try='test -s conftest$ac_exeext'
38850 { (case "(($ac_try" in
38851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38852 *) ac_try_echo=$ac_try;;
38854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38855 (eval "$ac_try") 2>&5
38857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38858 (exit $ac_status); }; }; then
38859 eval wx_cv_func_$wx_func=yes
38861 echo "$as_me: failed program was:" >&5
38862 sed 's/^/| /' conftest.$ac_ext >&5
38864 eval wx_cv_func_$wx_func=no
38867 rm -f core conftest.err conftest.$ac_objext \
38868 conftest$ac_exeext conftest.$ac_ext
38871 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38872 { echo "$as_me:$LINENO: result: $ac_res" >&5
38873 echo "${ECHO_T}$ac_res" >&6; }
38875 if eval test \$wx_cv_func_$wx_func = yes
38877 cat >>confdefs.h <<_ACEOF
38878 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38890 if test "$wxUSE_FILE" = "yes"; then
38892 for wx_func in fsync
38894 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38895 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38896 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38897 echo $ECHO_N "(cached) $ECHO_C" >&6
38900 cat >conftest.$ac_ext <<_ACEOF
38904 cat confdefs.h >>conftest.$ac_ext
38905 cat >>conftest.$ac_ext <<_ACEOF
38906 /* end confdefs.h. */
38909 $ac_includes_default
38925 rm -f conftest.$ac_objext conftest$ac_exeext
38926 if { (ac_try="$ac_link"
38927 case "(($ac_try" in
38928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38929 *) ac_try_echo=$ac_try;;
38931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38932 (eval "$ac_link") 2>conftest.er1
38934 grep -v '^ *+' conftest.er1 >conftest.err
38936 cat conftest.err >&5
38937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38938 (exit $ac_status); } &&
38939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38940 { (case "(($ac_try" in
38941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38942 *) ac_try_echo=$ac_try;;
38944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38945 (eval "$ac_try") 2>&5
38947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38948 (exit $ac_status); }; } &&
38949 { ac_try='test -s conftest$ac_exeext'
38950 { (case "(($ac_try" in
38951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38952 *) ac_try_echo=$ac_try;;
38954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38955 (eval "$ac_try") 2>&5
38957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38958 (exit $ac_status); }; }; then
38959 eval wx_cv_func_$wx_func=yes
38961 echo "$as_me: failed program was:" >&5
38962 sed 's/^/| /' conftest.$ac_ext >&5
38964 eval wx_cv_func_$wx_func=no
38967 rm -f core conftest.err conftest.$ac_objext \
38968 conftest$ac_exeext conftest.$ac_ext
38971 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38972 { echo "$as_me:$LINENO: result: $ac_res" >&5
38973 echo "${ECHO_T}$ac_res" >&6; }
38975 if eval test \$wx_cv_func_$wx_func = yes
38977 cat >>confdefs.h <<_ACEOF
38978 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38991 for wx_func in round
38993 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38994 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38995 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38996 echo $ECHO_N "(cached) $ECHO_C" >&6
38999 cat >conftest.$ac_ext <<_ACEOF
39003 cat confdefs.h >>conftest.$ac_ext
39004 cat >>conftest.$ac_ext <<_ACEOF
39005 /* end confdefs.h. */
39008 $ac_includes_default
39024 rm -f conftest.$ac_objext conftest$ac_exeext
39025 if { (ac_try="$ac_link"
39026 case "(($ac_try" in
39027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39028 *) ac_try_echo=$ac_try;;
39030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39031 (eval "$ac_link") 2>conftest.er1
39033 grep -v '^ *+' conftest.er1 >conftest.err
39035 cat conftest.err >&5
39036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39037 (exit $ac_status); } &&
39038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
39046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39047 (exit $ac_status); }; } &&
39048 { ac_try='test -s conftest$ac_exeext'
39049 { (case "(($ac_try" in
39050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39051 *) ac_try_echo=$ac_try;;
39053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39054 (eval "$ac_try") 2>&5
39056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39057 (exit $ac_status); }; }; then
39058 eval wx_cv_func_$wx_func=yes
39060 echo "$as_me: failed program was:" >&5
39061 sed 's/^/| /' conftest.$ac_ext >&5
39063 eval wx_cv_func_$wx_func=no
39066 rm -f core conftest.err conftest.$ac_objext \
39067 conftest$ac_exeext conftest.$ac_ext
39070 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39071 { echo "$as_me:$LINENO: result: $ac_res" >&5
39072 echo "${ECHO_T}$ac_res" >&6; }
39074 if eval test \$wx_cv_func_$wx_func = yes
39076 cat >>confdefs.h <<_ACEOF
39077 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39088 if test "$TOOLKIT" != "MSW"; then
39094 # Check whether --with-libiconv-prefix was given.
39095 if test "${with_libiconv_prefix+set}" = set; then
39096 withval=$with_libiconv_prefix;
39097 for dir in `echo "$withval" | tr : ' '`; do
39098 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
39099 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
39105 { echo "$as_me:$LINENO: checking for iconv" >&5
39106 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
39107 if test "${am_cv_func_iconv+set}" = set; then
39108 echo $ECHO_N "(cached) $ECHO_C" >&6
39111 am_cv_func_iconv="no, consider installing GNU libiconv"
39113 cat >conftest.$ac_ext <<_ACEOF
39116 cat confdefs.h >>conftest.$ac_ext
39117 cat >>conftest.$ac_ext <<_ACEOF
39118 /* end confdefs.h. */
39119 #include <stdlib.h>
39124 iconv_t cd = iconv_open("","");
39125 iconv(cd,NULL,NULL,NULL,NULL);
39131 rm -f conftest.$ac_objext conftest$ac_exeext
39132 if { (ac_try="$ac_link"
39133 case "(($ac_try" in
39134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39135 *) ac_try_echo=$ac_try;;
39137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39138 (eval "$ac_link") 2>conftest.er1
39140 grep -v '^ *+' conftest.er1 >conftest.err
39142 cat conftest.err >&5
39143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39144 (exit $ac_status); } &&
39145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39146 { (case "(($ac_try" in
39147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39148 *) ac_try_echo=$ac_try;;
39150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39151 (eval "$ac_try") 2>&5
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); }; } &&
39155 { ac_try='test -s conftest$ac_exeext'
39156 { (case "(($ac_try" in
39157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39158 *) ac_try_echo=$ac_try;;
39160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39161 (eval "$ac_try") 2>&5
39163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164 (exit $ac_status); }; }; then
39165 am_cv_func_iconv=yes
39167 echo "$as_me: failed program was:" >&5
39168 sed 's/^/| /' conftest.$ac_ext >&5
39173 rm -f core conftest.err conftest.$ac_objext \
39174 conftest$ac_exeext conftest.$ac_ext
39175 if test "$am_cv_func_iconv" != yes; then
39176 am_save_LIBS="$LIBS"
39177 LIBS="$LIBS -liconv"
39178 cat >conftest.$ac_ext <<_ACEOF
39181 cat confdefs.h >>conftest.$ac_ext
39182 cat >>conftest.$ac_ext <<_ACEOF
39183 /* end confdefs.h. */
39184 #include <stdlib.h>
39189 iconv_t cd = iconv_open("","");
39190 iconv(cd,NULL,NULL,NULL,NULL);
39196 rm -f conftest.$ac_objext conftest$ac_exeext
39197 if { (ac_try="$ac_link"
39198 case "(($ac_try" in
39199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39200 *) ac_try_echo=$ac_try;;
39202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39203 (eval "$ac_link") 2>conftest.er1
39205 grep -v '^ *+' conftest.er1 >conftest.err
39207 cat conftest.err >&5
39208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39209 (exit $ac_status); } &&
39210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39211 { (case "(($ac_try" in
39212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39213 *) ac_try_echo=$ac_try;;
39215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39216 (eval "$ac_try") 2>&5
39218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39219 (exit $ac_status); }; } &&
39220 { ac_try='test -s conftest$ac_exeext'
39221 { (case "(($ac_try" in
39222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39223 *) ac_try_echo=$ac_try;;
39225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39226 (eval "$ac_try") 2>&5
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); }; }; then
39230 am_cv_lib_iconv=yes
39231 am_cv_func_iconv=yes
39233 echo "$as_me: failed program was:" >&5
39234 sed 's/^/| /' conftest.$ac_ext >&5
39239 rm -f core conftest.err conftest.$ac_objext \
39240 conftest$ac_exeext conftest.$ac_ext
39241 LIBS="$am_save_LIBS"
39245 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39246 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39247 if test "$am_cv_func_iconv" = yes; then
39249 cat >>confdefs.h <<\_ACEOF
39250 #define HAVE_ICONV 1
39253 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39254 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39255 if test "${wx_cv_func_iconv_const+set}" = set; then
39256 echo $ECHO_N "(cached) $ECHO_C" >&6
39258 cat >conftest.$ac_ext <<_ACEOF
39261 cat confdefs.h >>conftest.$ac_ext
39262 cat >>conftest.$ac_ext <<_ACEOF
39263 /* end confdefs.h. */
39265 #include <stdlib.h>
39271 #if defined(__STDC__) || defined(__cplusplus)
39272 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39285 rm -f conftest.$ac_objext
39286 if { (ac_try="$ac_compile"
39287 case "(($ac_try" in
39288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39289 *) ac_try_echo=$ac_try;;
39291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39292 (eval "$ac_compile") 2>conftest.er1
39294 grep -v '^ *+' conftest.er1 >conftest.err
39296 cat conftest.err >&5
39297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39298 (exit $ac_status); } &&
39299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39300 { (case "(($ac_try" in
39301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39302 *) ac_try_echo=$ac_try;;
39304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39305 (eval "$ac_try") 2>&5
39307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39308 (exit $ac_status); }; } &&
39309 { ac_try='test -s conftest.$ac_objext'
39310 { (case "(($ac_try" in
39311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39312 *) ac_try_echo=$ac_try;;
39314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39315 (eval "$ac_try") 2>&5
39317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39318 (exit $ac_status); }; }; then
39319 wx_cv_func_iconv_const="no"
39321 echo "$as_me: failed program was:" >&5
39322 sed 's/^/| /' conftest.$ac_ext >&5
39324 wx_cv_func_iconv_const="yes"
39328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39331 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39332 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39335 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39336 iconv_const="const"
39340 cat >>confdefs.h <<_ACEOF
39341 #define ICONV_CONST $iconv_const
39346 if test "$am_cv_lib_iconv" = yes; then
39351 LIBS="$LIBICONV $LIBS"
39353 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39355 for ac_func in sigaction
39357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39358 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39360 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39361 echo $ECHO_N "(cached) $ECHO_C" >&6
39363 cat >conftest.$ac_ext <<_ACEOF
39366 cat confdefs.h >>conftest.$ac_ext
39367 cat >>conftest.$ac_ext <<_ACEOF
39368 /* end confdefs.h. */
39369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39371 #define $ac_func innocuous_$ac_func
39373 /* System header to define __stub macros and hopefully few prototypes,
39374 which can conflict with char $ac_func (); below.
39375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39376 <limits.h> exists even on freestanding compilers. */
39379 # include <limits.h>
39381 # include <assert.h>
39386 /* Override any GCC internal prototype to avoid an error.
39387 Use char because int might match the return type of a GCC
39388 builtin and then its argument prototype would still apply. */
39393 /* The GNU C library defines this for functions which it implements
39394 to always fail with ENOSYS. Some functions are actually named
39395 something starting with __ and the normal name is an alias. */
39396 #if defined __stub_$ac_func || defined __stub___$ac_func
39403 return $ac_func ();
39408 rm -f conftest.$ac_objext conftest$ac_exeext
39409 if { (ac_try="$ac_link"
39410 case "(($ac_try" in
39411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39412 *) ac_try_echo=$ac_try;;
39414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39415 (eval "$ac_link") 2>conftest.er1
39417 grep -v '^ *+' conftest.er1 >conftest.err
39419 cat conftest.err >&5
39420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421 (exit $ac_status); } &&
39422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39423 { (case "(($ac_try" in
39424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39425 *) ac_try_echo=$ac_try;;
39427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39428 (eval "$ac_try") 2>&5
39430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39431 (exit $ac_status); }; } &&
39432 { ac_try='test -s conftest$ac_exeext'
39433 { (case "(($ac_try" in
39434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39435 *) ac_try_echo=$ac_try;;
39437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39438 (eval "$ac_try") 2>&5
39440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39441 (exit $ac_status); }; }; then
39442 eval "$as_ac_var=yes"
39444 echo "$as_me: failed program was:" >&5
39445 sed 's/^/| /' conftest.$ac_ext >&5
39447 eval "$as_ac_var=no"
39450 rm -f core conftest.err conftest.$ac_objext \
39451 conftest$ac_exeext conftest.$ac_ext
39453 ac_res=`eval echo '${'$as_ac_var'}'`
39454 { echo "$as_me:$LINENO: result: $ac_res" >&5
39455 echo "${ECHO_T}$ac_res" >&6; }
39456 if test `eval echo '${'$as_ac_var'}'` = yes; then
39457 cat >>confdefs.h <<_ACEOF
39458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39465 if test "$ac_cv_func_sigaction" = "no"; then
39466 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39467 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39468 wxUSE_ON_FATAL_EXCEPTION=no
39471 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39472 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39473 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39474 if test "${wx_cv_type_sa_handler+set}" = set; then
39475 echo $ECHO_N "(cached) $ECHO_C" >&6
39479 ac_cpp='$CXXCPP $CPPFLAGS'
39480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39484 cat >conftest.$ac_ext <<_ACEOF
39487 cat confdefs.h >>conftest.$ac_ext
39488 cat >>conftest.$ac_ext <<_ACEOF
39489 /* end confdefs.h. */
39490 #include <signal.h>
39495 extern void testSigHandler(int);
39497 struct sigaction sa;
39498 sa.sa_handler = testSigHandler;
39504 rm -f conftest.$ac_objext
39505 if { (ac_try="$ac_compile"
39506 case "(($ac_try" in
39507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39508 *) ac_try_echo=$ac_try;;
39510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39511 (eval "$ac_compile") 2>conftest.er1
39513 grep -v '^ *+' conftest.er1 >conftest.err
39515 cat conftest.err >&5
39516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39517 (exit $ac_status); } &&
39518 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39519 { (case "(($ac_try" in
39520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39521 *) ac_try_echo=$ac_try;;
39523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39524 (eval "$ac_try") 2>&5
39526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39527 (exit $ac_status); }; } &&
39528 { ac_try='test -s conftest.$ac_objext'
39529 { (case "(($ac_try" in
39530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39531 *) ac_try_echo=$ac_try;;
39533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39534 (eval "$ac_try") 2>&5
39536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39537 (exit $ac_status); }; }; then
39539 wx_cv_type_sa_handler=int
39542 echo "$as_me: failed program was:" >&5
39543 sed 's/^/| /' conftest.$ac_ext >&5
39546 wx_cv_type_sa_handler=void
39550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39552 ac_cpp='$CPP $CPPFLAGS'
39553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39559 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39560 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39562 cat >>confdefs.h <<_ACEOF
39563 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39569 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39570 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39571 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39572 if test "${wx_cv_func_backtrace+set}" = set; then
39573 echo $ECHO_N "(cached) $ECHO_C" >&6
39577 ac_cpp='$CXXCPP $CPPFLAGS'
39578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39582 cat >conftest.$ac_ext <<_ACEOF
39585 cat confdefs.h >>conftest.$ac_ext
39586 cat >>conftest.$ac_ext <<_ACEOF
39587 /* end confdefs.h. */
39588 #include <execinfo.h>
39596 backtrace(trace, 1);
39597 messages = backtrace_symbols(trace, 1);
39603 rm -f conftest.$ac_objext
39604 if { (ac_try="$ac_compile"
39605 case "(($ac_try" in
39606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39607 *) ac_try_echo=$ac_try;;
39609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39610 (eval "$ac_compile") 2>conftest.er1
39612 grep -v '^ *+' conftest.er1 >conftest.err
39614 cat conftest.err >&5
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); } &&
39617 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39618 { (case "(($ac_try" in
39619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39620 *) ac_try_echo=$ac_try;;
39622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39623 (eval "$ac_try") 2>&5
39625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39626 (exit $ac_status); }; } &&
39627 { ac_try='test -s conftest.$ac_objext'
39628 { (case "(($ac_try" in
39629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39630 *) ac_try_echo=$ac_try;;
39632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39633 (eval "$ac_try") 2>&5
39635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39636 (exit $ac_status); }; }; then
39637 wx_cv_func_backtrace=yes
39639 echo "$as_me: failed program was:" >&5
39640 sed 's/^/| /' conftest.$ac_ext >&5
39642 wx_cv_func_backtrace=no
39646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39648 ac_cpp='$CPP $CPPFLAGS'
39649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39656 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39657 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39660 if test "$wx_cv_func_backtrace" = "no"; then
39661 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39662 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39663 wxUSE_STACKWALKER=no
39665 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39666 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39667 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39668 echo $ECHO_N "(cached) $ECHO_C" >&6
39672 ac_cpp='$CXXCPP $CPPFLAGS'
39673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39677 cat >conftest.$ac_ext <<_ACEOF
39680 cat confdefs.h >>conftest.$ac_ext
39681 cat >>conftest.$ac_ext <<_ACEOF
39682 /* end confdefs.h. */
39683 #include <cxxabi.h>
39689 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39695 rm -f conftest.$ac_objext conftest$ac_exeext
39696 if { (ac_try="$ac_link"
39697 case "(($ac_try" in
39698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39699 *) ac_try_echo=$ac_try;;
39701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39702 (eval "$ac_link") 2>conftest.er1
39704 grep -v '^ *+' conftest.er1 >conftest.err
39706 cat conftest.err >&5
39707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39708 (exit $ac_status); } &&
39709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39710 { (case "(($ac_try" in
39711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39712 *) ac_try_echo=$ac_try;;
39714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39715 (eval "$ac_try") 2>&5
39717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39718 (exit $ac_status); }; } &&
39719 { ac_try='test -s conftest$ac_exeext'
39720 { (case "(($ac_try" in
39721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39722 *) ac_try_echo=$ac_try;;
39724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39725 (eval "$ac_try") 2>&5
39727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39728 (exit $ac_status); }; }; then
39729 wx_cv_func_cxa_demangle=yes
39731 echo "$as_me: failed program was:" >&5
39732 sed 's/^/| /' conftest.$ac_ext >&5
39734 wx_cv_func_cxa_demangle=no
39738 rm -f core conftest.err conftest.$ac_objext \
39739 conftest$ac_exeext conftest.$ac_ext
39741 ac_cpp='$CPP $CPPFLAGS'
39742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39749 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39750 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39752 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39753 cat >>confdefs.h <<\_ACEOF
39754 #define HAVE_CXA_DEMANGLE 1
39761 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39762 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39763 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39764 wxUSE_STACKWALKER=no
39770 for ac_func in mkstemp mktemp
39772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39773 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39775 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39776 echo $ECHO_N "(cached) $ECHO_C" >&6
39778 cat >conftest.$ac_ext <<_ACEOF
39781 cat confdefs.h >>conftest.$ac_ext
39782 cat >>conftest.$ac_ext <<_ACEOF
39783 /* end confdefs.h. */
39784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39786 #define $ac_func innocuous_$ac_func
39788 /* System header to define __stub macros and hopefully few prototypes,
39789 which can conflict with char $ac_func (); below.
39790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39791 <limits.h> exists even on freestanding compilers. */
39794 # include <limits.h>
39796 # include <assert.h>
39801 /* Override any GCC internal prototype to avoid an error.
39802 Use char because int might match the return type of a GCC
39803 builtin and then its argument prototype would still apply. */
39808 /* The GNU C library defines this for functions which it implements
39809 to always fail with ENOSYS. Some functions are actually named
39810 something starting with __ and the normal name is an alias. */
39811 #if defined __stub_$ac_func || defined __stub___$ac_func
39818 return $ac_func ();
39823 rm -f conftest.$ac_objext conftest$ac_exeext
39824 if { (ac_try="$ac_link"
39825 case "(($ac_try" in
39826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39827 *) ac_try_echo=$ac_try;;
39829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39830 (eval "$ac_link") 2>conftest.er1
39832 grep -v '^ *+' conftest.er1 >conftest.err
39834 cat conftest.err >&5
39835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39836 (exit $ac_status); } &&
39837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39838 { (case "(($ac_try" in
39839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39840 *) ac_try_echo=$ac_try;;
39842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39843 (eval "$ac_try") 2>&5
39845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39846 (exit $ac_status); }; } &&
39847 { ac_try='test -s conftest$ac_exeext'
39848 { (case "(($ac_try" in
39849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39850 *) ac_try_echo=$ac_try;;
39852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39853 (eval "$ac_try") 2>&5
39855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39856 (exit $ac_status); }; }; then
39857 eval "$as_ac_var=yes"
39859 echo "$as_me: failed program was:" >&5
39860 sed 's/^/| /' conftest.$ac_ext >&5
39862 eval "$as_ac_var=no"
39865 rm -f core conftest.err conftest.$ac_objext \
39866 conftest$ac_exeext conftest.$ac_ext
39868 ac_res=`eval echo '${'$as_ac_var'}'`
39869 { echo "$as_me:$LINENO: result: $ac_res" >&5
39870 echo "${ECHO_T}$ac_res" >&6; }
39871 if test `eval echo '${'$as_ac_var'}'` = yes; then
39872 cat >>confdefs.h <<_ACEOF
39873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39880 { echo "$as_me:$LINENO: checking for statfs" >&5
39881 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39882 if test "${wx_cv_func_statfs+set}" = set; then
39883 echo $ECHO_N "(cached) $ECHO_C" >&6
39885 cat >conftest.$ac_ext <<_ACEOF
39888 cat confdefs.h >>conftest.$ac_ext
39889 cat >>conftest.$ac_ext <<_ACEOF
39890 /* end confdefs.h. */
39892 #if defined(__BSD__)
39893 #include <sys/param.h>
39894 #include <sys/mount.h>
39896 #include <sys/vfs.h>
39914 rm -f conftest.$ac_objext
39915 if { (ac_try="$ac_compile"
39916 case "(($ac_try" in
39917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39918 *) ac_try_echo=$ac_try;;
39920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39921 (eval "$ac_compile") 2>conftest.er1
39923 grep -v '^ *+' conftest.er1 >conftest.err
39925 cat conftest.err >&5
39926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39927 (exit $ac_status); } &&
39928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39929 { (case "(($ac_try" in
39930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39931 *) ac_try_echo=$ac_try;;
39933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39934 (eval "$ac_try") 2>&5
39936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39937 (exit $ac_status); }; } &&
39938 { ac_try='test -s conftest.$ac_objext'
39939 { (case "(($ac_try" in
39940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39941 *) ac_try_echo=$ac_try;;
39943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39944 (eval "$ac_try") 2>&5
39946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39947 (exit $ac_status); }; }; then
39948 wx_cv_func_statfs=yes
39950 echo "$as_me: failed program was:" >&5
39951 sed 's/^/| /' conftest.$ac_ext >&5
39953 wx_cv_func_statfs=no
39957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39960 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39961 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39963 if test "$wx_cv_func_statfs" = "yes"; then
39964 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39965 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39966 if test "${wx_cv_func_statfs_decl+set}" = set; then
39967 echo $ECHO_N "(cached) $ECHO_C" >&6
39970 ac_cpp='$CXXCPP $CPPFLAGS'
39971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39975 cat >conftest.$ac_ext <<_ACEOF
39978 cat confdefs.h >>conftest.$ac_ext
39979 cat >>conftest.$ac_ext <<_ACEOF
39980 /* end confdefs.h. */
39982 #if defined(__BSD__)
39983 #include <sys/param.h>
39984 #include <sys/mount.h>
39986 #include <sys/vfs.h>
40000 rm -f conftest.$ac_objext
40001 if { (ac_try="$ac_compile"
40002 case "(($ac_try" in
40003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40004 *) ac_try_echo=$ac_try;;
40006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40007 (eval "$ac_compile") 2>conftest.er1
40009 grep -v '^ *+' conftest.er1 >conftest.err
40011 cat conftest.err >&5
40012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40013 (exit $ac_status); } &&
40014 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40015 { (case "(($ac_try" in
40016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40017 *) ac_try_echo=$ac_try;;
40019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40020 (eval "$ac_try") 2>&5
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); }; } &&
40024 { ac_try='test -s conftest.$ac_objext'
40025 { (case "(($ac_try" in
40026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40027 *) ac_try_echo=$ac_try;;
40029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40030 (eval "$ac_try") 2>&5
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); }; }; then
40034 wx_cv_func_statfs_decl=yes
40036 echo "$as_me: failed program was:" >&5
40037 sed 's/^/| /' conftest.$ac_ext >&5
40039 wx_cv_func_statfs_decl=no
40043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40045 ac_cpp='$CPP $CPPFLAGS'
40046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40052 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
40053 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
40055 if test "$wx_cv_func_statfs_decl" = "yes"; then
40056 cat >>confdefs.h <<\_ACEOF
40057 #define HAVE_STATFS_DECL 1
40062 wx_cv_type_statvfs_t="struct statfs"
40063 cat >>confdefs.h <<\_ACEOF
40064 #define HAVE_STATFS 1
40068 { echo "$as_me:$LINENO: checking for statvfs" >&5
40069 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
40070 if test "${wx_cv_func_statvfs+set}" = set; then
40071 echo $ECHO_N "(cached) $ECHO_C" >&6
40073 cat >conftest.$ac_ext <<_ACEOF
40076 cat confdefs.h >>conftest.$ac_ext
40077 cat >>conftest.$ac_ext <<_ACEOF
40078 /* end confdefs.h. */
40080 #include <stddef.h>
40081 #include <sys/statvfs.h>
40087 statvfs("/", NULL);
40093 rm -f conftest.$ac_objext
40094 if { (ac_try="$ac_compile"
40095 case "(($ac_try" in
40096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40097 *) ac_try_echo=$ac_try;;
40099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40100 (eval "$ac_compile") 2>conftest.er1
40102 grep -v '^ *+' conftest.er1 >conftest.err
40104 cat conftest.err >&5
40105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40106 (exit $ac_status); } &&
40107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40108 { (case "(($ac_try" in
40109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40110 *) ac_try_echo=$ac_try;;
40112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40113 (eval "$ac_try") 2>&5
40115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40116 (exit $ac_status); }; } &&
40117 { ac_try='test -s conftest.$ac_objext'
40118 { (case "(($ac_try" in
40119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40120 *) ac_try_echo=$ac_try;;
40122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40123 (eval "$ac_try") 2>&5
40125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40126 (exit $ac_status); }; }; then
40127 wx_cv_func_statvfs=yes
40129 echo "$as_me: failed program was:" >&5
40130 sed 's/^/| /' conftest.$ac_ext >&5
40132 wx_cv_func_statvfs=no
40136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40139 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40140 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40142 if test "$wx_cv_func_statvfs" = "yes"; then
40143 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40144 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40145 if test "${wx_cv_type_statvfs_t+set}" = set; then
40146 echo $ECHO_N "(cached) $ECHO_C" >&6
40149 ac_cpp='$CXXCPP $CPPFLAGS'
40150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40154 cat >conftest.$ac_ext <<_ACEOF
40157 cat confdefs.h >>conftest.$ac_ext
40158 cat >>conftest.$ac_ext <<_ACEOF
40159 /* end confdefs.h. */
40161 #include <sys/statvfs.h>
40178 rm -f conftest.$ac_objext
40179 if { (ac_try="$ac_compile"
40180 case "(($ac_try" in
40181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40182 *) ac_try_echo=$ac_try;;
40184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40185 (eval "$ac_compile") 2>conftest.er1
40187 grep -v '^ *+' conftest.er1 >conftest.err
40189 cat conftest.err >&5
40190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40191 (exit $ac_status); } &&
40192 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40193 { (case "(($ac_try" in
40194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40195 *) ac_try_echo=$ac_try;;
40197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40198 (eval "$ac_try") 2>&5
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); }; } &&
40202 { ac_try='test -s conftest.$ac_objext'
40203 { (case "(($ac_try" in
40204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40205 *) ac_try_echo=$ac_try;;
40207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40208 (eval "$ac_try") 2>&5
40210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40211 (exit $ac_status); }; }; then
40212 wx_cv_type_statvfs_t=statvfs_t
40214 echo "$as_me: failed program was:" >&5
40215 sed 's/^/| /' conftest.$ac_ext >&5
40218 cat >conftest.$ac_ext <<_ACEOF
40221 cat confdefs.h >>conftest.$ac_ext
40222 cat >>conftest.$ac_ext <<_ACEOF
40223 /* end confdefs.h. */
40225 #include <sys/statvfs.h>
40242 rm -f conftest.$ac_objext
40243 if { (ac_try="$ac_compile"
40244 case "(($ac_try" in
40245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40246 *) ac_try_echo=$ac_try;;
40248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40249 (eval "$ac_compile") 2>conftest.er1
40251 grep -v '^ *+' conftest.er1 >conftest.err
40253 cat conftest.err >&5
40254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40255 (exit $ac_status); } &&
40256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40257 { (case "(($ac_try" in
40258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40259 *) ac_try_echo=$ac_try;;
40261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40262 (eval "$ac_try") 2>&5
40264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40265 (exit $ac_status); }; } &&
40266 { ac_try='test -s conftest.$ac_objext'
40267 { (case "(($ac_try" in
40268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40269 *) ac_try_echo=$ac_try;;
40271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40272 (eval "$ac_try") 2>&5
40274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275 (exit $ac_status); }; }; then
40276 wx_cv_type_statvfs_t="struct statvfs"
40278 echo "$as_me: failed program was:" >&5
40279 sed 's/^/| /' conftest.$ac_ext >&5
40281 wx_cv_type_statvfs_t="unknown"
40285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40292 ac_cpp='$CPP $CPPFLAGS'
40293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40299 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
40300 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
40302 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40303 cat >>confdefs.h <<\_ACEOF
40304 #define HAVE_STATVFS 1
40309 wx_cv_type_statvfs_t="unknown"
40313 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40314 cat >>confdefs.h <<_ACEOF
40315 #define WX_STATFS_T $wx_cv_type_statvfs_t
40319 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
40320 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
40323 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
40326 for ac_func in fcntl flock
40328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40329 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40331 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40332 echo $ECHO_N "(cached) $ECHO_C" >&6
40334 cat >conftest.$ac_ext <<_ACEOF
40337 cat confdefs.h >>conftest.$ac_ext
40338 cat >>conftest.$ac_ext <<_ACEOF
40339 /* end confdefs.h. */
40340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40342 #define $ac_func innocuous_$ac_func
40344 /* System header to define __stub macros and hopefully few prototypes,
40345 which can conflict with char $ac_func (); below.
40346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40347 <limits.h> exists even on freestanding compilers. */
40350 # include <limits.h>
40352 # include <assert.h>
40357 /* Override any GCC internal prototype to avoid an error.
40358 Use char because int might match the return type of a GCC
40359 builtin and then its argument prototype would still apply. */
40364 /* The GNU C library defines this for functions which it implements
40365 to always fail with ENOSYS. Some functions are actually named
40366 something starting with __ and the normal name is an alias. */
40367 #if defined __stub_$ac_func || defined __stub___$ac_func
40374 return $ac_func ();
40379 rm -f conftest.$ac_objext conftest$ac_exeext
40380 if { (ac_try="$ac_link"
40381 case "(($ac_try" in
40382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40383 *) ac_try_echo=$ac_try;;
40385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40386 (eval "$ac_link") 2>conftest.er1
40388 grep -v '^ *+' conftest.er1 >conftest.err
40390 cat conftest.err >&5
40391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40392 (exit $ac_status); } &&
40393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40394 { (case "(($ac_try" in
40395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40396 *) ac_try_echo=$ac_try;;
40398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40399 (eval "$ac_try") 2>&5
40401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40402 (exit $ac_status); }; } &&
40403 { ac_try='test -s conftest$ac_exeext'
40404 { (case "(($ac_try" in
40405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40406 *) ac_try_echo=$ac_try;;
40408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40409 (eval "$ac_try") 2>&5
40411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40412 (exit $ac_status); }; }; then
40413 eval "$as_ac_var=yes"
40415 echo "$as_me: failed program was:" >&5
40416 sed 's/^/| /' conftest.$ac_ext >&5
40418 eval "$as_ac_var=no"
40421 rm -f core conftest.err conftest.$ac_objext \
40422 conftest$ac_exeext conftest.$ac_ext
40424 ac_res=`eval echo '${'$as_ac_var'}'`
40425 { echo "$as_me:$LINENO: result: $ac_res" >&5
40426 echo "${ECHO_T}$ac_res" >&6; }
40427 if test `eval echo '${'$as_ac_var'}'` = yes; then
40428 cat >>confdefs.h <<_ACEOF
40429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40436 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40437 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40438 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40439 wxUSE_SNGLINST_CHECKER=no
40444 for ac_func in timegm
40446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40447 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40449 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40450 echo $ECHO_N "(cached) $ECHO_C" >&6
40452 cat >conftest.$ac_ext <<_ACEOF
40455 cat confdefs.h >>conftest.$ac_ext
40456 cat >>conftest.$ac_ext <<_ACEOF
40457 /* end confdefs.h. */
40458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40460 #define $ac_func innocuous_$ac_func
40462 /* System header to define __stub macros and hopefully few prototypes,
40463 which can conflict with char $ac_func (); below.
40464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40465 <limits.h> exists even on freestanding compilers. */
40468 # include <limits.h>
40470 # include <assert.h>
40475 /* Override any GCC internal prototype to avoid an error.
40476 Use char because int might match the return type of a GCC
40477 builtin and then its argument prototype would still apply. */
40482 /* The GNU C library defines this for functions which it implements
40483 to always fail with ENOSYS. Some functions are actually named
40484 something starting with __ and the normal name is an alias. */
40485 #if defined __stub_$ac_func || defined __stub___$ac_func
40492 return $ac_func ();
40497 rm -f conftest.$ac_objext conftest$ac_exeext
40498 if { (ac_try="$ac_link"
40499 case "(($ac_try" in
40500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40501 *) ac_try_echo=$ac_try;;
40503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40504 (eval "$ac_link") 2>conftest.er1
40506 grep -v '^ *+' conftest.er1 >conftest.err
40508 cat conftest.err >&5
40509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40510 (exit $ac_status); } &&
40511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40512 { (case "(($ac_try" in
40513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40514 *) ac_try_echo=$ac_try;;
40516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40517 (eval "$ac_try") 2>&5
40519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40520 (exit $ac_status); }; } &&
40521 { ac_try='test -s conftest$ac_exeext'
40522 { (case "(($ac_try" in
40523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40524 *) ac_try_echo=$ac_try;;
40526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40527 (eval "$ac_try") 2>&5
40529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40530 (exit $ac_status); }; }; then
40531 eval "$as_ac_var=yes"
40533 echo "$as_me: failed program was:" >&5
40534 sed 's/^/| /' conftest.$ac_ext >&5
40536 eval "$as_ac_var=no"
40539 rm -f core conftest.err conftest.$ac_objext \
40540 conftest$ac_exeext conftest.$ac_ext
40542 ac_res=`eval echo '${'$as_ac_var'}'`
40543 { echo "$as_me:$LINENO: result: $ac_res" >&5
40544 echo "${ECHO_T}$ac_res" >&6; }
40545 if test `eval echo '${'$as_ac_var'}'` = yes; then
40546 cat >>confdefs.h <<_ACEOF
40547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40556 for ac_func in putenv setenv
40558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40559 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40561 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40562 echo $ECHO_N "(cached) $ECHO_C" >&6
40564 cat >conftest.$ac_ext <<_ACEOF
40567 cat confdefs.h >>conftest.$ac_ext
40568 cat >>conftest.$ac_ext <<_ACEOF
40569 /* end confdefs.h. */
40570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40572 #define $ac_func innocuous_$ac_func
40574 /* System header to define __stub macros and hopefully few prototypes,
40575 which can conflict with char $ac_func (); below.
40576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40577 <limits.h> exists even on freestanding compilers. */
40580 # include <limits.h>
40582 # include <assert.h>
40587 /* Override any GCC internal prototype to avoid an error.
40588 Use char because int might match the return type of a GCC
40589 builtin and then its argument prototype would still apply. */
40594 /* The GNU C library defines this for functions which it implements
40595 to always fail with ENOSYS. Some functions are actually named
40596 something starting with __ and the normal name is an alias. */
40597 #if defined __stub_$ac_func || defined __stub___$ac_func
40604 return $ac_func ();
40609 rm -f conftest.$ac_objext conftest$ac_exeext
40610 if { (ac_try="$ac_link"
40611 case "(($ac_try" in
40612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40613 *) ac_try_echo=$ac_try;;
40615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40616 (eval "$ac_link") 2>conftest.er1
40618 grep -v '^ *+' conftest.er1 >conftest.err
40620 cat conftest.err >&5
40621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40622 (exit $ac_status); } &&
40623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40624 { (case "(($ac_try" in
40625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40626 *) ac_try_echo=$ac_try;;
40628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40629 (eval "$ac_try") 2>&5
40631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632 (exit $ac_status); }; } &&
40633 { ac_try='test -s conftest$ac_exeext'
40634 { (case "(($ac_try" in
40635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40636 *) ac_try_echo=$ac_try;;
40638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40639 (eval "$ac_try") 2>&5
40641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40642 (exit $ac_status); }; }; then
40643 eval "$as_ac_var=yes"
40645 echo "$as_me: failed program was:" >&5
40646 sed 's/^/| /' conftest.$ac_ext >&5
40648 eval "$as_ac_var=no"
40651 rm -f core conftest.err conftest.$ac_objext \
40652 conftest$ac_exeext conftest.$ac_ext
40654 ac_res=`eval echo '${'$as_ac_var'}'`
40655 { echo "$as_me:$LINENO: result: $ac_res" >&5
40656 echo "${ECHO_T}$ac_res" >&6; }
40657 if test `eval echo '${'$as_ac_var'}'` = yes; then
40658 cat >>confdefs.h <<_ACEOF
40659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40666 HAVE_SOME_SLEEP_FUNC=0
40667 if test "$USE_BEOS" = 1; then
40668 cat >>confdefs.h <<\_ACEOF
40669 #define HAVE_SLEEP 1
40672 HAVE_SOME_SLEEP_FUNC=1
40675 if test "$USE_DARWIN" = 1; then
40676 cat >>confdefs.h <<\_ACEOF
40677 #define HAVE_USLEEP 1
40680 HAVE_SOME_SLEEP_FUNC=1
40683 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40686 for ac_func in nanosleep
40688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40689 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40691 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40692 echo $ECHO_N "(cached) $ECHO_C" >&6
40694 cat >conftest.$ac_ext <<_ACEOF
40697 cat confdefs.h >>conftest.$ac_ext
40698 cat >>conftest.$ac_ext <<_ACEOF
40699 /* end confdefs.h. */
40700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40702 #define $ac_func innocuous_$ac_func
40704 /* System header to define __stub macros and hopefully few prototypes,
40705 which can conflict with char $ac_func (); below.
40706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40707 <limits.h> exists even on freestanding compilers. */
40710 # include <limits.h>
40712 # include <assert.h>
40717 /* Override any GCC internal prototype to avoid an error.
40718 Use char because int might match the return type of a GCC
40719 builtin and then its argument prototype would still apply. */
40724 /* The GNU C library defines this for functions which it implements
40725 to always fail with ENOSYS. Some functions are actually named
40726 something starting with __ and the normal name is an alias. */
40727 #if defined __stub_$ac_func || defined __stub___$ac_func
40734 return $ac_func ();
40739 rm -f conftest.$ac_objext conftest$ac_exeext
40740 if { (ac_try="$ac_link"
40741 case "(($ac_try" in
40742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40743 *) ac_try_echo=$ac_try;;
40745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40746 (eval "$ac_link") 2>conftest.er1
40748 grep -v '^ *+' conftest.er1 >conftest.err
40750 cat conftest.err >&5
40751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40752 (exit $ac_status); } &&
40753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40754 { (case "(($ac_try" in
40755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40756 *) ac_try_echo=$ac_try;;
40758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40759 (eval "$ac_try") 2>&5
40761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40762 (exit $ac_status); }; } &&
40763 { ac_try='test -s conftest$ac_exeext'
40764 { (case "(($ac_try" in
40765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40766 *) ac_try_echo=$ac_try;;
40768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40769 (eval "$ac_try") 2>&5
40771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40772 (exit $ac_status); }; }; then
40773 eval "$as_ac_var=yes"
40775 echo "$as_me: failed program was:" >&5
40776 sed 's/^/| /' conftest.$ac_ext >&5
40778 eval "$as_ac_var=no"
40781 rm -f core conftest.err conftest.$ac_objext \
40782 conftest$ac_exeext conftest.$ac_ext
40784 ac_res=`eval echo '${'$as_ac_var'}'`
40785 { echo "$as_me:$LINENO: result: $ac_res" >&5
40786 echo "${ECHO_T}$ac_res" >&6; }
40787 if test `eval echo '${'$as_ac_var'}'` = yes; then
40788 cat >>confdefs.h <<_ACEOF
40789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40791 cat >>confdefs.h <<\_ACEOF
40792 #define HAVE_NANOSLEEP 1
40797 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40798 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40799 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40800 echo $ECHO_N "(cached) $ECHO_C" >&6
40802 ac_check_lib_save_LIBS=$LIBS
40803 LIBS="-lposix4 $LIBS"
40804 cat >conftest.$ac_ext <<_ACEOF
40807 cat confdefs.h >>conftest.$ac_ext
40808 cat >>conftest.$ac_ext <<_ACEOF
40809 /* end confdefs.h. */
40811 /* Override any GCC internal prototype to avoid an error.
40812 Use char because int might match the return type of a GCC
40813 builtin and then its argument prototype would still apply. */
40821 return nanosleep ();
40826 rm -f conftest.$ac_objext conftest$ac_exeext
40827 if { (ac_try="$ac_link"
40828 case "(($ac_try" in
40829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40830 *) ac_try_echo=$ac_try;;
40832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40833 (eval "$ac_link") 2>conftest.er1
40835 grep -v '^ *+' conftest.er1 >conftest.err
40837 cat conftest.err >&5
40838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40839 (exit $ac_status); } &&
40840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40841 { (case "(($ac_try" in
40842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40843 *) ac_try_echo=$ac_try;;
40845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40846 (eval "$ac_try") 2>&5
40848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40849 (exit $ac_status); }; } &&
40850 { ac_try='test -s conftest$ac_exeext'
40851 { (case "(($ac_try" in
40852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40853 *) ac_try_echo=$ac_try;;
40855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40856 (eval "$ac_try") 2>&5
40858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40859 (exit $ac_status); }; }; then
40860 ac_cv_lib_posix4_nanosleep=yes
40862 echo "$as_me: failed program was:" >&5
40863 sed 's/^/| /' conftest.$ac_ext >&5
40865 ac_cv_lib_posix4_nanosleep=no
40868 rm -f core conftest.err conftest.$ac_objext \
40869 conftest$ac_exeext conftest.$ac_ext
40870 LIBS=$ac_check_lib_save_LIBS
40872 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40873 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40874 if test $ac_cv_lib_posix4_nanosleep = yes; then
40876 cat >>confdefs.h <<\_ACEOF
40877 #define HAVE_NANOSLEEP 1
40880 POSIX4_LINK=" -lposix4"
40885 for wx_func in usleep
40887 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40888 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40889 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40890 echo $ECHO_N "(cached) $ECHO_C" >&6
40893 cat >conftest.$ac_ext <<_ACEOF
40897 cat confdefs.h >>conftest.$ac_ext
40898 cat >>conftest.$ac_ext <<_ACEOF
40899 /* end confdefs.h. */
40902 $ac_includes_default
40918 rm -f conftest.$ac_objext conftest$ac_exeext
40919 if { (ac_try="$ac_link"
40920 case "(($ac_try" in
40921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40922 *) ac_try_echo=$ac_try;;
40924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40925 (eval "$ac_link") 2>conftest.er1
40927 grep -v '^ *+' conftest.er1 >conftest.err
40929 cat conftest.err >&5
40930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40931 (exit $ac_status); } &&
40932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40933 { (case "(($ac_try" in
40934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40935 *) ac_try_echo=$ac_try;;
40937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40938 (eval "$ac_try") 2>&5
40940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40941 (exit $ac_status); }; } &&
40942 { ac_try='test -s conftest$ac_exeext'
40943 { (case "(($ac_try" in
40944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40945 *) ac_try_echo=$ac_try;;
40947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40948 (eval "$ac_try") 2>&5
40950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40951 (exit $ac_status); }; }; then
40952 eval wx_cv_func_$wx_func=yes
40954 echo "$as_me: failed program was:" >&5
40955 sed 's/^/| /' conftest.$ac_ext >&5
40957 eval wx_cv_func_$wx_func=no
40960 rm -f core conftest.err conftest.$ac_objext \
40961 conftest$ac_exeext conftest.$ac_ext
40964 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40965 { echo "$as_me:$LINENO: result: $ac_res" >&5
40966 echo "${ECHO_T}$ac_res" >&6; }
40968 if eval test \$wx_cv_func_$wx_func = yes
40970 cat >>confdefs.h <<_ACEOF
40971 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40977 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40978 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40995 for wx_func in uname
40997 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40998 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40999 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41000 echo $ECHO_N "(cached) $ECHO_C" >&6
41003 cat >conftest.$ac_ext <<_ACEOF
41007 cat confdefs.h >>conftest.$ac_ext
41008 cat >>conftest.$ac_ext <<_ACEOF
41009 /* end confdefs.h. */
41011 #include <sys/utsname.h>
41012 $ac_includes_default
41028 rm -f conftest.$ac_objext conftest$ac_exeext
41029 if { (ac_try="$ac_link"
41030 case "(($ac_try" in
41031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41032 *) ac_try_echo=$ac_try;;
41034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41035 (eval "$ac_link") 2>conftest.er1
41037 grep -v '^ *+' conftest.er1 >conftest.err
41039 cat conftest.err >&5
41040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041 (exit $ac_status); } &&
41042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
41052 { ac_try='test -s conftest$ac_exeext'
41053 { (case "(($ac_try" in
41054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41055 *) ac_try_echo=$ac_try;;
41057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41058 (eval "$ac_try") 2>&5
41060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41061 (exit $ac_status); }; }; then
41062 eval wx_cv_func_$wx_func=yes
41064 echo "$as_me: failed program was:" >&5
41065 sed 's/^/| /' conftest.$ac_ext >&5
41067 eval wx_cv_func_$wx_func=no
41070 rm -f core conftest.err conftest.$ac_objext \
41071 conftest$ac_exeext conftest.$ac_ext
41074 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41075 { echo "$as_me:$LINENO: result: $ac_res" >&5
41076 echo "${ECHO_T}$ac_res" >&6; }
41078 if eval test \$wx_cv_func_$wx_func = yes
41080 cat >>confdefs.h <<_ACEOF
41081 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41091 if test "$wx_cv_func_uname" != yes; then
41093 for wx_func in gethostname
41095 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41096 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41097 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41098 echo $ECHO_N "(cached) $ECHO_C" >&6
41101 cat >conftest.$ac_ext <<_ACEOF
41105 cat confdefs.h >>conftest.$ac_ext
41106 cat >>conftest.$ac_ext <<_ACEOF
41107 /* end confdefs.h. */
41110 $ac_includes_default
41126 rm -f conftest.$ac_objext conftest$ac_exeext
41127 if { (ac_try="$ac_link"
41128 case "(($ac_try" in
41129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41130 *) ac_try_echo=$ac_try;;
41132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41133 (eval "$ac_link") 2>conftest.er1
41135 grep -v '^ *+' conftest.er1 >conftest.err
41137 cat conftest.err >&5
41138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41139 (exit $ac_status); } &&
41140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41141 { (case "(($ac_try" in
41142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41143 *) ac_try_echo=$ac_try;;
41145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41146 (eval "$ac_try") 2>&5
41148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41149 (exit $ac_status); }; } &&
41150 { ac_try='test -s conftest$ac_exeext'
41151 { (case "(($ac_try" in
41152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41153 *) ac_try_echo=$ac_try;;
41155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41156 (eval "$ac_try") 2>&5
41158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41159 (exit $ac_status); }; }; then
41160 eval wx_cv_func_$wx_func=yes
41162 echo "$as_me: failed program was:" >&5
41163 sed 's/^/| /' conftest.$ac_ext >&5
41165 eval wx_cv_func_$wx_func=no
41168 rm -f core conftest.err conftest.$ac_objext \
41169 conftest$ac_exeext conftest.$ac_ext
41172 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41173 { echo "$as_me:$LINENO: result: $ac_res" >&5
41174 echo "${ECHO_T}$ac_res" >&6; }
41176 if eval test \$wx_cv_func_$wx_func = yes
41178 cat >>confdefs.h <<_ACEOF
41179 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41192 for wx_func in strtok_r
41194 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41195 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41196 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41197 echo $ECHO_N "(cached) $ECHO_C" >&6
41200 cat >conftest.$ac_ext <<_ACEOF
41204 cat confdefs.h >>conftest.$ac_ext
41205 cat >>conftest.$ac_ext <<_ACEOF
41206 /* end confdefs.h. */
41209 $ac_includes_default
41225 rm -f conftest.$ac_objext conftest$ac_exeext
41226 if { (ac_try="$ac_link"
41227 case "(($ac_try" in
41228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41229 *) ac_try_echo=$ac_try;;
41231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41232 (eval "$ac_link") 2>conftest.er1
41234 grep -v '^ *+' conftest.er1 >conftest.err
41236 cat conftest.err >&5
41237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41238 (exit $ac_status); } &&
41239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41240 { (case "(($ac_try" in
41241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41242 *) ac_try_echo=$ac_try;;
41244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41245 (eval "$ac_try") 2>&5
41247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41248 (exit $ac_status); }; } &&
41249 { ac_try='test -s conftest$ac_exeext'
41250 { (case "(($ac_try" in
41251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41252 *) ac_try_echo=$ac_try;;
41254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41255 (eval "$ac_try") 2>&5
41257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41258 (exit $ac_status); }; }; then
41259 eval wx_cv_func_$wx_func=yes
41261 echo "$as_me: failed program was:" >&5
41262 sed 's/^/| /' conftest.$ac_ext >&5
41264 eval wx_cv_func_$wx_func=no
41267 rm -f core conftest.err conftest.$ac_objext \
41268 conftest$ac_exeext conftest.$ac_ext
41271 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41272 { echo "$as_me:$LINENO: result: $ac_res" >&5
41273 echo "${ECHO_T}$ac_res" >&6; }
41275 if eval test \$wx_cv_func_$wx_func = yes
41277 cat >>confdefs.h <<_ACEOF
41278 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41291 for ac_func in inet_addr
41293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41296 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41297 echo $ECHO_N "(cached) $ECHO_C" >&6
41299 cat >conftest.$ac_ext <<_ACEOF
41302 cat confdefs.h >>conftest.$ac_ext
41303 cat >>conftest.$ac_ext <<_ACEOF
41304 /* end confdefs.h. */
41305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41307 #define $ac_func innocuous_$ac_func
41309 /* System header to define __stub macros and hopefully few prototypes,
41310 which can conflict with char $ac_func (); below.
41311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41312 <limits.h> exists even on freestanding compilers. */
41315 # include <limits.h>
41317 # include <assert.h>
41322 /* Override any GCC internal prototype to avoid an error.
41323 Use char because int might match the return type of a GCC
41324 builtin and then its argument prototype would still apply. */
41329 /* The GNU C library defines this for functions which it implements
41330 to always fail with ENOSYS. Some functions are actually named
41331 something starting with __ and the normal name is an alias. */
41332 #if defined __stub_$ac_func || defined __stub___$ac_func
41339 return $ac_func ();
41344 rm -f conftest.$ac_objext conftest$ac_exeext
41345 if { (ac_try="$ac_link"
41346 case "(($ac_try" in
41347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41348 *) ac_try_echo=$ac_try;;
41350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41351 (eval "$ac_link") 2>conftest.er1
41353 grep -v '^ *+' conftest.er1 >conftest.err
41355 cat conftest.err >&5
41356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41357 (exit $ac_status); } &&
41358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41359 { (case "(($ac_try" in
41360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41361 *) ac_try_echo=$ac_try;;
41363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41364 (eval "$ac_try") 2>&5
41366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41367 (exit $ac_status); }; } &&
41368 { ac_try='test -s conftest$ac_exeext'
41369 { (case "(($ac_try" in
41370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41371 *) ac_try_echo=$ac_try;;
41373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41374 (eval "$ac_try") 2>&5
41376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41377 (exit $ac_status); }; }; then
41378 eval "$as_ac_var=yes"
41380 echo "$as_me: failed program was:" >&5
41381 sed 's/^/| /' conftest.$ac_ext >&5
41383 eval "$as_ac_var=no"
41386 rm -f core conftest.err conftest.$ac_objext \
41387 conftest$ac_exeext conftest.$ac_ext
41389 ac_res=`eval echo '${'$as_ac_var'}'`
41390 { echo "$as_me:$LINENO: result: $ac_res" >&5
41391 echo "${ECHO_T}$ac_res" >&6; }
41392 if test `eval echo '${'$as_ac_var'}'` = yes; then
41393 cat >>confdefs.h <<_ACEOF
41394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41396 cat >>confdefs.h <<\_ACEOF
41397 #define HAVE_INET_ADDR 1
41402 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
41403 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
41404 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
41405 echo $ECHO_N "(cached) $ECHO_C" >&6
41407 ac_check_lib_save_LIBS=$LIBS
41409 cat >conftest.$ac_ext <<_ACEOF
41412 cat confdefs.h >>conftest.$ac_ext
41413 cat >>conftest.$ac_ext <<_ACEOF
41414 /* end confdefs.h. */
41416 /* Override any GCC internal prototype to avoid an error.
41417 Use char because int might match the return type of a GCC
41418 builtin and then its argument prototype would still apply. */
41426 return inet_addr ();
41431 rm -f conftest.$ac_objext conftest$ac_exeext
41432 if { (ac_try="$ac_link"
41433 case "(($ac_try" in
41434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41435 *) ac_try_echo=$ac_try;;
41437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41438 (eval "$ac_link") 2>conftest.er1
41440 grep -v '^ *+' conftest.er1 >conftest.err
41442 cat conftest.err >&5
41443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41444 (exit $ac_status); } &&
41445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41446 { (case "(($ac_try" in
41447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41448 *) ac_try_echo=$ac_try;;
41450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41451 (eval "$ac_try") 2>&5
41453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41454 (exit $ac_status); }; } &&
41455 { ac_try='test -s conftest$ac_exeext'
41456 { (case "(($ac_try" in
41457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41458 *) ac_try_echo=$ac_try;;
41460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41461 (eval "$ac_try") 2>&5
41463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41464 (exit $ac_status); }; }; then
41465 ac_cv_lib_nsl_inet_addr=yes
41467 echo "$as_me: failed program was:" >&5
41468 sed 's/^/| /' conftest.$ac_ext >&5
41470 ac_cv_lib_nsl_inet_addr=no
41473 rm -f core conftest.err conftest.$ac_objext \
41474 conftest$ac_exeext conftest.$ac_ext
41475 LIBS=$ac_check_lib_save_LIBS
41477 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41478 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41479 if test $ac_cv_lib_nsl_inet_addr = yes; then
41483 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41484 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41485 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41486 echo $ECHO_N "(cached) $ECHO_C" >&6
41488 ac_check_lib_save_LIBS=$LIBS
41489 LIBS="-lresolv $LIBS"
41490 cat >conftest.$ac_ext <<_ACEOF
41493 cat confdefs.h >>conftest.$ac_ext
41494 cat >>conftest.$ac_ext <<_ACEOF
41495 /* end confdefs.h. */
41497 /* Override any GCC internal prototype to avoid an error.
41498 Use char because int might match the return type of a GCC
41499 builtin and then its argument prototype would still apply. */
41507 return inet_addr ();
41512 rm -f conftest.$ac_objext conftest$ac_exeext
41513 if { (ac_try="$ac_link"
41514 case "(($ac_try" in
41515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41516 *) ac_try_echo=$ac_try;;
41518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41519 (eval "$ac_link") 2>conftest.er1
41521 grep -v '^ *+' conftest.er1 >conftest.err
41523 cat conftest.err >&5
41524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41525 (exit $ac_status); } &&
41526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41527 { (case "(($ac_try" in
41528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41529 *) ac_try_echo=$ac_try;;
41531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41532 (eval "$ac_try") 2>&5
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); }; } &&
41536 { ac_try='test -s conftest$ac_exeext'
41537 { (case "(($ac_try" in
41538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41539 *) ac_try_echo=$ac_try;;
41541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41542 (eval "$ac_try") 2>&5
41544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41545 (exit $ac_status); }; }; then
41546 ac_cv_lib_resolv_inet_addr=yes
41548 echo "$as_me: failed program was:" >&5
41549 sed 's/^/| /' conftest.$ac_ext >&5
41551 ac_cv_lib_resolv_inet_addr=no
41554 rm -f core conftest.err conftest.$ac_objext \
41555 conftest$ac_exeext conftest.$ac_ext
41556 LIBS=$ac_check_lib_save_LIBS
41558 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41559 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41560 if test $ac_cv_lib_resolv_inet_addr = yes; then
41564 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41565 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41566 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41567 echo $ECHO_N "(cached) $ECHO_C" >&6
41569 ac_check_lib_save_LIBS=$LIBS
41570 LIBS="-lsocket $LIBS"
41571 cat >conftest.$ac_ext <<_ACEOF
41574 cat confdefs.h >>conftest.$ac_ext
41575 cat >>conftest.$ac_ext <<_ACEOF
41576 /* end confdefs.h. */
41578 /* Override any GCC internal prototype to avoid an error.
41579 Use char because int might match the return type of a GCC
41580 builtin and then its argument prototype would still apply. */
41588 return inet_addr ();
41593 rm -f conftest.$ac_objext conftest$ac_exeext
41594 if { (ac_try="$ac_link"
41595 case "(($ac_try" in
41596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41597 *) ac_try_echo=$ac_try;;
41599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41600 (eval "$ac_link") 2>conftest.er1
41602 grep -v '^ *+' conftest.er1 >conftest.err
41604 cat conftest.err >&5
41605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41606 (exit $ac_status); } &&
41607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41608 { (case "(($ac_try" in
41609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41610 *) ac_try_echo=$ac_try;;
41612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41613 (eval "$ac_try") 2>&5
41615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41616 (exit $ac_status); }; } &&
41617 { ac_try='test -s conftest$ac_exeext'
41618 { (case "(($ac_try" in
41619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41620 *) ac_try_echo=$ac_try;;
41622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41623 (eval "$ac_try") 2>&5
41625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41626 (exit $ac_status); }; }; then
41627 ac_cv_lib_socket_inet_addr=yes
41629 echo "$as_me: failed program was:" >&5
41630 sed 's/^/| /' conftest.$ac_ext >&5
41632 ac_cv_lib_socket_inet_addr=no
41635 rm -f core conftest.err conftest.$ac_objext \
41636 conftest$ac_exeext conftest.$ac_ext
41637 LIBS=$ac_check_lib_save_LIBS
41639 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41640 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41641 if test $ac_cv_lib_socket_inet_addr = yes; then
41661 for ac_func in inet_aton
41663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41664 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41666 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41667 echo $ECHO_N "(cached) $ECHO_C" >&6
41669 cat >conftest.$ac_ext <<_ACEOF
41672 cat confdefs.h >>conftest.$ac_ext
41673 cat >>conftest.$ac_ext <<_ACEOF
41674 /* end confdefs.h. */
41675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41677 #define $ac_func innocuous_$ac_func
41679 /* System header to define __stub macros and hopefully few prototypes,
41680 which can conflict with char $ac_func (); below.
41681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41682 <limits.h> exists even on freestanding compilers. */
41685 # include <limits.h>
41687 # include <assert.h>
41692 /* Override any GCC internal prototype to avoid an error.
41693 Use char because int might match the return type of a GCC
41694 builtin and then its argument prototype would still apply. */
41699 /* The GNU C library defines this for functions which it implements
41700 to always fail with ENOSYS. Some functions are actually named
41701 something starting with __ and the normal name is an alias. */
41702 #if defined __stub_$ac_func || defined __stub___$ac_func
41709 return $ac_func ();
41714 rm -f conftest.$ac_objext conftest$ac_exeext
41715 if { (ac_try="$ac_link"
41716 case "(($ac_try" in
41717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41718 *) ac_try_echo=$ac_try;;
41720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41721 (eval "$ac_link") 2>conftest.er1
41723 grep -v '^ *+' conftest.er1 >conftest.err
41725 cat conftest.err >&5
41726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41727 (exit $ac_status); } &&
41728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41729 { (case "(($ac_try" in
41730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41731 *) ac_try_echo=$ac_try;;
41733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41734 (eval "$ac_try") 2>&5
41736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41737 (exit $ac_status); }; } &&
41738 { ac_try='test -s conftest$ac_exeext'
41739 { (case "(($ac_try" in
41740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41741 *) ac_try_echo=$ac_try;;
41743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41744 (eval "$ac_try") 2>&5
41746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41747 (exit $ac_status); }; }; then
41748 eval "$as_ac_var=yes"
41750 echo "$as_me: failed program was:" >&5
41751 sed 's/^/| /' conftest.$ac_ext >&5
41753 eval "$as_ac_var=no"
41756 rm -f core conftest.err conftest.$ac_objext \
41757 conftest$ac_exeext conftest.$ac_ext
41759 ac_res=`eval echo '${'$as_ac_var'}'`
41760 { echo "$as_me:$LINENO: result: $ac_res" >&5
41761 echo "${ECHO_T}$ac_res" >&6; }
41762 if test `eval echo '${'$as_ac_var'}'` = yes; then
41763 cat >>confdefs.h <<_ACEOF
41764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41766 cat >>confdefs.h <<\_ACEOF
41767 #define HAVE_INET_ATON 1
41772 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41773 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41774 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41775 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41776 echo $ECHO_N "(cached) $ECHO_C" >&6
41778 ac_check_lib_save_LIBS=$LIBS
41779 LIBS="-l$INET_LINK $LIBS"
41780 cat >conftest.$ac_ext <<_ACEOF
41783 cat confdefs.h >>conftest.$ac_ext
41784 cat >>conftest.$ac_ext <<_ACEOF
41785 /* end confdefs.h. */
41787 /* Override any GCC internal prototype to avoid an error.
41788 Use char because int might match the return type of a GCC
41789 builtin and then its argument prototype would still apply. */
41797 return inet_aton ();
41802 rm -f conftest.$ac_objext conftest$ac_exeext
41803 if { (ac_try="$ac_link"
41804 case "(($ac_try" in
41805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41806 *) ac_try_echo=$ac_try;;
41808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41809 (eval "$ac_link") 2>conftest.er1
41811 grep -v '^ *+' conftest.er1 >conftest.err
41813 cat conftest.err >&5
41814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41815 (exit $ac_status); } &&
41816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41817 { (case "(($ac_try" in
41818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41819 *) ac_try_echo=$ac_try;;
41821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41822 (eval "$ac_try") 2>&5
41824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41825 (exit $ac_status); }; } &&
41826 { ac_try='test -s conftest$ac_exeext'
41827 { (case "(($ac_try" in
41828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41829 *) ac_try_echo=$ac_try;;
41831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41832 (eval "$ac_try") 2>&5
41834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41835 (exit $ac_status); }; }; then
41836 eval "$as_ac_Lib=yes"
41838 echo "$as_me: failed program was:" >&5
41839 sed 's/^/| /' conftest.$ac_ext >&5
41841 eval "$as_ac_Lib=no"
41844 rm -f core conftest.err conftest.$ac_objext \
41845 conftest$ac_exeext conftest.$ac_ext
41846 LIBS=$ac_check_lib_save_LIBS
41848 ac_res=`eval echo '${'$as_ac_Lib'}'`
41849 { echo "$as_me:$LINENO: result: $ac_res" >&5
41850 echo "${ECHO_T}$ac_res" >&6; }
41851 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41852 cat >>confdefs.h <<\_ACEOF
41853 #define HAVE_INET_ATON 1
41863 if test "x$INET_LINK" != "x"; then
41864 cat >>confdefs.h <<\_ACEOF
41865 #define HAVE_INET_ADDR 1
41868 INET_LINK=" -l$INET_LINK"
41872 for wx_func in fdopen
41874 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41875 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41876 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41877 echo $ECHO_N "(cached) $ECHO_C" >&6
41880 cat >conftest.$ac_ext <<_ACEOF
41884 cat confdefs.h >>conftest.$ac_ext
41885 cat >>conftest.$ac_ext <<_ACEOF
41886 /* end confdefs.h. */
41889 $ac_includes_default
41905 rm -f conftest.$ac_objext conftest$ac_exeext
41906 if { (ac_try="$ac_link"
41907 case "(($ac_try" in
41908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41909 *) ac_try_echo=$ac_try;;
41911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41912 (eval "$ac_link") 2>conftest.er1
41914 grep -v '^ *+' conftest.er1 >conftest.err
41916 cat conftest.err >&5
41917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41918 (exit $ac_status); } &&
41919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41920 { (case "(($ac_try" in
41921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41922 *) ac_try_echo=$ac_try;;
41924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41925 (eval "$ac_try") 2>&5
41927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41928 (exit $ac_status); }; } &&
41929 { ac_try='test -s conftest$ac_exeext'
41930 { (case "(($ac_try" in
41931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41932 *) ac_try_echo=$ac_try;;
41934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41935 (eval "$ac_try") 2>&5
41937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41938 (exit $ac_status); }; }; then
41939 eval wx_cv_func_$wx_func=yes
41941 echo "$as_me: failed program was:" >&5
41942 sed 's/^/| /' conftest.$ac_ext >&5
41944 eval wx_cv_func_$wx_func=no
41947 rm -f core conftest.err conftest.$ac_objext \
41948 conftest$ac_exeext conftest.$ac_ext
41951 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41952 { echo "$as_me:$LINENO: result: $ac_res" >&5
41953 echo "${ECHO_T}$ac_res" >&6; }
41955 if eval test \$wx_cv_func_$wx_func = yes
41957 cat >>confdefs.h <<_ACEOF
41958 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41975 { echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
41976 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6; }
41977 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
41978 echo $ECHO_N "(cached) $ECHO_C" >&6
41980 ac_check_lib_save_LIBS=$LIBS
41982 cat >conftest.$ac_ext <<_ACEOF
41985 cat confdefs.h >>conftest.$ac_ext
41986 cat >>conftest.$ac_ext <<_ACEOF
41987 /* end confdefs.h. */
41989 /* Override any GCC internal prototype to avoid an error.
41990 Use char because int might match the return type of a GCC
41991 builtin and then its argument prototype would still apply. */
41999 return esd_close ();
42004 rm -f conftest.$ac_objext conftest$ac_exeext
42005 if { (ac_try="$ac_link"
42006 case "(($ac_try" in
42007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42008 *) ac_try_echo=$ac_try;;
42010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42011 (eval "$ac_link") 2>conftest.er1
42013 grep -v '^ *+' conftest.er1 >conftest.err
42015 cat conftest.err >&5
42016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42017 (exit $ac_status); } &&
42018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42019 { (case "(($ac_try" in
42020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42021 *) ac_try_echo=$ac_try;;
42023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42024 (eval "$ac_try") 2>&5
42026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42027 (exit $ac_status); }; } &&
42028 { ac_try='test -s conftest$ac_exeext'
42029 { (case "(($ac_try" in
42030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42031 *) ac_try_echo=$ac_try;;
42033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42034 (eval "$ac_try") 2>&5
42036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42037 (exit $ac_status); }; }; then
42038 ac_cv_lib_esd_esd_close=yes
42040 echo "$as_me: failed program was:" >&5
42041 sed 's/^/| /' conftest.$ac_ext >&5
42043 ac_cv_lib_esd_esd_close=no
42046 rm -f core conftest.err conftest.$ac_objext \
42047 conftest$ac_exeext conftest.$ac_ext
42048 LIBS=$ac_check_lib_save_LIBS
42050 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
42051 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6; }
42052 if test $ac_cv_lib_esd_esd_close = yes; then
42054 { echo "$as_me:$LINENO: checking for esd.h" >&5
42055 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6; }
42056 if test "${ac_cv_header_esd_h+set}" = set; then
42057 echo $ECHO_N "(cached) $ECHO_C" >&6
42059 cat >conftest.$ac_ext <<_ACEOF
42062 cat confdefs.h >>conftest.$ac_ext
42063 cat >>conftest.$ac_ext <<_ACEOF
42064 /* end confdefs.h. */
42069 rm -f conftest.$ac_objext
42070 if { (ac_try="$ac_compile"
42071 case "(($ac_try" in
42072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42073 *) ac_try_echo=$ac_try;;
42075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42076 (eval "$ac_compile") 2>conftest.er1
42078 grep -v '^ *+' conftest.er1 >conftest.err
42080 cat conftest.err >&5
42081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42082 (exit $ac_status); } &&
42083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42084 { (case "(($ac_try" in
42085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42086 *) ac_try_echo=$ac_try;;
42088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42089 (eval "$ac_try") 2>&5
42091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42092 (exit $ac_status); }; } &&
42093 { ac_try='test -s conftest.$ac_objext'
42094 { (case "(($ac_try" in
42095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42096 *) ac_try_echo=$ac_try;;
42098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42099 (eval "$ac_try") 2>&5
42101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42102 (exit $ac_status); }; }; then
42103 ac_cv_header_esd_h=yes
42105 echo "$as_me: failed program was:" >&5
42106 sed 's/^/| /' conftest.$ac_ext >&5
42108 ac_cv_header_esd_h=no
42111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42113 { echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
42114 echo "${ECHO_T}$ac_cv_header_esd_h" >&6; }
42115 if test $ac_cv_header_esd_h = yes; then
42117 EXTRALIBS_ESD="-lesd"
42127 { echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
42128 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6; }
42129 cat >conftest.$ac_ext <<_ACEOF
42132 cat confdefs.h >>conftest.$ac_ext
42133 cat >>conftest.$ac_ext <<_ACEOF
42134 /* end confdefs.h. */
42136 #include <linux/cdrom.h>
42139 #include <sys/cdio.h>
42145 struct cdrom_tocentry entry, old_entry;
42150 rm -f conftest.$ac_objext
42151 if { (ac_try="$ac_compile"
42152 case "(($ac_try" in
42153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42154 *) ac_try_echo=$ac_try;;
42156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42157 (eval "$ac_compile") 2>conftest.er1
42159 grep -v '^ *+' conftest.er1 >conftest.err
42161 cat conftest.err >&5
42162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42163 (exit $ac_status); } &&
42164 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42165 { (case "(($ac_try" in
42166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42167 *) ac_try_echo=$ac_try;;
42169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42170 (eval "$ac_try") 2>&5
42172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42173 (exit $ac_status); }; } &&
42174 { ac_try='test -s conftest.$ac_objext'
42175 { (case "(($ac_try" in
42176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42177 *) ac_try_echo=$ac_try;;
42179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42180 (eval "$ac_try") 2>&5
42182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42183 (exit $ac_status); }; }; then
42184 { echo "$as_me:$LINENO: result: yes" >&5
42185 echo "${ECHO_T}yes" >&6; }
42186 cat >>confdefs.h <<\_ACEOF
42187 #define HAVE_KNOWN_CDROM_INTERFACE 1
42191 echo "$as_me: failed program was:" >&5
42192 sed 's/^/| /' conftest.$ac_ext >&5
42194 { echo "$as_me:$LINENO: result: no" >&5
42195 echo "${ECHO_T}no" >&6; }
42198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42201 cat >confcache <<\_ACEOF
42202 # This file is a shell script that caches the results of configure
42203 # tests run on this system so they can be shared between configure
42204 # scripts and configure runs, see configure's option --config-cache.
42205 # It is not useful on other systems. If it contains results you don't
42206 # want to keep, you may remove or edit it.
42208 # config.status only pays attention to the cache file if you give it
42209 # the --recheck option to rerun configure.
42211 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42212 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42213 # following values.
42217 # The following way of writing the cache mishandles newlines in values,
42218 # but we know of no workaround that is simple, portable, and efficient.
42219 # So, we kill variables containing newlines.
42220 # Ultrix sh set writes to stderr and can't be redirected directly,
42221 # and sets the high bit in the cache file unless we assign to the vars.
42223 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42224 eval ac_val=\$$ac_var
42228 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
42229 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42232 _ | IFS | as_nl) ;; #(
42233 *) $as_unset $ac_var ;;
42239 case $as_nl`(ac_space=' '; set) 2>&1` in #(
42240 *${as_nl}ac_space=\ *)
42241 # `set' does not quote correctly, so add quotes (double-quote
42242 # substitution turns \\\\ into \\, and sed turns \\ into \).
42245 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42248 # `set' quotes correctly as required by POSIX, so do not add quotes.
42249 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42258 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42260 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42262 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
42263 if test -w "$cache_file"; then
42264 test "x$cache_file" != "x/dev/null" &&
42265 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
42266 echo "$as_me: updating cache $cache_file" >&6;}
42267 cat confcache >$cache_file
42269 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42270 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42276 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42282 if test "$wxUSE_THREADS" = "yes" ; then
42283 if test "$USE_BEOS" = 1; then
42284 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
42285 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
42290 if test "$wxUSE_THREADS" = "yes" ; then
42293 THREAD_OPTS="-pthread"
42295 *-*-solaris2* | *-*-sunos4* )
42296 if test "x$GCC" = "xyes"; then
42297 THREAD_OPTS="-pthreads $THREAD_OPTS"
42299 THREAD_OPTS="-mt $THREAD_OPTS"
42303 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
42305 *-*-darwin* | *-*-cygwin* )
42309 THREAD_OPTS="pthreads"
42312 if test "x$GCC" = "xyes"; then
42313 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
42321 if test "x$GCC" = "xyes"; then
42327 if test "x$GCC" != "xyes"; then
42328 THREAD_OPTS="-Ethread"
42333 THREAD_OPTS="$THREAD_OPTS pthread none"
42336 for flag in $THREAD_OPTS; do
42339 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42340 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
42344 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
42345 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
42346 THREADS_CFLAGS="$flag"
42350 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
42351 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
42352 THREADS_LINK="-l$flag"
42357 save_CFLAGS="$CFLAGS"
42358 LIBS="$THREADS_LINK $LIBS"
42359 CFLAGS="$THREADS_CFLAGS $CFLAGS"
42361 cat >conftest.$ac_ext <<_ACEOF
42364 cat confdefs.h >>conftest.$ac_ext
42365 cat >>conftest.$ac_ext <<_ACEOF
42366 /* end confdefs.h. */
42367 #include <pthread.h>
42371 pthread_create(0,0,0,0);
42376 rm -f conftest.$ac_objext conftest$ac_exeext
42377 if { (ac_try="$ac_link"
42378 case "(($ac_try" in
42379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42380 *) ac_try_echo=$ac_try;;
42382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42383 (eval "$ac_link") 2>conftest.er1
42385 grep -v '^ *+' conftest.er1 >conftest.err
42387 cat conftest.err >&5
42388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42389 (exit $ac_status); } &&
42390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42391 { (case "(($ac_try" in
42392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42393 *) ac_try_echo=$ac_try;;
42395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42396 (eval "$ac_try") 2>&5
42398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42399 (exit $ac_status); }; } &&
42400 { ac_try='test -s conftest$ac_exeext'
42401 { (case "(($ac_try" in
42402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42403 *) ac_try_echo=$ac_try;;
42405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42406 (eval "$ac_try") 2>&5
42408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42409 (exit $ac_status); }; }; then
42412 echo "$as_me: failed program was:" >&5
42413 sed 's/^/| /' conftest.$ac_ext >&5
42418 rm -f core conftest.err conftest.$ac_objext \
42419 conftest$ac_exeext conftest.$ac_ext
42422 CFLAGS="$save_CFLAGS"
42424 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
42425 echo "${ECHO_T}$THREADS_OK" >&6; }
42426 if test "x$THREADS_OK" = "xyes"; then
42434 if test "x$THREADS_OK" != "xyes"; then
42436 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
42437 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
42439 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
42440 LIBS="$THREADS_LINK $LIBS"
42442 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
42443 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
42447 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
42448 flag="-D_THREAD_SAFE"
42451 flag="-D_THREAD_SAFE"
42454 flag="-D_REENTRANT"
42455 if test "x$GCC" != "xyes"; then
42456 flag="$flag -D_RWSTD_MULTI_THREAD"
42459 *solaris* | alpha*-osf*)
42460 flag="-D_REENTRANT"
42463 { echo "$as_me:$LINENO: result: ${flag}" >&5
42464 echo "${ECHO_T}${flag}" >&6; }
42465 if test "x$flag" != xno; then
42466 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
42469 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
42473 if test "$wxUSE_THREADS" = "yes" ; then
42475 for ac_func in thr_setconcurrency
42477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42478 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42480 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42481 echo $ECHO_N "(cached) $ECHO_C" >&6
42483 cat >conftest.$ac_ext <<_ACEOF
42486 cat confdefs.h >>conftest.$ac_ext
42487 cat >>conftest.$ac_ext <<_ACEOF
42488 /* end confdefs.h. */
42489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42491 #define $ac_func innocuous_$ac_func
42493 /* System header to define __stub macros and hopefully few prototypes,
42494 which can conflict with char $ac_func (); below.
42495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42496 <limits.h> exists even on freestanding compilers. */
42499 # include <limits.h>
42501 # include <assert.h>
42506 /* Override any GCC internal prototype to avoid an error.
42507 Use char because int might match the return type of a GCC
42508 builtin and then its argument prototype would still apply. */
42513 /* The GNU C library defines this for functions which it implements
42514 to always fail with ENOSYS. Some functions are actually named
42515 something starting with __ and the normal name is an alias. */
42516 #if defined __stub_$ac_func || defined __stub___$ac_func
42523 return $ac_func ();
42528 rm -f conftest.$ac_objext conftest$ac_exeext
42529 if { (ac_try="$ac_link"
42530 case "(($ac_try" in
42531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42532 *) ac_try_echo=$ac_try;;
42534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42535 (eval "$ac_link") 2>conftest.er1
42537 grep -v '^ *+' conftest.er1 >conftest.err
42539 cat conftest.err >&5
42540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42541 (exit $ac_status); } &&
42542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42543 { (case "(($ac_try" in
42544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42545 *) ac_try_echo=$ac_try;;
42547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42548 (eval "$ac_try") 2>&5
42550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42551 (exit $ac_status); }; } &&
42552 { ac_try='test -s conftest$ac_exeext'
42553 { (case "(($ac_try" in
42554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42555 *) ac_try_echo=$ac_try;;
42557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42558 (eval "$ac_try") 2>&5
42560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42561 (exit $ac_status); }; }; then
42562 eval "$as_ac_var=yes"
42564 echo "$as_me: failed program was:" >&5
42565 sed 's/^/| /' conftest.$ac_ext >&5
42567 eval "$as_ac_var=no"
42570 rm -f core conftest.err conftest.$ac_objext \
42571 conftest$ac_exeext conftest.$ac_ext
42573 ac_res=`eval echo '${'$as_ac_var'}'`
42574 { echo "$as_me:$LINENO: result: $ac_res" >&5
42575 echo "${ECHO_T}$ac_res" >&6; }
42576 if test `eval echo '${'$as_ac_var'}'` = yes; then
42577 cat >>confdefs.h <<_ACEOF
42578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42585 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
42586 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
42587 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
42588 echo $ECHO_N "(cached) $ECHO_C" >&6
42591 cat >conftest.$ac_ext <<_ACEOF
42594 cat confdefs.h >>conftest.$ac_ext
42595 cat >>conftest.$ac_ext <<_ACEOF
42596 /* end confdefs.h. */
42597 #include <pthread.h>
42598 void ThreadCleanupFunc(void *p);
42605 pthread_cleanup_push(ThreadCleanupFunc, p);
42606 pthread_cleanup_pop(0);
42612 rm -f conftest.$ac_objext
42613 if { (ac_try="$ac_compile"
42614 case "(($ac_try" in
42615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42616 *) ac_try_echo=$ac_try;;
42618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42619 (eval "$ac_compile") 2>conftest.er1
42621 grep -v '^ *+' conftest.er1 >conftest.err
42623 cat conftest.err >&5
42624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42625 (exit $ac_status); } &&
42626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42627 { (case "(($ac_try" in
42628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42629 *) ac_try_echo=$ac_try;;
42631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42632 (eval "$ac_try") 2>&5
42634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42635 (exit $ac_status); }; } &&
42636 { ac_try='test -s conftest.$ac_objext'
42637 { (case "(($ac_try" in
42638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42639 *) ac_try_echo=$ac_try;;
42641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42642 (eval "$ac_try") 2>&5
42644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42645 (exit $ac_status); }; }; then
42647 wx_cv_func_pthread_cleanup=yes
42650 echo "$as_me: failed program was:" >&5
42651 sed 's/^/| /' conftest.$ac_ext >&5
42654 wx_cv_func_pthread_cleanup=no
42659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42662 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
42663 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
42664 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
42665 cat >>confdefs.h <<\_ACEOF
42666 #define wxHAVE_PTHREAD_CLEANUP 1
42671 { echo "$as_me:$LINENO: checking for sched.h" >&5
42672 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
42673 if test "${ac_cv_header_sched_h+set}" = set; then
42674 echo $ECHO_N "(cached) $ECHO_C" >&6
42676 cat >conftest.$ac_ext <<_ACEOF
42679 cat confdefs.h >>conftest.$ac_ext
42680 cat >>conftest.$ac_ext <<_ACEOF
42681 /* end confdefs.h. */
42682 $ac_includes_default
42686 rm -f conftest.$ac_objext
42687 if { (ac_try="$ac_compile"
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_compile") 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 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42701 { (case "(($ac_try" in
42702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42703 *) ac_try_echo=$ac_try;;
42705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42706 (eval "$ac_try") 2>&5
42708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42709 (exit $ac_status); }; } &&
42710 { ac_try='test -s conftest.$ac_objext'
42711 { (case "(($ac_try" in
42712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42713 *) ac_try_echo=$ac_try;;
42715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42716 (eval "$ac_try") 2>&5
42718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719 (exit $ac_status); }; }; then
42720 ac_cv_header_sched_h=yes
42722 echo "$as_me: failed program was:" >&5
42723 sed 's/^/| /' conftest.$ac_ext >&5
42725 ac_cv_header_sched_h=no
42728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42730 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
42731 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
42734 if test "$ac_cv_header_sched_h" = "yes"; then
42735 { echo "$as_me:$LINENO: checking for sched_yield" >&5
42736 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
42737 if test "${ac_cv_func_sched_yield+set}" = set; then
42738 echo $ECHO_N "(cached) $ECHO_C" >&6
42740 cat >conftest.$ac_ext <<_ACEOF
42743 cat confdefs.h >>conftest.$ac_ext
42744 cat >>conftest.$ac_ext <<_ACEOF
42745 /* end confdefs.h. */
42746 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
42747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42748 #define sched_yield innocuous_sched_yield
42750 /* System header to define __stub macros and hopefully few prototypes,
42751 which can conflict with char sched_yield (); below.
42752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42753 <limits.h> exists even on freestanding compilers. */
42756 # include <limits.h>
42758 # include <assert.h>
42763 /* Override any GCC internal prototype to avoid an error.
42764 Use char because int might match the return type of a GCC
42765 builtin and then its argument prototype would still apply. */
42769 char sched_yield ();
42770 /* The GNU C library defines this for functions which it implements
42771 to always fail with ENOSYS. Some functions are actually named
42772 something starting with __ and the normal name is an alias. */
42773 #if defined __stub_sched_yield || defined __stub___sched_yield
42780 return sched_yield ();
42785 rm -f conftest.$ac_objext conftest$ac_exeext
42786 if { (ac_try="$ac_link"
42787 case "(($ac_try" in
42788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42789 *) ac_try_echo=$ac_try;;
42791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42792 (eval "$ac_link") 2>conftest.er1
42794 grep -v '^ *+' conftest.er1 >conftest.err
42796 cat conftest.err >&5
42797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42798 (exit $ac_status); } &&
42799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42800 { (case "(($ac_try" in
42801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42802 *) ac_try_echo=$ac_try;;
42804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42805 (eval "$ac_try") 2>&5
42807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42808 (exit $ac_status); }; } &&
42809 { ac_try='test -s conftest$ac_exeext'
42810 { (case "(($ac_try" in
42811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42812 *) ac_try_echo=$ac_try;;
42814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42815 (eval "$ac_try") 2>&5
42817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42818 (exit $ac_status); }; }; then
42819 ac_cv_func_sched_yield=yes
42821 echo "$as_me: failed program was:" >&5
42822 sed 's/^/| /' conftest.$ac_ext >&5
42824 ac_cv_func_sched_yield=no
42827 rm -f core conftest.err conftest.$ac_objext \
42828 conftest$ac_exeext conftest.$ac_ext
42830 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
42831 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
42832 if test $ac_cv_func_sched_yield = yes; then
42833 cat >>confdefs.h <<\_ACEOF
42834 #define HAVE_SCHED_YIELD 1
42839 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
42840 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
42841 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
42842 echo $ECHO_N "(cached) $ECHO_C" >&6
42844 ac_check_lib_save_LIBS=$LIBS
42845 LIBS="-lposix4 $LIBS"
42846 cat >conftest.$ac_ext <<_ACEOF
42849 cat confdefs.h >>conftest.$ac_ext
42850 cat >>conftest.$ac_ext <<_ACEOF
42851 /* end confdefs.h. */
42853 /* Override any GCC internal prototype to avoid an error.
42854 Use char because int might match the return type of a GCC
42855 builtin and then its argument prototype would still apply. */
42859 char sched_yield ();
42863 return sched_yield ();
42868 rm -f conftest.$ac_objext conftest$ac_exeext
42869 if { (ac_try="$ac_link"
42870 case "(($ac_try" in
42871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42872 *) ac_try_echo=$ac_try;;
42874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42875 (eval "$ac_link") 2>conftest.er1
42877 grep -v '^ *+' conftest.er1 >conftest.err
42879 cat conftest.err >&5
42880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42881 (exit $ac_status); } &&
42882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42883 { (case "(($ac_try" in
42884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42885 *) ac_try_echo=$ac_try;;
42887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42888 (eval "$ac_try") 2>&5
42890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42891 (exit $ac_status); }; } &&
42892 { ac_try='test -s conftest$ac_exeext'
42893 { (case "(($ac_try" in
42894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42895 *) ac_try_echo=$ac_try;;
42897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42898 (eval "$ac_try") 2>&5
42900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42901 (exit $ac_status); }; }; then
42902 ac_cv_lib_posix4_sched_yield=yes
42904 echo "$as_me: failed program was:" >&5
42905 sed 's/^/| /' conftest.$ac_ext >&5
42907 ac_cv_lib_posix4_sched_yield=no
42910 rm -f core conftest.err conftest.$ac_objext \
42911 conftest$ac_exeext conftest.$ac_ext
42912 LIBS=$ac_check_lib_save_LIBS
42914 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42915 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42916 if test $ac_cv_lib_posix4_sched_yield = yes; then
42917 cat >>confdefs.h <<\_ACEOF
42918 #define HAVE_SCHED_YIELD 1
42920 POSIX4_LINK=" -lposix4"
42922 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42923 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42934 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42935 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42936 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42937 echo $ECHO_N "(cached) $ECHO_C" >&6
42939 cat >conftest.$ac_ext <<_ACEOF
42942 cat confdefs.h >>conftest.$ac_ext
42943 cat >>conftest.$ac_ext <<_ACEOF
42944 /* end confdefs.h. */
42945 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42947 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42949 /* System header to define __stub macros and hopefully few prototypes,
42950 which can conflict with char pthread_attr_getschedpolicy (); below.
42951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42952 <limits.h> exists even on freestanding compilers. */
42955 # include <limits.h>
42957 # include <assert.h>
42960 #undef pthread_attr_getschedpolicy
42962 /* Override any GCC internal prototype to avoid an error.
42963 Use char because int might match the return type of a GCC
42964 builtin and then its argument prototype would still apply. */
42968 char pthread_attr_getschedpolicy ();
42969 /* The GNU C library defines this for functions which it implements
42970 to always fail with ENOSYS. Some functions are actually named
42971 something starting with __ and the normal name is an alias. */
42972 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42979 return pthread_attr_getschedpolicy ();
42984 rm -f conftest.$ac_objext conftest$ac_exeext
42985 if { (ac_try="$ac_link"
42986 case "(($ac_try" in
42987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42988 *) ac_try_echo=$ac_try;;
42990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42991 (eval "$ac_link") 2>conftest.er1
42993 grep -v '^ *+' conftest.er1 >conftest.err
42995 cat conftest.err >&5
42996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42997 (exit $ac_status); } &&
42998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42999 { (case "(($ac_try" in
43000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43001 *) ac_try_echo=$ac_try;;
43003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43004 (eval "$ac_try") 2>&5
43006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43007 (exit $ac_status); }; } &&
43008 { ac_try='test -s conftest$ac_exeext'
43009 { (case "(($ac_try" in
43010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43011 *) ac_try_echo=$ac_try;;
43013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43014 (eval "$ac_try") 2>&5
43016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43017 (exit $ac_status); }; }; then
43018 ac_cv_func_pthread_attr_getschedpolicy=yes
43020 echo "$as_me: failed program was:" >&5
43021 sed 's/^/| /' conftest.$ac_ext >&5
43023 ac_cv_func_pthread_attr_getschedpolicy=no
43026 rm -f core conftest.err conftest.$ac_objext \
43027 conftest$ac_exeext conftest.$ac_ext
43029 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
43030 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
43031 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
43032 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
43033 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
43034 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
43035 echo $ECHO_N "(cached) $ECHO_C" >&6
43037 cat >conftest.$ac_ext <<_ACEOF
43040 cat confdefs.h >>conftest.$ac_ext
43041 cat >>conftest.$ac_ext <<_ACEOF
43042 /* end confdefs.h. */
43043 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
43044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43045 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
43047 /* System header to define __stub macros and hopefully few prototypes,
43048 which can conflict with char pthread_attr_setschedparam (); below.
43049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43050 <limits.h> exists even on freestanding compilers. */
43053 # include <limits.h>
43055 # include <assert.h>
43058 #undef pthread_attr_setschedparam
43060 /* Override any GCC internal prototype to avoid an error.
43061 Use char because int might match the return type of a GCC
43062 builtin and then its argument prototype would still apply. */
43066 char pthread_attr_setschedparam ();
43067 /* The GNU C library defines this for functions which it implements
43068 to always fail with ENOSYS. Some functions are actually named
43069 something starting with __ and the normal name is an alias. */
43070 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
43077 return pthread_attr_setschedparam ();
43082 rm -f conftest.$ac_objext conftest$ac_exeext
43083 if { (ac_try="$ac_link"
43084 case "(($ac_try" in
43085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43086 *) ac_try_echo=$ac_try;;
43088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43089 (eval "$ac_link") 2>conftest.er1
43091 grep -v '^ *+' conftest.er1 >conftest.err
43093 cat conftest.err >&5
43094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43095 (exit $ac_status); } &&
43096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43097 { (case "(($ac_try" in
43098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43099 *) ac_try_echo=$ac_try;;
43101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43102 (eval "$ac_try") 2>&5
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); }; } &&
43106 { ac_try='test -s conftest$ac_exeext'
43107 { (case "(($ac_try" in
43108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43109 *) ac_try_echo=$ac_try;;
43111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43112 (eval "$ac_try") 2>&5
43114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43115 (exit $ac_status); }; }; then
43116 ac_cv_func_pthread_attr_setschedparam=yes
43118 echo "$as_me: failed program was:" >&5
43119 sed 's/^/| /' conftest.$ac_ext >&5
43121 ac_cv_func_pthread_attr_setschedparam=no
43124 rm -f core conftest.err conftest.$ac_objext \
43125 conftest$ac_exeext conftest.$ac_ext
43127 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
43128 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
43129 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
43130 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
43131 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
43132 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
43133 echo $ECHO_N "(cached) $ECHO_C" >&6
43135 cat >conftest.$ac_ext <<_ACEOF
43138 cat confdefs.h >>conftest.$ac_ext
43139 cat >>conftest.$ac_ext <<_ACEOF
43140 /* end confdefs.h. */
43141 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
43142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43143 #define sched_get_priority_max innocuous_sched_get_priority_max
43145 /* System header to define __stub macros and hopefully few prototypes,
43146 which can conflict with char sched_get_priority_max (); below.
43147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43148 <limits.h> exists even on freestanding compilers. */
43151 # include <limits.h>
43153 # include <assert.h>
43156 #undef sched_get_priority_max
43158 /* Override any GCC internal prototype to avoid an error.
43159 Use char because int might match the return type of a GCC
43160 builtin and then its argument prototype would still apply. */
43164 char sched_get_priority_max ();
43165 /* The GNU C library defines this for functions which it implements
43166 to always fail with ENOSYS. Some functions are actually named
43167 something starting with __ and the normal name is an alias. */
43168 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
43175 return sched_get_priority_max ();
43180 rm -f conftest.$ac_objext conftest$ac_exeext
43181 if { (ac_try="$ac_link"
43182 case "(($ac_try" in
43183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43184 *) ac_try_echo=$ac_try;;
43186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43187 (eval "$ac_link") 2>conftest.er1
43189 grep -v '^ *+' conftest.er1 >conftest.err
43191 cat conftest.err >&5
43192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43193 (exit $ac_status); } &&
43194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43195 { (case "(($ac_try" in
43196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43197 *) ac_try_echo=$ac_try;;
43199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43200 (eval "$ac_try") 2>&5
43202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43203 (exit $ac_status); }; } &&
43204 { ac_try='test -s conftest$ac_exeext'
43205 { (case "(($ac_try" in
43206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43207 *) ac_try_echo=$ac_try;;
43209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43210 (eval "$ac_try") 2>&5
43212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43213 (exit $ac_status); }; }; then
43214 ac_cv_func_sched_get_priority_max=yes
43216 echo "$as_me: failed program was:" >&5
43217 sed 's/^/| /' conftest.$ac_ext >&5
43219 ac_cv_func_sched_get_priority_max=no
43222 rm -f core conftest.err conftest.$ac_objext \
43223 conftest$ac_exeext conftest.$ac_ext
43225 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
43226 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
43227 if test $ac_cv_func_sched_get_priority_max = yes; then
43230 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
43231 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
43232 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
43233 echo $ECHO_N "(cached) $ECHO_C" >&6
43235 ac_check_lib_save_LIBS=$LIBS
43236 LIBS="-lposix4 $LIBS"
43237 cat >conftest.$ac_ext <<_ACEOF
43240 cat confdefs.h >>conftest.$ac_ext
43241 cat >>conftest.$ac_ext <<_ACEOF
43242 /* end confdefs.h. */
43244 /* Override any GCC internal prototype to avoid an error.
43245 Use char because int might match the return type of a GCC
43246 builtin and then its argument prototype would still apply. */
43250 char sched_get_priority_max ();
43254 return sched_get_priority_max ();
43259 rm -f conftest.$ac_objext conftest$ac_exeext
43260 if { (ac_try="$ac_link"
43261 case "(($ac_try" in
43262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43263 *) ac_try_echo=$ac_try;;
43265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43266 (eval "$ac_link") 2>conftest.er1
43268 grep -v '^ *+' conftest.er1 >conftest.err
43270 cat conftest.err >&5
43271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43272 (exit $ac_status); } &&
43273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43274 { (case "(($ac_try" in
43275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43276 *) ac_try_echo=$ac_try;;
43278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43279 (eval "$ac_try") 2>&5
43281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43282 (exit $ac_status); }; } &&
43283 { ac_try='test -s conftest$ac_exeext'
43284 { (case "(($ac_try" in
43285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43286 *) ac_try_echo=$ac_try;;
43288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43289 (eval "$ac_try") 2>&5
43291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43292 (exit $ac_status); }; }; then
43293 ac_cv_lib_posix4_sched_get_priority_max=yes
43295 echo "$as_me: failed program was:" >&5
43296 sed 's/^/| /' conftest.$ac_ext >&5
43298 ac_cv_lib_posix4_sched_get_priority_max=no
43301 rm -f core conftest.err conftest.$ac_objext \
43302 conftest$ac_exeext conftest.$ac_ext
43303 LIBS=$ac_check_lib_save_LIBS
43305 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
43306 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
43307 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
43310 POSIX4_LINK=" -lposix4"
43324 if test "$HAVE_PRIOR_FUNCS" = 1; then
43325 cat >>confdefs.h <<\_ACEOF
43326 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43330 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43331 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43334 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43335 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43336 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43337 echo $ECHO_N "(cached) $ECHO_C" >&6
43339 cat >conftest.$ac_ext <<_ACEOF
43342 cat confdefs.h >>conftest.$ac_ext
43343 cat >>conftest.$ac_ext <<_ACEOF
43344 /* end confdefs.h. */
43345 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43347 #define pthread_cancel innocuous_pthread_cancel
43349 /* System header to define __stub macros and hopefully few prototypes,
43350 which can conflict with char pthread_cancel (); below.
43351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43352 <limits.h> exists even on freestanding compilers. */
43355 # include <limits.h>
43357 # include <assert.h>
43360 #undef pthread_cancel
43362 /* Override any GCC internal prototype to avoid an error.
43363 Use char because int might match the return type of a GCC
43364 builtin and then its argument prototype would still apply. */
43368 char pthread_cancel ();
43369 /* The GNU C library defines this for functions which it implements
43370 to always fail with ENOSYS. Some functions are actually named
43371 something starting with __ and the normal name is an alias. */
43372 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43379 return pthread_cancel ();
43384 rm -f conftest.$ac_objext conftest$ac_exeext
43385 if { (ac_try="$ac_link"
43386 case "(($ac_try" in
43387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43388 *) ac_try_echo=$ac_try;;
43390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43391 (eval "$ac_link") 2>conftest.er1
43393 grep -v '^ *+' conftest.er1 >conftest.err
43395 cat conftest.err >&5
43396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43397 (exit $ac_status); } &&
43398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43399 { (case "(($ac_try" in
43400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43401 *) ac_try_echo=$ac_try;;
43403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43404 (eval "$ac_try") 2>&5
43406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43407 (exit $ac_status); }; } &&
43408 { ac_try='test -s conftest$ac_exeext'
43409 { (case "(($ac_try" in
43410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43411 *) ac_try_echo=$ac_try;;
43413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43414 (eval "$ac_try") 2>&5
43416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43417 (exit $ac_status); }; }; then
43418 ac_cv_func_pthread_cancel=yes
43420 echo "$as_me: failed program was:" >&5
43421 sed 's/^/| /' conftest.$ac_ext >&5
43423 ac_cv_func_pthread_cancel=no
43426 rm -f core conftest.err conftest.$ac_objext \
43427 conftest$ac_exeext conftest.$ac_ext
43429 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43430 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43431 if test $ac_cv_func_pthread_cancel = yes; then
43432 cat >>confdefs.h <<\_ACEOF
43433 #define HAVE_PTHREAD_CANCEL 1
43437 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43438 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43442 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43443 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
43444 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
43445 echo $ECHO_N "(cached) $ECHO_C" >&6
43447 cat >conftest.$ac_ext <<_ACEOF
43450 cat confdefs.h >>conftest.$ac_ext
43451 cat >>conftest.$ac_ext <<_ACEOF
43452 /* end confdefs.h. */
43453 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
43454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43455 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
43457 /* System header to define __stub macros and hopefully few prototypes,
43458 which can conflict with char pthread_mutex_timedlock (); below.
43459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43460 <limits.h> exists even on freestanding compilers. */
43463 # include <limits.h>
43465 # include <assert.h>
43468 #undef pthread_mutex_timedlock
43470 /* Override any GCC internal prototype to avoid an error.
43471 Use char because int might match the return type of a GCC
43472 builtin and then its argument prototype would still apply. */
43476 char pthread_mutex_timedlock ();
43477 /* The GNU C library defines this for functions which it implements
43478 to always fail with ENOSYS. Some functions are actually named
43479 something starting with __ and the normal name is an alias. */
43480 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
43487 return pthread_mutex_timedlock ();
43492 rm -f conftest.$ac_objext conftest$ac_exeext
43493 if { (ac_try="$ac_link"
43494 case "(($ac_try" in
43495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43496 *) ac_try_echo=$ac_try;;
43498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43499 (eval "$ac_link") 2>conftest.er1
43501 grep -v '^ *+' conftest.er1 >conftest.err
43503 cat conftest.err >&5
43504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505 (exit $ac_status); } &&
43506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43507 { (case "(($ac_try" in
43508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43509 *) ac_try_echo=$ac_try;;
43511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43512 (eval "$ac_try") 2>&5
43514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43515 (exit $ac_status); }; } &&
43516 { ac_try='test -s conftest$ac_exeext'
43517 { (case "(($ac_try" in
43518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43519 *) ac_try_echo=$ac_try;;
43521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43522 (eval "$ac_try") 2>&5
43524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43525 (exit $ac_status); }; }; then
43526 ac_cv_func_pthread_mutex_timedlock=yes
43528 echo "$as_me: failed program was:" >&5
43529 sed 's/^/| /' conftest.$ac_ext >&5
43531 ac_cv_func_pthread_mutex_timedlock=no
43534 rm -f core conftest.err conftest.$ac_objext \
43535 conftest$ac_exeext conftest.$ac_ext
43537 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
43538 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
43539 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
43540 cat >>confdefs.h <<\_ACEOF
43541 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
43545 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
43546 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
43550 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
43551 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
43552 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
43553 echo $ECHO_N "(cached) $ECHO_C" >&6
43555 cat >conftest.$ac_ext <<_ACEOF
43558 cat confdefs.h >>conftest.$ac_ext
43559 cat >>conftest.$ac_ext <<_ACEOF
43560 /* end confdefs.h. */
43561 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
43562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43563 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
43565 /* System header to define __stub macros and hopefully few prototypes,
43566 which can conflict with char pthread_attr_setstacksize (); below.
43567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43568 <limits.h> exists even on freestanding compilers. */
43571 # include <limits.h>
43573 # include <assert.h>
43576 #undef pthread_attr_setstacksize
43578 /* Override any GCC internal prototype to avoid an error.
43579 Use char because int might match the return type of a GCC
43580 builtin and then its argument prototype would still apply. */
43584 char pthread_attr_setstacksize ();
43585 /* The GNU C library defines this for functions which it implements
43586 to always fail with ENOSYS. Some functions are actually named
43587 something starting with __ and the normal name is an alias. */
43588 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
43595 return pthread_attr_setstacksize ();
43600 rm -f conftest.$ac_objext conftest$ac_exeext
43601 if { (ac_try="$ac_link"
43602 case "(($ac_try" in
43603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43604 *) ac_try_echo=$ac_try;;
43606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43607 (eval "$ac_link") 2>conftest.er1
43609 grep -v '^ *+' conftest.er1 >conftest.err
43611 cat conftest.err >&5
43612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43613 (exit $ac_status); } &&
43614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43615 { (case "(($ac_try" in
43616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43617 *) ac_try_echo=$ac_try;;
43619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43620 (eval "$ac_try") 2>&5
43622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43623 (exit $ac_status); }; } &&
43624 { ac_try='test -s conftest$ac_exeext'
43625 { (case "(($ac_try" in
43626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43627 *) ac_try_echo=$ac_try;;
43629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43630 (eval "$ac_try") 2>&5
43632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43633 (exit $ac_status); }; }; then
43634 ac_cv_func_pthread_attr_setstacksize=yes
43636 echo "$as_me: failed program was:" >&5
43637 sed 's/^/| /' conftest.$ac_ext >&5
43639 ac_cv_func_pthread_attr_setstacksize=no
43642 rm -f core conftest.err conftest.$ac_objext \
43643 conftest$ac_exeext conftest.$ac_ext
43645 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
43646 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
43647 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
43648 cat >>confdefs.h <<\_ACEOF
43649 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
43656 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
43657 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
43658 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
43659 echo $ECHO_N "(cached) $ECHO_C" >&6
43662 cat >conftest.$ac_ext <<_ACEOF
43665 cat confdefs.h >>conftest.$ac_ext
43666 cat >>conftest.$ac_ext <<_ACEOF
43667 /* end confdefs.h. */
43668 #include <pthread.h>
43673 pthread_mutexattr_t attr;
43674 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43680 rm -f conftest.$ac_objext
43681 if { (ac_try="$ac_compile"
43682 case "(($ac_try" in
43683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43684 *) ac_try_echo=$ac_try;;
43686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43687 (eval "$ac_compile") 2>conftest.er1
43689 grep -v '^ *+' conftest.er1 >conftest.err
43691 cat conftest.err >&5
43692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43693 (exit $ac_status); } &&
43694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43695 { (case "(($ac_try" in
43696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43697 *) ac_try_echo=$ac_try;;
43699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43700 (eval "$ac_try") 2>&5
43702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43703 (exit $ac_status); }; } &&
43704 { ac_try='test -s conftest.$ac_objext'
43705 { (case "(($ac_try" in
43706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43707 *) ac_try_echo=$ac_try;;
43709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43710 (eval "$ac_try") 2>&5
43712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43713 (exit $ac_status); }; }; then
43714 wx_cv_type_pthread_mutexattr_t=yes
43716 echo "$as_me: failed program was:" >&5
43717 sed 's/^/| /' conftest.$ac_ext >&5
43719 wx_cv_type_pthread_mutexattr_t=no
43723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43726 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
43727 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
43729 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
43730 cat >>confdefs.h <<\_ACEOF
43731 #define HAVE_PTHREAD_MUTEXATTR_T 1
43735 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
43736 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
43737 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
43738 echo $ECHO_N "(cached) $ECHO_C" >&6
43741 cat >conftest.$ac_ext <<_ACEOF
43744 cat confdefs.h >>conftest.$ac_ext
43745 cat >>conftest.$ac_ext <<_ACEOF
43746 /* end confdefs.h. */
43747 #include <pthread.h>
43752 pthread_mutexattr_t attr;
43753 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43759 rm -f conftest.$ac_objext
43760 if { (ac_try="$ac_compile"
43761 case "(($ac_try" in
43762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43763 *) ac_try_echo=$ac_try;;
43765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43766 (eval "$ac_compile") 2>conftest.er1
43768 grep -v '^ *+' conftest.er1 >conftest.err
43770 cat conftest.err >&5
43771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43772 (exit $ac_status); } &&
43773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43774 { (case "(($ac_try" in
43775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43776 *) ac_try_echo=$ac_try;;
43778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43779 (eval "$ac_try") 2>&5
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); }; } &&
43783 { ac_try='test -s conftest.$ac_objext'
43784 { (case "(($ac_try" in
43785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43786 *) ac_try_echo=$ac_try;;
43788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43789 (eval "$ac_try") 2>&5
43791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43792 (exit $ac_status); }; }; then
43793 wx_cv_func_pthread_mutexattr_settype_decl=yes
43795 echo "$as_me: failed program was:" >&5
43796 sed 's/^/| /' conftest.$ac_ext >&5
43798 wx_cv_func_pthread_mutexattr_settype_decl=no
43802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43805 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
43806 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
43807 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
43808 cat >>confdefs.h <<\_ACEOF
43809 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
43814 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
43815 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
43816 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
43817 echo $ECHO_N "(cached) $ECHO_C" >&6
43820 cat >conftest.$ac_ext <<_ACEOF
43823 cat confdefs.h >>conftest.$ac_ext
43824 cat >>conftest.$ac_ext <<_ACEOF
43825 /* end confdefs.h. */
43826 #include <pthread.h>
43831 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
43837 rm -f conftest.$ac_objext
43838 if { (ac_try="$ac_compile"
43839 case "(($ac_try" in
43840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43841 *) ac_try_echo=$ac_try;;
43843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43844 (eval "$ac_compile") 2>conftest.er1
43846 grep -v '^ *+' conftest.er1 >conftest.err
43848 cat conftest.err >&5
43849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43850 (exit $ac_status); } &&
43851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43852 { (case "(($ac_try" in
43853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43854 *) ac_try_echo=$ac_try;;
43856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43857 (eval "$ac_try") 2>&5
43859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43860 (exit $ac_status); }; } &&
43861 { ac_try='test -s conftest.$ac_objext'
43862 { (case "(($ac_try" in
43863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43864 *) ac_try_echo=$ac_try;;
43866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43867 (eval "$ac_try") 2>&5
43869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43870 (exit $ac_status); }; }; then
43872 wx_cv_type_pthread_rec_mutex_init=yes
43875 echo "$as_me: failed program was:" >&5
43876 sed 's/^/| /' conftest.$ac_ext >&5
43879 wx_cv_type_pthread_rec_mutex_init=no
43884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43887 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
43888 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
43889 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
43890 cat >>confdefs.h <<\_ACEOF
43891 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
43895 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
43896 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
43902 if test "$wxUSE_THREADS" = "yes" ; then
43905 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
43906 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
43907 if test "${wx_cv_cflags_mthread+set}" = set; then
43908 echo $ECHO_N "(cached) $ECHO_C" >&6
43911 CFLAGS_OLD="$CFLAGS"
43912 CFLAGS="-mthreads $CFLAGS"
43913 cat >conftest.$ac_ext <<_ACEOF
43916 cat confdefs.h >>conftest.$ac_ext
43917 cat >>conftest.$ac_ext <<_ACEOF
43918 /* end confdefs.h. */
43928 rm -f conftest.$ac_objext
43929 if { (ac_try="$ac_compile"
43930 case "(($ac_try" in
43931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43932 *) ac_try_echo=$ac_try;;
43934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43935 (eval "$ac_compile") 2>conftest.er1
43937 grep -v '^ *+' conftest.er1 >conftest.err
43939 cat conftest.err >&5
43940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941 (exit $ac_status); } &&
43942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43943 { (case "(($ac_try" in
43944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43945 *) ac_try_echo=$ac_try;;
43947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43948 (eval "$ac_try") 2>&5
43950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43951 (exit $ac_status); }; } &&
43952 { ac_try='test -s conftest.$ac_objext'
43953 { (case "(($ac_try" in
43954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43955 *) ac_try_echo=$ac_try;;
43957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43958 (eval "$ac_try") 2>&5
43960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43961 (exit $ac_status); }; }; then
43962 wx_cv_cflags_mthread=yes
43964 echo "$as_me: failed program was:" >&5
43965 sed 's/^/| /' conftest.$ac_ext >&5
43967 wx_cv_cflags_mthread=no
43971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43975 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
43976 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
43978 if test "$wx_cv_cflags_mthread" = "yes"; then
43979 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
43980 LDFLAGS="$LDFLAGS -mthreads"
43982 CFLAGS="$CFLAGS_OLD"
43986 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
43987 LDFLAGS="$LDFLAGS -Zmt"
43993 { echo "$as_me:$LINENO: checking for localtime_r" >&5
43994 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
43995 if test "${ac_cv_func_localtime_r+set}" = set; then
43996 echo $ECHO_N "(cached) $ECHO_C" >&6
43998 cat >conftest.$ac_ext <<_ACEOF
44001 cat confdefs.h >>conftest.$ac_ext
44002 cat >>conftest.$ac_ext <<_ACEOF
44003 /* end confdefs.h. */
44004 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
44005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44006 #define localtime_r innocuous_localtime_r
44008 /* System header to define __stub macros and hopefully few prototypes,
44009 which can conflict with char localtime_r (); below.
44010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44011 <limits.h> exists even on freestanding compilers. */
44014 # include <limits.h>
44016 # include <assert.h>
44021 /* Override any GCC internal prototype to avoid an error.
44022 Use char because int might match the return type of a GCC
44023 builtin and then its argument prototype would still apply. */
44027 char localtime_r ();
44028 /* The GNU C library defines this for functions which it implements
44029 to always fail with ENOSYS. Some functions are actually named
44030 something starting with __ and the normal name is an alias. */
44031 #if defined __stub_localtime_r || defined __stub___localtime_r
44038 return localtime_r ();
44043 rm -f conftest.$ac_objext conftest$ac_exeext
44044 if { (ac_try="$ac_link"
44045 case "(($ac_try" in
44046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44047 *) ac_try_echo=$ac_try;;
44049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44050 (eval "$ac_link") 2>conftest.er1
44052 grep -v '^ *+' conftest.er1 >conftest.err
44054 cat conftest.err >&5
44055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44056 (exit $ac_status); } &&
44057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44058 { (case "(($ac_try" in
44059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44060 *) ac_try_echo=$ac_try;;
44062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44063 (eval "$ac_try") 2>&5
44065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44066 (exit $ac_status); }; } &&
44067 { ac_try='test -s conftest$ac_exeext'
44068 { (case "(($ac_try" in
44069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44070 *) ac_try_echo=$ac_try;;
44072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44073 (eval "$ac_try") 2>&5
44075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44076 (exit $ac_status); }; }; then
44077 ac_cv_func_localtime_r=yes
44079 echo "$as_me: failed program was:" >&5
44080 sed 's/^/| /' conftest.$ac_ext >&5
44082 ac_cv_func_localtime_r=no
44085 rm -f core conftest.err conftest.$ac_objext \
44086 conftest$ac_exeext conftest.$ac_ext
44088 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
44089 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
44090 if test $ac_cv_func_localtime_r = yes; then
44091 cat >>confdefs.h <<\_ACEOF
44092 #define HAVE_LOCALTIME_R 1
44097 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
44098 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
44099 if test "${ac_cv_func_gmtime_r+set}" = set; then
44100 echo $ECHO_N "(cached) $ECHO_C" >&6
44102 cat >conftest.$ac_ext <<_ACEOF
44105 cat confdefs.h >>conftest.$ac_ext
44106 cat >>conftest.$ac_ext <<_ACEOF
44107 /* end confdefs.h. */
44108 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
44109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44110 #define gmtime_r innocuous_gmtime_r
44112 /* System header to define __stub macros and hopefully few prototypes,
44113 which can conflict with char gmtime_r (); below.
44114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44115 <limits.h> exists even on freestanding compilers. */
44118 # include <limits.h>
44120 # include <assert.h>
44125 /* Override any GCC internal prototype to avoid an error.
44126 Use char because int might match the return type of a GCC
44127 builtin and then its argument prototype would still apply. */
44132 /* The GNU C library defines this for functions which it implements
44133 to always fail with ENOSYS. Some functions are actually named
44134 something starting with __ and the normal name is an alias. */
44135 #if defined __stub_gmtime_r || defined __stub___gmtime_r
44142 return gmtime_r ();
44147 rm -f conftest.$ac_objext conftest$ac_exeext
44148 if { (ac_try="$ac_link"
44149 case "(($ac_try" in
44150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44151 *) ac_try_echo=$ac_try;;
44153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44154 (eval "$ac_link") 2>conftest.er1
44156 grep -v '^ *+' conftest.er1 >conftest.err
44158 cat conftest.err >&5
44159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44160 (exit $ac_status); } &&
44161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44162 { (case "(($ac_try" in
44163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44164 *) ac_try_echo=$ac_try;;
44166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44167 (eval "$ac_try") 2>&5
44169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44170 (exit $ac_status); }; } &&
44171 { ac_try='test -s conftest$ac_exeext'
44172 { (case "(($ac_try" in
44173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44174 *) ac_try_echo=$ac_try;;
44176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44177 (eval "$ac_try") 2>&5
44179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44180 (exit $ac_status); }; }; then
44181 ac_cv_func_gmtime_r=yes
44183 echo "$as_me: failed program was:" >&5
44184 sed 's/^/| /' conftest.$ac_ext >&5
44186 ac_cv_func_gmtime_r=no
44189 rm -f core conftest.err conftest.$ac_objext \
44190 conftest$ac_exeext conftest.$ac_ext
44192 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
44193 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
44194 if test $ac_cv_func_gmtime_r = yes; then
44195 cat >>confdefs.h <<\_ACEOF
44196 #define HAVE_GMTIME_R 1
44201 { echo "$as_me:$LINENO: checking for readdir_r" >&5
44202 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
44203 if test "${ac_cv_func_readdir_r+set}" = set; then
44204 echo $ECHO_N "(cached) $ECHO_C" >&6
44206 cat >conftest.$ac_ext <<_ACEOF
44209 cat confdefs.h >>conftest.$ac_ext
44210 cat >>conftest.$ac_ext <<_ACEOF
44211 /* end confdefs.h. */
44212 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
44213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44214 #define readdir_r innocuous_readdir_r
44216 /* System header to define __stub macros and hopefully few prototypes,
44217 which can conflict with char readdir_r (); below.
44218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44219 <limits.h> exists even on freestanding compilers. */
44222 # include <limits.h>
44224 # include <assert.h>
44229 /* Override any GCC internal prototype to avoid an error.
44230 Use char because int might match the return type of a GCC
44231 builtin and then its argument prototype would still apply. */
44236 /* The GNU C library defines this for functions which it implements
44237 to always fail with ENOSYS. Some functions are actually named
44238 something starting with __ and the normal name is an alias. */
44239 #if defined __stub_readdir_r || defined __stub___readdir_r
44246 return readdir_r ();
44251 rm -f conftest.$ac_objext conftest$ac_exeext
44252 if { (ac_try="$ac_link"
44253 case "(($ac_try" in
44254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44255 *) ac_try_echo=$ac_try;;
44257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44258 (eval "$ac_link") 2>conftest.er1
44260 grep -v '^ *+' conftest.er1 >conftest.err
44262 cat conftest.err >&5
44263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44264 (exit $ac_status); } &&
44265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44266 { (case "(($ac_try" in
44267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44268 *) ac_try_echo=$ac_try;;
44270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44271 (eval "$ac_try") 2>&5
44273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44274 (exit $ac_status); }; } &&
44275 { ac_try='test -s conftest$ac_exeext'
44276 { (case "(($ac_try" in
44277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44278 *) ac_try_echo=$ac_try;;
44280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44281 (eval "$ac_try") 2>&5
44283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44284 (exit $ac_status); }; }; then
44285 ac_cv_func_readdir_r=yes
44287 echo "$as_me: failed program was:" >&5
44288 sed 's/^/| /' conftest.$ac_ext >&5
44290 ac_cv_func_readdir_r=no
44293 rm -f core conftest.err conftest.$ac_objext \
44294 conftest$ac_exeext conftest.$ac_ext
44296 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
44297 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
44298 if test $ac_cv_func_readdir_r = yes; then
44299 cat >>confdefs.h <<\_ACEOF
44300 #define HAVE_READDIR_R 1
44309 ac_cpp='$CPP $CPPFLAGS'
44310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44314 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
44315 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
44317 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44318 echo $ECHO_N "(cached) $ECHO_C" >&6
44322 ################################################################
44324 ac_cv_func_which_gethostbyname_r=unknown
44327 # ONE ARGUMENT (sanity check)
44330 # This should fail, as there is no variant of gethostbyname_r() that takes
44331 # a single argument. If it actually compiles, then we can assume that
44332 # netdb.h is not declaring the function, and the compiler is thereby
44333 # assuming an implicit prototype. In which case, we're out of luck.
44335 cat >conftest.$ac_ext <<_ACEOF
44338 cat confdefs.h >>conftest.$ac_ext
44339 cat >>conftest.$ac_ext <<_ACEOF
44340 /* end confdefs.h. */
44346 char *name = "www.gnu.org";
44347 (void)gethostbyname_r(name) /* ; */
44353 rm -f conftest.$ac_objext
44354 if { (ac_try="$ac_compile"
44355 case "(($ac_try" in
44356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44357 *) ac_try_echo=$ac_try;;
44359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44360 (eval "$ac_compile") 2>conftest.er1
44362 grep -v '^ *+' conftest.er1 >conftest.err
44364 cat conftest.err >&5
44365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44366 (exit $ac_status); } &&
44367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44368 { (case "(($ac_try" in
44369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44370 *) ac_try_echo=$ac_try;;
44372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44373 (eval "$ac_try") 2>&5
44375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44376 (exit $ac_status); }; } &&
44377 { ac_try='test -s conftest.$ac_objext'
44378 { (case "(($ac_try" in
44379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44380 *) ac_try_echo=$ac_try;;
44382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44383 (eval "$ac_try") 2>&5
44385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44386 (exit $ac_status); }; }; then
44387 ac_cv_func_which_gethostbyname_r=no
44389 echo "$as_me: failed program was:" >&5
44390 sed 's/^/| /' conftest.$ac_ext >&5
44395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44402 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44404 cat >conftest.$ac_ext <<_ACEOF
44407 cat confdefs.h >>conftest.$ac_ext
44408 cat >>conftest.$ac_ext <<_ACEOF
44409 /* end confdefs.h. */
44415 char *name = "www.gnu.org";
44416 struct hostent ret, *retp;
44420 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44426 rm -f conftest.$ac_objext
44427 if { (ac_try="$ac_compile"
44428 case "(($ac_try" in
44429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44430 *) ac_try_echo=$ac_try;;
44432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44433 (eval "$ac_compile") 2>conftest.er1
44435 grep -v '^ *+' conftest.er1 >conftest.err
44437 cat conftest.err >&5
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); } &&
44440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44441 { (case "(($ac_try" in
44442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44443 *) ac_try_echo=$ac_try;;
44445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44446 (eval "$ac_try") 2>&5
44448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44449 (exit $ac_status); }; } &&
44450 { ac_try='test -s conftest.$ac_objext'
44451 { (case "(($ac_try" in
44452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44453 *) ac_try_echo=$ac_try;;
44455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44456 (eval "$ac_try") 2>&5
44458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44459 (exit $ac_status); }; }; then
44460 ac_cv_func_which_gethostbyname_r=six
44462 echo "$as_me: failed program was:" >&5
44463 sed 's/^/| /' conftest.$ac_ext >&5
44468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44477 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44479 cat >conftest.$ac_ext <<_ACEOF
44482 cat confdefs.h >>conftest.$ac_ext
44483 cat >>conftest.$ac_ext <<_ACEOF
44484 /* end confdefs.h. */
44490 char *name = "www.gnu.org";
44491 struct hostent ret;
44495 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44501 rm -f conftest.$ac_objext
44502 if { (ac_try="$ac_compile"
44503 case "(($ac_try" in
44504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44505 *) ac_try_echo=$ac_try;;
44507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44508 (eval "$ac_compile") 2>conftest.er1
44510 grep -v '^ *+' conftest.er1 >conftest.err
44512 cat conftest.err >&5
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); } &&
44515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44516 { (case "(($ac_try" in
44517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44518 *) ac_try_echo=$ac_try;;
44520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44521 (eval "$ac_try") 2>&5
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); }; } &&
44525 { ac_try='test -s conftest.$ac_objext'
44526 { (case "(($ac_try" in
44527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44528 *) ac_try_echo=$ac_try;;
44530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44531 (eval "$ac_try") 2>&5
44533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44534 (exit $ac_status); }; }; then
44535 ac_cv_func_which_gethostbyname_r=five
44537 echo "$as_me: failed program was:" >&5
44538 sed 's/^/| /' conftest.$ac_ext >&5
44543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44549 # (e.g. AIX, HP-UX, Tru64)
44552 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44554 cat >conftest.$ac_ext <<_ACEOF
44557 cat confdefs.h >>conftest.$ac_ext
44558 cat >>conftest.$ac_ext <<_ACEOF
44559 /* end confdefs.h. */
44565 char *name = "www.gnu.org";
44566 struct hostent ret;
44567 struct hostent_data data;
44568 (void)gethostbyname_r(name, &ret, &data) /* ; */
44574 rm -f conftest.$ac_objext
44575 if { (ac_try="$ac_compile"
44576 case "(($ac_try" in
44577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44578 *) ac_try_echo=$ac_try;;
44580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44581 (eval "$ac_compile") 2>conftest.er1
44583 grep -v '^ *+' conftest.er1 >conftest.err
44585 cat conftest.err >&5
44586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44587 (exit $ac_status); } &&
44588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44589 { (case "(($ac_try" in
44590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44591 *) ac_try_echo=$ac_try;;
44593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44594 (eval "$ac_try") 2>&5
44596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44597 (exit $ac_status); }; } &&
44598 { ac_try='test -s conftest.$ac_objext'
44599 { (case "(($ac_try" in
44600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44601 *) ac_try_echo=$ac_try;;
44603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44604 (eval "$ac_try") 2>&5
44606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44607 (exit $ac_status); }; }; then
44608 ac_cv_func_which_gethostbyname_r=three
44610 echo "$as_me: failed program was:" >&5
44611 sed 's/^/| /' conftest.$ac_ext >&5
44616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44620 ################################################################
44625 case "$ac_cv_func_which_gethostbyname_r" in
44627 { echo "$as_me:$LINENO: result: three" >&5
44628 echo "${ECHO_T}three" >&6; }
44629 cat >>confdefs.h <<\_ACEOF
44630 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
44636 { echo "$as_me:$LINENO: result: five" >&5
44637 echo "${ECHO_T}five" >&6; }
44638 cat >>confdefs.h <<\_ACEOF
44639 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
44645 { echo "$as_me:$LINENO: result: six" >&5
44646 echo "${ECHO_T}six" >&6; }
44647 cat >>confdefs.h <<\_ACEOF
44648 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
44654 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
44655 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
44659 { echo "$as_me:$LINENO: result: can't tell" >&5
44660 echo "${ECHO_T}can't tell" >&6; }
44664 { { echo "$as_me:$LINENO: error: internal error" >&5
44665 echo "$as_me: error: internal error" >&2;}
44666 { (exit 1); exit 1; }; }
44671 ac_cpp='$CPP $CPPFLAGS'
44672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44678 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
44679 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
44680 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
44681 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
44682 if test "${ac_cv_func_gethostbyname+set}" = set; then
44683 echo $ECHO_N "(cached) $ECHO_C" >&6
44685 cat >conftest.$ac_ext <<_ACEOF
44688 cat confdefs.h >>conftest.$ac_ext
44689 cat >>conftest.$ac_ext <<_ACEOF
44690 /* end confdefs.h. */
44691 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
44692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44693 #define gethostbyname innocuous_gethostbyname
44695 /* System header to define __stub macros and hopefully few prototypes,
44696 which can conflict with char gethostbyname (); below.
44697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44698 <limits.h> exists even on freestanding compilers. */
44701 # include <limits.h>
44703 # include <assert.h>
44706 #undef gethostbyname
44708 /* Override any GCC internal prototype to avoid an error.
44709 Use char because int might match the return type of a GCC
44710 builtin and then its argument prototype would still apply. */
44714 char gethostbyname ();
44715 /* The GNU C library defines this for functions which it implements
44716 to always fail with ENOSYS. Some functions are actually named
44717 something starting with __ and the normal name is an alias. */
44718 #if defined __stub_gethostbyname || defined __stub___gethostbyname
44725 return gethostbyname ();
44730 rm -f conftest.$ac_objext conftest$ac_exeext
44731 if { (ac_try="$ac_link"
44732 case "(($ac_try" in
44733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44734 *) ac_try_echo=$ac_try;;
44736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44737 (eval "$ac_link") 2>conftest.er1
44739 grep -v '^ *+' conftest.er1 >conftest.err
44741 cat conftest.err >&5
44742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44743 (exit $ac_status); } &&
44744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44745 { (case "(($ac_try" in
44746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44747 *) ac_try_echo=$ac_try;;
44749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44750 (eval "$ac_try") 2>&5
44752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44753 (exit $ac_status); }; } &&
44754 { ac_try='test -s conftest$ac_exeext'
44755 { (case "(($ac_try" in
44756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44757 *) ac_try_echo=$ac_try;;
44759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44760 (eval "$ac_try") 2>&5
44762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44763 (exit $ac_status); }; }; then
44764 ac_cv_func_gethostbyname=yes
44766 echo "$as_me: failed program was:" >&5
44767 sed 's/^/| /' conftest.$ac_ext >&5
44769 ac_cv_func_gethostbyname=no
44772 rm -f core conftest.err conftest.$ac_objext \
44773 conftest$ac_exeext conftest.$ac_ext
44775 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
44776 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
44777 if test $ac_cv_func_gethostbyname = yes; then
44778 cat >>confdefs.h <<\_ACEOF
44779 #define HAVE_GETHOSTBYNAME 1
44786 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
44787 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
44788 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
44789 echo $ECHO_N "(cached) $ECHO_C" >&6
44793 ac_cpp='$CXXCPP $CPPFLAGS'
44794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44799 cat >conftest.$ac_ext <<_ACEOF
44802 cat confdefs.h >>conftest.$ac_ext
44803 cat >>conftest.$ac_ext <<_ACEOF
44804 /* end confdefs.h. */
44812 struct servent *se, *res;
44815 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
44821 rm -f conftest.$ac_objext
44822 if { (ac_try="$ac_compile"
44823 case "(($ac_try" in
44824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44825 *) ac_try_echo=$ac_try;;
44827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44828 (eval "$ac_compile") 2>conftest.er1
44830 grep -v '^ *+' conftest.er1 >conftest.err
44832 cat conftest.err >&5
44833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44834 (exit $ac_status); } &&
44835 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44836 { (case "(($ac_try" in
44837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44838 *) ac_try_echo=$ac_try;;
44840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44841 (eval "$ac_try") 2>&5
44843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44844 (exit $ac_status); }; } &&
44845 { ac_try='test -s conftest.$ac_objext'
44846 { (case "(($ac_try" in
44847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44848 *) ac_try_echo=$ac_try;;
44850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44851 (eval "$ac_try") 2>&5
44853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44854 (exit $ac_status); }; }; then
44855 ac_cv_func_which_getservbyname_r=six
44857 echo "$as_me: failed program was:" >&5
44858 sed 's/^/| /' conftest.$ac_ext >&5
44861 cat >conftest.$ac_ext <<_ACEOF
44864 cat confdefs.h >>conftest.$ac_ext
44865 cat >>conftest.$ac_ext <<_ACEOF
44866 /* end confdefs.h. */
44874 struct servent *se;
44877 (void) getservbyname_r(name, proto, se, buffer, buflen)
44883 rm -f conftest.$ac_objext
44884 if { (ac_try="$ac_compile"
44885 case "(($ac_try" in
44886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44887 *) ac_try_echo=$ac_try;;
44889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44890 (eval "$ac_compile") 2>conftest.er1
44892 grep -v '^ *+' conftest.er1 >conftest.err
44894 cat conftest.err >&5
44895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44896 (exit $ac_status); } &&
44897 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44898 { (case "(($ac_try" in
44899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44900 *) ac_try_echo=$ac_try;;
44902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44903 (eval "$ac_try") 2>&5
44905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44906 (exit $ac_status); }; } &&
44907 { ac_try='test -s conftest.$ac_objext'
44908 { (case "(($ac_try" in
44909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44910 *) ac_try_echo=$ac_try;;
44912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44913 (eval "$ac_try") 2>&5
44915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44916 (exit $ac_status); }; }; then
44917 ac_cv_func_which_getservbyname_r=five
44919 echo "$as_me: failed program was:" >&5
44920 sed 's/^/| /' conftest.$ac_ext >&5
44923 cat >conftest.$ac_ext <<_ACEOF
44926 cat confdefs.h >>conftest.$ac_ext
44927 cat >>conftest.$ac_ext <<_ACEOF
44928 /* end confdefs.h. */
44936 struct servent *se;
44937 struct servent_data data;
44938 (void) getservbyname_r(name, proto, se, &data);
44944 rm -f conftest.$ac_objext
44945 if { (ac_try="$ac_compile"
44946 case "(($ac_try" in
44947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44948 *) ac_try_echo=$ac_try;;
44950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44951 (eval "$ac_compile") 2>conftest.er1
44953 grep -v '^ *+' conftest.er1 >conftest.err
44955 cat conftest.err >&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); } &&
44958 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44959 { (case "(($ac_try" in
44960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44961 *) ac_try_echo=$ac_try;;
44963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44964 (eval "$ac_try") 2>&5
44966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44967 (exit $ac_status); }; } &&
44968 { ac_try='test -s conftest.$ac_objext'
44969 { (case "(($ac_try" in
44970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44971 *) ac_try_echo=$ac_try;;
44973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44974 (eval "$ac_try") 2>&5
44976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44977 (exit $ac_status); }; }; then
44978 ac_cv_func_which_getservbyname_r=four
44980 echo "$as_me: failed program was:" >&5
44981 sed 's/^/| /' conftest.$ac_ext >&5
44983 ac_cv_func_which_getservbyname_r=no
44987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44999 ac_cpp='$CPP $CPPFLAGS'
45000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45007 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
45008 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
45010 if test $ac_cv_func_which_getservbyname_r = six; then
45011 cat >>confdefs.h <<\_ACEOF
45012 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
45015 elif test $ac_cv_func_which_getservbyname_r = five; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
45020 elif test $ac_cv_func_which_getservbyname_r = four; then
45021 cat >>confdefs.h <<\_ACEOF
45022 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
45028 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
45029 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
45031 for ac_func in getservbyname
45033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45034 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45036 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45037 echo $ECHO_N "(cached) $ECHO_C" >&6
45039 cat >conftest.$ac_ext <<_ACEOF
45042 cat confdefs.h >>conftest.$ac_ext
45043 cat >>conftest.$ac_ext <<_ACEOF
45044 /* end confdefs.h. */
45045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45047 #define $ac_func innocuous_$ac_func
45049 /* System header to define __stub macros and hopefully few prototypes,
45050 which can conflict with char $ac_func (); below.
45051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45052 <limits.h> exists even on freestanding compilers. */
45055 # include <limits.h>
45057 # include <assert.h>
45062 /* Override any GCC internal prototype to avoid an error.
45063 Use char because int might match the return type of a GCC
45064 builtin and then its argument prototype would still apply. */
45069 /* The GNU C library defines this for functions which it implements
45070 to always fail with ENOSYS. Some functions are actually named
45071 something starting with __ and the normal name is an alias. */
45072 #if defined __stub_$ac_func || defined __stub___$ac_func
45079 return $ac_func ();
45084 rm -f conftest.$ac_objext conftest$ac_exeext
45085 if { (ac_try="$ac_link"
45086 case "(($ac_try" in
45087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45088 *) ac_try_echo=$ac_try;;
45090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45091 (eval "$ac_link") 2>conftest.er1
45093 grep -v '^ *+' conftest.er1 >conftest.err
45095 cat conftest.err >&5
45096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45097 (exit $ac_status); } &&
45098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45099 { (case "(($ac_try" in
45100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45101 *) ac_try_echo=$ac_try;;
45103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45104 (eval "$ac_try") 2>&5
45106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45107 (exit $ac_status); }; } &&
45108 { ac_try='test -s conftest$ac_exeext'
45109 { (case "(($ac_try" in
45110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45111 *) ac_try_echo=$ac_try;;
45113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45114 (eval "$ac_try") 2>&5
45116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45117 (exit $ac_status); }; }; then
45118 eval "$as_ac_var=yes"
45120 echo "$as_me: failed program was:" >&5
45121 sed 's/^/| /' conftest.$ac_ext >&5
45123 eval "$as_ac_var=no"
45126 rm -f core conftest.err conftest.$ac_objext \
45127 conftest$ac_exeext conftest.$ac_ext
45129 ac_res=`eval echo '${'$as_ac_var'}'`
45130 { echo "$as_me:$LINENO: result: $ac_res" >&5
45131 echo "${ECHO_T}$ac_res" >&6; }
45132 if test `eval echo '${'$as_ac_var'}'` = yes; then
45133 cat >>confdefs.h <<_ACEOF
45134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45136 cat >>confdefs.h <<\_ACEOF
45137 #define HAVE_GETSERVBYNAME 1
45145 if test "$wxUSE_THREADS" = "yes"; then
45146 cat >>confdefs.h <<\_ACEOF
45147 #define wxUSE_THREADS 1
45151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
45153 if test "$wx_cv_func_strtok_r" = "yes"; then
45154 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
45155 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
45156 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
45157 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
45158 { echo "$as_me:$LINENO: result: yes" >&5
45159 echo "${ECHO_T}yes" >&6; }
45161 { echo "$as_me:$LINENO: result: no" >&5
45162 echo "${ECHO_T}no" >&6; }
45167 if test "$WXGTK20" = 1 ; then
45168 cat >>confdefs.h <<_ACEOF
45169 #define __WXGTK20__ $WXGTK20
45175 if test "$WXGTK12" = 1 ; then
45176 cat >>confdefs.h <<_ACEOF
45177 #define __WXGTK12__ $WXGTK12
45182 if test "$WXGTK127" = 1 ; then
45183 cat >>confdefs.h <<_ACEOF
45184 #define __WXGTK127__ $WXGTK127
45189 if test "$WXGPE" = 1 ; then
45190 cat >>confdefs.h <<_ACEOF
45191 #define __WXGPE__ $WXGPE
45197 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
45202 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
45203 wxUSE_DEBUG_INFO=yes
45204 if test "$GCC" = yes; then
45205 DEBUG_CFLAGS="-ggdb"
45209 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
45210 cat >>confdefs.h <<\_ACEOF
45214 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
45216 if test "$wxUSE_GTK" = 1 ; then
45217 if test "x$wxGTK_VERSION" = "x1" ; then
45218 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
45223 if test "$wxUSE_MEM_TRACING" = "yes" ; then
45224 cat >>confdefs.h <<\_ACEOF
45225 #define wxUSE_MEMORY_TRACING 1
45228 cat >>confdefs.h <<\_ACEOF
45229 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
45232 cat >>confdefs.h <<\_ACEOF
45233 #define wxUSE_DEBUG_NEW_ALWAYS 1
45236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
45239 if test "$wxUSE_DMALLOC" = "yes" ; then
45240 DMALLOC_LIBS="-ldmallocthcxx"
45244 if test "$wxUSE_PROFILE" = "yes" ; then
45245 PROFILE_FLAGS=" -pg"
45248 if test "$GCC" = "yes" ; then
45249 if test "$wxUSE_NO_RTTI" = "yes" ; then
45250 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
45252 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45253 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
45255 if test "$wxUSE_PERMISSIVE" = "yes" ; then
45256 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
45261 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
45264 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
45270 if test "$wxUSE_OPTIMISE" = "no" ; then
45271 if test "$GCC" = yes ; then
45272 OPTIMISE_CFLAGS="-O0"
45275 if test "$GCC" = yes ; then
45277 *-pc-os2_emx | *-pc-os2-emx )
45278 OPTIMISE_CFLAGS="-O2"
45281 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
45285 OPTIMISE_CFLAGS="-O"
45290 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
45291 cat >>confdefs.h <<\_ACEOF
45292 #define WXWIN_COMPATIBILITY_2_6 1
45296 WXWIN_COMPATIBILITY_2_8="yes"
45299 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
45300 cat >>confdefs.h <<\_ACEOF
45301 #define WXWIN_COMPATIBILITY_2_8 1
45307 if test "$wxUSE_GUI" = "yes"; then
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_GUI 1
45316 if test "$wxUSE_UNIX" = "yes"; then
45317 cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_UNIX 1
45324 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45328 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45329 if test "$USE_DARWIN" = 1; then
45331 elif test "$USE_DOS" = 1; then
45335 for ac_func in dlopen
45337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45338 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45340 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45341 echo $ECHO_N "(cached) $ECHO_C" >&6
45343 cat >conftest.$ac_ext <<_ACEOF
45346 cat confdefs.h >>conftest.$ac_ext
45347 cat >>conftest.$ac_ext <<_ACEOF
45348 /* end confdefs.h. */
45349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45351 #define $ac_func innocuous_$ac_func
45353 /* System header to define __stub macros and hopefully few prototypes,
45354 which can conflict with char $ac_func (); below.
45355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45356 <limits.h> exists even on freestanding compilers. */
45359 # include <limits.h>
45361 # include <assert.h>
45366 /* Override any GCC internal prototype to avoid an error.
45367 Use char because int might match the return type of a GCC
45368 builtin and then its argument prototype would still apply. */
45373 /* The GNU C library defines this for functions which it implements
45374 to always fail with ENOSYS. Some functions are actually named
45375 something starting with __ and the normal name is an alias. */
45376 #if defined __stub_$ac_func || defined __stub___$ac_func
45383 return $ac_func ();
45388 rm -f conftest.$ac_objext conftest$ac_exeext
45389 if { (ac_try="$ac_link"
45390 case "(($ac_try" in
45391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45392 *) ac_try_echo=$ac_try;;
45394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45395 (eval "$ac_link") 2>conftest.er1
45397 grep -v '^ *+' conftest.er1 >conftest.err
45399 cat conftest.err >&5
45400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45401 (exit $ac_status); } &&
45402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45403 { (case "(($ac_try" in
45404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45405 *) ac_try_echo=$ac_try;;
45407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45408 (eval "$ac_try") 2>&5
45410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45411 (exit $ac_status); }; } &&
45412 { ac_try='test -s conftest$ac_exeext'
45413 { (case "(($ac_try" in
45414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45415 *) ac_try_echo=$ac_try;;
45417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45418 (eval "$ac_try") 2>&5
45420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45421 (exit $ac_status); }; }; then
45422 eval "$as_ac_var=yes"
45424 echo "$as_me: failed program was:" >&5
45425 sed 's/^/| /' conftest.$ac_ext >&5
45427 eval "$as_ac_var=no"
45430 rm -f core conftest.err conftest.$ac_objext \
45431 conftest$ac_exeext conftest.$ac_ext
45433 ac_res=`eval echo '${'$as_ac_var'}'`
45434 { echo "$as_me:$LINENO: result: $ac_res" >&5
45435 echo "${ECHO_T}$ac_res" >&6; }
45436 if test `eval echo '${'$as_ac_var'}'` = yes; then
45437 cat >>confdefs.h <<_ACEOF
45438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45441 cat >>confdefs.h <<\_ACEOF
45442 #define HAVE_DLOPEN 1
45449 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45450 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45451 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45452 echo $ECHO_N "(cached) $ECHO_C" >&6
45454 ac_check_lib_save_LIBS=$LIBS
45456 cat >conftest.$ac_ext <<_ACEOF
45459 cat confdefs.h >>conftest.$ac_ext
45460 cat >>conftest.$ac_ext <<_ACEOF
45461 /* end confdefs.h. */
45463 /* Override any GCC internal prototype to avoid an error.
45464 Use char because int might match the return type of a GCC
45465 builtin and then its argument prototype would still apply. */
45478 rm -f conftest.$ac_objext conftest$ac_exeext
45479 if { (ac_try="$ac_link"
45480 case "(($ac_try" in
45481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45482 *) ac_try_echo=$ac_try;;
45484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45485 (eval "$ac_link") 2>conftest.er1
45487 grep -v '^ *+' conftest.er1 >conftest.err
45489 cat conftest.err >&5
45490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45491 (exit $ac_status); } &&
45492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45493 { (case "(($ac_try" in
45494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45495 *) ac_try_echo=$ac_try;;
45497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45498 (eval "$ac_try") 2>&5
45500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45501 (exit $ac_status); }; } &&
45502 { ac_try='test -s conftest$ac_exeext'
45503 { (case "(($ac_try" in
45504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45505 *) ac_try_echo=$ac_try;;
45507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45508 (eval "$ac_try") 2>&5
45510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45511 (exit $ac_status); }; }; then
45512 ac_cv_lib_dl_dlopen=yes
45514 echo "$as_me: failed program was:" >&5
45515 sed 's/^/| /' conftest.$ac_ext >&5
45517 ac_cv_lib_dl_dlopen=no
45520 rm -f core conftest.err conftest.$ac_objext \
45521 conftest$ac_exeext conftest.$ac_ext
45522 LIBS=$ac_check_lib_save_LIBS
45524 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45525 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45526 if test $ac_cv_lib_dl_dlopen = yes; then
45528 cat >>confdefs.h <<\_ACEOF
45529 #define HAVE_DLOPEN 1
45533 DL_LINK=" -ldl$DL_LINK"
45538 for ac_func in shl_load
45540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45541 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45543 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45544 echo $ECHO_N "(cached) $ECHO_C" >&6
45546 cat >conftest.$ac_ext <<_ACEOF
45549 cat confdefs.h >>conftest.$ac_ext
45550 cat >>conftest.$ac_ext <<_ACEOF
45551 /* end confdefs.h. */
45552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45554 #define $ac_func innocuous_$ac_func
45556 /* System header to define __stub macros and hopefully few prototypes,
45557 which can conflict with char $ac_func (); below.
45558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45559 <limits.h> exists even on freestanding compilers. */
45562 # include <limits.h>
45564 # include <assert.h>
45569 /* Override any GCC internal prototype to avoid an error.
45570 Use char because int might match the return type of a GCC
45571 builtin and then its argument prototype would still apply. */
45576 /* The GNU C library defines this for functions which it implements
45577 to always fail with ENOSYS. Some functions are actually named
45578 something starting with __ and the normal name is an alias. */
45579 #if defined __stub_$ac_func || defined __stub___$ac_func
45586 return $ac_func ();
45591 rm -f conftest.$ac_objext conftest$ac_exeext
45592 if { (ac_try="$ac_link"
45593 case "(($ac_try" in
45594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45595 *) ac_try_echo=$ac_try;;
45597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45598 (eval "$ac_link") 2>conftest.er1
45600 grep -v '^ *+' conftest.er1 >conftest.err
45602 cat conftest.err >&5
45603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45604 (exit $ac_status); } &&
45605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45606 { (case "(($ac_try" in
45607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45608 *) ac_try_echo=$ac_try;;
45610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45611 (eval "$ac_try") 2>&5
45613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45614 (exit $ac_status); }; } &&
45615 { ac_try='test -s conftest$ac_exeext'
45616 { (case "(($ac_try" in
45617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45618 *) ac_try_echo=$ac_try;;
45620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45621 (eval "$ac_try") 2>&5
45623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45624 (exit $ac_status); }; }; then
45625 eval "$as_ac_var=yes"
45627 echo "$as_me: failed program was:" >&5
45628 sed 's/^/| /' conftest.$ac_ext >&5
45630 eval "$as_ac_var=no"
45633 rm -f core conftest.err conftest.$ac_objext \
45634 conftest$ac_exeext conftest.$ac_ext
45636 ac_res=`eval echo '${'$as_ac_var'}'`
45637 { echo "$as_me:$LINENO: result: $ac_res" >&5
45638 echo "${ECHO_T}$ac_res" >&6; }
45639 if test `eval echo '${'$as_ac_var'}'` = yes; then
45640 cat >>confdefs.h <<_ACEOF
45641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45644 cat >>confdefs.h <<\_ACEOF
45645 #define HAVE_SHL_LOAD 1
45652 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45653 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45654 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45655 echo $ECHO_N "(cached) $ECHO_C" >&6
45657 ac_check_lib_save_LIBS=$LIBS
45658 LIBS="-lshl_load $LIBS"
45659 cat >conftest.$ac_ext <<_ACEOF
45662 cat confdefs.h >>conftest.$ac_ext
45663 cat >>conftest.$ac_ext <<_ACEOF
45664 /* end confdefs.h. */
45666 /* Override any GCC internal prototype to avoid an error.
45667 Use char because int might match the return type of a GCC
45668 builtin and then its argument prototype would still apply. */
45681 rm -f conftest.$ac_objext conftest$ac_exeext
45682 if { (ac_try="$ac_link"
45683 case "(($ac_try" in
45684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45685 *) ac_try_echo=$ac_try;;
45687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45688 (eval "$ac_link") 2>conftest.er1
45690 grep -v '^ *+' conftest.er1 >conftest.err
45692 cat conftest.err >&5
45693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45694 (exit $ac_status); } &&
45695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45696 { (case "(($ac_try" in
45697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45698 *) ac_try_echo=$ac_try;;
45700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45701 (eval "$ac_try") 2>&5
45703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45704 (exit $ac_status); }; } &&
45705 { ac_try='test -s conftest$ac_exeext'
45706 { (case "(($ac_try" in
45707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45708 *) ac_try_echo=$ac_try;;
45710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45711 (eval "$ac_try") 2>&5
45713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45714 (exit $ac_status); }; }; then
45715 ac_cv_lib_shl_load_dld=yes
45717 echo "$as_me: failed program was:" >&5
45718 sed 's/^/| /' conftest.$ac_ext >&5
45720 ac_cv_lib_shl_load_dld=no
45723 rm -f core conftest.err conftest.$ac_objext \
45724 conftest$ac_exeext conftest.$ac_ext
45725 LIBS=$ac_check_lib_save_LIBS
45727 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
45728 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
45729 if test $ac_cv_lib_shl_load_dld = yes; then
45732 DL_LINK=" -ldld$DL_LINK"
45748 if test "$HAVE_DL_FUNCS" = 1; then
45750 for ac_func in dlerror
45752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45753 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45755 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45756 echo $ECHO_N "(cached) $ECHO_C" >&6
45758 cat >conftest.$ac_ext <<_ACEOF
45761 cat confdefs.h >>conftest.$ac_ext
45762 cat >>conftest.$ac_ext <<_ACEOF
45763 /* end confdefs.h. */
45764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45766 #define $ac_func innocuous_$ac_func
45768 /* System header to define __stub macros and hopefully few prototypes,
45769 which can conflict with char $ac_func (); below.
45770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45771 <limits.h> exists even on freestanding compilers. */
45774 # include <limits.h>
45776 # include <assert.h>
45781 /* Override any GCC internal prototype to avoid an error.
45782 Use char because int might match the return type of a GCC
45783 builtin and then its argument prototype would still apply. */
45788 /* The GNU C library defines this for functions which it implements
45789 to always fail with ENOSYS. Some functions are actually named
45790 something starting with __ and the normal name is an alias. */
45791 #if defined __stub_$ac_func || defined __stub___$ac_func
45798 return $ac_func ();
45803 rm -f conftest.$ac_objext conftest$ac_exeext
45804 if { (ac_try="$ac_link"
45805 case "(($ac_try" in
45806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45807 *) ac_try_echo=$ac_try;;
45809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45810 (eval "$ac_link") 2>conftest.er1
45812 grep -v '^ *+' conftest.er1 >conftest.err
45814 cat conftest.err >&5
45815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45816 (exit $ac_status); } &&
45817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45818 { (case "(($ac_try" in
45819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45820 *) ac_try_echo=$ac_try;;
45822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45823 (eval "$ac_try") 2>&5
45825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45826 (exit $ac_status); }; } &&
45827 { ac_try='test -s conftest$ac_exeext'
45828 { (case "(($ac_try" in
45829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45830 *) ac_try_echo=$ac_try;;
45832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45833 (eval "$ac_try") 2>&5
45835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45836 (exit $ac_status); }; }; then
45837 eval "$as_ac_var=yes"
45839 echo "$as_me: failed program was:" >&5
45840 sed 's/^/| /' conftest.$ac_ext >&5
45842 eval "$as_ac_var=no"
45845 rm -f core conftest.err conftest.$ac_objext \
45846 conftest$ac_exeext conftest.$ac_ext
45848 ac_res=`eval echo '${'$as_ac_var'}'`
45849 { echo "$as_me:$LINENO: result: $ac_res" >&5
45850 echo "${ECHO_T}$ac_res" >&6; }
45851 if test `eval echo '${'$as_ac_var'}'` = yes; then
45852 cat >>confdefs.h <<_ACEOF
45853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45855 cat >>confdefs.h <<\_ACEOF
45856 #define HAVE_DLERROR 1
45861 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
45862 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
45863 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
45864 echo $ECHO_N "(cached) $ECHO_C" >&6
45866 ac_check_lib_save_LIBS=$LIBS
45868 cat >conftest.$ac_ext <<_ACEOF
45871 cat confdefs.h >>conftest.$ac_ext
45872 cat >>conftest.$ac_ext <<_ACEOF
45873 /* end confdefs.h. */
45875 /* Override any GCC internal prototype to avoid an error.
45876 Use char because int might match the return type of a GCC
45877 builtin and then its argument prototype would still apply. */
45890 rm -f conftest.$ac_objext conftest$ac_exeext
45891 if { (ac_try="$ac_link"
45892 case "(($ac_try" in
45893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45894 *) ac_try_echo=$ac_try;;
45896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45897 (eval "$ac_link") 2>conftest.er1
45899 grep -v '^ *+' conftest.er1 >conftest.err
45901 cat conftest.err >&5
45902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45903 (exit $ac_status); } &&
45904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45905 { (case "(($ac_try" in
45906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45907 *) ac_try_echo=$ac_try;;
45909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45910 (eval "$ac_try") 2>&5
45912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45913 (exit $ac_status); }; } &&
45914 { ac_try='test -s conftest$ac_exeext'
45915 { (case "(($ac_try" in
45916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45917 *) ac_try_echo=$ac_try;;
45919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45920 (eval "$ac_try") 2>&5
45922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45923 (exit $ac_status); }; }; then
45924 ac_cv_lib_dl_dlerror=yes
45926 echo "$as_me: failed program was:" >&5
45927 sed 's/^/| /' conftest.$ac_ext >&5
45929 ac_cv_lib_dl_dlerror=no
45932 rm -f core conftest.err conftest.$ac_objext \
45933 conftest$ac_exeext conftest.$ac_ext
45934 LIBS=$ac_check_lib_save_LIBS
45936 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
45937 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
45938 if test $ac_cv_lib_dl_dlerror = yes; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define HAVE_DLERROR 1
45953 if test "$HAVE_DL_FUNCS" = 0; then
45954 if test "$HAVE_SHL_FUNCS" = 0; then
45955 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
45956 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
45957 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
45958 wxUSE_DYNAMIC_LOADER=no
45959 wxUSE_DYNLIB_CLASS=no
45961 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
45962 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
45969 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
45970 cat >>confdefs.h <<\_ACEOF
45971 #define wxUSE_DYNAMIC_LOADER 1
45975 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45976 cat >>confdefs.h <<\_ACEOF
45977 #define wxUSE_DYNLIB_CLASS 1
45984 if test "$wxUSE_PLUGINS" = "yes" ; then
45985 if test "$wxUSE_SHARED" = "no" ; then
45986 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
45987 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
45990 if test "$wxUSE_MONOLITHIC" = "yes" ; then
45991 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
45992 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
45995 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
45996 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
45997 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
46000 if test "$wxUSE_PLUGINS" = "yes" ; then
46001 cat >>confdefs.h <<\_ACEOF
46002 #define wxUSE_PLUGINS 1
46009 if test "$wxUSE_STL" = "yes"; then
46010 cat >>confdefs.h <<\_ACEOF
46011 #define wxUSE_STL 1
46016 if test "$wxUSE_APPLE_IEEE" = "yes"; then
46017 cat >>confdefs.h <<\_ACEOF
46018 #define wxUSE_APPLE_IEEE 1
46023 if test "$wxUSE_TIMER" = "yes"; then
46024 cat >>confdefs.h <<\_ACEOF
46025 #define wxUSE_TIMER 1
46030 if test "$USE_UNIX" = "1" ; then
46031 if test "$wxUSE_MGL" != 1; then
46032 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
46033 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
46034 if test "${ac_cv_header_sys_soundcard+set}" = set; then
46035 echo $ECHO_N "(cached) $ECHO_C" >&6
46038 cat >conftest.$ac_ext <<_ACEOF
46041 cat confdefs.h >>conftest.$ac_ext
46042 cat >>conftest.$ac_ext <<_ACEOF
46043 /* end confdefs.h. */
46045 #include <sys/ioctl.h>
46046 #include <sys/soundcard.h>
46052 ioctl(0, SNDCTL_DSP_SPEED, 0);
46058 rm -f conftest.$ac_objext conftest$ac_exeext
46059 if { (ac_try="$ac_link"
46060 case "(($ac_try" in
46061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46062 *) ac_try_echo=$ac_try;;
46064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46065 (eval "$ac_link") 2>conftest.er1
46067 grep -v '^ *+' conftest.er1 >conftest.err
46069 cat conftest.err >&5
46070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46071 (exit $ac_status); } &&
46072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46073 { (case "(($ac_try" in
46074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46075 *) ac_try_echo=$ac_try;;
46077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46078 (eval "$ac_try") 2>&5
46080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46081 (exit $ac_status); }; } &&
46082 { ac_try='test -s conftest$ac_exeext'
46083 { (case "(($ac_try" in
46084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46085 *) ac_try_echo=$ac_try;;
46087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46088 (eval "$ac_try") 2>&5
46090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46091 (exit $ac_status); }; }; then
46092 ac_cv_header_sys_soundcard=yes
46094 echo "$as_me: failed program was:" >&5
46095 sed 's/^/| /' conftest.$ac_ext >&5
46099 LIBS="$saveLibs -lossaudio"
46100 cat >conftest.$ac_ext <<_ACEOF
46103 cat confdefs.h >>conftest.$ac_ext
46104 cat >>conftest.$ac_ext <<_ACEOF
46105 /* end confdefs.h. */
46107 #include <sys/ioctl.h>
46108 #include <sys/soundcard.h>
46114 ioctl(0, SNDCTL_DSP_SPEED, 0);
46120 rm -f conftest.$ac_objext conftest$ac_exeext
46121 if { (ac_try="$ac_link"
46122 case "(($ac_try" in
46123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46124 *) ac_try_echo=$ac_try;;
46126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46127 (eval "$ac_link") 2>conftest.er1
46129 grep -v '^ *+' conftest.er1 >conftest.err
46131 cat conftest.err >&5
46132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46133 (exit $ac_status); } &&
46134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46135 { (case "(($ac_try" in
46136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46137 *) ac_try_echo=$ac_try;;
46139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46140 (eval "$ac_try") 2>&5
46142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46143 (exit $ac_status); }; } &&
46144 { ac_try='test -s conftest$ac_exeext'
46145 { (case "(($ac_try" in
46146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46147 *) ac_try_echo=$ac_try;;
46149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46150 (eval "$ac_try") 2>&5
46152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46153 (exit $ac_status); }; }; then
46154 ac_cv_header_sys_soundcard=yes
46156 echo "$as_me: failed program was:" >&5
46157 sed 's/^/| /' conftest.$ac_ext >&5
46161 ac_cv_header_sys_soundcard=no
46166 rm -f core conftest.err conftest.$ac_objext \
46167 conftest$ac_exeext conftest.$ac_ext
46172 rm -f core conftest.err conftest.$ac_objext \
46173 conftest$ac_exeext conftest.$ac_ext
46176 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
46177 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
46180 if test "$ac_cv_header_sys_soundcard" = "yes"; then
46181 cat >>confdefs.h <<\_ACEOF
46182 #define HAVE_SYS_SOUNDCARD_H 1
46186 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
46191 if test "$wxUSE_SOUND" = "yes"; then
46192 if test "$USE_UNIX" = "1" ; then
46193 if test "$wxUSE_LIBSDL" != "no"; then
46195 # Check whether --with-sdl-prefix was given.
46196 if test "${with_sdl_prefix+set}" = set; then
46197 withval=$with_sdl_prefix; sdl_prefix="$withval"
46203 # Check whether --with-sdl-exec-prefix was given.
46204 if test "${with_sdl_exec_prefix+set}" = set; then
46205 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
46210 # Check whether --enable-sdltest was given.
46211 if test "${enable_sdltest+set}" = set; then
46212 enableval=$enable_sdltest;
46218 if test x$sdl_exec_prefix != x ; then
46219 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
46220 if test x${SDL_CONFIG+set} != xset ; then
46221 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
46224 if test x$sdl_prefix != x ; then
46225 sdl_args="$sdl_args --prefix=$sdl_prefix"
46226 if test x${SDL_CONFIG+set} != xset ; then
46227 SDL_CONFIG=$sdl_prefix/bin/sdl-config
46231 if test "x$prefix" != xNONE; then
46232 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
46234 # Extract the first word of "sdl-config", so it can be a program name with args.
46235 set dummy sdl-config; ac_word=$2
46236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46238 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
46239 echo $ECHO_N "(cached) $ECHO_C" >&6
46241 case $SDL_CONFIG in
46243 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
46246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46247 for as_dir in $PATH
46250 test -z "$as_dir" && as_dir=.
46251 for ac_exec_ext in '' $ac_executable_extensions; do
46252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
46253 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46261 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
46265 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
46266 if test -n "$SDL_CONFIG"; then
46267 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
46268 echo "${ECHO_T}$SDL_CONFIG" >&6; }
46270 { echo "$as_me:$LINENO: result: no" >&5
46271 echo "${ECHO_T}no" >&6; }
46275 min_sdl_version=1.2.0
46276 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
46277 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
46279 if test "$SDL_CONFIG" = "no" ; then
46282 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
46283 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
46285 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
46286 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46287 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
46288 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46289 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
46290 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46291 if test "x$enable_sdltest" = "xyes" ; then
46292 ac_save_CFLAGS="$CFLAGS"
46293 ac_save_CXXFLAGS="$CXXFLAGS"
46294 ac_save_LIBS="$LIBS"
46295 CFLAGS="$CFLAGS $SDL_CFLAGS"
46296 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46297 LIBS="$LIBS $SDL_LIBS"
46299 if test "$cross_compiling" = yes; then
46300 echo $ac_n "cross compiling; assumed OK... $ac_c"
46302 cat >conftest.$ac_ext <<_ACEOF
46305 cat confdefs.h >>conftest.$ac_ext
46306 cat >>conftest.$ac_ext <<_ACEOF
46307 /* end confdefs.h. */
46310 #include <stdlib.h>
46311 #include <string.h>
46315 my_strdup (char *str)
46321 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46322 strcpy (new_str, str);
46330 int main (int argc, char *argv[])
46332 int major, minor, micro;
46335 /* This hangs on some systems (?)
46336 system ("touch conf.sdltest");
46338 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46340 /* HP/UX 9 (%@#!) writes to sscanf strings */
46341 tmp_version = my_strdup("$min_sdl_version");
46342 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
46343 printf("%s, bad version string\n", "$min_sdl_version");
46347 if (($sdl_major_version > major) ||
46348 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46349 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46355 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46356 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46357 printf("*** best to upgrade to the required version.\n");
46358 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46359 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46360 printf("*** config.cache before re-running configure\n");
46367 rm -f conftest$ac_exeext
46368 if { (ac_try="$ac_link"
46369 case "(($ac_try" in
46370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46371 *) ac_try_echo=$ac_try;;
46373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46374 (eval "$ac_link") 2>&5
46376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46378 { (case "(($ac_try" in
46379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46380 *) ac_try_echo=$ac_try;;
46382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46383 (eval "$ac_try") 2>&5
46385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46386 (exit $ac_status); }; }; then
46389 echo "$as_me: program exited with status $ac_status" >&5
46390 echo "$as_me: failed program was:" >&5
46391 sed 's/^/| /' conftest.$ac_ext >&5
46393 ( exit $ac_status )
46396 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46400 CFLAGS="$ac_save_CFLAGS"
46401 CXXFLAGS="$ac_save_CXXFLAGS"
46402 LIBS="$ac_save_LIBS"
46405 if test "x$no_sdl" = x ; then
46406 { echo "$as_me:$LINENO: result: yes" >&5
46407 echo "${ECHO_T}yes" >&6; }
46409 EXTRALIBS_SDL="$SDL_LIBS"
46410 CFLAGS="$SDL_CFLAGS $CFLAGS"
46411 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
46412 cat >>confdefs.h <<\_ACEOF
46413 #define wxUSE_LIBSDL 1
46418 { echo "$as_me:$LINENO: result: no" >&5
46419 echo "${ECHO_T}no" >&6; }
46420 if test "$SDL_CONFIG" = "no" ; then
46421 echo "*** The sdl-config script installed by SDL could not be found"
46422 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46423 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46424 echo "*** full path to sdl-config."
46426 if test -f conf.sdltest ; then
46429 echo "*** Could not run SDL test program, checking why..."
46430 CFLAGS="$CFLAGS $SDL_CFLAGS"
46431 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46432 LIBS="$LIBS $SDL_LIBS"
46433 cat >conftest.$ac_ext <<_ACEOF
46436 cat confdefs.h >>conftest.$ac_ext
46437 cat >>conftest.$ac_ext <<_ACEOF
46438 /* end confdefs.h. */
46443 int main(int argc, char *argv[])
46446 #define main K_and_R_C_main
46456 rm -f conftest.$ac_objext conftest$ac_exeext
46457 if { (ac_try="$ac_link"
46458 case "(($ac_try" in
46459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46460 *) ac_try_echo=$ac_try;;
46462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46463 (eval "$ac_link") 2>conftest.er1
46465 grep -v '^ *+' conftest.er1 >conftest.err
46467 cat conftest.err >&5
46468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46469 (exit $ac_status); } &&
46470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46471 { (case "(($ac_try" in
46472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46473 *) ac_try_echo=$ac_try;;
46475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46476 (eval "$ac_try") 2>&5
46478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46479 (exit $ac_status); }; } &&
46480 { ac_try='test -s conftest$ac_exeext'
46481 { (case "(($ac_try" in
46482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46483 *) ac_try_echo=$ac_try;;
46485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46486 (eval "$ac_try") 2>&5
46488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46489 (exit $ac_status); }; }; then
46490 echo "*** The test program compiled, but did not run. This usually means"
46491 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46492 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46493 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46494 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46495 echo "*** is required on your system"
46497 echo "*** If you have an old version installed, it is best to remove it, although"
46498 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46500 echo "$as_me: failed program was:" >&5
46501 sed 's/^/| /' conftest.$ac_ext >&5
46503 echo "*** The test program failed to compile or link. See the file config.log for the"
46504 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
46505 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46506 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46509 rm -f core conftest.err conftest.$ac_objext \
46510 conftest$ac_exeext conftest.$ac_ext
46511 CFLAGS="$ac_save_CFLAGS"
46512 CXXFLAGS="$ac_save_CXXFLAGS"
46513 LIBS="$ac_save_LIBS"
46524 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46529 if test "$wxUSE_MGL" = 1; then
46530 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
46531 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
46537 if test "$wxUSE_SOUND" = "yes"; then
46538 cat >>confdefs.h <<\_ACEOF
46539 #define wxUSE_SOUND 1
46542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
46545 if test "$WXGTK20" = 1; then
46548 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46549 if test -n "$ac_tool_prefix"; then
46550 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46551 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
46552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46554 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46555 echo $ECHO_N "(cached) $ECHO_C" >&6
46557 case $PKG_CONFIG in
46559 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
46562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46563 for as_dir in $PATH
46566 test -z "$as_dir" && as_dir=.
46567 for ac_exec_ext in '' $ac_executable_extensions; do
46568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
46569 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46580 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
46581 if test -n "$PKG_CONFIG"; then
46582 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46583 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46585 { echo "$as_me:$LINENO: result: no" >&5
46586 echo "${ECHO_T}no" >&6; }
46591 if test -z "$ac_cv_path_PKG_CONFIG"; then
46592 ac_pt_PKG_CONFIG=$PKG_CONFIG
46593 # Extract the first word of "pkg-config", so it can be a program name with args.
46594 set dummy pkg-config; ac_word=$2
46595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46597 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46598 echo $ECHO_N "(cached) $ECHO_C" >&6
46600 case $ac_pt_PKG_CONFIG in
46602 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
46605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46606 for as_dir in $PATH
46609 test -z "$as_dir" && as_dir=.
46610 for ac_exec_ext in '' $ac_executable_extensions; do
46611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
46612 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46623 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
46624 if test -n "$ac_pt_PKG_CONFIG"; then
46625 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
46626 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
46628 { echo "$as_me:$LINENO: result: no" >&5
46629 echo "${ECHO_T}no" >&6; }
46632 if test "x$ac_pt_PKG_CONFIG" = x; then
46635 case $cross_compiling:$ac_tool_warned in
46637 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46638 whose name does not start with the host triplet. If you think this
46639 configuration is useful to you, please write to autoconf@gnu.org." >&5
46640 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46641 whose name does not start with the host triplet. If you think this
46642 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46643 ac_tool_warned=yes ;;
46645 PKG_CONFIG=$ac_pt_PKG_CONFIG
46648 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
46652 if test -n "$PKG_CONFIG"; then
46653 _pkg_min_version=0.9.0
46654 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
46655 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
46656 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
46657 { echo "$as_me:$LINENO: result: yes" >&5
46658 echo "${ECHO_T}yes" >&6; }
46660 { echo "$as_me:$LINENO: result: no" >&5
46661 echo "${ECHO_T}no" >&6; }
46667 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46668 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46672 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
46673 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
46675 if test -n "$PKG_CONFIG"; then
46676 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
46677 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
46679 if test -n "$PKG_CONFIG" && \
46680 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46681 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46684 (exit $ac_status); }; then
46685 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46693 if test -n "$PKG_CONFIG"; then
46694 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
46695 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
46697 if test -n "$PKG_CONFIG" && \
46698 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46699 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46702 (exit $ac_status); }; then
46703 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46714 if test $pkg_failed = yes; then
46716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46717 _pkg_short_errors_supported=yes
46719 _pkg_short_errors_supported=no
46721 if test $_pkg_short_errors_supported = yes; then
46722 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46724 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46726 # Put the nasty error message in config.log where it belongs
46727 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
46730 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
46731 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
46732 wxUSE_LIBGNOMEPRINT="no"
46735 elif test $pkg_failed = untried; then
46737 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
46738 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
46739 wxUSE_LIBGNOMEPRINT="no"
46743 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
46744 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
46745 { echo "$as_me:$LINENO: result: yes" >&5
46746 echo "${ECHO_T}yes" >&6; }
46748 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
46749 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
46750 cat >>confdefs.h <<\_ACEOF
46751 #define wxUSE_LIBGNOMEPRINT 1
46759 if test "$wxUSE_MIMETYPE" = "yes" ; then
46760 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46764 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
46765 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
46767 if test -n "$PKG_CONFIG"; then
46768 if test -n "$GNOMEVFS_CFLAGS"; then
46769 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
46771 if test -n "$PKG_CONFIG" && \
46772 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
46773 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
46775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46776 (exit $ac_status); }; then
46777 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
46785 if test -n "$PKG_CONFIG"; then
46786 if test -n "$GNOMEVFS_LIBS"; then
46787 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
46789 if test -n "$PKG_CONFIG" && \
46790 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
46791 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
46793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46794 (exit $ac_status); }; then
46795 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
46806 if test $pkg_failed = yes; then
46808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46809 _pkg_short_errors_supported=yes
46811 _pkg_short_errors_supported=no
46813 if test $_pkg_short_errors_supported = yes; then
46814 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
46816 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
46818 # Put the nasty error message in config.log where it belongs
46819 echo "$GNOMEVFS_PKG_ERRORS" >&5
46822 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
46823 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
46824 wxUSE_LIBGNOMEVFS="no"
46827 elif test $pkg_failed = untried; then
46829 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
46830 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
46831 wxUSE_LIBGNOMEVFS="no"
46835 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
46836 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
46837 { echo "$as_me:$LINENO: result: yes" >&5
46838 echo "${ECHO_T}yes" >&6; }
46840 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
46841 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
46842 cat >>confdefs.h <<\_ACEOF
46843 #define wxUSE_LIBGNOMEVFS 1
46851 if test "$wxUSE_LIBHILDON" = "yes" ; then
46854 { echo "$as_me:$LINENO: checking for HILDON" >&5
46855 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
46857 if test -n "$PKG_CONFIG"; then
46858 if test -n "$HILDON_CFLAGS"; then
46859 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
46861 if test -n "$PKG_CONFIG" && \
46862 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
46863 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
46865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46866 (exit $ac_status); }; then
46867 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
46875 if test -n "$PKG_CONFIG"; then
46876 if test -n "$HILDON_LIBS"; then
46877 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
46879 if test -n "$PKG_CONFIG" && \
46880 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
46881 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
46883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46884 (exit $ac_status); }; then
46885 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
46896 if test $pkg_failed = yes; then
46898 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46899 _pkg_short_errors_supported=yes
46901 _pkg_short_errors_supported=no
46903 if test $_pkg_short_errors_supported = yes; then
46904 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
46906 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
46908 # Put the nasty error message in config.log where it belongs
46909 echo "$HILDON_PKG_ERRORS" >&5
46912 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
46913 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
46914 wxUSE_LIBHILDON="no"
46917 elif test $pkg_failed = untried; then
46919 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
46920 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
46921 wxUSE_LIBHILDON="no"
46925 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
46926 HILDON_LIBS=$pkg_cv_HILDON_LIBS
46927 { echo "$as_me:$LINENO: result: yes" >&5
46928 echo "${ECHO_T}yes" >&6; }
46930 EXTRALIBS_HILDON="$HILDON_LIBS"
46931 CFLAGS="$CFLAGS $HILDON_CFLAGS"
46932 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
46933 cat >>confdefs.h <<\_ACEOF
46934 #define wxUSE_LIBHILDON 1
46942 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
46943 cat >>confdefs.h <<\_ACEOF
46944 #define wxUSE_CMDLINE_PARSER 1
46949 if test "$wxUSE_STOPWATCH" = "yes"; then
46950 cat >>confdefs.h <<\_ACEOF
46951 #define wxUSE_STOPWATCH 1
46956 if test "$wxUSE_DATETIME" = "yes"; then
46957 cat >>confdefs.h <<\_ACEOF
46958 #define wxUSE_DATETIME 1
46963 if test "$wxUSE_FILE" = "yes"; then
46964 cat >>confdefs.h <<\_ACEOF
46965 #define wxUSE_FILE 1
46970 if test "$wxUSE_FFILE" = "yes"; then
46971 cat >>confdefs.h <<\_ACEOF
46972 #define wxUSE_FFILE 1
46977 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
46978 if test "$wxUSE_STREAMS" != yes; then
46979 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
46980 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
46981 wxUSE_ARCHIVE_STREAMS=no
46983 cat >>confdefs.h <<\_ACEOF
46984 #define wxUSE_ARCHIVE_STREAMS 1
46990 if test "$wxUSE_ZIPSTREAM" = "yes"; then
46991 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
46992 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
46993 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
46994 elif test "$wxUSE_ZLIB" = "no"; then
46995 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
46996 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
46998 cat >>confdefs.h <<\_ACEOF
46999 #define wxUSE_ZIPSTREAM 1
47005 if test "$wxUSE_TARSTREAM" = "yes"; then
47006 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47007 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
47008 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
47010 cat >>confdefs.h <<\_ACEOF
47011 #define wxUSE_TARSTREAM 1
47017 if test "$wxUSE_FILESYSTEM" = "yes"; then
47018 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
47019 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
47020 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
47021 wxUSE_FILESYSTEM=no
47023 cat >>confdefs.h <<\_ACEOF
47024 #define wxUSE_FILESYSTEM 1
47030 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
47031 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
47032 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
47033 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
47035 cat >>confdefs.h <<\_ACEOF
47036 #define wxUSE_FS_ARCHIVE 1
47042 if test "$wxUSE_FS_ZIP" = "yes"; then
47043 if test "$wxUSE_FS_ARCHIVE" != yes; then
47044 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
47045 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
47047 cat >>confdefs.h <<\_ACEOF
47048 #define wxUSE_FS_ZIP 1
47054 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47055 if test "$USE_UNIX" != 1; then
47056 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
47057 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
47058 wxUSE_ON_FATAL_EXCEPTION=no
47060 cat >>confdefs.h <<\_ACEOF
47061 #define wxUSE_ON_FATAL_EXCEPTION 1
47067 if test "$wxUSE_STACKWALKER" = "yes"; then
47068 cat >>confdefs.h <<\_ACEOF
47069 #define wxUSE_STACKWALKER 1
47074 if test "$wxUSE_DEBUGREPORT" = "yes"; then
47075 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
47076 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
47077 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
47078 wxUSE_DEBUGREPORT=no
47080 cat >>confdefs.h <<\_ACEOF
47081 #define wxUSE_DEBUGREPORT 1
47084 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
47090 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
47091 cat >>confdefs.h <<\_ACEOF
47092 #define wxUSE_SNGLINST_CHECKER 1
47097 if test "$wxUSE_BUSYINFO" = "yes"; then
47098 cat >>confdefs.h <<\_ACEOF
47099 #define wxUSE_BUSYINFO 1
47104 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
47105 cat >>confdefs.h <<\_ACEOF
47106 #define wxUSE_STD_IOSTREAM 1
47111 if test "$wxUSE_STD_STRING" = "yes"; then
47112 cat >>confdefs.h <<\_ACEOF
47113 #define wxUSE_STD_STRING 1
47118 if test "$wxUSE_STDPATHS" = "yes"; then
47119 cat >>confdefs.h <<\_ACEOF
47120 #define wxUSE_STDPATHS 1
47125 if test "$wxUSE_TEXTBUFFER" = "yes"; then
47126 cat >>confdefs.h <<\_ACEOF
47127 #define wxUSE_TEXTBUFFER 1
47132 if test "$wxUSE_TEXTFILE" = "yes"; then
47133 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
47134 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
47135 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
47137 cat >>confdefs.h <<\_ACEOF
47138 #define wxUSE_TEXTFILE 1
47144 if test "$wxUSE_CONFIG" = "yes" ; then
47145 if test "$wxUSE_TEXTFILE" != "yes"; then
47146 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
47147 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
47149 cat >>confdefs.h <<\_ACEOF
47150 #define wxUSE_CONFIG 1
47153 cat >>confdefs.h <<\_ACEOF
47154 #define wxUSE_CONFIG_NATIVE 1
47157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
47161 if test "$wxUSE_INTL" = "yes" ; then
47162 if test "$wxUSE_FILE" != "yes"; then
47163 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
47164 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
47166 cat >>confdefs.h <<\_ACEOF
47167 #define wxUSE_INTL 1
47170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
47171 GUIDIST="$GUIDIST INTL_DIST"
47175 if test "$wxUSE_LOG" = "yes"; then
47176 cat >>confdefs.h <<\_ACEOF
47177 #define wxUSE_LOG 1
47181 if test "$wxUSE_LOGGUI" = "yes"; then
47182 cat >>confdefs.h <<\_ACEOF
47183 #define wxUSE_LOGGUI 1
47188 if test "$wxUSE_LOGWINDOW" = "yes"; then
47189 cat >>confdefs.h <<\_ACEOF
47190 #define wxUSE_LOGWINDOW 1
47195 if test "$wxUSE_LOGDIALOG" = "yes"; then
47196 cat >>confdefs.h <<\_ACEOF
47197 #define wxUSE_LOG_DIALOG 1
47202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
47205 if test "$wxUSE_LONGLONG" = "yes"; then
47206 cat >>confdefs.h <<\_ACEOF
47207 #define wxUSE_LONGLONG 1
47212 if test "$wxUSE_GEOMETRY" = "yes"; then
47213 cat >>confdefs.h <<\_ACEOF
47214 #define wxUSE_GEOMETRY 1
47219 if test "$wxUSE_STREAMS" = "yes" ; then
47220 cat >>confdefs.h <<\_ACEOF
47221 #define wxUSE_STREAMS 1
47226 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
47227 cat >>confdefs.h <<\_ACEOF
47228 #define wxUSE_PRINTF_POS_PARAMS 1
47235 if test "$wxUSE_DATETIME" = "yes"; then
47237 for ac_func in strptime
47239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47240 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47242 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47243 echo $ECHO_N "(cached) $ECHO_C" >&6
47245 cat >conftest.$ac_ext <<_ACEOF
47248 cat confdefs.h >>conftest.$ac_ext
47249 cat >>conftest.$ac_ext <<_ACEOF
47250 /* end confdefs.h. */
47251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47253 #define $ac_func innocuous_$ac_func
47255 /* System header to define __stub macros and hopefully few prototypes,
47256 which can conflict with char $ac_func (); below.
47257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47258 <limits.h> exists even on freestanding compilers. */
47261 # include <limits.h>
47263 # include <assert.h>
47268 /* Override any GCC internal prototype to avoid an error.
47269 Use char because int might match the return type of a GCC
47270 builtin and then its argument prototype would still apply. */
47275 /* The GNU C library defines this for functions which it implements
47276 to always fail with ENOSYS. Some functions are actually named
47277 something starting with __ and the normal name is an alias. */
47278 #if defined __stub_$ac_func || defined __stub___$ac_func
47285 return $ac_func ();
47290 rm -f conftest.$ac_objext conftest$ac_exeext
47291 if { (ac_try="$ac_link"
47292 case "(($ac_try" in
47293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47294 *) ac_try_echo=$ac_try;;
47296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47297 (eval "$ac_link") 2>conftest.er1
47299 grep -v '^ *+' conftest.er1 >conftest.err
47301 cat conftest.err >&5
47302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47303 (exit $ac_status); } &&
47304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47305 { (case "(($ac_try" in
47306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47307 *) ac_try_echo=$ac_try;;
47309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47310 (eval "$ac_try") 2>&5
47312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47313 (exit $ac_status); }; } &&
47314 { ac_try='test -s conftest$ac_exeext'
47315 { (case "(($ac_try" in
47316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47317 *) ac_try_echo=$ac_try;;
47319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47320 (eval "$ac_try") 2>&5
47322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47323 (exit $ac_status); }; }; then
47324 eval "$as_ac_var=yes"
47326 echo "$as_me: failed program was:" >&5
47327 sed 's/^/| /' conftest.$ac_ext >&5
47329 eval "$as_ac_var=no"
47332 rm -f core conftest.err conftest.$ac_objext \
47333 conftest$ac_exeext conftest.$ac_ext
47335 ac_res=`eval echo '${'$as_ac_var'}'`
47336 { echo "$as_me:$LINENO: result: $ac_res" >&5
47337 echo "${ECHO_T}$ac_res" >&6; }
47338 if test `eval echo '${'$as_ac_var'}'` = yes; then
47339 cat >>confdefs.h <<_ACEOF
47340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47346 if test "$ac_cv_func_strptime" = "yes"; then
47347 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
47348 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
47349 if test "${wx_cv_func_strptime_decl+set}" = set; then
47350 echo $ECHO_N "(cached) $ECHO_C" >&6
47354 ac_cpp='$CXXCPP $CPPFLAGS'
47355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47359 cat >conftest.$ac_ext <<_ACEOF
47362 cat confdefs.h >>conftest.$ac_ext
47363 cat >>conftest.$ac_ext <<_ACEOF
47364 /* end confdefs.h. */
47373 strptime("foo", "bar", &t);
47379 rm -f conftest.$ac_objext
47380 if { (ac_try="$ac_compile"
47381 case "(($ac_try" in
47382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47383 *) ac_try_echo=$ac_try;;
47385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47386 (eval "$ac_compile") 2>conftest.er1
47388 grep -v '^ *+' conftest.er1 >conftest.err
47390 cat conftest.err >&5
47391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47392 (exit $ac_status); } &&
47393 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47394 { (case "(($ac_try" in
47395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47396 *) ac_try_echo=$ac_try;;
47398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47399 (eval "$ac_try") 2>&5
47401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47402 (exit $ac_status); }; } &&
47403 { ac_try='test -s conftest.$ac_objext'
47404 { (case "(($ac_try" in
47405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47406 *) ac_try_echo=$ac_try;;
47408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47409 (eval "$ac_try") 2>&5
47411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47412 (exit $ac_status); }; }; then
47413 wx_cv_func_strptime_decl=yes
47415 echo "$as_me: failed program was:" >&5
47416 sed 's/^/| /' conftest.$ac_ext >&5
47418 wx_cv_func_strptime_decl=no
47422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47424 ac_cpp='$CPP $CPPFLAGS'
47425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47432 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
47433 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
47435 if test "$wx_cv_func_strptime_decl" = "yes"; then
47436 cat >>confdefs.h <<\_ACEOF
47437 #define HAVE_STRPTIME_DECL 1
47442 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
47443 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
47444 if test "${wx_cv_var_timezone+set}" = set; then
47445 echo $ECHO_N "(cached) $ECHO_C" >&6
47449 ac_cpp='$CXXCPP $CPPFLAGS'
47450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47454 cat >conftest.$ac_ext <<_ACEOF
47457 cat confdefs.h >>conftest.$ac_ext
47458 cat >>conftest.$ac_ext <<_ACEOF
47459 /* end confdefs.h. */
47474 rm -f conftest.$ac_objext
47475 if { (ac_try="$ac_compile"
47476 case "(($ac_try" in
47477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47478 *) ac_try_echo=$ac_try;;
47480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47481 (eval "$ac_compile") 2>conftest.er1
47483 grep -v '^ *+' conftest.er1 >conftest.err
47485 cat conftest.err >&5
47486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47487 (exit $ac_status); } &&
47488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47489 { (case "(($ac_try" in
47490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47491 *) ac_try_echo=$ac_try;;
47493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47494 (eval "$ac_try") 2>&5
47496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47497 (exit $ac_status); }; } &&
47498 { ac_try='test -s conftest.$ac_objext'
47499 { (case "(($ac_try" in
47500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47501 *) ac_try_echo=$ac_try;;
47503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47504 (eval "$ac_try") 2>&5
47506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47507 (exit $ac_status); }; }; then
47509 wx_cv_var_timezone=timezone
47512 echo "$as_me: failed program was:" >&5
47513 sed 's/^/| /' conftest.$ac_ext >&5
47516 cat >conftest.$ac_ext <<_ACEOF
47519 cat confdefs.h >>conftest.$ac_ext
47520 cat >>conftest.$ac_ext <<_ACEOF
47521 /* end confdefs.h. */
47536 rm -f conftest.$ac_objext
47537 if { (ac_try="$ac_compile"
47538 case "(($ac_try" in
47539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47540 *) ac_try_echo=$ac_try;;
47542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47543 (eval "$ac_compile") 2>conftest.er1
47545 grep -v '^ *+' conftest.er1 >conftest.err
47547 cat conftest.err >&5
47548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47549 (exit $ac_status); } &&
47550 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47551 { (case "(($ac_try" in
47552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47553 *) ac_try_echo=$ac_try;;
47555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47556 (eval "$ac_try") 2>&5
47558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47559 (exit $ac_status); }; } &&
47560 { ac_try='test -s conftest.$ac_objext'
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_try") 2>&5
47568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47569 (exit $ac_status); }; }; then
47571 wx_cv_var_timezone=_timezone
47574 echo "$as_me: failed program was:" >&5
47575 sed 's/^/| /' conftest.$ac_ext >&5
47578 cat >conftest.$ac_ext <<_ACEOF
47581 cat confdefs.h >>conftest.$ac_ext
47582 cat >>conftest.$ac_ext <<_ACEOF
47583 /* end confdefs.h. */
47598 rm -f conftest.$ac_objext
47599 if { (ac_try="$ac_compile"
47600 case "(($ac_try" in
47601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47602 *) ac_try_echo=$ac_try;;
47604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47605 (eval "$ac_compile") 2>conftest.er1
47607 grep -v '^ *+' conftest.er1 >conftest.err
47609 cat conftest.err >&5
47610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47611 (exit $ac_status); } &&
47612 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47613 { (case "(($ac_try" in
47614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47615 *) ac_try_echo=$ac_try;;
47617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47618 (eval "$ac_try") 2>&5
47620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47621 (exit $ac_status); }; } &&
47622 { ac_try='test -s conftest.$ac_objext'
47623 { (case "(($ac_try" in
47624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47625 *) ac_try_echo=$ac_try;;
47627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47628 (eval "$ac_try") 2>&5
47630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47631 (exit $ac_status); }; }; then
47633 wx_cv_var_timezone=__timezone
47636 echo "$as_me: failed program was:" >&5
47637 sed 's/^/| /' conftest.$ac_ext >&5
47640 if test "$USE_DOS" = 0 ; then
47641 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
47642 echo "$as_me: WARNING: no timezone variable" >&2;}
47648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47660 ac_cpp='$CPP $CPPFLAGS'
47661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47668 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
47669 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
47671 if test "x$wx_cv_var_timezone" != x ; then
47672 cat >>confdefs.h <<_ACEOF
47673 #define WX_TIMEZONE $wx_cv_var_timezone
47679 for ac_func in localtime
47681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47682 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47684 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47685 echo $ECHO_N "(cached) $ECHO_C" >&6
47687 cat >conftest.$ac_ext <<_ACEOF
47690 cat confdefs.h >>conftest.$ac_ext
47691 cat >>conftest.$ac_ext <<_ACEOF
47692 /* end confdefs.h. */
47693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47695 #define $ac_func innocuous_$ac_func
47697 /* System header to define __stub macros and hopefully few prototypes,
47698 which can conflict with char $ac_func (); below.
47699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47700 <limits.h> exists even on freestanding compilers. */
47703 # include <limits.h>
47705 # include <assert.h>
47710 /* Override any GCC internal prototype to avoid an error.
47711 Use char because int might match the return type of a GCC
47712 builtin and then its argument prototype would still apply. */
47717 /* The GNU C library defines this for functions which it implements
47718 to always fail with ENOSYS. Some functions are actually named
47719 something starting with __ and the normal name is an alias. */
47720 #if defined __stub_$ac_func || defined __stub___$ac_func
47727 return $ac_func ();
47732 rm -f conftest.$ac_objext conftest$ac_exeext
47733 if { (ac_try="$ac_link"
47734 case "(($ac_try" in
47735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47736 *) ac_try_echo=$ac_try;;
47738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47739 (eval "$ac_link") 2>conftest.er1
47741 grep -v '^ *+' conftest.er1 >conftest.err
47743 cat conftest.err >&5
47744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47745 (exit $ac_status); } &&
47746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47747 { (case "(($ac_try" in
47748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47749 *) ac_try_echo=$ac_try;;
47751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47752 (eval "$ac_try") 2>&5
47754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47755 (exit $ac_status); }; } &&
47756 { ac_try='test -s conftest$ac_exeext'
47757 { (case "(($ac_try" in
47758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47759 *) ac_try_echo=$ac_try;;
47761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47762 (eval "$ac_try") 2>&5
47764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47765 (exit $ac_status); }; }; then
47766 eval "$as_ac_var=yes"
47768 echo "$as_me: failed program was:" >&5
47769 sed 's/^/| /' conftest.$ac_ext >&5
47771 eval "$as_ac_var=no"
47774 rm -f core conftest.err conftest.$ac_objext \
47775 conftest$ac_exeext conftest.$ac_ext
47777 ac_res=`eval echo '${'$as_ac_var'}'`
47778 { echo "$as_me:$LINENO: result: $ac_res" >&5
47779 echo "${ECHO_T}$ac_res" >&6; }
47780 if test `eval echo '${'$as_ac_var'}'` = yes; then
47781 cat >>confdefs.h <<_ACEOF
47782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47789 if test "$ac_cv_func_localtime" = "yes"; then
47790 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
47791 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
47792 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
47793 echo $ECHO_N "(cached) $ECHO_C" >&6
47796 cat >conftest.$ac_ext <<_ACEOF
47799 cat confdefs.h >>conftest.$ac_ext
47800 cat >>conftest.$ac_ext <<_ACEOF
47801 /* end confdefs.h. */
47816 rm -f conftest.$ac_objext
47817 if { (ac_try="$ac_compile"
47818 case "(($ac_try" in
47819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47820 *) ac_try_echo=$ac_try;;
47822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47823 (eval "$ac_compile") 2>conftest.er1
47825 grep -v '^ *+' conftest.er1 >conftest.err
47827 cat conftest.err >&5
47828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47829 (exit $ac_status); } &&
47830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47831 { (case "(($ac_try" in
47832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47833 *) ac_try_echo=$ac_try;;
47835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47836 (eval "$ac_try") 2>&5
47838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47839 (exit $ac_status); }; } &&
47840 { ac_try='test -s conftest.$ac_objext'
47841 { (case "(($ac_try" in
47842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47843 *) ac_try_echo=$ac_try;;
47845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47846 (eval "$ac_try") 2>&5
47848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47849 (exit $ac_status); }; }; then
47851 wx_cv_struct_tm_has_gmtoff=yes
47854 echo "$as_me: failed program was:" >&5
47855 sed 's/^/| /' conftest.$ac_ext >&5
47857 wx_cv_struct_tm_has_gmtoff=no
47861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47864 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
47865 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
47868 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
47869 cat >>confdefs.h <<\_ACEOF
47870 #define WX_GMTOFF_IN_TM 1
47877 for ac_func in gettimeofday ftime
47879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47880 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47882 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47883 echo $ECHO_N "(cached) $ECHO_C" >&6
47885 cat >conftest.$ac_ext <<_ACEOF
47888 cat confdefs.h >>conftest.$ac_ext
47889 cat >>conftest.$ac_ext <<_ACEOF
47890 /* end confdefs.h. */
47891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47893 #define $ac_func innocuous_$ac_func
47895 /* System header to define __stub macros and hopefully few prototypes,
47896 which can conflict with char $ac_func (); below.
47897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47898 <limits.h> exists even on freestanding compilers. */
47901 # include <limits.h>
47903 # include <assert.h>
47908 /* Override any GCC internal prototype to avoid an error.
47909 Use char because int might match the return type of a GCC
47910 builtin and then its argument prototype would still apply. */
47915 /* The GNU C library defines this for functions which it implements
47916 to always fail with ENOSYS. Some functions are actually named
47917 something starting with __ and the normal name is an alias. */
47918 #if defined __stub_$ac_func || defined __stub___$ac_func
47925 return $ac_func ();
47930 rm -f conftest.$ac_objext conftest$ac_exeext
47931 if { (ac_try="$ac_link"
47932 case "(($ac_try" in
47933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47934 *) ac_try_echo=$ac_try;;
47936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47937 (eval "$ac_link") 2>conftest.er1
47939 grep -v '^ *+' conftest.er1 >conftest.err
47941 cat conftest.err >&5
47942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47943 (exit $ac_status); } &&
47944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47945 { (case "(($ac_try" in
47946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47947 *) ac_try_echo=$ac_try;;
47949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47950 (eval "$ac_try") 2>&5
47952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47953 (exit $ac_status); }; } &&
47954 { ac_try='test -s conftest$ac_exeext'
47955 { (case "(($ac_try" in
47956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47957 *) ac_try_echo=$ac_try;;
47959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47960 (eval "$ac_try") 2>&5
47962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47963 (exit $ac_status); }; }; then
47964 eval "$as_ac_var=yes"
47966 echo "$as_me: failed program was:" >&5
47967 sed 's/^/| /' conftest.$ac_ext >&5
47969 eval "$as_ac_var=no"
47972 rm -f core conftest.err conftest.$ac_objext \
47973 conftest$ac_exeext conftest.$ac_ext
47975 ac_res=`eval echo '${'$as_ac_var'}'`
47976 { echo "$as_me:$LINENO: result: $ac_res" >&5
47977 echo "${ECHO_T}$ac_res" >&6; }
47978 if test `eval echo '${'$as_ac_var'}'` = yes; then
47979 cat >>confdefs.h <<_ACEOF
47980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47987 if test "$ac_cv_func_gettimeofday" = "yes"; then
47988 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
47989 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
47990 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
47991 echo $ECHO_N "(cached) $ECHO_C" >&6
47994 cat >conftest.$ac_ext <<_ACEOF
47997 cat confdefs.h >>conftest.$ac_ext
47998 cat >>conftest.$ac_ext <<_ACEOF
47999 /* end confdefs.h. */
48001 #include <sys/time.h>
48002 #include <unistd.h>
48009 gettimeofday(&tv, NULL);
48015 rm -f conftest.$ac_objext
48016 if { (ac_try="$ac_compile"
48017 case "(($ac_try" in
48018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48019 *) ac_try_echo=$ac_try;;
48021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48022 (eval "$ac_compile") 2>conftest.er1
48024 grep -v '^ *+' conftest.er1 >conftest.err
48026 cat conftest.err >&5
48027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48028 (exit $ac_status); } &&
48029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48030 { (case "(($ac_try" in
48031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48032 *) ac_try_echo=$ac_try;;
48034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48035 (eval "$ac_try") 2>&5
48037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48038 (exit $ac_status); }; } &&
48039 { ac_try='test -s conftest.$ac_objext'
48040 { (case "(($ac_try" in
48041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48042 *) ac_try_echo=$ac_try;;
48044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48045 (eval "$ac_try") 2>&5
48047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48048 (exit $ac_status); }; }; then
48049 wx_cv_func_gettimeofday_has_2_args=yes
48051 echo "$as_me: failed program was:" >&5
48052 sed 's/^/| /' conftest.$ac_ext >&5
48054 cat >conftest.$ac_ext <<_ACEOF
48057 cat confdefs.h >>conftest.$ac_ext
48058 cat >>conftest.$ac_ext <<_ACEOF
48059 /* end confdefs.h. */
48061 #include <sys/time.h>
48062 #include <unistd.h>
48075 rm -f conftest.$ac_objext
48076 if { (ac_try="$ac_compile"
48077 case "(($ac_try" in
48078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48079 *) ac_try_echo=$ac_try;;
48081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48082 (eval "$ac_compile") 2>conftest.er1
48084 grep -v '^ *+' conftest.er1 >conftest.err
48086 cat conftest.err >&5
48087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48088 (exit $ac_status); } &&
48089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48090 { (case "(($ac_try" in
48091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48092 *) ac_try_echo=$ac_try;;
48094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48095 (eval "$ac_try") 2>&5
48097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48098 (exit $ac_status); }; } &&
48099 { ac_try='test -s conftest.$ac_objext'
48100 { (case "(($ac_try" in
48101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48102 *) ac_try_echo=$ac_try;;
48104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48105 (eval "$ac_try") 2>&5
48107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48108 (exit $ac_status); }; }; then
48109 wx_cv_func_gettimeofday_has_2_args=no
48111 echo "$as_me: failed program was:" >&5
48112 sed 's/^/| /' conftest.$ac_ext >&5
48115 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
48116 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
48117 wx_cv_func_gettimeofday_has_2_args=unknown
48122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48129 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
48130 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
48132 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
48133 cat >>confdefs.h <<\_ACEOF
48134 #define WX_GETTIMEOFDAY_NO_TZ 1
48140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
48144 if test "$wxUSE_SOCKETS" = "yes"; then
48145 if test "$wxUSE_MGL" = "1"; then
48146 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
48147 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
48152 if test "$wxUSE_SOCKETS" = "yes"; then
48153 if test "$TOOLKIT" != "MSW"; then
48154 { echo "$as_me:$LINENO: checking for socket" >&5
48155 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
48156 if test "${ac_cv_func_socket+set}" = set; then
48157 echo $ECHO_N "(cached) $ECHO_C" >&6
48159 cat >conftest.$ac_ext <<_ACEOF
48162 cat confdefs.h >>conftest.$ac_ext
48163 cat >>conftest.$ac_ext <<_ACEOF
48164 /* end confdefs.h. */
48165 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
48166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48167 #define socket innocuous_socket
48169 /* System header to define __stub macros and hopefully few prototypes,
48170 which can conflict with char socket (); below.
48171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48172 <limits.h> exists even on freestanding compilers. */
48175 # include <limits.h>
48177 # include <assert.h>
48182 /* Override any GCC internal prototype to avoid an error.
48183 Use char because int might match the return type of a GCC
48184 builtin and then its argument prototype would still apply. */
48189 /* The GNU C library defines this for functions which it implements
48190 to always fail with ENOSYS. Some functions are actually named
48191 something starting with __ and the normal name is an alias. */
48192 #if defined __stub_socket || defined __stub___socket
48204 rm -f conftest.$ac_objext conftest$ac_exeext
48205 if { (ac_try="$ac_link"
48206 case "(($ac_try" in
48207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48208 *) ac_try_echo=$ac_try;;
48210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48211 (eval "$ac_link") 2>conftest.er1
48213 grep -v '^ *+' conftest.er1 >conftest.err
48215 cat conftest.err >&5
48216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48217 (exit $ac_status); } &&
48218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48219 { (case "(($ac_try" in
48220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48221 *) ac_try_echo=$ac_try;;
48223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48224 (eval "$ac_try") 2>&5
48226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48227 (exit $ac_status); }; } &&
48228 { ac_try='test -s conftest$ac_exeext'
48229 { (case "(($ac_try" in
48230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48231 *) ac_try_echo=$ac_try;;
48233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48234 (eval "$ac_try") 2>&5
48236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48237 (exit $ac_status); }; }; then
48238 ac_cv_func_socket=yes
48240 echo "$as_me: failed program was:" >&5
48241 sed 's/^/| /' conftest.$ac_ext >&5
48243 ac_cv_func_socket=no
48246 rm -f core conftest.err conftest.$ac_objext \
48247 conftest$ac_exeext conftest.$ac_ext
48249 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
48250 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
48251 if test $ac_cv_func_socket = yes; then
48255 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
48256 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
48257 if test "${ac_cv_lib_socket_socket+set}" = set; then
48258 echo $ECHO_N "(cached) $ECHO_C" >&6
48260 ac_check_lib_save_LIBS=$LIBS
48261 LIBS="-lsocket $LIBS"
48262 cat >conftest.$ac_ext <<_ACEOF
48265 cat confdefs.h >>conftest.$ac_ext
48266 cat >>conftest.$ac_ext <<_ACEOF
48267 /* end confdefs.h. */
48269 /* Override any GCC internal prototype to avoid an error.
48270 Use char because int might match the return type of a GCC
48271 builtin and then its argument prototype would still apply. */
48284 rm -f conftest.$ac_objext conftest$ac_exeext
48285 if { (ac_try="$ac_link"
48286 case "(($ac_try" in
48287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48288 *) ac_try_echo=$ac_try;;
48290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48291 (eval "$ac_link") 2>conftest.er1
48293 grep -v '^ *+' conftest.er1 >conftest.err
48295 cat conftest.err >&5
48296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48297 (exit $ac_status); } &&
48298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48299 { (case "(($ac_try" in
48300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48301 *) ac_try_echo=$ac_try;;
48303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48304 (eval "$ac_try") 2>&5
48306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48307 (exit $ac_status); }; } &&
48308 { ac_try='test -s conftest$ac_exeext'
48309 { (case "(($ac_try" in
48310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48311 *) ac_try_echo=$ac_try;;
48313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48314 (eval "$ac_try") 2>&5
48316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48317 (exit $ac_status); }; }; then
48318 ac_cv_lib_socket_socket=yes
48320 echo "$as_me: failed program was:" >&5
48321 sed 's/^/| /' conftest.$ac_ext >&5
48323 ac_cv_lib_socket_socket=no
48326 rm -f core conftest.err conftest.$ac_objext \
48327 conftest$ac_exeext conftest.$ac_ext
48328 LIBS=$ac_check_lib_save_LIBS
48330 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48331 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48332 if test $ac_cv_lib_socket_socket = yes; then
48333 if test "$INET_LINK" != " -lsocket"; then
48334 INET_LINK="$INET_LINK -lsocket"
48338 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48339 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48352 if test "$wxUSE_SOCKETS" = "yes" ; then
48353 if test "$TOOLKIT" != "MSW"; then
48354 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48355 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48356 if test "${wx_cv_type_getsockname3+set}" = set; then
48357 echo $ECHO_N "(cached) $ECHO_C" >&6
48361 ac_cpp='$CXXCPP $CPPFLAGS'
48362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48366 cat >conftest.$ac_ext <<_ACEOF
48369 cat confdefs.h >>conftest.$ac_ext
48370 cat >>conftest.$ac_ext <<_ACEOF
48371 /* end confdefs.h. */
48373 #include <sys/types.h>
48374 #include <sys/socket.h>
48381 getsockname(0, 0, &len);
48387 rm -f conftest.$ac_objext
48388 if { (ac_try="$ac_compile"
48389 case "(($ac_try" in
48390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48391 *) ac_try_echo=$ac_try;;
48393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48394 (eval "$ac_compile") 2>conftest.er1
48396 grep -v '^ *+' conftest.er1 >conftest.err
48398 cat conftest.err >&5
48399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48400 (exit $ac_status); } &&
48401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48402 { (case "(($ac_try" in
48403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48404 *) ac_try_echo=$ac_try;;
48406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48407 (eval "$ac_try") 2>&5
48409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48410 (exit $ac_status); }; } &&
48411 { ac_try='test -s conftest.$ac_objext'
48412 { (case "(($ac_try" in
48413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48414 *) ac_try_echo=$ac_try;;
48416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48417 (eval "$ac_try") 2>&5
48419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48420 (exit $ac_status); }; }; then
48421 wx_cv_type_getsockname3=socklen_t
48423 echo "$as_me: failed program was:" >&5
48424 sed 's/^/| /' conftest.$ac_ext >&5
48427 CFLAGS_OLD="$CFLAGS"
48428 if test "$GCC" = yes ; then
48429 CFLAGS="-Werror $CFLAGS"
48432 cat >conftest.$ac_ext <<_ACEOF
48435 cat confdefs.h >>conftest.$ac_ext
48436 cat >>conftest.$ac_ext <<_ACEOF
48437 /* end confdefs.h. */
48439 #include <sys/types.h>
48440 #include <sys/socket.h>
48447 getsockname(0, 0, &len);
48453 rm -f conftest.$ac_objext
48454 if { (ac_try="$ac_compile"
48455 case "(($ac_try" in
48456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48457 *) ac_try_echo=$ac_try;;
48459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48460 (eval "$ac_compile") 2>conftest.er1
48462 grep -v '^ *+' conftest.er1 >conftest.err
48464 cat conftest.err >&5
48465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48466 (exit $ac_status); } &&
48467 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48468 { (case "(($ac_try" in
48469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48470 *) ac_try_echo=$ac_try;;
48472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48473 (eval "$ac_try") 2>&5
48475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48476 (exit $ac_status); }; } &&
48477 { ac_try='test -s conftest.$ac_objext'
48478 { (case "(($ac_try" in
48479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48480 *) ac_try_echo=$ac_try;;
48482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48483 (eval "$ac_try") 2>&5
48485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48486 (exit $ac_status); }; }; then
48487 wx_cv_type_getsockname3=size_t
48489 echo "$as_me: failed program was:" >&5
48490 sed 's/^/| /' conftest.$ac_ext >&5
48492 cat >conftest.$ac_ext <<_ACEOF
48495 cat confdefs.h >>conftest.$ac_ext
48496 cat >>conftest.$ac_ext <<_ACEOF
48497 /* end confdefs.h. */
48499 #include <sys/types.h>
48500 #include <sys/socket.h>
48507 getsockname(0, 0, &len);
48513 rm -f conftest.$ac_objext
48514 if { (ac_try="$ac_compile"
48515 case "(($ac_try" in
48516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48517 *) ac_try_echo=$ac_try;;
48519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48520 (eval "$ac_compile") 2>conftest.er1
48522 grep -v '^ *+' conftest.er1 >conftest.err
48524 cat conftest.err >&5
48525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48526 (exit $ac_status); } &&
48527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48528 { (case "(($ac_try" in
48529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48530 *) ac_try_echo=$ac_try;;
48532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48533 (eval "$ac_try") 2>&5
48535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48536 (exit $ac_status); }; } &&
48537 { ac_try='test -s conftest.$ac_objext'
48538 { (case "(($ac_try" in
48539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48540 *) ac_try_echo=$ac_try;;
48542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48543 (eval "$ac_try") 2>&5
48545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48546 (exit $ac_status); }; }; then
48547 wx_cv_type_getsockname3=int
48549 echo "$as_me: failed program was:" >&5
48550 sed 's/^/| /' conftest.$ac_ext >&5
48552 wx_cv_type_getsockname3=unknown
48556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48562 CFLAGS="$CFLAGS_OLD"
48567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48569 ac_cpp='$CPP $CPPFLAGS'
48570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48576 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48577 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48579 if test "$wx_cv_type_getsockname3" = "unknown"; then
48581 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48582 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48584 cat >>confdefs.h <<_ACEOF
48585 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48589 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48590 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48591 if test "${wx_cv_type_getsockopt5+set}" = set; then
48592 echo $ECHO_N "(cached) $ECHO_C" >&6
48595 cat >conftest.$ac_ext <<_ACEOF
48598 cat confdefs.h >>conftest.$ac_ext
48599 cat >>conftest.$ac_ext <<_ACEOF
48600 /* end confdefs.h. */
48602 #include <sys/types.h>
48603 #include <sys/socket.h>
48610 getsockopt(0, 0, 0, 0, &len);
48616 rm -f conftest.$ac_objext
48617 if { (ac_try="$ac_compile"
48618 case "(($ac_try" in
48619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48620 *) ac_try_echo=$ac_try;;
48622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48623 (eval "$ac_compile") 2>conftest.er1
48625 grep -v '^ *+' conftest.er1 >conftest.err
48627 cat conftest.err >&5
48628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48629 (exit $ac_status); } &&
48630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48631 { (case "(($ac_try" in
48632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48633 *) ac_try_echo=$ac_try;;
48635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48636 (eval "$ac_try") 2>&5
48638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48639 (exit $ac_status); }; } &&
48640 { ac_try='test -s conftest.$ac_objext'
48641 { (case "(($ac_try" in
48642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48643 *) ac_try_echo=$ac_try;;
48645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48646 (eval "$ac_try") 2>&5
48648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48649 (exit $ac_status); }; }; then
48650 wx_cv_type_getsockopt5=socklen_t
48652 echo "$as_me: failed program was:" >&5
48653 sed 's/^/| /' conftest.$ac_ext >&5
48657 ac_cpp='$CXXCPP $CPPFLAGS'
48658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48662 cat >conftest.$ac_ext <<_ACEOF
48665 cat confdefs.h >>conftest.$ac_ext
48666 cat >>conftest.$ac_ext <<_ACEOF
48667 /* end confdefs.h. */
48669 #include <sys/types.h>
48670 #include <sys/socket.h>
48677 getsockopt(0, 0, 0, 0, &len);
48683 rm -f conftest.$ac_objext
48684 if { (ac_try="$ac_compile"
48685 case "(($ac_try" in
48686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48687 *) ac_try_echo=$ac_try;;
48689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48690 (eval "$ac_compile") 2>conftest.er1
48692 grep -v '^ *+' conftest.er1 >conftest.err
48694 cat conftest.err >&5
48695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48696 (exit $ac_status); } &&
48697 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48698 { (case "(($ac_try" in
48699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48700 *) ac_try_echo=$ac_try;;
48702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48703 (eval "$ac_try") 2>&5
48705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48706 (exit $ac_status); }; } &&
48707 { ac_try='test -s conftest.$ac_objext'
48708 { (case "(($ac_try" in
48709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48710 *) ac_try_echo=$ac_try;;
48712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48713 (eval "$ac_try") 2>&5
48715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48716 (exit $ac_status); }; }; then
48717 wx_cv_type_getsockopt5=size_t
48719 echo "$as_me: failed program was:" >&5
48720 sed 's/^/| /' conftest.$ac_ext >&5
48722 cat >conftest.$ac_ext <<_ACEOF
48725 cat confdefs.h >>conftest.$ac_ext
48726 cat >>conftest.$ac_ext <<_ACEOF
48727 /* end confdefs.h. */
48729 #include <sys/types.h>
48730 #include <sys/socket.h>
48737 getsockopt(0, 0, 0, 0, &len);
48743 rm -f conftest.$ac_objext
48744 if { (ac_try="$ac_compile"
48745 case "(($ac_try" in
48746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48747 *) ac_try_echo=$ac_try;;
48749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48750 (eval "$ac_compile") 2>conftest.er1
48752 grep -v '^ *+' conftest.er1 >conftest.err
48754 cat conftest.err >&5
48755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48756 (exit $ac_status); } &&
48757 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48758 { (case "(($ac_try" in
48759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48760 *) ac_try_echo=$ac_try;;
48762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48763 (eval "$ac_try") 2>&5
48765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48766 (exit $ac_status); }; } &&
48767 { ac_try='test -s conftest.$ac_objext'
48768 { (case "(($ac_try" in
48769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48770 *) ac_try_echo=$ac_try;;
48772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48773 (eval "$ac_try") 2>&5
48775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48776 (exit $ac_status); }; }; then
48777 wx_cv_type_getsockopt5=int
48779 echo "$as_me: failed program was:" >&5
48780 sed 's/^/| /' conftest.$ac_ext >&5
48782 wx_cv_type_getsockopt5=unknown
48786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48792 ac_cpp='$CPP $CPPFLAGS'
48793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48804 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
48805 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
48807 if test "$wx_cv_type_getsockopt5" = "unknown"; then
48809 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48810 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48812 cat >>confdefs.h <<_ACEOF
48813 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
48820 if test "$wxUSE_SOCKETS" = "yes" ; then
48821 cat >>confdefs.h <<\_ACEOF
48822 #define wxUSE_SOCKETS 1
48825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48828 if test "$wxUSE_PROTOCOL" = "yes"; then
48829 if test "$wxUSE_SOCKETS" != "yes"; then
48830 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
48831 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
48836 if test "$wxUSE_PROTOCOL" = "yes"; then
48837 cat >>confdefs.h <<\_ACEOF
48838 #define wxUSE_PROTOCOL 1
48842 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
48843 cat >>confdefs.h <<\_ACEOF
48844 #define wxUSE_PROTOCOL_HTTP 1
48848 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
48849 cat >>confdefs.h <<\_ACEOF
48850 #define wxUSE_PROTOCOL_FTP 1
48854 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
48855 cat >>confdefs.h <<\_ACEOF
48856 #define wxUSE_PROTOCOL_FILE 1
48861 if test "$wxUSE_FS_INET" = "yes"; then
48862 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
48863 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
48868 if test "$wxUSE_URL" = "yes"; then
48869 if test "$wxUSE_PROTOCOL" != "yes"; then
48870 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
48871 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
48874 if test "$wxUSE_URL" = "yes"; then
48875 cat >>confdefs.h <<\_ACEOF
48876 #define wxUSE_URL 1
48882 if test "$wxUSE_VARIANT" = "yes"; then
48883 cat >>confdefs.h <<\_ACEOF
48884 #define wxUSE_VARIANT 1
48889 if test "$wxUSE_FS_INET" = "yes"; then
48890 cat >>confdefs.h <<\_ACEOF
48891 #define wxUSE_FS_INET 1
48897 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
48900 if test "$TOOLKIT" = "MSW"; then
48903 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
48904 if test "$USE_DARWIN" = 1; then
48905 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
48906 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
48908 ac_cpp='$CXXCPP $CPPFLAGS'
48909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48913 cat >conftest.$ac_ext <<_ACEOF
48916 cat confdefs.h >>conftest.$ac_ext
48917 cat >>conftest.$ac_ext <<_ACEOF
48918 /* end confdefs.h. */
48919 #include <IOKit/hid/IOHIDLib.h>
48923 IOHIDQueueInterface *qi = NULL;
48924 IOHIDCallbackFunction cb = NULL;
48925 qi->setEventCallout(NULL, cb, NULL, NULL);
48930 rm -f conftest.$ac_objext
48931 if { (ac_try="$ac_compile"
48932 case "(($ac_try" in
48933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48934 *) ac_try_echo=$ac_try;;
48936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48937 (eval "$ac_compile") 2>conftest.er1
48939 grep -v '^ *+' conftest.er1 >conftest.err
48941 cat conftest.err >&5
48942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48943 (exit $ac_status); } &&
48944 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48945 { (case "(($ac_try" in
48946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48947 *) ac_try_echo=$ac_try;;
48949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48950 (eval "$ac_try") 2>&5
48952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48953 (exit $ac_status); }; } &&
48954 { ac_try='test -s conftest.$ac_objext'
48955 { (case "(($ac_try" in
48956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48957 *) ac_try_echo=$ac_try;;
48959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48960 (eval "$ac_try") 2>&5
48962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48963 (exit $ac_status); }; }; then
48967 echo "$as_me: failed program was:" >&5
48968 sed 's/^/| /' conftest.$ac_ext >&5
48973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48975 ac_cpp='$CPP $CPPFLAGS'
48976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48980 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
48981 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
48985 if test "$wxUSE_MGL" != "1"; then
48986 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
48987 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
48988 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
48989 echo $ECHO_N "(cached) $ECHO_C" >&6
48991 cat >conftest.$ac_ext <<_ACEOF
48994 cat confdefs.h >>conftest.$ac_ext
48995 cat >>conftest.$ac_ext <<_ACEOF
48996 /* end confdefs.h. */
48997 $ac_includes_default
48999 #include <linux/joystick.h>
49001 rm -f conftest.$ac_objext
49002 if { (ac_try="$ac_compile"
49003 case "(($ac_try" in
49004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49005 *) ac_try_echo=$ac_try;;
49007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49008 (eval "$ac_compile") 2>conftest.er1
49010 grep -v '^ *+' conftest.er1 >conftest.err
49012 cat conftest.err >&5
49013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49014 (exit $ac_status); } &&
49015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49016 { (case "(($ac_try" in
49017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49018 *) ac_try_echo=$ac_try;;
49020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49021 (eval "$ac_try") 2>&5
49023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49024 (exit $ac_status); }; } &&
49025 { ac_try='test -s conftest.$ac_objext'
49026 { (case "(($ac_try" in
49027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49028 *) ac_try_echo=$ac_try;;
49030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49031 (eval "$ac_try") 2>&5
49033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49034 (exit $ac_status); }; }; then
49035 ac_cv_header_linux_joystick_h=yes
49037 echo "$as_me: failed program was:" >&5
49038 sed 's/^/| /' conftest.$ac_ext >&5
49040 ac_cv_header_linux_joystick_h=no
49043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49045 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
49046 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
49047 if test $ac_cv_header_linux_joystick_h = yes; then
49055 if test "$wxUSE_JOYSTICK" = "yes"; then
49056 cat >>confdefs.h <<\_ACEOF
49057 #define wxUSE_JOYSTICK 1
49060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
49062 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
49063 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
49069 if test "$wxUSE_FONTMAP" = "yes" ; then
49070 cat >>confdefs.h <<\_ACEOF
49071 #define wxUSE_FONTMAP 1
49076 if test "$wxUSE_UNICODE" = "yes" ; then
49077 cat >>confdefs.h <<\_ACEOF
49078 #define wxUSE_UNICODE 1
49082 if test "$USE_WIN32" != 1; then
49083 wxUSE_UNICODE_MSLU=no
49086 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
49087 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
49088 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
49089 if test "${ac_cv_lib_unicows_main+set}" = set; then
49090 echo $ECHO_N "(cached) $ECHO_C" >&6
49092 ac_check_lib_save_LIBS=$LIBS
49093 LIBS="-lunicows $LIBS"
49094 cat >conftest.$ac_ext <<_ACEOF
49097 cat confdefs.h >>conftest.$ac_ext
49098 cat >>conftest.$ac_ext <<_ACEOF
49099 /* end confdefs.h. */
49110 rm -f conftest.$ac_objext conftest$ac_exeext
49111 if { (ac_try="$ac_link"
49112 case "(($ac_try" in
49113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49114 *) ac_try_echo=$ac_try;;
49116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49117 (eval "$ac_link") 2>conftest.er1
49119 grep -v '^ *+' conftest.er1 >conftest.err
49121 cat conftest.err >&5
49122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49123 (exit $ac_status); } &&
49124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49125 { (case "(($ac_try" in
49126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49127 *) ac_try_echo=$ac_try;;
49129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49130 (eval "$ac_try") 2>&5
49132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49133 (exit $ac_status); }; } &&
49134 { ac_try='test -s conftest$ac_exeext'
49135 { (case "(($ac_try" in
49136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49137 *) ac_try_echo=$ac_try;;
49139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49140 (eval "$ac_try") 2>&5
49142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49143 (exit $ac_status); }; }; then
49144 ac_cv_lib_unicows_main=yes
49146 echo "$as_me: failed program was:" >&5
49147 sed 's/^/| /' conftest.$ac_ext >&5
49149 ac_cv_lib_unicows_main=no
49152 rm -f core conftest.err conftest.$ac_objext \
49153 conftest$ac_exeext conftest.$ac_ext
49154 LIBS=$ac_check_lib_save_LIBS
49156 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
49157 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
49158 if test $ac_cv_lib_unicows_main = yes; then
49160 cat >>confdefs.h <<\_ACEOF
49161 #define wxUSE_UNICODE_MSLU 1
49167 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49168 Applications will only run on Windows NT/2000/XP!" >&5
49169 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49170 Applications will only run on Windows NT/2000/XP!" >&2;}
49171 wxUSE_UNICODE_MSLU=no
49178 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
49179 cat >>confdefs.h <<\_ACEOF
49180 #define wxUSE_EXPERIMENTAL_PRINTF 1
49186 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
49187 cat >>confdefs.h <<\_ACEOF
49188 #define wxUSE_POSTSCRIPT 1
49193 cat >>confdefs.h <<\_ACEOF
49194 #define wxUSE_AFM_FOR_POSTSCRIPT 1
49198 cat >>confdefs.h <<\_ACEOF
49199 #define wxUSE_NORMALIZED_PS_FONTS 1
49204 if test "$wxUSE_CONSTRAINTS" = "yes"; then
49205 cat >>confdefs.h <<\_ACEOF
49206 #define wxUSE_CONSTRAINTS 1
49209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
49212 if test "$wxUSE_MDI" = "yes"; then
49213 cat >>confdefs.h <<\_ACEOF
49214 #define wxUSE_MDI 1
49218 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49219 cat >>confdefs.h <<\_ACEOF
49220 #define wxUSE_MDI_ARCHITECTURE 1
49223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
49227 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
49228 cat >>confdefs.h <<\_ACEOF
49229 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
49232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
49233 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
49238 if test "$wxUSE_HELP" = "yes"; then
49239 cat >>confdefs.h <<\_ACEOF
49240 #define wxUSE_HELP 1
49243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
49245 if test "$wxUSE_MSW" = 1; then
49246 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
49247 cat >>confdefs.h <<\_ACEOF
49248 #define wxUSE_MS_HTML_HELP 1
49254 if test "$wxUSE_WXHTML_HELP" = "yes"; then
49255 if test "$wxUSE_HTML" = "yes"; then
49256 cat >>confdefs.h <<\_ACEOF
49257 #define wxUSE_WXHTML_HELP 1
49261 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
49262 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
49263 wxUSE_WXHTML_HELP=no
49268 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49269 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49270 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
49271 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
49273 cat >>confdefs.h <<\_ACEOF
49274 #define wxUSE_PRINTING_ARCHITECTURE 1
49278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
49281 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
49282 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
49283 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
49284 { (exit 1); exit 1; }; }
49288 if test "$wxUSE_METAFILE" = "yes"; then
49289 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
49290 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
49291 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
49297 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
49298 -o "$wxUSE_CLIPBOARD" = "yes" \
49299 -o "$wxUSE_OLE" = "yes" \
49300 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
49301 { echo "$as_me:$LINENO: checking for ole2.h" >&5
49302 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
49303 if test "${ac_cv_header_ole2_h+set}" = set; then
49304 echo $ECHO_N "(cached) $ECHO_C" >&6
49306 cat >conftest.$ac_ext <<_ACEOF
49309 cat confdefs.h >>conftest.$ac_ext
49310 cat >>conftest.$ac_ext <<_ACEOF
49311 /* end confdefs.h. */
49316 rm -f conftest.$ac_objext
49317 if { (ac_try="$ac_compile"
49318 case "(($ac_try" in
49319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49320 *) ac_try_echo=$ac_try;;
49322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49323 (eval "$ac_compile") 2>conftest.er1
49325 grep -v '^ *+' conftest.er1 >conftest.err
49327 cat conftest.err >&5
49328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49329 (exit $ac_status); } &&
49330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49331 { (case "(($ac_try" in
49332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49333 *) ac_try_echo=$ac_try;;
49335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49336 (eval "$ac_try") 2>&5
49338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49339 (exit $ac_status); }; } &&
49340 { ac_try='test -s conftest.$ac_objext'
49341 { (case "(($ac_try" in
49342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49343 *) ac_try_echo=$ac_try;;
49345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49346 (eval "$ac_try") 2>&5
49348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49349 (exit $ac_status); }; }; then
49350 ac_cv_header_ole2_h=yes
49352 echo "$as_me: failed program was:" >&5
49353 sed 's/^/| /' conftest.$ac_ext >&5
49355 ac_cv_header_ole2_h=no
49358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49360 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49361 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49365 if test "$ac_cv_header_ole2_h" = "yes" ; then
49366 if test "$GCC" = yes ; then
49367 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49368 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49369 cat >conftest.$ac_ext <<_ACEOF
49372 cat confdefs.h >>conftest.$ac_ext
49373 cat >>conftest.$ac_ext <<_ACEOF
49374 /* end confdefs.h. */
49375 #include <windows.h>
49385 rm -f conftest.$ac_objext
49386 if { (ac_try="$ac_compile"
49387 case "(($ac_try" in
49388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49389 *) ac_try_echo=$ac_try;;
49391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49392 (eval "$ac_compile") 2>conftest.er1
49394 grep -v '^ *+' conftest.er1 >conftest.err
49396 cat conftest.err >&5
49397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49398 (exit $ac_status); } &&
49399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49400 { (case "(($ac_try" in
49401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49402 *) ac_try_echo=$ac_try;;
49404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49405 (eval "$ac_try") 2>&5
49407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49408 (exit $ac_status); }; } &&
49409 { ac_try='test -s conftest.$ac_objext'
49410 { (case "(($ac_try" in
49411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49412 *) ac_try_echo=$ac_try;;
49414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49415 (eval "$ac_try") 2>&5
49417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49418 (exit $ac_status); }; }; then
49419 { echo "$as_me:$LINENO: result: no" >&5
49420 echo "${ECHO_T}no" >&6; }
49422 echo "$as_me: failed program was:" >&5
49423 sed 's/^/| /' conftest.$ac_ext >&5
49425 { echo "$as_me:$LINENO: result: yes" >&5
49426 echo "${ECHO_T}yes" >&6; }
49427 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49431 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49432 if test "$wxUSE_OLE" = "yes" ; then
49433 cat >>confdefs.h <<\_ACEOF
49434 #define wxUSE_OLE 1
49437 cat >>confdefs.h <<\_ACEOF
49438 #define wxUSE_OLE_AUTOMATION 1
49441 cat >>confdefs.h <<\_ACEOF
49442 #define wxUSE_ACTIVEX 1
49445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
49449 if test "$wxUSE_DATAOBJ" = "yes" ; then
49450 cat >>confdefs.h <<\_ACEOF
49451 #define wxUSE_DATAOBJ 1
49456 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49457 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49460 wxUSE_DRAG_AND_DROP=no
49465 if test "$wxUSE_METAFILE" = "yes"; then
49466 cat >>confdefs.h <<\_ACEOF
49467 #define wxUSE_METAFILE 1
49471 cat >>confdefs.h <<\_ACEOF
49472 #define wxUSE_ENH_METAFILE 1
49478 if test "$wxUSE_IPC" = "yes"; then
49479 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49480 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49481 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49485 if test "$wxUSE_IPC" = "yes"; then
49486 cat >>confdefs.h <<\_ACEOF
49487 #define wxUSE_IPC 1
49490 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49494 if test "$wxUSE_DATAOBJ" = "yes"; then
49495 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49496 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
49497 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
49500 cat >>confdefs.h <<\_ACEOF
49501 #define wxUSE_DATAOBJ 1
49506 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49507 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49509 wxUSE_DRAG_AND_DROP=no
49512 if test "$wxUSE_CLIPBOARD" = "yes"; then
49513 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49514 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49515 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49519 if test "$wxUSE_CLIPBOARD" = "yes"; then
49520 cat >>confdefs.h <<\_ACEOF
49521 #define wxUSE_CLIPBOARD 1
49527 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49528 if test "$wxUSE_GTK" = 1; then
49529 if test "$WXGTK12" != 1; then
49530 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
49531 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
49532 wxUSE_DRAG_AND_DROP=no
49536 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
49537 "$wxUSE_DFB" = 1; then
49538 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49539 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49540 wxUSE_DRAG_AND_DROP=no
49543 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49544 cat >>confdefs.h <<\_ACEOF
49545 #define wxUSE_DRAG_AND_DROP 1
49552 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
49556 if test "$wxUSE_SPLINES" = "yes" ; then
49557 cat >>confdefs.h <<\_ACEOF
49558 #define wxUSE_SPLINES 1
49563 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49564 cat >>confdefs.h <<\_ACEOF
49565 #define wxUSE_MOUSEWHEEL 1
49572 if test "$wxUSE_CONTROLS" = "yes"; then
49576 if test "$wxUSE_ACCEL" = "yes"; then
49577 cat >>confdefs.h <<\_ACEOF
49578 #define wxUSE_ACCEL 1
49584 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49585 cat >>confdefs.h <<\_ACEOF
49586 #define wxUSE_ANIMATIONCTRL 1
49590 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
49593 if test "$wxUSE_BUTTON" = "yes"; then
49594 cat >>confdefs.h <<\_ACEOF
49595 #define wxUSE_BUTTON 1
49601 if test "$wxUSE_BMPBUTTON" = "yes"; then
49602 cat >>confdefs.h <<\_ACEOF
49603 #define wxUSE_BMPBUTTON 1
49609 if test "$wxUSE_CALCTRL" = "yes"; then
49610 cat >>confdefs.h <<\_ACEOF
49611 #define wxUSE_CALENDARCTRL 1
49615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
49618 if test "$wxUSE_CARET" = "yes"; then
49619 cat >>confdefs.h <<\_ACEOF
49620 #define wxUSE_CARET 1
49624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
49627 if test "$wxUSE_COLLPANE" = "yes"; then
49628 cat >>confdefs.h <<\_ACEOF
49629 #define wxUSE_COLLPANE 1
49633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
49636 if test "$wxUSE_COMBOBOX" = "yes"; then
49637 cat >>confdefs.h <<\_ACEOF
49638 #define wxUSE_COMBOBOX 1
49644 if test "$wxUSE_COMBOCTRL" = "yes"; then
49645 cat >>confdefs.h <<\_ACEOF
49646 #define wxUSE_COMBOCTRL 1
49652 if test "$wxUSE_CHOICE" = "yes"; then
49653 cat >>confdefs.h <<\_ACEOF
49654 #define wxUSE_CHOICE 1
49660 if test "$wxUSE_CHOICEBOOK" = "yes"; then
49661 cat >>confdefs.h <<\_ACEOF
49662 #define wxUSE_CHOICEBOOK 1
49668 if test "$wxUSE_CHECKBOX" = "yes"; then
49669 cat >>confdefs.h <<\_ACEOF
49670 #define wxUSE_CHECKBOX 1
49676 if test "$wxUSE_CHECKLST" = "yes"; then
49677 cat >>confdefs.h <<\_ACEOF
49678 #define wxUSE_CHECKLISTBOX 1
49682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
49685 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
49686 cat >>confdefs.h <<\_ACEOF
49687 #define wxUSE_COLOURPICKERCTRL 1
49693 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
49694 cat >>confdefs.h <<\_ACEOF
49695 #define wxUSE_DATEPICKCTRL 1
49701 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
49702 cat >>confdefs.h <<\_ACEOF
49703 #define wxUSE_DIRPICKERCTRL 1
49709 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
49710 cat >>confdefs.h <<\_ACEOF
49711 #define wxUSE_FILEPICKERCTRL 1
49717 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
49718 cat >>confdefs.h <<\_ACEOF
49719 #define wxUSE_FONTPICKERCTRL 1
49725 if test "$wxUSE_DISPLAY" = "yes"; then
49726 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
49727 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
49728 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
49731 cat >>confdefs.h <<\_ACEOF
49732 #define wxUSE_DISPLAY 1
49735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
49739 if test "$wxUSE_DETECT_SM" = "yes"; then
49740 cat >>confdefs.h <<\_ACEOF
49741 #define wxUSE_DETECT_SM 1
49746 if test "$wxUSE_GAUGE" = "yes"; then
49747 cat >>confdefs.h <<\_ACEOF
49748 #define wxUSE_GAUGE 1
49754 if test "$wxUSE_GRID" = "yes"; then
49755 cat >>confdefs.h <<\_ACEOF
49756 #define wxUSE_GRID 1
49760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
49763 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
49764 cat >>confdefs.h <<\_ACEOF
49765 #define wxUSE_HYPERLINKCTRL 1
49771 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
49772 cat >>confdefs.h <<\_ACEOF
49773 #define wxUSE_BITMAPCOMBOBOX 1
49779 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
49780 cat >>confdefs.h <<\_ACEOF
49781 #define wxUSE_DATAVIEWCTRL 1
49785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
49788 if test "$wxUSE_IMAGLIST" = "yes"; then
49789 cat >>confdefs.h <<\_ACEOF
49790 #define wxUSE_IMAGLIST 1
49795 if test "$wxUSE_LISTBOOK" = "yes"; then
49796 cat >>confdefs.h <<\_ACEOF
49797 #define wxUSE_LISTBOOK 1
49803 if test "$wxUSE_LISTBOX" = "yes"; then
49804 cat >>confdefs.h <<\_ACEOF
49805 #define wxUSE_LISTBOX 1
49809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
49812 if test "$wxUSE_LISTCTRL" = "yes"; then
49813 if test "$wxUSE_IMAGLIST" = "yes"; then
49814 cat >>confdefs.h <<\_ACEOF
49815 #define wxUSE_LISTCTRL 1
49819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
49821 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
49822 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
49826 if test "$wxUSE_NOTEBOOK" = "yes"; then
49827 cat >>confdefs.h <<\_ACEOF
49828 #define wxUSE_NOTEBOOK 1
49832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
49835 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
49836 cat >>confdefs.h <<\_ACEOF
49837 #define wxUSE_ODCOMBOBOX 1
49841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
49845 if test "$wxUSE_RADIOBOX" = "yes"; then
49846 cat >>confdefs.h <<\_ACEOF
49847 #define wxUSE_RADIOBOX 1
49853 if test "$wxUSE_RADIOBTN" = "yes"; then
49854 cat >>confdefs.h <<\_ACEOF
49855 #define wxUSE_RADIOBTN 1
49861 if test "$wxUSE_SASH" = "yes"; then
49862 cat >>confdefs.h <<\_ACEOF
49863 #define wxUSE_SASH 1
49866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
49869 if test "$wxUSE_SCROLLBAR" = "yes"; then
49870 cat >>confdefs.h <<\_ACEOF
49871 #define wxUSE_SCROLLBAR 1
49875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
49878 if test "$wxUSE_SEARCHCTRL" = "yes"; then
49879 cat >>confdefs.h <<\_ACEOF
49880 #define wxUSE_SEARCHCTRL 1
49886 if test "$wxUSE_SLIDER" = "yes"; then
49887 cat >>confdefs.h <<\_ACEOF
49888 #define wxUSE_SLIDER 1
49894 if test "$wxUSE_SPINBTN" = "yes"; then
49895 cat >>confdefs.h <<\_ACEOF
49896 #define wxUSE_SPINBTN 1
49902 if test "$wxUSE_SPINCTRL" = "yes"; then
49903 cat >>confdefs.h <<\_ACEOF
49904 #define wxUSE_SPINCTRL 1
49910 if test "$wxUSE_SPLITTER" = "yes"; then
49911 cat >>confdefs.h <<\_ACEOF
49912 #define wxUSE_SPLITTER 1
49915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
49918 if test "$wxUSE_STATBMP" = "yes"; then
49919 cat >>confdefs.h <<\_ACEOF
49920 #define wxUSE_STATBMP 1
49926 if test "$wxUSE_STATBOX" = "yes"; then
49927 cat >>confdefs.h <<\_ACEOF
49928 #define wxUSE_STATBOX 1
49934 if test "$wxUSE_STATTEXT" = "yes"; then
49935 cat >>confdefs.h <<\_ACEOF
49936 #define wxUSE_STATTEXT 1
49942 if test "$wxUSE_STATLINE" = "yes"; then
49943 cat >>confdefs.h <<\_ACEOF
49944 #define wxUSE_STATLINE 1
49950 if test "$wxUSE_STATUSBAR" = "yes"; then
49951 cat >>confdefs.h <<\_ACEOF
49952 #define wxUSE_NATIVE_STATUSBAR 1
49955 cat >>confdefs.h <<\_ACEOF
49956 #define wxUSE_STATUSBAR 1
49961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
49964 if test "$wxUSE_TAB_DIALOG" = "yes"; then
49965 cat >>confdefs.h <<\_ACEOF
49966 #define wxUSE_TAB_DIALOG 1
49971 if test "$wxUSE_TEXTCTRL" = "yes"; then
49972 cat >>confdefs.h <<\_ACEOF
49973 #define wxUSE_TEXTCTRL 1
49977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
49980 if test "$wxUSE_TOGGLEBTN" = "yes"; then
49981 if test "$wxUSE_COCOA" = 1 ; then
49982 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
49983 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
49987 if test "$wxUSE_TOGGLEBTN" = "yes"; then
49988 cat >>confdefs.h <<\_ACEOF
49989 #define wxUSE_TOGGLEBTN 1
49996 if test "$wxUSE_TOOLBAR" = "yes"; then
49997 cat >>confdefs.h <<\_ACEOF
49998 #define wxUSE_TOOLBAR 1
50003 if test "$wxUSE_UNIVERSAL" = "yes"; then
50004 wxUSE_TOOLBAR_NATIVE="no"
50006 wxUSE_TOOLBAR_NATIVE="yes"
50007 cat >>confdefs.h <<\_ACEOF
50008 #define wxUSE_TOOLBAR_NATIVE 1
50013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
50016 if test "$wxUSE_TOOLTIPS" = "yes"; then
50017 if test "$wxUSE_MOTIF" = 1; then
50018 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
50019 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
50021 if test "$wxUSE_UNIVERSAL" = "yes"; then
50022 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
50023 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
50025 cat >>confdefs.h <<\_ACEOF
50026 #define wxUSE_TOOLTIPS 1
50033 if test "$wxUSE_TREEBOOK" = "yes"; then
50034 cat >>confdefs.h <<\_ACEOF
50035 #define wxUSE_TREEBOOK 1
50041 if test "$wxUSE_TOOLBOOK" = "yes"; then
50042 cat >>confdefs.h <<\_ACEOF
50043 #define wxUSE_TOOLBOOK 1
50049 if test "$wxUSE_TREECTRL" = "yes"; then
50050 if test "$wxUSE_IMAGLIST" = "yes"; then
50051 cat >>confdefs.h <<\_ACEOF
50052 #define wxUSE_TREECTRL 1
50056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
50058 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
50059 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
50063 if test "$wxUSE_POPUPWIN" = "yes"; then
50064 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
50065 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
50066 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
50068 if test "$wxUSE_PM" = 1; then
50069 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
50070 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
50072 cat >>confdefs.h <<\_ACEOF
50073 #define wxUSE_POPUPWIN 1
50076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
50083 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
50084 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
50085 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
50086 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
50088 cat >>confdefs.h <<\_ACEOF
50089 #define wxUSE_DIALUP_MANAGER 1
50092 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
50096 if test "$wxUSE_TIPWINDOW" = "yes"; then
50097 if test "$wxUSE_PM" = 1; then
50098 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
50099 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
50101 cat >>confdefs.h <<\_ACEOF
50102 #define wxUSE_TIPWINDOW 1
50108 if test "$USES_CONTROLS" = 1; then
50109 cat >>confdefs.h <<\_ACEOF
50110 #define wxUSE_CONTROLS 1
50116 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
50117 cat >>confdefs.h <<\_ACEOF
50118 #define wxUSE_ACCESSIBILITY 1
50121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
50124 if test "$wxUSE_DC_CACHEING" = "yes"; then
50125 cat >>confdefs.h <<\_ACEOF
50126 #define wxUSE_DC_CACHEING 1
50131 if test "$wxUSE_DRAGIMAGE" = "yes"; then
50132 cat >>confdefs.h <<\_ACEOF
50133 #define wxUSE_DRAGIMAGE 1
50136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
50139 if test "$wxUSE_EXCEPTIONS" = "yes"; then
50140 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
50141 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
50142 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
50144 cat >>confdefs.h <<\_ACEOF
50145 #define wxUSE_EXCEPTIONS 1
50148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
50153 if test "$wxUSE_HTML" = "yes"; then
50154 cat >>confdefs.h <<\_ACEOF
50155 #define wxUSE_HTML 1
50159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
50160 if test "$wxUSE_MAC" = 1; then
50161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
50164 if test "$wxUSE_WEBKIT" = "yes"; then
50165 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50166 old_CPPFLAGS="$CPPFLAGS"
50167 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50168 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50169 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50170 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50171 echo $ECHO_N "(cached) $ECHO_C" >&6
50173 cat >conftest.$ac_ext <<_ACEOF
50176 cat confdefs.h >>conftest.$ac_ext
50177 cat >>conftest.$ac_ext <<_ACEOF
50178 /* end confdefs.h. */
50180 #include <Carbon/Carbon.h>
50181 #include <WebKit/WebKit.h>
50184 #include <WebKit/HIWebView.h>
50186 rm -f conftest.$ac_objext
50187 if { (ac_try="$ac_compile"
50188 case "(($ac_try" in
50189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50190 *) ac_try_echo=$ac_try;;
50192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50193 (eval "$ac_compile") 2>conftest.er1
50195 grep -v '^ *+' conftest.er1 >conftest.err
50197 cat conftest.err >&5
50198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50199 (exit $ac_status); } &&
50200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50201 { (case "(($ac_try" in
50202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50203 *) ac_try_echo=$ac_try;;
50205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50206 (eval "$ac_try") 2>&5
50208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50209 (exit $ac_status); }; } &&
50210 { ac_try='test -s conftest.$ac_objext'
50211 { (case "(($ac_try" in
50212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50213 *) ac_try_echo=$ac_try;;
50215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50216 (eval "$ac_try") 2>&5
50218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50219 (exit $ac_status); }; }; then
50220 ac_cv_header_WebKit_HIWebView_h=yes
50222 echo "$as_me: failed program was:" >&5
50223 sed 's/^/| /' conftest.$ac_ext >&5
50225 ac_cv_header_WebKit_HIWebView_h=no
50228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50230 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50231 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50232 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50234 cat >>confdefs.h <<\_ACEOF
50235 #define wxUSE_WEBKIT 1
50238 WEBKIT_LINK="-framework WebKit"
50242 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
50243 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
50249 CPPFLAGS="$old_CPPFLAGS"
50250 elif test "$wxUSE_COCOA" = 1; then
50251 cat >>confdefs.h <<\_ACEOF
50252 #define wxUSE_WEBKIT 1
50261 if test "$wxUSE_XRC" = "yes"; then
50262 if test "$wxUSE_XML" != "yes"; then
50263 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
50264 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
50267 cat >>confdefs.h <<\_ACEOF
50268 #define wxUSE_XRC 1
50272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
50277 if test "$wxUSE_AUI" = "yes"; then
50278 cat >>confdefs.h <<\_ACEOF
50279 #define wxUSE_AUI 1
50283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
50287 if test "$wxUSE_STC" = "yes"; then
50288 cat >>confdefs.h <<\_ACEOF
50289 #define wxUSE_STC 1
50293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
50296 if test "$wxUSE_MENUS" = "yes"; then
50297 cat >>confdefs.h <<\_ACEOF
50298 #define wxUSE_MENUS 1
50301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
50304 if test "$wxUSE_METAFILE" = "yes"; then
50305 cat >>confdefs.h <<\_ACEOF
50306 #define wxUSE_METAFILE 1
50311 if test "$wxUSE_MIMETYPE" = "yes"; then
50312 cat >>confdefs.h <<\_ACEOF
50313 #define wxUSE_MIMETYPE 1
50318 if test "$wxUSE_MINIFRAME" = "yes"; then
50319 cat >>confdefs.h <<\_ACEOF
50320 #define wxUSE_MINIFRAME 1
50323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
50326 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50327 cat >>confdefs.h <<\_ACEOF
50328 #define wxUSE_SYSTEM_OPTIONS 1
50331 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
50332 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
50333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
50338 if test "$wxUSE_VALIDATORS" = "yes"; then
50339 cat >>confdefs.h <<\_ACEOF
50340 #define wxUSE_VALIDATORS 1
50343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
50346 if test "$wxUSE_PALETTE" = "yes" ; then
50347 if test "$wxUSE_DFB" = 1; then
50348 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50349 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50352 cat >>confdefs.h <<\_ACEOF
50353 #define wxUSE_PALETTE 1
50359 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50360 LIBS=" -lunicows $LIBS"
50364 if test "$wxUSE_RICHTEXT" = "yes"; then
50365 cat >>confdefs.h <<\_ACEOF
50366 #define wxUSE_RICHTEXT 1
50370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
50374 if test "$wxUSE_IMAGE" = "yes" ; then
50375 cat >>confdefs.h <<\_ACEOF
50376 #define wxUSE_IMAGE 1
50380 if test "$wxUSE_GIF" = "yes" ; then
50381 cat >>confdefs.h <<\_ACEOF
50382 #define wxUSE_GIF 1
50387 if test "$wxUSE_PCX" = "yes" ; then
50388 cat >>confdefs.h <<\_ACEOF
50389 #define wxUSE_PCX 1
50394 if test "$wxUSE_TGA" = "yes" ; then
50395 cat >>confdefs.h <<\_ACEOF
50396 #define wxUSE_TGA 1
50401 if test "$wxUSE_IFF" = "yes" ; then
50402 cat >>confdefs.h <<\_ACEOF
50403 #define wxUSE_IFF 1
50408 if test "$wxUSE_PNM" = "yes" ; then
50409 cat >>confdefs.h <<\_ACEOF
50410 #define wxUSE_PNM 1
50415 if test "$wxUSE_XPM" = "yes" ; then
50416 cat >>confdefs.h <<\_ACEOF
50417 #define wxUSE_XPM 1
50422 if test "$wxUSE_ICO_CUR" = "yes" ; then
50423 cat >>confdefs.h <<\_ACEOF
50424 #define wxUSE_ICO_CUR 1
50431 if test "$wxUSE_ABOUTDLG" = "yes"; then
50432 cat >>confdefs.h <<\_ACEOF
50433 #define wxUSE_ABOUTDLG 1
50438 if test "$wxUSE_CHOICEDLG" = "yes"; then
50439 cat >>confdefs.h <<\_ACEOF
50440 #define wxUSE_CHOICEDLG 1
50445 if test "$wxUSE_COLOURDLG" = "yes"; then
50446 cat >>confdefs.h <<\_ACEOF
50447 #define wxUSE_COLOURDLG 1
50452 if test "$wxUSE_FILEDLG" = "yes"; then
50453 cat >>confdefs.h <<\_ACEOF
50454 #define wxUSE_FILEDLG 1
50459 if test "$wxUSE_FINDREPLDLG" = "yes"; then
50460 cat >>confdefs.h <<\_ACEOF
50461 #define wxUSE_FINDREPLDLG 1
50466 if test "$wxUSE_FONTDLG" = "yes"; then
50467 cat >>confdefs.h <<\_ACEOF
50468 #define wxUSE_FONTDLG 1
50473 if test "$wxUSE_DIRDLG" = "yes"; then
50474 if test "$wxUSE_TREECTRL" != "yes"; then
50475 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
50476 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
50478 cat >>confdefs.h <<\_ACEOF
50479 #define wxUSE_DIRDLG 1
50485 if test "$wxUSE_MSGDLG" = "yes"; then
50486 cat >>confdefs.h <<\_ACEOF
50487 #define wxUSE_MSGDLG 1
50492 if test "$wxUSE_NUMBERDLG" = "yes"; then
50493 cat >>confdefs.h <<\_ACEOF
50494 #define wxUSE_NUMBERDLG 1
50499 if test "$wxUSE_PROGRESSDLG" = "yes"; then
50500 if test "$wxUSE_CONSTRAINTS" != "yes"; then
50501 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
50502 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
50504 cat >>confdefs.h <<\_ACEOF
50505 #define wxUSE_PROGRESSDLG 1
50511 if test "$wxUSE_SPLASH" = "yes"; then
50512 cat >>confdefs.h <<\_ACEOF
50513 #define wxUSE_SPLASH 1
50516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
50519 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
50520 if test "$wxUSE_CONSTRAINTS" != "yes"; then
50521 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
50522 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
50524 cat >>confdefs.h <<\_ACEOF
50525 #define wxUSE_STARTUP_TIPS 1
50531 if test "$wxUSE_TEXTDLG" = "yes"; then
50532 cat >>confdefs.h <<\_ACEOF
50533 #define wxUSE_TEXTDLG 1
50538 if test "$wxUSE_WIZARDDLG" = "yes"; then
50539 cat >>confdefs.h <<\_ACEOF
50540 #define wxUSE_WIZARDDLG 1
50543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
50547 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
50548 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
50549 cat >>confdefs.h <<\_ACEOF
50550 #define wxUSE_GRAPHICS_CONTEXT 1
50553 elif test "$wxUSE_GTK" != 1; then
50554 cat >>confdefs.h <<\_ACEOF
50555 #define wxUSE_GRAPHICS_CONTEXT 1
50561 { echo "$as_me:$LINENO: checking for CAIRO" >&5
50562 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
50564 if test -n "$PKG_CONFIG"; then
50565 if test -n "$CAIRO_CFLAGS"; then
50566 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
50568 if test -n "$PKG_CONFIG" && \
50569 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
50570 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
50572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50573 (exit $ac_status); }; then
50574 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
50582 if test -n "$PKG_CONFIG"; then
50583 if test -n "$CAIRO_LIBS"; then
50584 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
50586 if test -n "$PKG_CONFIG" && \
50587 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
50588 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
50590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50591 (exit $ac_status); }; then
50592 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
50603 if test $pkg_failed = yes; then
50605 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50606 _pkg_short_errors_supported=yes
50608 _pkg_short_errors_supported=no
50610 if test $_pkg_short_errors_supported = yes; then
50611 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
50613 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
50615 # Put the nasty error message in config.log where it belongs
50616 echo "$CAIRO_PKG_ERRORS" >&5
50618 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
50619 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
50621 elif test $pkg_failed = untried; then
50622 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
50623 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
50626 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
50627 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
50628 { echo "$as_me:$LINENO: result: yes" >&5
50629 echo "${ECHO_T}yes" >&6; }
50630 cat >>confdefs.h <<\_ACEOF
50631 #define wxUSE_GRAPHICS_CONTEXT 1
50641 if test "$wxUSE_MEDIACTRL" = "yes"; then
50644 if test "$wxUSE_GTK" = 1; then
50645 wxUSE_GSTREAMER="no"
50647 GST_VERSION_MAJOR=0
50648 GST_VERSION_MINOR=10
50649 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
50651 if test "$wxUSE_GSTREAMER8" = "no"; then
50654 { echo "$as_me:$LINENO: checking for GST" >&5
50655 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
50657 if test -n "$PKG_CONFIG"; then
50658 if test -n "$GST_CFLAGS"; then
50659 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
50661 if test -n "$PKG_CONFIG" && \
50662 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
50663 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
50665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50666 (exit $ac_status); }; then
50667 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
50675 if test -n "$PKG_CONFIG"; then
50676 if test -n "$GST_LIBS"; then
50677 pkg_cv_GST_LIBS="$GST_LIBS"
50679 if test -n "$PKG_CONFIG" && \
50680 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
50681 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
50683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50684 (exit $ac_status); }; then
50685 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
50696 if test $pkg_failed = yes; then
50698 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50699 _pkg_short_errors_supported=yes
50701 _pkg_short_errors_supported=no
50703 if test $_pkg_short_errors_supported = yes; then
50704 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
50706 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
50708 # Put the nasty error message in config.log where it belongs
50709 echo "$GST_PKG_ERRORS" >&5
50712 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
50713 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
50714 GST_VERSION_MINOR=8
50717 elif test $pkg_failed = untried; then
50719 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
50720 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
50721 GST_VERSION_MINOR=8
50725 GST_CFLAGS=$pkg_cv_GST_CFLAGS
50726 GST_LIBS=$pkg_cv_GST_LIBS
50727 { echo "$as_me:$LINENO: result: yes" >&5
50728 echo "${ECHO_T}yes" >&6; }
50730 wxUSE_GSTREAMER="yes"
50731 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
50735 GST_VERSION_MINOR=8
50738 if test $GST_VERSION_MINOR = "8"; then
50739 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
50742 { echo "$as_me:$LINENO: checking for GST" >&5
50743 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
50745 if test -n "$PKG_CONFIG"; then
50746 if test -n "$GST_CFLAGS"; then
50747 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
50749 if test -n "$PKG_CONFIG" && \
50750 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
50751 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
50753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50754 (exit $ac_status); }; then
50755 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
50763 if test -n "$PKG_CONFIG"; then
50764 if test -n "$GST_LIBS"; then
50765 pkg_cv_GST_LIBS="$GST_LIBS"
50767 if test -n "$PKG_CONFIG" && \
50768 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
50769 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
50771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50772 (exit $ac_status); }; then
50773 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
50784 if test $pkg_failed = yes; then
50786 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50787 _pkg_short_errors_supported=yes
50789 _pkg_short_errors_supported=no
50791 if test $_pkg_short_errors_supported = yes; then
50792 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
50794 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
50796 # Put the nasty error message in config.log where it belongs
50797 echo "$GST_PKG_ERRORS" >&5
50800 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
50801 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
50803 elif test $pkg_failed = untried; then
50805 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
50806 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
50809 GST_CFLAGS=$pkg_cv_GST_CFLAGS
50810 GST_LIBS=$pkg_cv_GST_LIBS
50811 { echo "$as_me:$LINENO: result: yes" >&5
50812 echo "${ECHO_T}yes" >&6; }
50813 wxUSE_GSTREAMER="yes"
50818 if test "$wxUSE_GSTREAMER" = "yes"; then
50821 if "$GCC" = yes; then
50822 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
50823 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
50827 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
50828 LIBS="$GST_LIBS $LIBS"
50830 cat >>confdefs.h <<\_ACEOF
50831 #define wxUSE_GSTREAMER 1
50839 if test $USE_MEDIA = 1; then
50840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
50841 cat >>confdefs.h <<\_ACEOF
50842 #define wxUSE_MEDIACTRL 1
50849 if test "$cross_compiling" = "yes"; then
50852 OSINFO=`uname -s -r -m`
50853 OSINFO="\"$OSINFO\""
50856 cat >>confdefs.h <<_ACEOF
50857 #define WXWIN_OS_DESCRIPTION $OSINFO
50862 if test "x$prefix" != "xNONE"; then
50865 wxPREFIX=$ac_default_prefix
50868 cat >>confdefs.h <<_ACEOF
50869 #define wxINSTALL_PREFIX "$wxPREFIX"
50875 CORE_BASE_LIBS="net base"
50876 CORE_GUI_LIBS="adv core"
50878 if test "$wxUSE_XML" = "yes" ; then
50879 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
50881 if test "$wxUSE_ODBC" != "no" ; then
50882 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
50883 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
50885 if test "$wxUSE_HTML" = "yes" ; then
50886 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
50888 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
50889 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
50891 if test "$wxUSE_XRC" = "yes" ; then
50892 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
50894 if test "$wxUSE_AUI" = "yes" ; then
50895 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
50897 if test "$wxUSE_STC" = "yes" ; then
50898 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
50901 if test "$wxUSE_GUI" != "yes"; then
50910 if test "$wxUSE_MAC" = 1 ; then
50911 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
50912 if test "$USE_DARWIN" = 1; then
50913 LDFLAGS="$LDFLAGS -framework QuickTime"
50915 LDFLAGS="$LDFLAGS -lQuickTimeLib"
50918 if test "$USE_DARWIN" = 1; then
50919 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
50921 LDFLAGS="$LDFLAGS -lCarbonLib"
50924 if test "$wxUSE_COCOA" = 1 ; then
50925 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
50926 if test "$wxUSE_MEDIACTRL" = "yes"; then
50927 LDFLAGS="$LDFLAGS -framework QuickTime"
50930 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
50931 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
50934 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
50936 if test "$wxUSE_GUI" = "yes"; then
50939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
50940 dynamic erase event exec font image minimal mobile \
50941 mobile/wxedit mobile/styles propsize render \
50942 rotate shaped svg taborder vscroll widgets"
50944 if test "$wxUSE_MONOLITHIC" != "yes"; then
50945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
50947 if test "$TOOLKIT" = "MSW"; then
50948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
50949 if test "$wxUSE_UNIVERSAL" != "yes"; then
50950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
50953 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
50954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
50957 SAMPLES_SUBDIRS="console"
50961 if test "x$INTELCC" = "xyes" ; then
50962 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
50963 elif test "$GCC" = yes ; then
50964 CWARNINGS="-Wall -Wundef"
50967 if test "x$INTELCXX" = "xyes" ; then
50968 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
50969 elif test "$GXX" = yes ; then
50970 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
50974 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
50975 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
50978 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
50979 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
50980 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
50983 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
50984 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
50985 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
50987 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
50990 if test "x$MWCC" = "xyes"; then
50992 CC="$CC -cwd source -I-"
50993 CXX="$CXX -cwd source -I-"
50998 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
50999 EXTRALIBS_XML="$EXPAT_LINK"
51000 EXTRALIBS_HTML="$MSPACK_LINK"
51001 EXTRALIBS_ODBC="$ODBC_LINK"
51002 if test "$wxUSE_GUI" = "yes"; then
51003 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
51005 if test "$wxUSE_OPENGL" = "yes"; then
51006 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
51009 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
51011 WXCONFIG_LIBS="$LIBS"
51013 if test "$wxUSE_REGEX" = "builtin" ; then
51014 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
51016 if test "$wxUSE_EXPAT" = "builtin" ; then
51017 wxconfig_3rdparty="expat $wxconfig_3rdparty"
51019 if test "$wxUSE_ODBC" = "builtin" ; then
51020 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
51022 if test "$wxUSE_LIBTIFF" = "builtin" ; then
51023 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
51025 if test "$wxUSE_LIBJPEG" = "builtin" ; then
51026 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
51028 if test "$wxUSE_LIBPNG" = "builtin" ; then
51029 wxconfig_3rdparty="png $wxconfig_3rdparty"
51031 if test "$wxUSE_ZLIB" = "builtin" ; then
51032 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
51035 for i in $wxconfig_3rdparty ; do
51036 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
51040 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
51043 case "$wxUNIV_THEMES" in
51045 cat >>confdefs.h <<\_ACEOF
51046 #define wxUSE_ALL_THEMES 1
51052 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
51053 cat >>confdefs.h <<_ACEOF
51054 #define wxUSE_THEME_$t 1
51071 if test $wxUSE_MONOLITHIC = "yes" ; then
51077 if test $wxUSE_PLUGINS = "yes" ; then
51083 if test $wxUSE_ODBC != "no" ; then
51089 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51095 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
51125 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
51136 TOOLKIT_DESC="GTK+"
51137 if test "$WXGTK20" = 1; then
51138 TOOLKIT_DESC="$TOOLKIT_DESC 2"
51139 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
51140 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
51142 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
51143 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
51145 if test "$wxUSE_LIBHILDON" = "yes"; then
51146 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
51149 if test "$TOOLKIT_EXTRA" != ""; then
51150 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
51156 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
51160 TOOLKIT_DESC="base only"
51164 if test "$wxUSE_WINE" = "yes"; then
51165 BAKEFILE_FORCE_PLATFORM=win32
51168 if test "$wxUSE_MAC" = 1 ; then
51169 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
51170 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
51171 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
51173 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
51175 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
51176 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
51177 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
51178 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
51181 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
51182 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
51185 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
51187 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
51188 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
51189 if test "${wx_cv_gcc_pch_bug+set}" = set; then
51190 echo $ECHO_N "(cached) $ECHO_C" >&6
51193 echo '#include <stdio.h>
51194 const wchar_t test_var[] = L"awidetest";' > conftest.h
51196 echo '#include "conftest.h"
51199 printf("%ls", test_var);
51203 wx_cv_gcc_pch_bug="pch not supported"
51205 if $CXX conftest.h >/dev/null 2>&1
51209 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
51211 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
51212 grep awidetest >/dev/null
51214 wx_cv_gcc_pch_bug=no
51216 wx_cv_gcc_pch_bug=yes
51221 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
51224 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
51225 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
51227 if test "$wx_cv_gcc_pch_bug" = yes; then
51235 if test "x$BAKEFILE_HOST" = "x"; then
51236 if test "x${host}" = "x" ; then
51237 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
51238 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
51239 { (exit 1); exit 1; }; }
51242 BAKEFILE_HOST="${host}"
51245 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
51247 if test -n "$ac_tool_prefix"; then
51248 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
51249 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
51250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51252 if test "${ac_cv_prog_RANLIB+set}" = set; then
51253 echo $ECHO_N "(cached) $ECHO_C" >&6
51255 if test -n "$RANLIB"; then
51256 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
51258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51259 for as_dir in $PATH
51262 test -z "$as_dir" && as_dir=.
51263 for ac_exec_ext in '' $ac_executable_extensions; do
51264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51265 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
51266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51275 RANLIB=$ac_cv_prog_RANLIB
51276 if test -n "$RANLIB"; then
51277 { echo "$as_me:$LINENO: result: $RANLIB" >&5
51278 echo "${ECHO_T}$RANLIB" >&6; }
51280 { echo "$as_me:$LINENO: result: no" >&5
51281 echo "${ECHO_T}no" >&6; }
51286 if test -z "$ac_cv_prog_RANLIB"; then
51287 ac_ct_RANLIB=$RANLIB
51288 # Extract the first word of "ranlib", so it can be a program name with args.
51289 set dummy ranlib; ac_word=$2
51290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51292 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
51293 echo $ECHO_N "(cached) $ECHO_C" >&6
51295 if test -n "$ac_ct_RANLIB"; then
51296 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
51298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51299 for as_dir in $PATH
51302 test -z "$as_dir" && as_dir=.
51303 for ac_exec_ext in '' $ac_executable_extensions; do
51304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51305 ac_cv_prog_ac_ct_RANLIB="ranlib"
51306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51315 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
51316 if test -n "$ac_ct_RANLIB"; then
51317 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
51318 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
51320 { echo "$as_me:$LINENO: result: no" >&5
51321 echo "${ECHO_T}no" >&6; }
51324 if test "x$ac_ct_RANLIB" = x; then
51327 case $cross_compiling:$ac_tool_warned in
51329 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51330 whose name does not start with the host triplet. If you think this
51331 configuration is useful to you, please write to autoconf@gnu.org." >&5
51332 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51333 whose name does not start with the host triplet. If you think this
51334 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51335 ac_tool_warned=yes ;;
51337 RANLIB=$ac_ct_RANLIB
51340 RANLIB="$ac_cv_prog_RANLIB"
51343 # Find a good install program. We prefer a C program (faster),
51344 # so one script is as good as another. But avoid the broken or
51345 # incompatible versions:
51346 # SysV /etc/install, /usr/sbin/install
51347 # SunOS /usr/etc/install
51348 # IRIX /sbin/install
51350 # AmigaOS /C/install, which installs bootblocks on floppy discs
51351 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
51352 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
51353 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
51354 # OS/2's system install, which has a completely different semantic
51355 # ./install, which can be erroneously created by make from ./install.sh.
51356 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
51357 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
51358 if test -z "$INSTALL"; then
51359 if test "${ac_cv_path_install+set}" = set; then
51360 echo $ECHO_N "(cached) $ECHO_C" >&6
51362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51363 for as_dir in $PATH
51366 test -z "$as_dir" && as_dir=.
51367 # Account for people who put trailing slashes in PATH elements.
51369 ./ | .// | /cC/* | \
51370 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
51371 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
51374 # OSF1 and SCO ODT 3.0 have their own names for install.
51375 # Don't use installbsd from OSF since it installs stuff as root
51377 for ac_prog in ginstall scoinst install; do
51378 for ac_exec_ext in '' $ac_executable_extensions; do
51379 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
51380 if test $ac_prog = install &&
51381 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
51382 # AIX install. It has an incompatible calling convention.
51384 elif test $ac_prog = install &&
51385 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
51386 # program-specific install script used by HP pwplus--don't use.
51389 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
51402 if test "${ac_cv_path_install+set}" = set; then
51403 INSTALL=$ac_cv_path_install
51405 # As a last resort, use the slow shell script. Don't cache a
51406 # value for INSTALL within a source directory, because that will
51407 # break other packages using the cache if that directory is
51408 # removed, or if the value is a relative name.
51409 INSTALL=$ac_install_sh
51412 { echo "$as_me:$LINENO: result: $INSTALL" >&5
51413 echo "${ECHO_T}$INSTALL" >&6; }
51415 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
51416 # It thinks the first close brace ends the variable substitution.
51417 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
51419 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
51421 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
51423 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
51424 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
51426 if test "$LN_S" = "ln -s"; then
51427 { echo "$as_me:$LINENO: result: yes" >&5
51428 echo "${ECHO_T}yes" >&6; }
51430 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
51431 echo "${ECHO_T}no, using $LN_S" >&6; }
51435 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51436 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51437 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51438 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51439 echo $ECHO_N "(cached) $ECHO_C" >&6
51441 cat >conftest.make <<\_ACEOF
51444 @echo '@@@%%%=$(MAKE)=@@@%%%'
51446 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51447 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51448 *@@@%%%=?*=@@@%%%*)
51449 eval ac_cv_prog_make_${ac_make}_set=yes;;
51451 eval ac_cv_prog_make_${ac_make}_set=no;;
51453 rm -f conftest.make
51455 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51456 { echo "$as_me:$LINENO: result: yes" >&5
51457 echo "${ECHO_T}yes" >&6; }
51460 { echo "$as_me:$LINENO: result: no" >&5
51461 echo "${ECHO_T}no" >&6; }
51462 SET_MAKE="MAKE=${MAKE-make}"
51467 if test "x$SUNCXX" = "xyes"; then
51469 AROPTIONS="-xar -o"
51471 elif test "x$SGICC" = "xyes"; then
51476 if test -n "$ac_tool_prefix"; then
51477 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
51478 set dummy ${ac_tool_prefix}ar; ac_word=$2
51479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51481 if test "${ac_cv_prog_AR+set}" = set; then
51482 echo $ECHO_N "(cached) $ECHO_C" >&6
51484 if test -n "$AR"; then
51485 ac_cv_prog_AR="$AR" # Let the user override the test.
51487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51488 for as_dir in $PATH
51491 test -z "$as_dir" && as_dir=.
51492 for ac_exec_ext in '' $ac_executable_extensions; do
51493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51494 ac_cv_prog_AR="${ac_tool_prefix}ar"
51495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51505 if test -n "$AR"; then
51506 { echo "$as_me:$LINENO: result: $AR" >&5
51507 echo "${ECHO_T}$AR" >&6; }
51509 { echo "$as_me:$LINENO: result: no" >&5
51510 echo "${ECHO_T}no" >&6; }
51515 if test -z "$ac_cv_prog_AR"; then
51517 # Extract the first word of "ar", so it can be a program name with args.
51518 set dummy ar; ac_word=$2
51519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51521 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
51522 echo $ECHO_N "(cached) $ECHO_C" >&6
51524 if test -n "$ac_ct_AR"; then
51525 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
51527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51528 for as_dir in $PATH
51531 test -z "$as_dir" && as_dir=.
51532 for ac_exec_ext in '' $ac_executable_extensions; do
51533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51534 ac_cv_prog_ac_ct_AR="ar"
51535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51544 ac_ct_AR=$ac_cv_prog_ac_ct_AR
51545 if test -n "$ac_ct_AR"; then
51546 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
51547 echo "${ECHO_T}$ac_ct_AR" >&6; }
51549 { echo "$as_me:$LINENO: result: no" >&5
51550 echo "${ECHO_T}no" >&6; }
51553 if test "x$ac_ct_AR" = x; then
51556 case $cross_compiling:$ac_tool_warned in
51558 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51559 whose name does not start with the host triplet. If you think this
51560 configuration is useful to you, please write to autoconf@gnu.org." >&5
51561 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51562 whose name does not start with the host triplet. If you think this
51563 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51564 ac_tool_warned=yes ;;
51569 AR="$ac_cv_prog_AR"
51576 if test -n "$ac_tool_prefix"; then
51577 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
51578 set dummy ${ac_tool_prefix}strip; ac_word=$2
51579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51581 if test "${ac_cv_prog_STRIP+set}" = set; then
51582 echo $ECHO_N "(cached) $ECHO_C" >&6
51584 if test -n "$STRIP"; then
51585 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
51587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51588 for as_dir in $PATH
51591 test -z "$as_dir" && as_dir=.
51592 for ac_exec_ext in '' $ac_executable_extensions; do
51593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51594 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
51595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51604 STRIP=$ac_cv_prog_STRIP
51605 if test -n "$STRIP"; then
51606 { echo "$as_me:$LINENO: result: $STRIP" >&5
51607 echo "${ECHO_T}$STRIP" >&6; }
51609 { echo "$as_me:$LINENO: result: no" >&5
51610 echo "${ECHO_T}no" >&6; }
51615 if test -z "$ac_cv_prog_STRIP"; then
51617 # Extract the first word of "strip", so it can be a program name with args.
51618 set dummy strip; ac_word=$2
51619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51621 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
51622 echo $ECHO_N "(cached) $ECHO_C" >&6
51624 if test -n "$ac_ct_STRIP"; then
51625 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
51627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51628 for as_dir in $PATH
51631 test -z "$as_dir" && as_dir=.
51632 for ac_exec_ext in '' $ac_executable_extensions; do
51633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51634 ac_cv_prog_ac_ct_STRIP="strip"
51635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51644 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
51645 if test -n "$ac_ct_STRIP"; then
51646 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
51647 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
51649 { echo "$as_me:$LINENO: result: no" >&5
51650 echo "${ECHO_T}no" >&6; }
51653 if test "x$ac_ct_STRIP" = x; then
51656 case $cross_compiling:$ac_tool_warned in
51658 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51659 whose name does not start with the host triplet. If you think this
51660 configuration is useful to you, please write to autoconf@gnu.org." >&5
51661 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51662 whose name does not start with the host triplet. If you think this
51663 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51664 ac_tool_warned=yes ;;
51669 STRIP="$ac_cv_prog_STRIP"
51672 if test -n "$ac_tool_prefix"; then
51673 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
51674 set dummy ${ac_tool_prefix}nm; ac_word=$2
51675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51677 if test "${ac_cv_prog_NM+set}" = set; then
51678 echo $ECHO_N "(cached) $ECHO_C" >&6
51680 if test -n "$NM"; then
51681 ac_cv_prog_NM="$NM" # Let the user override the test.
51683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51684 for as_dir in $PATH
51687 test -z "$as_dir" && as_dir=.
51688 for ac_exec_ext in '' $ac_executable_extensions; do
51689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51690 ac_cv_prog_NM="${ac_tool_prefix}nm"
51691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51701 if test -n "$NM"; then
51702 { echo "$as_me:$LINENO: result: $NM" >&5
51703 echo "${ECHO_T}$NM" >&6; }
51705 { echo "$as_me:$LINENO: result: no" >&5
51706 echo "${ECHO_T}no" >&6; }
51711 if test -z "$ac_cv_prog_NM"; then
51713 # Extract the first word of "nm", so it can be a program name with args.
51714 set dummy nm; ac_word=$2
51715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51717 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
51718 echo $ECHO_N "(cached) $ECHO_C" >&6
51720 if test -n "$ac_ct_NM"; then
51721 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
51723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51724 for as_dir in $PATH
51727 test -z "$as_dir" && as_dir=.
51728 for ac_exec_ext in '' $ac_executable_extensions; do
51729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51730 ac_cv_prog_ac_ct_NM="nm"
51731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51740 ac_ct_NM=$ac_cv_prog_ac_ct_NM
51741 if test -n "$ac_ct_NM"; then
51742 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
51743 echo "${ECHO_T}$ac_ct_NM" >&6; }
51745 { echo "$as_me:$LINENO: result: no" >&5
51746 echo "${ECHO_T}no" >&6; }
51749 if test "x$ac_ct_NM" = x; then
51752 case $cross_compiling:$ac_tool_warned in
51754 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51755 whose name does not start with the host triplet. If you think this
51756 configuration is useful to you, please write to autoconf@gnu.org." >&5
51757 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51758 whose name does not start with the host triplet. If you think this
51759 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51760 ac_tool_warned=yes ;;
51765 NM="$ac_cv_prog_NM"
51769 case ${BAKEFILE_HOST} in
51771 INSTALL_DIR="mkdir -p"
51774 INSTALL_DIR='$(INSTALL) -d'
51780 case ${BAKEFILE_HOST} in
51781 *-*-cygwin* | *-*-mingw32* )
51782 LDFLAGS_GUI="-mwindows"
51788 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
51789 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
51790 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
51791 echo $ECHO_N "(cached) $ECHO_C" >&6
51794 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
51795 egrep -s GNU > /dev/null); then
51796 bakefile_cv_prog_makeisgnu="yes"
51798 bakefile_cv_prog_makeisgnu="no"
51802 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
51803 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
51805 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
51822 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
51823 case "${BAKEFILE_HOST}" in
51830 *-pc-os2_emx | *-pc-os2-emx )
51840 powerpc-apple-macos* )
51849 case "$BAKEFILE_FORCE_PLATFORM" in
51884 # Check whether --enable-omf was given.
51885 if test "${enable_omf+set}" = set; then
51886 enableval=$enable_omf; bk_os2_use_omf="$enableval"
51890 case "${BAKEFILE_HOST}" in
51892 if test "x$GCC" = "xyes"; then
51893 CFLAGS="$CFLAGS -fno-common"
51894 CXXFLAGS="$CXXFLAGS -fno-common"
51896 if test "x$XLCC" = "xyes"; then
51897 CFLAGS="$CFLAGS -qnocommon"
51898 CXXFLAGS="$CXXFLAGS -qnocommon"
51902 *-pc-os2_emx | *-pc-os2-emx )
51903 if test "x$bk_os2_use_omf" = "xyes" ; then
51906 LDFLAGS="-Zomf $LDFLAGS"
51907 CFLAGS="-Zomf $CFLAGS"
51908 CXXFLAGS="-Zomf $CXXFLAGS"
51916 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
51922 SO_SUFFIX_MODULE="so"
51927 DLLPREFIX_MODULE=""
51931 case "${BAKEFILE_HOST}" in
51934 SO_SUFFIX_MODULE="sl"
51938 SO_SUFFIX_MODULE="a"
51942 SO_SUFFIX_MODULE="dll"
51943 DLLIMP_SUFFIX="dll.a"
51950 SO_SUFFIX_MODULE="dll"
51951 DLLIMP_SUFFIX="dll.a"
51961 *-pc-os2_emx | *-pc-os2-emx )
51963 SO_SUFFIX_MODULE="dll"
51964 DLLIMP_SUFFIX=$OS2_LIBEXT
51968 LIBEXT=".$OS2_LIBEXT"
51973 SO_SUFFIX_MODULE="bundle"
51977 if test "x$DLLIMP_SUFFIX" = "x" ; then
51978 DLLIMP_SUFFIX="$SO_SUFFIX"
51993 if test "x$GCC" = "xyes"; then
51997 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
51998 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
52001 case "${BAKEFILE_HOST}" in
52003 if test "x$GCC" != "xyes"; then
52004 LDFLAGS="$LDFLAGS -L/usr/lib"
52006 SHARED_LD_CC="${CC} -b -o"
52007 SHARED_LD_CXX="${CXX} -b -o"
52013 if test "x$GCC" != "xyes"; then
52014 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
52015 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
52016 if test "${bakefile_cv_prog_icc+set}" = set; then
52017 echo $ECHO_N "(cached) $ECHO_C" >&6
52020 cat >conftest.$ac_ext <<_ACEOF
52023 cat confdefs.h >>conftest.$ac_ext
52024 cat >>conftest.$ac_ext <<_ACEOF
52025 /* end confdefs.h. */
52031 #ifndef __INTEL_COMPILER
52039 rm -f conftest.$ac_objext
52040 if { (ac_try="$ac_compile"
52041 case "(($ac_try" in
52042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52043 *) ac_try_echo=$ac_try;;
52045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52046 (eval "$ac_compile") 2>conftest.er1
52048 grep -v '^ *+' conftest.er1 >conftest.err
52050 cat conftest.err >&5
52051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52052 (exit $ac_status); } &&
52053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52054 { (case "(($ac_try" in
52055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52056 *) ac_try_echo=$ac_try;;
52058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52059 (eval "$ac_try") 2>&5
52061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52062 (exit $ac_status); }; } &&
52063 { ac_try='test -s conftest.$ac_objext'
52064 { (case "(($ac_try" in
52065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52066 *) ac_try_echo=$ac_try;;
52068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52069 (eval "$ac_try") 2>&5
52071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52072 (exit $ac_status); }; }; then
52073 bakefile_cv_prog_icc=yes
52075 echo "$as_me: failed program was:" >&5
52076 sed 's/^/| /' conftest.$ac_ext >&5
52078 bakefile_cv_prog_icc=no
52082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52085 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
52086 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
52087 if test "$bakefile_cv_prog_icc" = "yes"; then
52094 if test "x$GCC" != xyes ; then
52095 SHARED_LD_CC="${CC} -G -o"
52096 SHARED_LD_CXX="${CXX} -G -o"
52104 cat <<EOF >shared-ld-sh
52106 #-----------------------------------------------------------------------------
52107 #-- Name: distrib/mac/shared-ld-sh
52108 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
52109 #-- Author: Gilles Depeyrot
52110 #-- Copyright: (c) 2002 Gilles Depeyrot
52111 #-- Licence: any use permitted
52112 #-----------------------------------------------------------------------------
52117 linking_flag="-dynamiclib"
52118 ldargs="-r -keep_private_externs -nostdlib"
52120 while test ${D}# -gt 0; do
52127 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
52128 # collect these options and values
52129 args="${D}{args} ${D}1 ${D}2"
52134 # collect these load args
52135 ldargs="${D}{ldargs} ${D}1"
52138 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
52139 # collect these options
52140 args="${D}{args} ${D}1"
52143 -dynamiclib|-bundle)
52144 linking_flag="${D}1"
52148 echo "shared-ld: unhandled option '${D}1'"
52152 *.o | *.a | *.dylib)
52153 # collect object files
52154 objects="${D}{objects} ${D}1"
52158 echo "shared-ld: unhandled argument '${D}1'"
52169 # Link one module containing all the others
52171 if test ${D}{verbose} = 1; then
52172 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
52174 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
52178 # Link the shared library from the single module created, but only if the
52179 # previous command didn't fail:
52181 if test ${D}{status} = 0; then
52182 if test ${D}{verbose} = 1; then
52183 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
52185 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
52190 # Remove intermediate module
52192 rm -f master.${D}${D}.o
52197 chmod +x shared-ld-sh
52199 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
52200 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
52203 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
52204 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
52205 if test "${bakefile_cv_gcc31+set}" = set; then
52206 echo $ECHO_N "(cached) $ECHO_C" >&6
52209 cat >conftest.$ac_ext <<_ACEOF
52212 cat confdefs.h >>conftest.$ac_ext
52213 cat >>conftest.$ac_ext <<_ACEOF
52214 /* end confdefs.h. */
52220 #if (__GNUC__ < 3) || \
52221 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
52229 rm -f conftest.$ac_objext
52230 if { (ac_try="$ac_compile"
52231 case "(($ac_try" in
52232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52233 *) ac_try_echo=$ac_try;;
52235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52236 (eval "$ac_compile") 2>conftest.er1
52238 grep -v '^ *+' conftest.er1 >conftest.err
52240 cat conftest.err >&5
52241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52242 (exit $ac_status); } &&
52243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52244 { (case "(($ac_try" in
52245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52246 *) ac_try_echo=$ac_try;;
52248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52249 (eval "$ac_try") 2>&5
52251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52252 (exit $ac_status); }; } &&
52253 { ac_try='test -s conftest.$ac_objext'
52254 { (case "(($ac_try" in
52255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52256 *) ac_try_echo=$ac_try;;
52258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52259 (eval "$ac_try") 2>&5
52261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52262 (exit $ac_status); }; }; then
52264 bakefile_cv_gcc31=yes
52267 echo "$as_me: failed program was:" >&5
52268 sed 's/^/| /' conftest.$ac_ext >&5
52271 bakefile_cv_gcc31=no
52276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52279 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
52280 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
52281 if test "$bakefile_cv_gcc31" = "no"; then
52282 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
52283 SHARED_LD_CXX="$SHARED_LD_CC"
52285 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
52286 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
52289 if test "x$GCC" == "xyes"; then
52290 PIC_FLAG="-dynamic -fPIC"
52292 if test "x$XLCC" = "xyes"; then
52293 PIC_FLAG="-dynamic -DPIC"
52298 if test "x$GCC" = "xyes"; then
52301 case "${BAKEFILE_HOST}" in
52303 LD_EXPFULL="-Wl,-bexpfull"
52307 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
52308 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
52310 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
52311 set dummy makeC++SharedLib; ac_word=$2
52312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52314 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
52315 echo $ECHO_N "(cached) $ECHO_C" >&6
52317 if test -n "$AIX_CXX_LD"; then
52318 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
52320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52321 for as_dir in $PATH
52324 test -z "$as_dir" && as_dir=.
52325 for ac_exec_ext in '' $ac_executable_extensions; do
52326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
52327 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
52328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52335 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
52338 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
52339 if test -n "$AIX_CXX_LD"; then
52340 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
52341 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
52343 { echo "$as_me:$LINENO: result: no" >&5
52344 echo "${ECHO_T}no" >&6; }
52348 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
52349 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
52354 SHARED_LD_CC="${LD} -nostart -o"
52355 SHARED_LD_CXX="${LD} -nostart -o"
52359 if test "x$GCC" != "xyes"; then
52364 *-*-cygwin* | *-*-mingw32* )
52366 SHARED_LD_CC="\$(CC) -shared -o"
52367 SHARED_LD_CXX="\$(CXX) -shared -o"
52371 *-pc-os2_emx | *-pc-os2-emx )
52372 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52373 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52377 cat <<EOF >dllar.sh
52380 # dllar - a tool to build both a .dll and an .a file
52381 # from a set of object (.o) files for EMX/OS2.
52383 # Written by Andrew Zabolotny, bit@freya.etu.ru
52384 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
52386 # This script will accept a set of files on the command line.
52387 # All the public symbols from the .o files will be exported into
52388 # a .DEF file, then linker will be run (through gcc) against them to
52389 # build a shared library consisting of all given .o files. All libraries
52390 # (.a) will be first decompressed into component .o files then act as
52391 # described above. You can optionally give a description (-d "description")
52392 # which will be put into .DLL. To see the list of accepted options (as well
52393 # as command-line format) simply run this program without options. The .DLL
52394 # is built to be imported by name (there is no guarantee that new versions
52395 # of the library you build will have same ordinals for same symbols).
52397 # dllar is free software; you can redistribute it and/or modify
52398 # it under the terms of the GNU General Public License as published by
52399 # the Free Software Foundation; either version 2, or (at your option)
52400 # any later version.
52402 # dllar is distributed in the hope that it will be useful,
52403 # but WITHOUT ANY WARRANTY; without even the implied warranty of
52404 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
52405 # GNU General Public License for more details.
52407 # You should have received a copy of the GNU General Public License
52408 # along with dllar; see the file COPYING. If not, write to the Free
52409 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
52412 # To successfuly run this program you will need:
52413 # - Current drive should have LFN support (HPFS, ext2, network, etc)
52414 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
52416 # (used to build the .dll)
52418 # (used to create .def file from .o files)
52420 # (used to create .a file from .def file)
52421 # - GNU text utilites (cat, sort, uniq)
52422 # used to process emxexp output
52423 # - GNU file utilities (mv, rm)
52425 # - lxlite (optional, see flag below)
52426 # (used for general .dll cleanup)
52433 # basnam, variant of basename, which does _not_ remove the path, _iff_
52434 # second argument (suffix to remove) is given
52438 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
52441 echo ${D}1 | sed 's/'${D}2'${D}//'
52444 echo "error in basnam ${D}*"
52450 # Cleanup temporary files and output
52453 for i in ${D}inputFiles ; do
52456 rm -rf \`basnam ${D}i !\`
52463 # Kill result in case of failure as there is just to many stupid make/nmake
52464 # things out there which doesn't do this.
52465 if [ ${D}# -eq 0 ]; then
52466 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
52470 # Print usage and exit script with rc=1.
52472 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
52473 echo ' [-name-mangler-script script.sh]'
52474 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
52475 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
52476 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
52477 echo ' [*.o] [*.a]'
52478 echo '*> "output_file" should have no extension.'
52479 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
52480 echo ' The import library name is derived from this and is set to "name".a,'
52481 echo ' unless overridden by -import'
52482 echo '*> "importlib_name" should have no extension.'
52483 echo ' If it has the .o, or .a extension, it is automatically removed.'
52484 echo ' This name is used as the import library name and may be longer and'
52485 echo ' more descriptive than the DLL name which has to follow the old '
52486 echo ' 8.3 convention of FAT.'
52487 echo '*> "script.sh may be given to override the output_file name by a'
52488 echo ' different name. It is mainly useful if the regular make process'
52489 echo ' of some package does not take into account OS/2 restriction of'
52490 echo ' DLL name lengths. It takes the importlib name as input and is'
52491 echo ' supposed to procude a shorter name as output. The script should'
52492 echo ' expect to get importlib_name without extension and should produce'
52493 echo ' a (max.) 8 letter name without extension.'
52494 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
52495 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
52496 echo ' These flags will be put at the start of GCC command line.'
52497 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
52498 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
52499 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
52500 echo ' If the last character of a symbol is "*", all symbols beginning'
52501 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
52502 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
52503 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
52504 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
52505 echo ' C runtime DLLs.'
52506 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
52507 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
52508 echo ' unchanged to GCC at the end of command line.'
52509 echo '*> If you create a DLL from a library and you do not specify -o,'
52510 echo ' the basename for DLL and import library will be set to library name,'
52511 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
52512 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
52513 echo ' library will be renamed into gcc_s.a.'
52516 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
52517 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
52522 # Execute a command.
52523 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
52524 # @Uses Whatever CleanUp() uses.
52530 if [ ${D}rcCmd -ne 0 ]; then
52531 echo "command failed, exit code="${D}rcCmd
52546 CFLAGS="-s -Zcrtdll"
52548 EXPORT_BY_ORDINALS=0
52553 case ${D}curDirS in
52557 curDirS=${D}{curDirS}"/"
52560 # Parse commandline
52563 while [ ${D}1 ]; do
52566 EXPORT_BY_ORDINALS=1;
52576 -name-mangler-script)
52597 exclude_symbols=${D}{exclude_symbols}${D}1" "
52601 library_flags=${D}{library_flags}${D}1" "
52620 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
52623 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
52624 if [ ${D}omfLinking -eq 1 ]; then
52625 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
52627 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
52632 if [ ${D}libsToLink -ne 0 ]; then
52633 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
52635 for file in ${D}1 ; do
52636 if [ -f ${D}file ]; then
52637 inputFiles="${D}{inputFiles} ${D}file"
52641 if [ ${D}found -eq 0 ]; then
52642 echo "ERROR: No file(s) found: "${D}1
52649 done # iterate cmdline words
52652 if [ -z "${D}inputFiles" ]; then
52653 echo "dllar: no input files"
52657 # Now extract all .o files from .a files
52659 for file in ${D}inputFiles ; do
52670 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
52675 dirname=\`basnam ${D}file ${D}suffix\`"_%"
52677 if [ ${D}? -ne 0 ]; then
52678 echo "Failed to create subdirectory ./${D}dirname"
52682 # Append '!' to indicate archive
52683 newInputFiles="${D}newInputFiles ${D}{dirname}!"
52684 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
52687 for subfile in ${D}dirname/*.o* ; do
52688 if [ -f ${D}subfile ]; then
52690 if [ -s ${D}subfile ]; then
52691 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
52692 newInputFiles="${D}newInputFiles ${D}subfile"
52696 if [ ${D}found -eq 0 ]; then
52697 echo "WARNING: there are no files in archive \\'${D}file\\'"
52701 newInputFiles="${D}{newInputFiles} ${D}file"
52705 inputFiles="${D}newInputFiles"
52707 # Output filename(s).
52709 if [ -z ${D}outFile ]; then
52711 set outFile ${D}inputFiles; outFile=${D}2
52714 # If it is an archive, remove the '!' and the '_%' suffixes
52715 case ${D}outFile in
52717 outFile=\`basnam ${D}outFile _%!\`
52722 case ${D}outFile in
52724 outFile=\`basnam ${D}outFile .dll\`
52727 outFile=\`basnam ${D}outFile .DLL\`
52730 outFile=\`basnam ${D}outFile .o\`
52733 outFile=\`basnam ${D}outFile .obj\`
52736 outFile=\`basnam ${D}outFile .a\`
52739 outFile=\`basnam ${D}outFile .lib\`
52744 case ${D}outimpFile in
52746 outimpFile=\`basnam ${D}outimpFile .a\`
52749 outimpFile=\`basnam ${D}outimpFile .lib\`
52754 if [ -z ${D}outimpFile ]; then
52755 outimpFile=${D}outFile
52757 defFile="${D}{outFile}.def"
52758 arcFile="${D}{outimpFile}.a"
52759 arcFile2="${D}{outimpFile}.lib"
52761 #create ${D}dllFile as something matching 8.3 restrictions,
52762 if [ -z ${D}renameScript ] ; then
52763 dllFile="${D}outFile"
52765 dllFile=\`${D}renameScript ${D}outimpFile\`
52768 if [ ${D}do_backup -ne 0 ] ; then
52769 if [ -f ${D}arcFile ] ; then
52770 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
52772 if [ -f ${D}arcFile2 ] ; then
52773 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
52777 # Extract public symbols from all the object files.
52778 tmpdefFile=${D}{defFile}_%
52779 rm -f ${D}tmpdefFile
52780 for file in ${D}inputFiles ; do
52785 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
52790 # Create the def file.
52792 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
52793 dllFile="${D}{dllFile}.dll"
52794 if [ ! -z ${D}description ]; then
52795 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
52797 echo "EXPORTS" >> ${D}defFile
52799 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
52800 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
52802 # Checks if the export is ok or not.
52803 for word in ${D}exclude_symbols; do
52804 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
52805 mv ${D}{tmpdefFile}% ${D}tmpdefFile
52809 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
52810 sed "=" < ${D}tmpdefFile | \\
52814 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
52816 ' > ${D}{tmpdefFile}%
52817 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
52819 rm -f ${D}{tmpdefFile}%
52821 cat ${D}tmpdefFile >> ${D}defFile
52822 rm -f ${D}tmpdefFile
52824 # Do linking, create implib, and apply lxlite.
52826 for file in ${D}inputFiles ; do
52831 gccCmdl="${D}gccCmdl ${D}file"
52835 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
52836 touch "${D}{outFile}.dll"
52838 doCommand "emximp -o ${D}arcFile ${D}defFile"
52839 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
52841 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
52844 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
52846 doCommand "emxomf -s -l ${D}arcFile"
52856 powerpc-apple-macos* | \
52857 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
52867 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
52868 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
52869 { (exit 1); exit 1; }; }
52872 if test "x$PIC_FLAG" != "x" ; then
52873 PIC_FLAG="$PIC_FLAG -DPIC"
52876 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
52877 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
52879 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
52880 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
52899 case "${BAKEFILE_HOST}" in
52900 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
52901 SONAME_FLAG="-Wl,-soname,"
52935 # Check whether --enable-dependency-tracking was given.
52936 if test "${enable_dependency_tracking+set}" = set; then
52937 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
52941 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
52942 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
52945 if test "x$bk_use_trackdeps" = "xno" ; then
52947 { echo "$as_me:$LINENO: result: disabled" >&5
52948 echo "${ECHO_T}disabled" >&6; }
52952 if test "x$GCC" = "xyes"; then
52954 case "${BAKEFILE_HOST}" in
52956 DEPSFLAG="-no-cpp-precomp -MMD"
52962 { echo "$as_me:$LINENO: result: gcc" >&5
52963 echo "${ECHO_T}gcc" >&6; }
52964 elif test "x$MWCC" = "xyes"; then
52967 { echo "$as_me:$LINENO: result: mwcc" >&5
52968 echo "${ECHO_T}mwcc" >&6; }
52969 elif test "x$SUNCC" = "xyes"; then
52972 { echo "$as_me:$LINENO: result: Sun cc" >&5
52973 echo "${ECHO_T}Sun cc" >&6; }
52974 elif test "x$SGICC" = "xyes"; then
52977 { echo "$as_me:$LINENO: result: SGI cc" >&5
52978 echo "${ECHO_T}SGI cc" >&6; }
52979 elif test "x$HPCC" = "xyes"; then
52982 { echo "$as_me:$LINENO: result: HP cc" >&5
52983 echo "${ECHO_T}HP cc" >&6; }
52984 elif test "x$COMPAQCC" = "xyes"; then
52987 { echo "$as_me:$LINENO: result: Compaq cc" >&5
52988 echo "${ECHO_T}Compaq cc" >&6; }
52991 { echo "$as_me:$LINENO: result: none" >&5
52992 echo "${ECHO_T}none" >&6; }
52995 if test $DEPS_TRACKING = 1 ; then
53001 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
53002 # script. It is used to track C/C++ files dependencies in portable way.
53004 # Permission is given to use this file in any way.
53006 DEPSMODE=${DEPSMODE}
53008 DEPSFLAG="${DEPSFLAG}"
53010 mkdir -p ${D}DEPSDIR
53012 if test ${D}DEPSMODE = gcc ; then
53013 ${D}* ${D}{DEPSFLAG}
53015 if test ${D}{status} != 0 ; then
53018 # move created file to the location we want it in:
53019 while test ${D}# -gt 0; do
53033 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
53034 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
53035 if test -f ${D}depfile ; then
53036 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
53039 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
53040 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
53041 if test ! -f ${D}depfile ; then
53042 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
53043 depfile="${D}objfile.d"
53045 if test -f ${D}depfile ; then
53046 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
53051 elif test ${D}DEPSMODE = mwcc ; then
53052 ${D}* || exit ${D}?
53053 # Run mwcc again with -MM and redirect into the dep file we want
53054 # NOTE: We can't use shift here because we need ${D}* to be valid
53056 for arg in ${D}* ; do
53057 if test "${D}prevarg" = "-o"; then
53070 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
53072 elif test ${D}DEPSMODE = unixcc; then
53073 ${D}* || exit ${D}?
53074 # Run compiler again with deps flag and redirect into the dep file.
53075 # It doesn't work if the '-o FILE' option is used, but without it the
53076 # dependency file will contain the wrong name for the object. So it is
53077 # removed from the command line, and the dep file is fixed with sed.
53079 while test ${D}# -gt 0; do
53086 eval arg${D}#=\\${D}1
53087 cmd="${D}cmd \\${D}arg${D}#"
53092 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
53101 BK_DEPS="`pwd`/bk-deps"
53109 case ${BAKEFILE_HOST} in
53110 *-*-cygwin* | *-*-mingw32* )
53111 if test -n "$ac_tool_prefix"; then
53112 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
53113 set dummy ${ac_tool_prefix}windres; ac_word=$2
53114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53116 if test "${ac_cv_prog_WINDRES+set}" = set; then
53117 echo $ECHO_N "(cached) $ECHO_C" >&6
53119 if test -n "$WINDRES"; then
53120 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
53122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53123 for as_dir in $PATH
53126 test -z "$as_dir" && as_dir=.
53127 for ac_exec_ext in '' $ac_executable_extensions; do
53128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
53129 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
53130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53139 WINDRES=$ac_cv_prog_WINDRES
53140 if test -n "$WINDRES"; then
53141 { echo "$as_me:$LINENO: result: $WINDRES" >&5
53142 echo "${ECHO_T}$WINDRES" >&6; }
53144 { echo "$as_me:$LINENO: result: no" >&5
53145 echo "${ECHO_T}no" >&6; }
53150 if test -z "$ac_cv_prog_WINDRES"; then
53151 ac_ct_WINDRES=$WINDRES
53152 # Extract the first word of "windres", so it can be a program name with args.
53153 set dummy windres; ac_word=$2
53154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53156 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
53157 echo $ECHO_N "(cached) $ECHO_C" >&6
53159 if test -n "$ac_ct_WINDRES"; then
53160 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
53162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53163 for as_dir in $PATH
53166 test -z "$as_dir" && as_dir=.
53167 for ac_exec_ext in '' $ac_executable_extensions; do
53168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
53169 ac_cv_prog_ac_ct_WINDRES="windres"
53170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53179 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
53180 if test -n "$ac_ct_WINDRES"; then
53181 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
53182 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
53184 { echo "$as_me:$LINENO: result: no" >&5
53185 echo "${ECHO_T}no" >&6; }
53188 if test "x$ac_ct_WINDRES" = x; then
53191 case $cross_compiling:$ac_tool_warned in
53193 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
53194 whose name does not start with the host triplet. If you think this
53195 configuration is useful to you, please write to autoconf@gnu.org." >&5
53196 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
53197 whose name does not start with the host triplet. If you think this
53198 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
53199 ac_tool_warned=yes ;;
53201 WINDRES=$ac_ct_WINDRES
53204 WINDRES="$ac_cv_prog_WINDRES"
53209 *-*-darwin* | powerpc-apple-macos* )
53210 # Extract the first word of "Rez", so it can be a program name with args.
53211 set dummy Rez; ac_word=$2
53212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53214 if test "${ac_cv_prog_REZ+set}" = set; then
53215 echo $ECHO_N "(cached) $ECHO_C" >&6
53217 if test -n "$REZ"; then
53218 ac_cv_prog_REZ="$REZ" # Let the user override the test.
53220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53221 for as_dir in $PATH
53224 test -z "$as_dir" && as_dir=.
53225 for ac_exec_ext in '' $ac_executable_extensions; do
53226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
53227 ac_cv_prog_REZ="Rez"
53228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53235 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
53238 REZ=$ac_cv_prog_REZ
53239 if test -n "$REZ"; then
53240 { echo "$as_me:$LINENO: result: $REZ" >&5
53241 echo "${ECHO_T}$REZ" >&6; }
53243 { echo "$as_me:$LINENO: result: no" >&5
53244 echo "${ECHO_T}no" >&6; }
53248 # Extract the first word of "SetFile", so it can be a program name with args.
53249 set dummy SetFile; ac_word=$2
53250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53252 if test "${ac_cv_prog_SETFILE+set}" = set; then
53253 echo $ECHO_N "(cached) $ECHO_C" >&6
53255 if test -n "$SETFILE"; then
53256 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
53258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53259 for as_dir in $PATH
53262 test -z "$as_dir" && as_dir=.
53263 for ac_exec_ext in '' $ac_executable_extensions; do
53264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
53265 ac_cv_prog_SETFILE="SetFile"
53266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53273 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
53276 SETFILE=$ac_cv_prog_SETFILE
53277 if test -n "$SETFILE"; then
53278 { echo "$as_me:$LINENO: result: $SETFILE" >&5
53279 echo "${ECHO_T}$SETFILE" >&6; }
53281 { echo "$as_me:$LINENO: result: no" >&5
53282 echo "${ECHO_T}no" >&6; }
53294 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
53297 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
53301 # Check whether --enable-precomp-headers was given.
53302 if test "${enable_precomp_headers+set}" = set; then
53303 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
53312 case ${BAKEFILE_HOST} in
53318 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
53319 if test "x$GCC" = "xyes"; then
53320 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
53321 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
53322 cat >conftest.$ac_ext <<_ACEOF
53325 cat confdefs.h >>conftest.$ac_ext
53326 cat >>conftest.$ac_ext <<_ACEOF
53327 /* end confdefs.h. */
53333 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
53334 There is no PCH support
53337 There is no PCH support
53339 #if (__GNUC__ == 3) && \
53340 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
53341 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
53342 ( defined(__INTEL_COMPILER) )
53343 There is no PCH support
53350 rm -f conftest.$ac_objext
53351 if { (ac_try="$ac_compile"
53352 case "(($ac_try" in
53353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53354 *) ac_try_echo=$ac_try;;
53356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53357 (eval "$ac_compile") 2>conftest.er1
53359 grep -v '^ *+' conftest.er1 >conftest.err
53361 cat conftest.err >&5
53362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53363 (exit $ac_status); } &&
53364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53365 { (case "(($ac_try" in
53366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53367 *) ac_try_echo=$ac_try;;
53369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53370 (eval "$ac_try") 2>&5
53372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53373 (exit $ac_status); }; } &&
53374 { ac_try='test -s conftest.$ac_objext'
53375 { (case "(($ac_try" in
53376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53377 *) ac_try_echo=$ac_try;;
53379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53380 (eval "$ac_try") 2>&5
53382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53383 (exit $ac_status); }; }; then
53385 { echo "$as_me:$LINENO: result: yes" >&5
53386 echo "${ECHO_T}yes" >&6; }
53390 echo "$as_me: failed program was:" >&5
53391 sed 's/^/| /' conftest.$ac_ext >&5
53394 cat >conftest.$ac_ext <<_ACEOF
53397 cat confdefs.h >>conftest.$ac_ext
53398 cat >>conftest.$ac_ext <<_ACEOF
53399 /* end confdefs.h. */
53405 #if !defined(__INTEL_COMPILER) || \
53406 (__INTEL_COMPILER < 800)
53407 There is no PCH support
53414 rm -f conftest.$ac_objext
53415 if { (ac_try="$ac_compile"
53416 case "(($ac_try" in
53417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53418 *) ac_try_echo=$ac_try;;
53420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53421 (eval "$ac_compile") 2>conftest.er1
53423 grep -v '^ *+' conftest.er1 >conftest.err
53425 cat conftest.err >&5
53426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53427 (exit $ac_status); } &&
53428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53429 { (case "(($ac_try" in
53430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53431 *) ac_try_echo=$ac_try;;
53433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53434 (eval "$ac_try") 2>&5
53436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53437 (exit $ac_status); }; } &&
53438 { ac_try='test -s conftest.$ac_objext'
53439 { (case "(($ac_try" in
53440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53441 *) ac_try_echo=$ac_try;;
53443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53444 (eval "$ac_try") 2>&5
53446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53447 (exit $ac_status); }; }; then
53449 { echo "$as_me:$LINENO: result: yes" >&5
53450 echo "${ECHO_T}yes" >&6; }
53454 echo "$as_me: failed program was:" >&5
53455 sed 's/^/| /' conftest.$ac_ext >&5
53458 { echo "$as_me:$LINENO: result: no" >&5
53459 echo "${ECHO_T}no" >&6; }
53463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53468 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
53472 cat <<EOF >bk-make-pch
53475 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
53476 # script. It is used to generated precompiled headers.
53478 # Permission is given to use this file in any way.
53488 while test ${D}{#} -gt 0; do
53492 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
53493 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
53494 headerfile="${D}{incdir}/${D}{header}"
53497 -use-pch|-use_pch )
53502 if test ${D}add_to_cmdline = 1 ; then
53503 compiler="${D}{compiler} ${D}{1}"
53508 if test "x${D}{headerfile}" = "x" ; then
53509 echo "error: can't find header ${D}{header} in include paths" >&2
53511 if test -f ${D}{outfile} ; then
53512 rm -f ${D}{outfile}
53514 mkdir -p \`dirname ${D}{outfile}\`
53516 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
53518 if test "x${GCC_PCH}" = "x1" ; then
53519 # can do this because gcc is >= 3.4:
53520 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
53521 elif test "x${ICC_PCH}" = "x1" ; then
53522 filename=pch_gen-${D}${D}
53523 file=${D}{filename}.c
53524 dfile=${D}{filename}.d
53525 cat > ${D}file <<EOT
53526 #include "${D}header"
53528 # using -MF icc complains about differing command lines in creation/use
53529 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
53530 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
53531 rm -f ${D}file ${D}dfile ${D}{filename}.o
53537 chmod +x bk-make-pch
53538 BK_MAKE_PCH="`pwd`/bk-make-pch"
53547 COND_BUILD_DEBUG="#"
53548 if test "x$BUILD" = "xdebug" ; then
53549 COND_BUILD_DEBUG=""
53552 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
53553 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
53554 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
53557 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
53558 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
53559 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
53562 COND_BUILD_DEBUG_UNICODE_0="#"
53563 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
53564 COND_BUILD_DEBUG_UNICODE_0=""
53567 COND_BUILD_DEBUG_UNICODE_1="#"
53568 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
53569 COND_BUILD_DEBUG_UNICODE_1=""
53572 COND_BUILD_RELEASE="#"
53573 if test "x$BUILD" = "xrelease" ; then
53574 COND_BUILD_RELEASE=""
53577 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
53578 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
53579 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
53582 COND_BUILD_RELEASE_UNICODE_0="#"
53583 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
53584 COND_BUILD_RELEASE_UNICODE_0=""
53587 COND_BUILD_RELEASE_UNICODE_1="#"
53588 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
53589 COND_BUILD_RELEASE_UNICODE_1=""
53592 COND_DEBUG_FLAG_1="#"
53593 if test "x$DEBUG_FLAG" = "x1" ; then
53594 COND_DEBUG_FLAG_1=""
53597 COND_DEBUG_INFO_0="#"
53598 if test "x$DEBUG_INFO" = "x0" ; then
53599 COND_DEBUG_INFO_0=""
53602 COND_DEBUG_INFO_1="#"
53603 if test "x$DEBUG_INFO" = "x1" ; then
53604 COND_DEBUG_INFO_1=""
53607 COND_DEPS_TRACKING_0="#"
53608 if test "x$DEPS_TRACKING" = "x0" ; then
53609 COND_DEPS_TRACKING_0=""
53612 COND_DEPS_TRACKING_1="#"
53613 if test "x$DEPS_TRACKING" = "x1" ; then
53614 COND_DEPS_TRACKING_1=""
53618 if test "x$GCC_PCH" = "x1" ; then
53623 if test "x$ICC_PCH" = "x1" ; then
53627 COND_MONOLITHIC_0="#"
53628 if test "x$MONOLITHIC" = "x0" ; then
53629 COND_MONOLITHIC_0=""
53632 COND_MONOLITHIC_0_SHARED_0="#"
53633 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
53634 COND_MONOLITHIC_0_SHARED_0=""
53637 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
53638 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
53639 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
53642 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
53643 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
53644 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
53647 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
53648 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
53649 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
53652 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
53653 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
53654 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
53657 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
53658 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
53659 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
53662 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
53663 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
53664 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
53667 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
53668 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
53669 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
53672 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
53673 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
53674 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
53677 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
53678 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
53679 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
53682 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
53683 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
53684 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
53687 COND_MONOLITHIC_0_SHARED_1="#"
53688 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
53689 COND_MONOLITHIC_0_SHARED_1=""
53692 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
53693 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
53694 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
53697 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
53698 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
53699 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
53702 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
53703 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
53704 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
53707 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
53708 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
53709 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
53712 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
53713 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
53714 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
53717 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
53718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
53719 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
53722 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
53723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
53724 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
53727 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
53728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
53729 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
53732 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
53733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
53734 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
53737 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
53738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
53739 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
53742 COND_MONOLITHIC_0_USE_AUI_1="#"
53743 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
53744 COND_MONOLITHIC_0_USE_AUI_1=""
53747 COND_MONOLITHIC_0_USE_GUI_1="#"
53748 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
53749 COND_MONOLITHIC_0_USE_GUI_1=""
53752 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
53753 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
53754 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
53757 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
53758 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
53759 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
53762 COND_MONOLITHIC_0_USE_HTML_1="#"
53763 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
53764 COND_MONOLITHIC_0_USE_HTML_1=""
53767 COND_MONOLITHIC_0_USE_MEDIA_1="#"
53768 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
53769 COND_MONOLITHIC_0_USE_MEDIA_1=""
53772 COND_MONOLITHIC_0_USE_ODBC_1="#"
53773 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
53774 COND_MONOLITHIC_0_USE_ODBC_1=""
53777 COND_MONOLITHIC_0_USE_QA_1="#"
53778 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
53779 COND_MONOLITHIC_0_USE_QA_1=""
53782 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
53783 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
53784 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
53787 COND_MONOLITHIC_0_USE_STC_1="#"
53788 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
53789 COND_MONOLITHIC_0_USE_STC_1=""
53792 COND_MONOLITHIC_0_USE_XRC_1="#"
53793 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
53794 COND_MONOLITHIC_0_USE_XRC_1=""
53797 COND_MONOLITHIC_1="#"
53798 if test "x$MONOLITHIC" = "x1" ; then
53799 COND_MONOLITHIC_1=""
53802 COND_MONOLITHIC_1_SHARED_0="#"
53803 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
53804 COND_MONOLITHIC_1_SHARED_0=""
53807 COND_MONOLITHIC_1_SHARED_1="#"
53808 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
53809 COND_MONOLITHIC_1_SHARED_1=""
53812 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
53813 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
53814 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
53817 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
53818 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
53819 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
53822 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
53823 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
53824 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
53827 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
53828 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
53829 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
53832 COND_PLATFORM_MACOSX_1="#"
53833 if test "x$PLATFORM_MACOSX" = "x1" ; then
53834 COND_PLATFORM_MACOSX_1=""
53837 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
53838 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
53839 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
53842 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
53843 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
53844 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
53847 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
53848 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
53849 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
53852 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
53853 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
53854 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
53857 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
53858 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
53859 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
53862 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
53863 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
53864 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
53867 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
53868 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
53869 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
53872 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
53873 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
53874 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
53877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
53878 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
53879 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
53882 COND_PLATFORM_MACOS_1="#"
53883 if test "x$PLATFORM_MACOS" = "x1" ; then
53884 COND_PLATFORM_MACOS_1=""
53887 COND_PLATFORM_MAC_1="#"
53888 if test "x$PLATFORM_MAC" = "x1" ; then
53889 COND_PLATFORM_MAC_1=""
53892 COND_PLATFORM_MSDOS_0="#"
53893 if test "x$PLATFORM_MSDOS" = "x0" ; then
53894 COND_PLATFORM_MSDOS_0=""
53897 COND_PLATFORM_MSDOS_1="#"
53898 if test "x$PLATFORM_MSDOS" = "x1" ; then
53899 COND_PLATFORM_MSDOS_1=""
53902 COND_PLATFORM_OS2_1="#"
53903 if test "x$PLATFORM_OS2" = "x1" ; then
53904 COND_PLATFORM_OS2_1=""
53907 COND_PLATFORM_UNIX_0="#"
53908 if test "x$PLATFORM_UNIX" = "x0" ; then
53909 COND_PLATFORM_UNIX_0=""
53912 COND_PLATFORM_UNIX_1="#"
53913 if test "x$PLATFORM_UNIX" = "x1" ; then
53914 COND_PLATFORM_UNIX_1=""
53917 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
53918 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
53919 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
53922 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
53923 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
53924 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
53927 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
53928 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
53929 COND_PLATFORM_UNIX_1_USE_GUI_1=""
53932 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
53933 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
53934 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
53937 COND_PLATFORM_WIN32_0="#"
53938 if test "x$PLATFORM_WIN32" = "x0" ; then
53939 COND_PLATFORM_WIN32_0=""
53942 COND_PLATFORM_WIN32_1="#"
53943 if test "x$PLATFORM_WIN32" = "x1" ; then
53944 COND_PLATFORM_WIN32_1=""
53948 if test "x$SHARED" = "x0" ; then
53952 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
53953 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
53954 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
53957 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
53958 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
53959 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
53962 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
53963 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
53964 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
53967 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
53968 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
53969 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
53972 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
53973 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53974 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
53977 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
53978 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53979 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
53982 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
53983 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53984 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
53987 COND_SHARED_0_USE_XRC_1="#"
53988 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
53989 COND_SHARED_0_USE_XRC_1=""
53992 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
53993 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
53994 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
53997 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
53998 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
53999 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
54002 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
54003 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
54004 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
54007 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
54008 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
54009 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
54013 if test "x$SHARED" = "x1" ; then
54017 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
54018 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54019 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
54022 COND_SHARED_1_USE_XRC_1="#"
54023 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
54024 COND_SHARED_1_USE_XRC_1=""
54028 if test "x$TOOLKIT" = "x" ; then
54032 COND_TOOLKIT_COCOA="#"
54033 if test "x$TOOLKIT" = "xCOCOA" ; then
54034 COND_TOOLKIT_COCOA=""
54037 COND_TOOLKIT_COCOA_USE_GUI_1="#"
54038 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
54039 COND_TOOLKIT_COCOA_USE_GUI_1=""
54042 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
54043 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54044 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
54047 COND_TOOLKIT_DFB="#"
54048 if test "x$TOOLKIT" = "xDFB" ; then
54049 COND_TOOLKIT_DFB=""
54052 COND_TOOLKIT_DFB_USE_GUI_1="#"
54053 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
54054 COND_TOOLKIT_DFB_USE_GUI_1=""
54057 COND_TOOLKIT_GTK="#"
54058 if test "x$TOOLKIT" = "xGTK" ; then
54059 COND_TOOLKIT_GTK=""
54062 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
54063 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
54064 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
54067 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
54068 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
54069 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
54072 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
54073 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
54074 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
54077 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
54078 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54079 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
54082 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
54083 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
54084 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
54087 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
54088 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54089 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
54092 COND_TOOLKIT_GTK_USE_GUI_1="#"
54093 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
54094 COND_TOOLKIT_GTK_USE_GUI_1=""
54097 COND_TOOLKIT_MAC="#"
54098 if test "x$TOOLKIT" = "xMAC" ; then
54099 COND_TOOLKIT_MAC=""
54102 COND_TOOLKIT_MAC_USE_GUI_1="#"
54103 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
54104 COND_TOOLKIT_MAC_USE_GUI_1=""
54107 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
54108 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54109 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
54112 COND_TOOLKIT_MGL="#"
54113 if test "x$TOOLKIT" = "xMGL" ; then
54114 COND_TOOLKIT_MGL=""
54117 COND_TOOLKIT_MGL_USE_GUI_1="#"
54118 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
54119 COND_TOOLKIT_MGL_USE_GUI_1=""
54122 COND_TOOLKIT_MOTIF="#"
54123 if test "x$TOOLKIT" = "xMOTIF" ; then
54124 COND_TOOLKIT_MOTIF=""
54127 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
54128 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
54129 COND_TOOLKIT_MOTIF_USE_GUI_1=""
54132 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
54133 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54134 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
54137 COND_TOOLKIT_MSW="#"
54138 if test "x$TOOLKIT" = "xMSW" ; then
54139 COND_TOOLKIT_MSW=""
54142 COND_TOOLKIT_MSW_USE_GUI_1="#"
54143 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
54144 COND_TOOLKIT_MSW_USE_GUI_1=""
54147 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
54148 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54149 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
54152 COND_TOOLKIT_MSW_WXUNIV_0="#"
54153 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54154 COND_TOOLKIT_MSW_WXUNIV_0=""
54157 COND_TOOLKIT_PM="#"
54158 if test "x$TOOLKIT" = "xPM" ; then
54162 COND_TOOLKIT_PM_USE_GUI_1="#"
54163 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
54164 COND_TOOLKIT_PM_USE_GUI_1=""
54167 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
54168 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54169 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
54172 COND_TOOLKIT_WINCE="#"
54173 if test "x$TOOLKIT" = "xWINCE" ; then
54174 COND_TOOLKIT_WINCE=""
54177 COND_TOOLKIT_WINCE_USE_GUI_1="#"
54178 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
54179 COND_TOOLKIT_WINCE_USE_GUI_1=""
54182 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
54183 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54184 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
54187 COND_TOOLKIT_WINCE_WXUNIV_0="#"
54188 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
54189 COND_TOOLKIT_WINCE_WXUNIV_0=""
54192 COND_TOOLKIT_X11="#"
54193 if test "x$TOOLKIT" = "xX11" ; then
54194 COND_TOOLKIT_X11=""
54197 COND_TOOLKIT_X11_USE_GUI_1="#"
54198 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
54199 COND_TOOLKIT_X11_USE_GUI_1=""
54203 if test "x$UNICODE" = "x1" ; then
54207 COND_USE_EXCEPTIONS_0="#"
54208 if test "x$USE_EXCEPTIONS" = "x0" ; then
54209 COND_USE_EXCEPTIONS_0=""
54212 COND_USE_EXCEPTIONS_1="#"
54213 if test "x$USE_EXCEPTIONS" = "x1" ; then
54214 COND_USE_EXCEPTIONS_1=""
54218 if test "x$USE_GUI" = "x0" ; then
54223 if test "x$USE_GUI" = "x1" ; then
54227 COND_USE_GUI_1_WXUNIV_0="#"
54228 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54229 COND_USE_GUI_1_WXUNIV_0=""
54232 COND_USE_GUI_1_WXUNIV_1="#"
54233 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
54234 COND_USE_GUI_1_WXUNIV_1=""
54237 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
54238 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54239 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
54242 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
54243 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54244 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
54247 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
54248 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54249 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
54252 COND_USE_ODBC_1="#"
54253 if test "x$USE_ODBC" = "x1" ; then
54257 COND_USE_OPENGL_1="#"
54258 if test "x$USE_OPENGL" = "x1" ; then
54259 COND_USE_OPENGL_1=""
54263 if test "x$USE_PCH" = "x1" ; then
54267 COND_USE_PLUGINS_0="#"
54268 if test "x$USE_PLUGINS" = "x0" ; then
54269 COND_USE_PLUGINS_0=""
54272 COND_USE_RTTI_0="#"
54273 if test "x$USE_RTTI" = "x0" ; then
54277 COND_USE_RTTI_1="#"
54278 if test "x$USE_RTTI" = "x1" ; then
54282 COND_USE_SOSYMLINKS_1="#"
54283 if test "x$USE_SOSYMLINKS" = "x1" ; then
54284 COND_USE_SOSYMLINKS_1=""
54287 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
54288 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
54289 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
54292 COND_USE_SOVERLINUX_1="#"
54293 if test "x$USE_SOVERLINUX" = "x1" ; then
54294 COND_USE_SOVERLINUX_1=""
54297 COND_USE_SOVERSION_0="#"
54298 if test "x$USE_SOVERSION" = "x0" ; then
54299 COND_USE_SOVERSION_0=""
54302 COND_USE_SOVERSOLARIS_1="#"
54303 if test "x$USE_SOVERSOLARIS" = "x1" ; then
54304 COND_USE_SOVERSOLARIS_1=""
54307 COND_USE_THREADS_0="#"
54308 if test "x$USE_THREADS" = "x0" ; then
54309 COND_USE_THREADS_0=""
54312 COND_USE_THREADS_1="#"
54313 if test "x$USE_THREADS" = "x1" ; then
54314 COND_USE_THREADS_1=""
54318 if test "x$USE_XRC" = "x1" ; then
54322 COND_WINDOWS_IMPLIB_1="#"
54323 if test "x$WINDOWS_IMPLIB" = "x1" ; then
54324 COND_WINDOWS_IMPLIB_1=""
54327 COND_WITH_PLUGIN_SDL_1="#"
54328 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
54329 COND_WITH_PLUGIN_SDL_1=""
54333 if test "x$WXUNIV" = "x0" ; then
54338 if test "x$WXUNIV" = "x1" ; then
54342 COND_WXUSE_EXPAT_BUILTIN="#"
54343 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
54344 COND_WXUSE_EXPAT_BUILTIN=""
54347 COND_WXUSE_LIBJPEG_BUILTIN="#"
54348 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54349 COND_WXUSE_LIBJPEG_BUILTIN=""
54352 COND_WXUSE_LIBPNG_BUILTIN="#"
54353 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54354 COND_WXUSE_LIBPNG_BUILTIN=""
54357 COND_WXUSE_LIBTIFF_BUILTIN="#"
54358 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54359 COND_WXUSE_LIBTIFF_BUILTIN=""
54362 COND_WXUSE_ODBC_BUILTIN="#"
54363 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
54364 COND_WXUSE_ODBC_BUILTIN=""
54367 COND_WXUSE_REGEX_BUILTIN="#"
54368 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
54369 COND_WXUSE_REGEX_BUILTIN=""
54372 COND_WXUSE_ZLIB_BUILTIN="#"
54373 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
54374 COND_WXUSE_ZLIB_BUILTIN=""
54379 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
54380 { { 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
54381 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;}
54382 { (exit 1); exit 1; }; }
54385 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
54386 { { 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
54387 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;}
54388 { (exit 1); exit 1; }; }
54392 if test $GCC_PCH = 1
54394 if test "$wx_cv_gcc_pch_bug" = yes; then
54395 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
54396 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
54397 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
54398 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
54399 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
54400 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
54403 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
54407 if test "$wxUSE_MAC" = 1 ; then
54408 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
54409 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
54415 if test "$wxUSE_SHARED" = "yes"; then
54417 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
54418 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
54421 *-pc-os2_emx | *-pc-os2-emx )
54422 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
54423 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
54424 cp -p ${srcdir}/src/os2/dllnames.sh .
54425 cp -p ${srcdir}/src/os2/dllar.sh .
54430 EXE_LINKER="$CXX -o"
54433 if test "$wxUSE_OMF" = "yes"; then
54435 *-pc-os2_emx | *-pc-os2-emx )
54436 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
54437 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
54438 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
54443 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
54445 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
54507 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
54508 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
54509 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
54510 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
54511 echo $ECHO_N "(cached) $ECHO_C" >&6
54513 cat >conftest.make <<\_ACEOF
54516 @echo '@@@%%%=$(MAKE)=@@@%%%'
54518 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
54519 case `${MAKE-make} -f conftest.make 2>/dev/null` in
54520 *@@@%%%=?*=@@@%%%*)
54521 eval ac_cv_prog_make_${ac_make}_set=yes;;
54523 eval ac_cv_prog_make_${ac_make}_set=no;;
54525 rm -f conftest.make
54527 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
54528 { echo "$as_me:$LINENO: result: yes" >&5
54529 echo "${ECHO_T}yes" >&6; }
54532 { echo "$as_me:$LINENO: result: no" >&5
54533 echo "${ECHO_T}no" >&6; }
54534 SET_MAKE="MAKE=${MAKE-make}"
54539 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
54542 if test "$USE_WIN32" = 1; then
54543 ac_config_commands="$ac_config_commands
54549 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
54552 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
54555 if test "$wx_cv_version_script" = "yes"; then
54556 ac_config_files="$ac_config_files version-script"
54559 ac_config_files="$ac_config_files Makefile"
54562 ac_config_commands="$ac_config_commands wx-config"
54566 if test "$wxWITH_SUBDIRS" != "no"; then
54567 if test "$wxUSE_GUI" = "yes"; then
54568 SUBDIRS="samples demos utils contrib"
54569 else SUBDIRS="samples utils"
54574 # Check whether --with-cppunit-prefix was given.
54575 if test "${with_cppunit_prefix+set}" = set; then
54576 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
54578 cppunit_config_prefix=""
54582 # Check whether --with-cppunit-exec-prefix was given.
54583 if test "${with_cppunit_exec_prefix+set}" = set; then
54584 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
54586 cppunit_config_exec_prefix=""
54590 if test x$cppunit_config_exec_prefix != x ; then
54591 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
54592 if test x${CPPUNIT_CONFIG+set} != xset ; then
54593 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
54596 if test x$cppunit_config_prefix != x ; then
54597 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
54598 if test x${CPPUNIT_CONFIG+set} != xset ; then
54599 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
54603 # Extract the first word of "cppunit-config", so it can be a program name with args.
54604 set dummy cppunit-config; ac_word=$2
54605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54607 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
54608 echo $ECHO_N "(cached) $ECHO_C" >&6
54610 case $CPPUNIT_CONFIG in
54612 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
54615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54616 for as_dir in $PATH
54619 test -z "$as_dir" && as_dir=.
54620 for ac_exec_ext in '' $ac_executable_extensions; do
54621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54622 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
54623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54630 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
54634 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
54635 if test -n "$CPPUNIT_CONFIG"; then
54636 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
54637 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
54639 { echo "$as_me:$LINENO: result: no" >&5
54640 echo "${ECHO_T}no" >&6; }
54644 cppunit_version_min=1.8.0
54646 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
54647 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
54649 if test "$CPPUNIT_CONFIG" = "no" ; then
54650 { echo "$as_me:$LINENO: result: no" >&5
54651 echo "${ECHO_T}no" >&6; }
54654 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
54655 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
54656 cppunit_version=`$CPPUNIT_CONFIG --version`
54658 cppunit_major_version=`echo $cppunit_version | \
54659 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
54660 cppunit_minor_version=`echo $cppunit_version | \
54661 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
54662 cppunit_micro_version=`echo $cppunit_version | \
54663 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
54665 cppunit_major_min=`echo $cppunit_version_min | \
54666 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
54667 cppunit_minor_min=`echo $cppunit_version_min | \
54668 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
54669 cppunit_micro_min=`echo $cppunit_version_min | \
54670 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
54672 cppunit_version_proper=`expr \
54673 $cppunit_major_version \> $cppunit_major_min \| \
54674 $cppunit_major_version \= $cppunit_major_min \& \
54675 $cppunit_minor_version \> $cppunit_minor_min \| \
54676 $cppunit_major_version \= $cppunit_major_min \& \
54677 $cppunit_minor_version \= $cppunit_minor_min \& \
54678 $cppunit_micro_version \>= $cppunit_micro_min `
54680 if test "$cppunit_version_proper" = "1" ; then
54681 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
54682 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
54684 { echo "$as_me:$LINENO: result: no" >&5
54685 echo "${ECHO_T}no" >&6; }
54690 if test "x$no_cppunit" = x ; then
54691 SUBDIRS="$SUBDIRS tests"
54702 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
54703 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
54706 for subdir in `echo $SUBDIRS`; do
54707 if test -d ${srcdir}/${subdir} ; then
54708 if test "$wxUSE_GUI" = "yes"; then
54709 if test ${subdir} = "samples"; then
54710 makefiles="samples/Makefile.in $makefiles"
54711 for sample in `echo $SAMPLES_SUBDIRS`; do
54712 if test -d $srcdir/samples/$sample; then
54713 makefiles="samples/$sample/Makefile.in $makefiles"
54717 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
54718 eval "disabled=\$$disabled_var"
54719 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
54720 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
54722 else if test ${subdir} = "samples"; then
54723 makefiles="samples/Makefile.in samples/console/Makefile.in"
54724 elif test ${subdir} = "utils"; then
54726 for util in HelpGen tex2rtf ; do
54727 if test -d $srcdir/utils/$util ; then
54728 makefiles="utils/$util/Makefile.in \
54729 utils/$util/src/Makefile.in \
54733 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
54737 for mkin in $makefiles ; do
54738 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
54739 ac_config_files="$ac_config_files $mk"
54745 cat >confcache <<\_ACEOF
54746 # This file is a shell script that caches the results of configure
54747 # tests run on this system so they can be shared between configure
54748 # scripts and configure runs, see configure's option --config-cache.
54749 # It is not useful on other systems. If it contains results you don't
54750 # want to keep, you may remove or edit it.
54752 # config.status only pays attention to the cache file if you give it
54753 # the --recheck option to rerun configure.
54755 # `ac_cv_env_foo' variables (set or unset) will be overridden when
54756 # loading this file, other *unset* `ac_cv_foo' will be assigned the
54757 # following values.
54761 # The following way of writing the cache mishandles newlines in values,
54762 # but we know of no workaround that is simple, portable, and efficient.
54763 # So, we kill variables containing newlines.
54764 # Ultrix sh set writes to stderr and can't be redirected directly,
54765 # and sets the high bit in the cache file unless we assign to the vars.
54767 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
54768 eval ac_val=\$$ac_var
54772 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
54773 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
54776 _ | IFS | as_nl) ;; #(
54777 *) $as_unset $ac_var ;;
54783 case $as_nl`(ac_space=' '; set) 2>&1` in #(
54784 *${as_nl}ac_space=\ *)
54785 # `set' does not quote correctly, so add quotes (double-quote
54786 # substitution turns \\\\ into \\, and sed turns \\ into \).
54789 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
54792 # `set' quotes correctly as required by POSIX, so do not add quotes.
54793 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
54802 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
54804 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
54806 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
54807 if test -w "$cache_file"; then
54808 test "x$cache_file" != "x/dev/null" &&
54809 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
54810 echo "$as_me: updating cache $cache_file" >&6;}
54811 cat confcache >$cache_file
54813 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
54814 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
54819 test "x$prefix" = xNONE && prefix=$ac_default_prefix
54820 # Let make expand exec_prefix.
54821 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
54823 DEFS=-DHAVE_CONFIG_H
54827 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
54828 # 1. Remove the extension, and $U if already installed.
54829 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
54830 ac_i=`echo "$ac_i" | sed "$ac_script"`
54831 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
54832 # will be set to the directory where LIBOBJS objects are built.
54833 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
54834 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
54836 LIBOBJS=$ac_libobjs
54838 LTLIBOBJS=$ac_ltlibobjs
54842 : ${CONFIG_STATUS=./config.status}
54843 ac_clean_files_save=$ac_clean_files
54844 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
54845 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
54846 echo "$as_me: creating $CONFIG_STATUS" >&6;}
54847 cat >$CONFIG_STATUS <<_ACEOF
54849 # Generated by $as_me.
54850 # Run this file to recreate the current configuration.
54851 # Compiler output produced by configure, useful for debugging
54852 # configure, is in config.log if it exists.
54855 ac_cs_recheck=false
54857 SHELL=\${CONFIG_SHELL-$SHELL}
54860 cat >>$CONFIG_STATUS <<\_ACEOF
54861 ## --------------------- ##
54862 ## M4sh Initialization. ##
54863 ## --------------------- ##
54865 # Be Bourne compatible
54866 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
54869 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
54870 # is contrary to our usage. Disable this feature.
54871 alias -g '${1+"$@"}'='"$@"'
54872 setopt NO_GLOB_SUBST
54874 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
54876 BIN_SH=xpg4; export BIN_SH # for Tru64
54877 DUALCASE=1; export DUALCASE # for MKS sh
54881 # Avoid depending upon Character Ranges.
54882 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
54883 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
54884 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
54885 as_cr_digits='0123456789'
54886 as_cr_alnum=$as_cr_Letters$as_cr_digits
54888 # The user is always right.
54889 if test "${PATH_SEPARATOR+set}" != set; then
54890 echo "#! /bin/sh" >conf$$.sh
54891 echo "exit 0" >>conf$$.sh
54893 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
54901 # Support unset when possible.
54902 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
54910 # We need space, tab and new line, in precisely that order. Quoting is
54911 # there to prevent editors from complaining about space-tab.
54912 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
54913 # splitting by setting IFS to empty value.)
54918 # Find who we are. Look in the path if we contain no directory separator.
54920 *[\\/]* ) as_myself=$0 ;;
54921 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54922 for as_dir in $PATH
54925 test -z "$as_dir" && as_dir=.
54926 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
54932 # We did not find ourselves, most probably we were run as `sh COMMAND'
54933 # in which case we are not to be found in the path.
54934 if test "x$as_myself" = x; then
54937 if test ! -f "$as_myself"; then
54938 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
54939 { (exit 1); exit 1; }
54942 # Work around bugs in pre-3.0 UWIN ksh.
54943 for as_var in ENV MAIL MAILPATH
54944 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
54952 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
54953 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
54954 LC_TELEPHONE LC_TIME
54956 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
54957 eval $as_var=C; export $as_var
54959 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
54963 # Required to use basename.
54964 if expr a : '\(a\)' >/dev/null 2>&1 &&
54965 test "X`expr 00001 : '.*\(...\)'`" = X001; then
54971 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
54972 as_basename=basename
54978 # Name of the executable.
54979 as_me=`$as_basename -- "$0" ||
54980 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
54981 X"$0" : 'X\(//\)$' \| \
54982 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
54984 sed '/^.*\/\([^/][^/]*\)\/*$/{
55003 as_lineno_1=$LINENO
55004 as_lineno_2=$LINENO
55005 test "x$as_lineno_1" != "x$as_lineno_2" &&
55006 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
55008 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
55009 # uniformly replaced by the line number. The first 'sed' inserts a
55010 # line-number line after each line using $LINENO; the second 'sed'
55011 # does the real work. The second script uses 'N' to pair each
55012 # line-number line with the line containing $LINENO, and appends
55013 # trailing '-' during substitution so that $LINENO is not a special
55014 # case at line end.
55015 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
55016 # scripts with optimization help from Paolo Bonzini. Blame Lee
55017 # E. McMahon (1931-1989) for sed's syntax. :-)
55029 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
55032 ' >$as_me.lineno &&
55033 chmod +x "$as_me.lineno" ||
55034 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
55035 { (exit 1); exit 1; }; }
55037 # Don't try to exec as it changes $[0], causing all sort of problems
55038 # (the dirname of $[0] is not the place where we might find the
55039 # original and so on. Autoconf is especially sensitive to this).
55040 . "./$as_me.lineno"
55041 # Exit status is that of the last command.
55046 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
55052 ECHO_C= ECHO_N= ECHO_T=
55053 case `echo -n x` in
55055 case `echo 'x\c'` in
55056 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
55063 if expr a : '\(a\)' >/dev/null 2>&1 &&
55064 test "X`expr 00001 : '.*\(...\)'`" = X001; then
55070 rm -f conf$$ conf$$.exe conf$$.file
55071 if test -d conf$$.dir; then
55072 rm -f conf$$.dir/conf$$.file
55078 if ln -s conf$$.file conf$$ 2>/dev/null; then
55080 # ... but there are two gotchas:
55081 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
55082 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
55083 # In both cases, we have to default to `cp -p'.
55084 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
55086 elif ln conf$$.file conf$$ 2>/dev/null; then
55091 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
55092 rmdir conf$$.dir 2>/dev/null
55094 if mkdir -p . 2>/dev/null; then
55097 test -d ./-p && rmdir ./-p
55101 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
55102 # systems may use methods other than mode bits to determine executability.
55103 cat >conf$$.file <<_ASEOF
55107 chmod +x conf$$.file
55108 if test -x conf$$.file >/dev/null 2>&1; then
55109 as_executable_p="test -x"
55115 # Sed expression to map a string onto a valid CPP name.
55116 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
55118 # Sed expression to map a string onto a valid variable name.
55119 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
55124 # Save the log message, to keep $[0] and so on meaningful, and to
55125 # report actual input values of CONFIG_FILES etc. instead of their
55126 # values after options handling.
55128 This file was extended by wxWidgets $as_me 2.9.0, which was
55129 generated by GNU Autoconf 2.60. Invocation command line was
55131 CONFIG_FILES = $CONFIG_FILES
55132 CONFIG_HEADERS = $CONFIG_HEADERS
55133 CONFIG_LINKS = $CONFIG_LINKS
55134 CONFIG_COMMANDS = $CONFIG_COMMANDS
55137 on `(hostname || uname -n) 2>/dev/null | sed 1q`
55142 cat >>$CONFIG_STATUS <<_ACEOF
55143 # Files that config.status was made for.
55144 config_files="$ac_config_files"
55145 config_headers="$ac_config_headers"
55146 config_commands="$ac_config_commands"
55150 cat >>$CONFIG_STATUS <<\_ACEOF
55152 \`$as_me' instantiates files from templates according to the
55153 current configuration.
55155 Usage: $0 [OPTIONS] [FILE]...
55157 -h, --help print this help, then exit
55158 -V, --version print version number, then exit
55159 -q, --quiet do not print progress messages
55160 -d, --debug don't remove temporary files
55161 --recheck update $as_me by reconfiguring in the same conditions
55162 --file=FILE[:TEMPLATE]
55163 instantiate the configuration file FILE
55164 --header=FILE[:TEMPLATE]
55165 instantiate the configuration header FILE
55167 Configuration files:
55170 Configuration headers:
55173 Configuration commands:
55176 Report bugs to <bug-autoconf@gnu.org>."
55179 cat >>$CONFIG_STATUS <<_ACEOF
55181 wxWidgets config.status 2.9.0
55182 configured by $0, generated by GNU Autoconf 2.60,
55183 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
55185 Copyright (C) 2006 Free Software Foundation, Inc.
55186 This config.status script is free software; the Free Software Foundation
55187 gives unlimited permission to copy, distribute and modify it."
55194 cat >>$CONFIG_STATUS <<\_ACEOF
55195 # If no file are specified by the user, then we need to provide default
55196 # value. By we need to know if files were specified by the user.
55202 ac_option=`expr "X$1" : 'X\([^=]*\)='`
55203 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
55214 # Handling of the options.
55215 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
55217 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
55218 echo "$ac_cs_version"; exit ;;
55219 --debug | --debu | --deb | --de | --d | -d )
55221 --file | --fil | --fi | --f )
55223 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
55224 ac_need_defaults=false;;
55225 --header | --heade | --head | --hea )
55227 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
55228 ac_need_defaults=false;;
55230 # Conflict between --help and --header
55231 { echo "$as_me: error: ambiguous option: $1
55232 Try \`$0 --help' for more information." >&2
55233 { (exit 1); exit 1; }; };;
55234 --help | --hel | -h )
55235 echo "$ac_cs_usage"; exit ;;
55236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
55237 | -silent | --silent | --silen | --sile | --sil | --si | --s)
55240 # This is an error.
55241 -*) { echo "$as_me: error: unrecognized option: $1
55242 Try \`$0 --help' for more information." >&2
55243 { (exit 1); exit 1; }; } ;;
55245 *) ac_config_targets="$ac_config_targets $1"
55246 ac_need_defaults=false ;;
55252 ac_configure_extra_args=
55254 if $ac_cs_silent; then
55256 ac_configure_extra_args="$ac_configure_extra_args --silent"
55260 cat >>$CONFIG_STATUS <<_ACEOF
55261 if \$ac_cs_recheck; then
55262 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
55263 CONFIG_SHELL=$SHELL
55264 export CONFIG_SHELL
55265 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
55269 cat >>$CONFIG_STATUS <<\_ACEOF
55273 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
55274 ## Running $as_me. ##
55280 cat >>$CONFIG_STATUS <<_ACEOF
55286 infile="$srcdir/include/wx/msw/genrcdefs.h"
55287 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
55290 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
55291 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
55292 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
55298 cat >>$CONFIG_STATUS <<\_ACEOF
55300 # Handling of arguments.
55301 for ac_config_target in $ac_config_targets
55303 case $ac_config_target in
55304 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
55305 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
55306 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
55307 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
55308 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
55309 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
55310 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
55311 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
55313 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
55314 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
55315 { (exit 1); exit 1; }; };;
55320 # If the user did not use the arguments to specify the items to instantiate,
55321 # then the envvar interface is used. Set only those that are not.
55322 # We use the long form for the default assignment because of an extremely
55323 # bizarre bug on SunOS 4.1.3.
55324 if $ac_need_defaults; then
55325 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
55326 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
55327 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
55330 # Have a temporary directory for convenience. Make it in the build tree
55331 # simply because there is no reason against having it here, and in addition,
55332 # creating and moving files from /tmp can sometimes cause problems.
55333 # Hook for its removal unless debugging.
55334 # Note that there is a small window in which the directory will not be cleaned:
55335 # after its creation but before its name has been assigned to `$tmp'.
55339 trap 'exit_status=$?
55340 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
55342 trap '{ (exit 1); exit 1; }' 1 2 13 15
55344 # Create a (secure) tmp directory for tmp files.
55347 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
55348 test -n "$tmp" && test -d "$tmp"
55351 tmp=./conf$$-$RANDOM
55352 (umask 077 && mkdir "$tmp")
55355 echo "$me: cannot create a temporary directory in ." >&2
55356 { (exit 1); exit 1; }
55360 # Set up the sed scripts for CONFIG_FILES section.
55363 # No need to generate the scripts if there are no CONFIG_FILES.
55364 # This happens for instance when ./config.status config.h
55365 if test -n "$CONFIG_FILES"; then
55372 for ac_last_try in false false false false false :; do
55373 cat >conf$$subs.sed <<_ACEOF
55374 SHELL!$SHELL$ac_delim
55375 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
55376 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
55377 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
55378 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
55379 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
55380 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
55381 exec_prefix!$exec_prefix$ac_delim
55382 prefix!$prefix$ac_delim
55383 program_transform_name!$program_transform_name$ac_delim
55384 bindir!$bindir$ac_delim
55385 sbindir!$sbindir$ac_delim
55386 libexecdir!$libexecdir$ac_delim
55387 datarootdir!$datarootdir$ac_delim
55388 datadir!$datadir$ac_delim
55389 sysconfdir!$sysconfdir$ac_delim
55390 sharedstatedir!$sharedstatedir$ac_delim
55391 localstatedir!$localstatedir$ac_delim
55392 includedir!$includedir$ac_delim
55393 oldincludedir!$oldincludedir$ac_delim
55394 docdir!$docdir$ac_delim
55395 infodir!$infodir$ac_delim
55396 htmldir!$htmldir$ac_delim
55397 dvidir!$dvidir$ac_delim
55398 pdfdir!$pdfdir$ac_delim
55399 psdir!$psdir$ac_delim
55400 libdir!$libdir$ac_delim
55401 localedir!$localedir$ac_delim
55402 mandir!$mandir$ac_delim
55403 DEFS!$DEFS$ac_delim
55404 ECHO_C!$ECHO_C$ac_delim
55405 ECHO_N!$ECHO_N$ac_delim
55406 ECHO_T!$ECHO_T$ac_delim
55407 LIBS!$LIBS$ac_delim
55408 build_alias!$build_alias$ac_delim
55409 host_alias!$host_alias$ac_delim
55410 target_alias!$target_alias$ac_delim
55411 build!$build$ac_delim
55412 build_cpu!$build_cpu$ac_delim
55413 build_vendor!$build_vendor$ac_delim
55414 build_os!$build_os$ac_delim
55415 host!$host$ac_delim
55416 host_cpu!$host_cpu$ac_delim
55417 host_vendor!$host_vendor$ac_delim
55418 host_os!$host_os$ac_delim
55419 target!$target$ac_delim
55420 target_cpu!$target_cpu$ac_delim
55421 target_vendor!$target_vendor$ac_delim
55422 target_os!$target_os$ac_delim
55423 wx_top_builddir!$wx_top_builddir$ac_delim
55425 CFLAGS!$CFLAGS$ac_delim
55426 LDFLAGS!$LDFLAGS$ac_delim
55427 CPPFLAGS!$CPPFLAGS$ac_delim
55428 ac_ct_CC!$ac_ct_CC$ac_delim
55429 EXEEXT!$EXEEXT$ac_delim
55430 OBJEXT!$OBJEXT$ac_delim
55432 GREP!$GREP$ac_delim
55433 EGREP!$EGREP$ac_delim
55435 CXXFLAGS!$CXXFLAGS$ac_delim
55436 ac_ct_CXX!$ac_ct_CXX$ac_delim
55437 RANLIB!$RANLIB$ac_delim
55439 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
55440 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
55441 INSTALL_DATA!$INSTALL_DATA$ac_delim
55442 STRIP!$STRIP$ac_delim
55443 WINDRES!$WINDRES$ac_delim
55444 DLLTOOL!$DLLTOOL$ac_delim
55445 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
55446 LN_S!$LN_S$ac_delim
55447 subdirs!$subdirs$ac_delim
55448 PKG_CONFIG!$PKG_CONFIG$ac_delim
55449 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
55450 GTK_LIBS!$GTK_LIBS$ac_delim
55451 GTK_CONFIG!$GTK_CONFIG$ac_delim
55452 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
55453 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
55454 XMKMF!$XMKMF$ac_delim
55455 X_CFLAGS!$X_CFLAGS$ac_delim
55456 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
55457 X_LIBS!$X_LIBS$ac_delim
55458 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
55459 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
55460 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
55461 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
55462 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
55463 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
55464 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
55466 DEREZ!$DEREZ$ac_delim
55467 SETFILE!$SETFILE$ac_delim
55468 LIBICONV!$LIBICONV$ac_delim
55469 EXTRALIBS_ESD!$EXTRALIBS_ESD$ac_delim
55470 SDL_CONFIG!$SDL_CONFIG$ac_delim
55473 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55475 elif $ac_last_try; then
55476 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55477 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55478 { (exit 1); exit 1; }; }
55480 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55484 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55485 if test -n "$ac_eof"; then
55486 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55487 ac_eof=`expr $ac_eof + 1`
55490 cat >>$CONFIG_STATUS <<_ACEOF
55491 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
55492 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55495 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55496 s/^/s,@/; s/!/@,|#_!!_#|/
55499 s/'"$ac_delim"'$/,g/; t
55501 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55502 ' >>$CONFIG_STATUS <conf$$subs.sed
55503 rm -f conf$$subs.sed
55504 cat >>$CONFIG_STATUS <<_ACEOF
55510 for ac_last_try in false false false false false :; do
55511 cat >conf$$subs.sed <<_ACEOF
55512 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
55513 SDL_LIBS!$SDL_LIBS$ac_delim
55514 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
55515 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
55516 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
55517 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
55518 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
55519 HILDON_LIBS!$HILDON_LIBS$ac_delim
55520 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
55521 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
55522 GST_CFLAGS!$GST_CFLAGS$ac_delim
55523 GST_LIBS!$GST_LIBS$ac_delim
55524 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
55525 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
55526 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
55527 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
55528 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
55529 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
55530 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
55531 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
55532 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
55533 VENDOR!$VENDOR$ac_delim
55534 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
55535 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
55536 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
55537 WXUNIV!$WXUNIV$ac_delim
55538 MONOLITHIC!$MONOLITHIC$ac_delim
55539 USE_PLUGINS!$USE_PLUGINS$ac_delim
55540 EXTRALIBS!$EXTRALIBS$ac_delim
55541 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
55542 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
55543 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
55544 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
55545 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
55546 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
55547 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
55548 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
55549 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
55550 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
55551 UNICODE!$UNICODE$ac_delim
55552 BUILD!$BUILD$ac_delim
55553 DEBUG_INFO!$DEBUG_INFO$ac_delim
55554 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
55555 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
55556 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
55557 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
55558 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
55559 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
55560 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
55561 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
55562 SET_MAKE!$SET_MAKE$ac_delim
55563 MAKE_SET!$MAKE_SET$ac_delim
55564 AROPTIONS!$AROPTIONS$ac_delim
55566 INSTALL_DIR!$INSTALL_DIR$ac_delim
55567 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
55568 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
55569 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
55570 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
55571 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
55572 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
55573 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
55574 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
55575 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
55576 SO_SUFFIX!$SO_SUFFIX$ac_delim
55577 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
55578 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
55579 LIBPREFIX!$LIBPREFIX$ac_delim
55580 LIBEXT!$LIBEXT$ac_delim
55581 DLLPREFIX!$DLLPREFIX$ac_delim
55582 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
55583 dlldir!$dlldir$ac_delim
55584 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
55585 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
55586 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
55587 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
55588 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
55589 PIC_FLAG!$PIC_FLAG$ac_delim
55590 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
55591 USE_SOVERSION!$USE_SOVERSION$ac_delim
55592 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
55593 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
55594 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
55595 USE_MACVERSION!$USE_MACVERSION$ac_delim
55596 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
55597 SONAME_FLAG!$SONAME_FLAG$ac_delim
55598 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
55599 BK_DEPS!$BK_DEPS$ac_delim
55600 GCC_PCH!$GCC_PCH$ac_delim
55601 ICC_PCH!$ICC_PCH$ac_delim
55602 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
55603 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
55604 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
55605 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
55606 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
55607 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
55608 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
55611 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55613 elif $ac_last_try; then
55614 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55615 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55616 { (exit 1); exit 1; }; }
55618 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55622 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55623 if test -n "$ac_eof"; then
55624 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55625 ac_eof=`expr $ac_eof + 1`
55628 cat >>$CONFIG_STATUS <<_ACEOF
55629 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
55630 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55633 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55634 s/^/s,@/; s/!/@,|#_!!_#|/
55637 s/'"$ac_delim"'$/,g/; t
55639 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55640 ' >>$CONFIG_STATUS <conf$$subs.sed
55641 rm -f conf$$subs.sed
55642 cat >>$CONFIG_STATUS <<_ACEOF
55648 for ac_last_try in false false false false false :; do
55649 cat >conf$$subs.sed <<_ACEOF
55650 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
55651 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
55652 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
55653 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
55654 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
55655 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
55656 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
55657 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
55658 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
55659 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
55660 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
55661 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
55662 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
55663 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
55664 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
55665 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
55666 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
55667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
55668 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
55669 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
55670 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
55671 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
55672 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
55673 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
55674 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
55675 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
55676 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
55677 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
55678 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
55679 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
55680 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
55681 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
55682 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
55683 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
55684 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
55685 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
55686 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
55687 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
55688 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
55689 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
55690 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
55691 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
55692 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
55693 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
55694 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
55695 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
55696 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
55697 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
55698 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
55699 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
55700 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
55701 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
55702 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
55703 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
55704 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
55705 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
55706 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
55707 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
55708 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
55709 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
55710 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
55711 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
55712 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
55713 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
55714 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
55715 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
55716 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
55717 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
55718 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
55719 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
55720 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
55721 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
55722 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
55723 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
55724 COND_SHARED_0!$COND_SHARED_0$ac_delim
55725 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
55726 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
55727 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
55728 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
55729 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
55730 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
55731 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
55732 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
55733 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
55734 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
55735 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
55736 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
55737 COND_SHARED_1!$COND_SHARED_1$ac_delim
55738 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
55739 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
55740 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
55741 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
55742 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
55743 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
55744 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
55745 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
55746 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
55749 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55751 elif $ac_last_try; then
55752 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55753 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55754 { (exit 1); exit 1; }; }
55756 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55760 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55761 if test -n "$ac_eof"; then
55762 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55763 ac_eof=`expr $ac_eof + 1`
55766 cat >>$CONFIG_STATUS <<_ACEOF
55767 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
55768 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55771 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55772 s/^/s,@/; s/!/@,|#_!!_#|/
55775 s/'"$ac_delim"'$/,g/; t
55777 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55778 ' >>$CONFIG_STATUS <conf$$subs.sed
55779 rm -f conf$$subs.sed
55780 cat >>$CONFIG_STATUS <<_ACEOF
55786 for ac_last_try in false false false false false :; do
55787 cat >conf$$subs.sed <<_ACEOF
55788 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
55789 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
55790 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
55791 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
55792 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
55793 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
55794 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
55795 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
55796 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
55797 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
55798 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
55799 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
55800 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
55801 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
55802 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
55803 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
55804 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
55805 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
55806 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
55807 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
55808 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
55809 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
55810 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
55811 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
55812 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
55813 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
55814 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
55815 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
55816 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
55817 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
55818 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
55819 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
55820 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
55821 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
55822 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
55823 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
55824 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
55825 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
55826 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
55827 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
55828 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
55829 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
55830 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
55831 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
55832 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
55833 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
55834 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
55835 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
55836 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
55837 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
55838 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
55839 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
55840 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
55841 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
55842 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
55843 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
55844 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
55845 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
55846 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
55847 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
55848 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
55849 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
55850 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
55851 SHARED!$SHARED$ac_delim
55852 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
55853 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
55854 USE_GUI!$USE_GUI$ac_delim
55855 AFMINSTALL!$AFMINSTALL$ac_delim
55856 WIN32INSTALL!$WIN32INSTALL$ac_delim
55857 TOOLKIT!$TOOLKIT$ac_delim
55858 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
55859 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
55860 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
55861 cross_compiling!$cross_compiling$ac_delim
55862 WIDGET_SET!$WIDGET_SET$ac_delim
55863 WX_RELEASE!$WX_RELEASE$ac_delim
55864 WX_VERSION!$WX_VERSION$ac_delim
55865 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
55866 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
55867 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
55868 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
55869 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
55870 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
55871 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
55872 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
55873 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
55874 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
55875 EXE_LINKER!$EXE_LINKER$ac_delim
55876 GUIDIST!$GUIDIST$ac_delim
55877 DISTDIR!$DISTDIR$ac_delim
55878 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
55879 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
55880 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
55881 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
55882 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
55883 RESCOMP!$RESCOMP$ac_delim
55884 RESFLAGS!$RESFLAGS$ac_delim
55887 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55889 elif $ac_last_try; then
55890 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55891 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55892 { (exit 1); exit 1; }; }
55894 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55898 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55899 if test -n "$ac_eof"; then
55900 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55901 ac_eof=`expr $ac_eof + 1`
55904 cat >>$CONFIG_STATUS <<_ACEOF
55905 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
55906 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55909 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55910 s/^/s,@/; s/!/@,|#_!!_#|/
55913 s/'"$ac_delim"'$/,g/; t
55915 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55916 ' >>$CONFIG_STATUS <conf$$subs.sed
55917 rm -f conf$$subs.sed
55918 cat >>$CONFIG_STATUS <<_ACEOF
55924 for ac_last_try in false false false false false :; do
55925 cat >conf$$subs.sed <<_ACEOF
55926 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
55927 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
55928 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
55929 LIBWXMACRES!$LIBWXMACRES$ac_delim
55930 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
55931 MACSETFILE!$MACSETFILE$ac_delim
55933 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
55934 LIBOBJS!$LIBOBJS$ac_delim
55935 LTLIBOBJS!$LTLIBOBJS$ac_delim
55938 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
55940 elif $ac_last_try; then
55941 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55942 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55943 { (exit 1); exit 1; }; }
55945 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55949 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55950 if test -n "$ac_eof"; then
55951 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55952 ac_eof=`expr $ac_eof + 1`
55955 cat >>$CONFIG_STATUS <<_ACEOF
55956 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
55957 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
55960 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55961 s/^/s,@/; s/!/@,|#_!!_#|/
55964 s/'"$ac_delim"'$/,g/; t
55966 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55967 ' >>$CONFIG_STATUS <conf$$subs.sed
55968 rm -f conf$$subs.sed
55969 cat >>$CONFIG_STATUS <<_ACEOF
55976 # VPATH may cause trouble with some makes, so we remove $(srcdir),
55977 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
55978 # trailing colons and then remove the whole line if VPATH becomes empty
55979 # (actually we leave an empty line to preserve line numbers).
55980 if test "x$srcdir" = x.; then
55981 ac_vpsub='/^[ ]*VPATH[ ]*=/{
55982 s/:*\$(srcdir):*/:/
55983 s/:*\${srcdir}:*/:/
55985 s/^\([^=]*=[ ]*\):*/\1/
55991 cat >>$CONFIG_STATUS <<\_ACEOF
55992 fi # test -n "$CONFIG_FILES"
55995 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
55998 :[FHLC]) ac_mode=$ac_tag; continue;;
56000 case $ac_mode$ac_tag in
56002 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
56003 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
56004 { (exit 1); exit 1; }; };;
56005 :[FH]-) ac_tag=-:-;;
56006 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
56023 -) ac_f="$tmp/stdin";;
56024 *) # Look for the file first in the build tree, then in the source tree
56025 # (if the path is not absolute). The absolute path cannot be DOS-style,
56026 # because $ac_f cannot contain `:'.
56030 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
56032 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
56033 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
56034 { (exit 1); exit 1; }; };;
56036 ac_file_inputs="$ac_file_inputs $ac_f"
56039 # Let's still pretend it is `configure' which instantiates (i.e., don't
56040 # use $as_me), people would be surprised to read:
56041 # /* config.h. Generated by config.status. */
56042 configure_input="Generated from "`IFS=:
56043 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
56044 if test x"$ac_file" != x-; then
56045 configure_input="$ac_file. $configure_input"
56046 { echo "$as_me:$LINENO: creating $ac_file" >&5
56047 echo "$as_me: creating $ac_file" >&6;}
56051 *:-:* | *:-) cat >"$tmp/stdin";;
56056 ac_dir=`$as_dirname -- "$ac_file" ||
56057 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56058 X"$ac_file" : 'X\(//\)[^/]' \| \
56059 X"$ac_file" : 'X\(//\)$' \| \
56060 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
56062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56066 /^X\(\/\/\)[^/].*/{
56081 -*) as_dir=./$as_dir;;
56083 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
56087 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
56088 *) as_qdir=$as_dir;;
56090 as_dirs="'$as_qdir' $as_dirs"
56091 as_dir=`$as_dirname -- "$as_dir" ||
56092 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56093 X"$as_dir" : 'X\(//\)[^/]' \| \
56094 X"$as_dir" : 'X\(//\)$' \| \
56095 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
56097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56101 /^X\(\/\/\)[^/].*/{
56114 test -d "$as_dir" && break
56116 test -z "$as_dirs" || eval "mkdir $as_dirs"
56117 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
56118 echo "$as_me: error: cannot create directory $as_dir" >&2;}
56119 { (exit 1); exit 1; }; }; }
56123 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
56125 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
56126 # A ".." for each directory in $ac_dir_suffix.
56127 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
56128 case $ac_top_builddir_sub in
56129 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
56130 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
56133 ac_abs_top_builddir=$ac_pwd
56134 ac_abs_builddir=$ac_pwd$ac_dir_suffix
56135 # for backward compatibility:
56136 ac_top_builddir=$ac_top_build_prefix
56139 .) # We are building in place.
56141 ac_top_srcdir=$ac_top_builddir_sub
56142 ac_abs_top_srcdir=$ac_pwd ;;
56143 [\\/]* | ?:[\\/]* ) # Absolute name.
56144 ac_srcdir=$srcdir$ac_dir_suffix;
56145 ac_top_srcdir=$srcdir
56146 ac_abs_top_srcdir=$srcdir ;;
56147 *) # Relative name.
56148 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
56149 ac_top_srcdir=$ac_top_build_prefix$srcdir
56150 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
56152 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
56162 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
56163 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
56167 cat >>$CONFIG_STATUS <<\_ACEOF
56168 # If the template does not know about datarootdir, expand it.
56169 # FIXME: This hack should be removed a few years after 2.60.
56170 ac_datarootdir_hack=; ac_datarootdir_seen=
56172 case `sed -n '/datarootdir/ {
56181 ' $ac_file_inputs` in
56182 *datarootdir*) ac_datarootdir_seen=yes;;
56183 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
56184 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
56185 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
56187 cat >>$CONFIG_STATUS <<_ACEOF
56188 ac_datarootdir_hack='
56189 s&@datadir@&$datadir&g
56190 s&@docdir@&$docdir&g
56191 s&@infodir@&$infodir&g
56192 s&@localedir@&$localedir&g
56193 s&@mandir@&$mandir&g
56194 s&\\\${datarootdir}&$datarootdir&g' ;;
56198 # Neutralize VPATH when `$srcdir' = `.'.
56199 # Shell code in configure.ac might set extrasub.
56200 # FIXME: do we really want to maintain this feature?
56201 cat >>$CONFIG_STATUS <<_ACEOF
56205 cat >>$CONFIG_STATUS <<\_ACEOF
56207 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56208 s&@configure_input@&$configure_input&;t t
56209 s&@top_builddir@&$ac_top_builddir_sub&;t t
56210 s&@srcdir@&$ac_srcdir&;t t
56211 s&@abs_srcdir@&$ac_abs_srcdir&;t t
56212 s&@top_srcdir@&$ac_top_srcdir&;t t
56213 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
56214 s&@builddir@&$ac_builddir&;t t
56215 s&@abs_builddir@&$ac_abs_builddir&;t t
56216 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
56217 s&@INSTALL@&$ac_INSTALL&;t t
56218 $ac_datarootdir_hack
56219 " $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
56221 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
56222 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
56223 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
56224 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
56225 which seems to be undefined. Please make sure it is defined." >&5
56226 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
56227 which seems to be undefined. Please make sure it is defined." >&2;}
56231 -) cat "$tmp/out"; rm -f "$tmp/out";;
56232 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
56241 # Transform confdefs.h into a sed script `conftest.defines', that
56242 # substitutes the proper values into config.h.in to produce config.h.
56243 rm -f conftest.defines conftest.tail
56244 # First, append a space to every undef/define line, to ease matching.
56245 echo 's/$/ /' >conftest.defines
56246 # Then, protect against being on the right side of a sed subst, or in
56247 # an unquoted here document, in config.status. If some macros were
56248 # called several times there might be several #defines for the same
56249 # symbol, which is useless. But do not sort them, since the last
56250 # AC_DEFINE must be honored.
56251 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
56252 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
56253 # NAME is the cpp macro being defined, VALUE is the value it is being given.
56254 # PARAMS is the parameter list in the macro definition--in most cases, it's
56255 # just an empty string.
56256 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
56257 ac_dB='\\)[ (].*,\\1define\\2'
56265 s/^[ ]*#[ ]*define[ ][ ]*//
56270 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
56271 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
56272 ' >>conftest.defines
56274 # Remove the space that was appended to ease matching.
56275 # Then replace #undef with comments. This is necessary, for
56276 # example, in the case of _POSIX_SOURCE, which is predefined and required
56277 # on some systems where configure will not decide to define it.
56278 # (The regexp can be short, since the line contains either #define or #undef.)
56280 s,^[ #]*u.*,/* & */,' >>conftest.defines
56282 # Break up conftest.defines:
56283 ac_max_sed_lines=50
56285 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
56286 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
56287 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
56289 ac_in='$ac_file_inputs'
56290 ac_out='"$tmp/out1"'
56291 ac_nxt='"$tmp/out2"'
56295 # Write a here document:
56296 cat >>$CONFIG_STATUS <<_ACEOF
56297 # First, check the format of the line:
56298 cat >"\$tmp/defines.sed" <<\\CEOF
56299 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
56300 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
56304 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
56306 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
56307 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
56308 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
56309 grep . conftest.tail >/dev/null || break
56310 rm -f conftest.defines
56311 mv conftest.tail conftest.defines
56313 rm -f conftest.defines conftest.tail
56315 echo "ac_result=$ac_in" >>$CONFIG_STATUS
56316 cat >>$CONFIG_STATUS <<\_ACEOF
56317 if test x"$ac_file" != x-; then
56318 echo "/* $configure_input */" >"$tmp/config.h"
56319 cat "$ac_result" >>"$tmp/config.h"
56320 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
56321 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
56322 echo "$as_me: $ac_file is unchanged" >&6;}
56325 mv "$tmp/config.h" $ac_file
56328 echo "/* $configure_input */"
56334 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
56335 echo "$as_me: executing $ac_file commands" >&6;}
56340 case $ac_file$ac_mode in
56342 mkdir -p $outdir &&
56343 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
56345 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
56346 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
56347 "wx-config":C) rm -f wx-config
56348 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
56355 { (exit 0); exit 0; }
56357 chmod +x $CONFIG_STATUS
56358 ac_clean_files=$ac_clean_files_save
56361 # configure is writing to config.log, and then calls config.status.
56362 # config.status does its own redirection, appending to config.log.
56363 # Unfortunately, on DOS this fails, as config.log is still kept open
56364 # by configure, so config.status won't be able to write to it; its
56365 # output is simply discarded. So we exec the FD to /dev/null,
56366 # effectively closing config.log, so it can be properly (re)opened and
56367 # appended to by config.status. When coming back to configure, we
56368 # need to make the FD available again.
56369 if test "$no_create" != yes; then
56371 ac_config_status_args=
56372 test "$silent" = yes &&
56373 ac_config_status_args="$ac_config_status_args --quiet"
56375 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
56377 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
56378 # would make configure fail if this is the last instruction.
56379 $ac_cs_success || { (exit 1); exit 1; }
56383 # CONFIG_SUBDIRS section.
56385 if test "$no_recursion" != yes; then
56387 # Remove --cache-file and --srcdir arguments so they do not pile up.
56388 ac_sub_configure_args=
56390 eval "set x $ac_configure_args"
56394 if test -n "$ac_prev"; then
56399 -cache-file | --cache-file | --cache-fil | --cache-fi \
56400 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
56401 ac_prev=cache_file ;;
56402 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
56403 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
56406 --config-cache | -C)
56408 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
56410 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
56412 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
56414 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
56418 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
56420 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
56424 # Always prepend --prefix to ensure using the same prefix
56425 # in subdir configurations.
56426 ac_arg="--prefix=$prefix"
56428 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
56430 ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
56433 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
56435 # Do not complain, so a configure script can configure whichever
56436 # parts of a large source tree are present.
56437 test -d "$srcdir/$ac_dir" || continue
56439 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
56440 echo "$as_me:$LINENO: $ac_msg" >&5
56444 -*) as_dir=./$as_dir;;
56446 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
56450 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
56451 *) as_qdir=$as_dir;;
56453 as_dirs="'$as_qdir' $as_dirs"
56454 as_dir=`$as_dirname -- "$as_dir" ||
56455 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56456 X"$as_dir" : 'X\(//\)[^/]' \| \
56457 X"$as_dir" : 'X\(//\)$' \| \
56458 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
56460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56464 /^X\(\/\/\)[^/].*/{
56477 test -d "$as_dir" && break
56479 test -z "$as_dirs" || eval "mkdir $as_dirs"
56480 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
56481 echo "$as_me: error: cannot create directory $as_dir" >&2;}
56482 { (exit 1); exit 1; }; }; }
56486 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
56488 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
56489 # A ".." for each directory in $ac_dir_suffix.
56490 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
56491 case $ac_top_builddir_sub in
56492 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
56493 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
56496 ac_abs_top_builddir=$ac_pwd
56497 ac_abs_builddir=$ac_pwd$ac_dir_suffix
56498 # for backward compatibility:
56499 ac_top_builddir=$ac_top_build_prefix
56502 .) # We are building in place.
56504 ac_top_srcdir=$ac_top_builddir_sub
56505 ac_abs_top_srcdir=$ac_pwd ;;
56506 [\\/]* | ?:[\\/]* ) # Absolute name.
56507 ac_srcdir=$srcdir$ac_dir_suffix;
56508 ac_top_srcdir=$srcdir
56509 ac_abs_top_srcdir=$srcdir ;;
56510 *) # Relative name.
56511 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
56512 ac_top_srcdir=$ac_top_build_prefix$srcdir
56513 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
56515 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
56520 # Check for guested configure; otherwise get Cygnus style configure.
56521 if test -f "$ac_srcdir/configure.gnu"; then
56522 ac_sub_configure=$ac_srcdir/configure.gnu
56523 elif test -f "$ac_srcdir/configure"; then
56524 ac_sub_configure=$ac_srcdir/configure
56525 elif test -f "$ac_srcdir/configure.in"; then
56526 # This should be Cygnus configure.
56527 ac_sub_configure=$ac_aux_dir/configure
56529 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
56530 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
56534 # The recursion is here.
56535 if test -n "$ac_sub_configure"; then
56536 # Make the cache file name correct relative to the subdirectory.
56537 case $cache_file in
56538 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
56539 *) # Relative name.
56540 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
56543 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
56544 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
56545 # The eval makes quoting arguments work.
56546 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
56547 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
56548 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
56549 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
56550 { (exit 1); exit 1; }; }
56559 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
56561 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
56562 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
56564 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
56565 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
56566 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
56568 echo " What level of wxWidgets compatibility should be enabled?"
56569 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
56570 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
56572 echo " Which libraries should wxWidgets use?"
56573 echo " jpeg ${wxUSE_LIBJPEG-none}"
56574 echo " png ${wxUSE_LIBPNG-none}"
56575 echo " regex ${wxUSE_REGEX}"
56576 echo " tiff ${wxUSE_LIBTIFF-none}"
56577 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
56578 echo " xpm ${wxUSE_LIBXPM-none}"
56580 echo " zlib ${wxUSE_ZLIB}"
56581 echo " odbc ${wxUSE_ODBC}"
56582 echo " expat ${wxUSE_EXPAT}"
56583 echo " libmspack ${wxUSE_LIBMSPACK}"
56584 echo " sdl ${wxUSE_LIBSDL}"